Life-giving to Atmega8

I have got two ATmega microcontrollers from my friend. He stated that they are burned and can be thrown into the garbage. He also mentioned that they stopped responding after they were programmed. So I asked him to give those to me to try them. I had in my mind that this is a result of a bad usage of security bits. There is always confusion in these bits because of writing ‘0’ values program security bits and unprogrammed with ‘1’. I didn’t really expect to make them working again as my friend did quite rude experiments with them. What can I say – he was right by saying they are burned. But I guess some of you will like to see what I was doing to recover them. I decided that he unprogrammed all four security bits ( CKSEL0, CKSEL1, CKSEL2, CKSEL3 )by writing ‘1’ to them. This situation means that Atmega8 has to be clocked from an external clock signal. I was supposed to program those bits to work ATmega normally with a quartz resonator.

Continue reading

Filter output dependency on tolerance of elements

Sometimes we need to project a simple filter with particular characteristics. We usually take calculations with ideal parameters and don’t look at tolerances of them. Let us see how simple filter output depends on its elements tolerances. For this let’s choose simple filter circuit: We are going to calculate the filter response characteristics. The bandpass frequency is taken on 0.707 level of response. We will see how this frequency depends on the electronic element tolerances. I will model elements with tolerances ±10%.

Continue reading

DullRazor – digital skin hair shaver

DullRazor uses image processing techniques to analyze and segments skin areas with dark hair. This program removes dark hair form images and makes skin lesion images clean to further processing. From: To: Many skin images contain various numbers of hairs. Other skin segmentation programs may mislead because of hairs – especially dark ones. One solution can be shaving skin before taking pictures of it. But shaving of skin adds more time to processing, and this is uncomfortable and, in some cases, unaesthetic.  Hence, a software approach for dark, thick hair removal from skin images are needed.

Continue reading

Skin Cancer causing factors

Substance Where this can be found How to avoid Arsenic Pesticides, wood preservatives, alloy additive non-ferrous metals. Use protective clothing when working with arsenic substances Creosote Wood preservative Use protective clothing when working with  creosote substances Ionizing radiation Ionizing radiation is specific industrial sterilization sources Limit exposure if possible. Wear a dosimeter while working with radiation. Sunlight Summer, and when on a sun holiday. Avoid strong sunlight, especially at midday. Wear protective clothing to protect your skin. Cover exposed skin with sunscreen of factor 15 or higher. Tar Coal tar Use protective clothing Glutaraldehyde Glutaraldehyde is used as a disinfectant. It is also can be found in X-ray films. Use protective clothing when dealing with glutaraldehyde. Work only in well-ventilated areas. Soot Black particles of carbon, produced by incomplete combustion of coal, oil, wood, or other fuels Use protective clothing Pitch It is made by the destructive distillation of wood or coal tar Use protective clothing Asphalt Sticky, black and highly viscous liquid or semi-solid that is present in most crude petroleum and in some natural deposits Use protective clothing Paraffin wax   A member of the alkenes series Use Gloves Smoking   Smoking cigarettes increase your risk of cell carcinoma…

Continue reading

Z axis accelerometer MMA1220D from Freescale

MMA1220D is Z-axis MEMS accelerometer -8g – +8g. This sensor has a capacitive sensor. The output signal is passed through a 4 poles low pass filter. It also has an internal self-test capability. The main features:Integral signal conditioning;Linear output;Ratiometric performance;4th order Bessel Filter to preserve pulse shape integrity;Calibrated self-test;Detection of low voltage also clock monitor and EPROM Parity check status;Can survive big shocks. Where can it be used? It can be the perfect tool for Vibration monitoring, control, bearing monitor, PC HDD protection, mouse and joystick, virtual reality, sports diagnostics.The datasheet can be found here:https://www.freescale.comI decided to run a sample test for this sensor. For this, I just made a simple board where I soldered this sensor with the SOIC16 package. According to the datasheet, I put an RC filter on sensor output to minimize clock noise. There is a schematic: And traced PCB: I used SMD parts as it will be easier to glue another side of the board to any surface in the future. First test drive on oscilloscope: Later I will do some tests by connecting this sensor to MCU.Bellow, I attached the Protel library of the MMA1220D sensor and my project files. It might be you…

Continue reading

PCB Etcher

After UV-80 was built, there was a thought about automatic PCB Etcher with autonomous Heater and bubble machine. This project is hanging in the prefinished phase, but it does a job. It was used to etch several PCBs. As this etcher is supposed to be used for making PCBs using photosensitive technology, the controller is supposed to control both = the heater of the etching tank and the developer’s heater. As Sensors, there are used AD7416 digital temperature sensors. I decided to publish this small project, as this is not clear when it will be finished. When it is, I will update this article. There is a little dirty drawing with dimensions: The dimensions are as follows 215x275x30 exterior. The inner volume is smaller as glass is 4mm thick. So the overall volume is less than 1,2 liter. It is an ideal volume to use one bag of ammonium persulphate or 250 grams of FeCl3. The glass plates are glued with aqua silicone. Sides are strengthened with aluminum profiles (not necessary if you have skills of glueing aquariums).

Continue reading

Ultraviolet light source UV-80 for PCB exposure

One of the more advanced PCB manufacturing methods is exposing laminate copper boards covered by a photo resistive layer through the mask. Using UV light in manufacturing PCB’s has many benefits according to other methods: you can get thin tracks like 0.2mm. You couldn’t do this using other home techniques like laser printers or hand artwork; another advantage is that this method gives a clean image – smooth edges of PCB tracks. Little bit effort and you can compare results to commercial products. And of course, the third benefit is speed and multiple replications of your boards by using the same mask. This article is described in the manufacturing of an automatic ultraviolet light source exposure box. Parts for UV box Case with organic glassPanelUV lamps ballasts and startersController Case Case is made of 5mm wood board wired with screws. Making a control panel The Control panel consists of two parts: Power control and Automatic control.A POWER switch is used to turn the on/off the power of the UV box. Green LED indicates the ON. MANUAL/AUTOMATIC switch is used to power l the UV lamps manually or automatically. Switches UPSIDE and UNDERSIDE are used to enable upper and lower lamps…

Continue reading

Healthy skin reflectance model

This pilot study is intended to investigate possibilities of skin nevus imaging using digital still image camera. The main objective is to develop a dermatology image interpretation method, which enables the looking on the skin lesions and nevus from the optical background of skin colouration. Kubelka-Munk calculation method for light transport and reflection from multilayered, complex media is applied to model light reflection spectra of skin. Calculation of model shows that red, green, blue and infrared colours lighting is satisfactory to access distribution of comparative estimates of the following skin parameters: volume fraction of melanin in the epidermal layer, the volume fraction of haemoglobin in the dermal layer, presence of dermal melanin and thickness of the papillary layer. Performance of image processing method on fourteen samples of images of common melanocytic nevi, dysplasia melanocytic nevi, Spitz nevus, thrombotic hemangioma and surrounding healthy skin were made. Skin spectral properties Understanding how light interacts with skin can assist in designing physics-based dermatological image processing. The key is understanding how light interacts with skin tissue. The skin consists of different layers with different spectral properties. Fig 1. Skin model and its physical view When incident light is applied to skin layer, it is…

Continue reading

Review on skin lesion imaging, analysis and automatic classification

The goal of any imaging methodology used in dermatology is to diagnose melanoma in the early stages because it depends on treatment effectiveness. Investigations show that early diagnosis is more than 90% curable and late is less than 50% [1]. The diagnosis and successful treatment are often supplemented with permanent monitoring of suspicious skin lesions. The doctor’s diagnosis is reliable, but this procedure takes lots of time, effort. These routines can be automated. It could save lots of doctor’s time and could help to diagnose more accurately. Besides using computerized means, there is an excellent opportunity to store information with diagnostic information to use it for further investigations or create new methods of diagnosis. Skin lesion imaging methods We found that there are several various imaging methods of skin lesions [2]. The simplest skin visualization method is photography. This method gives only the top layer of the skin image. To get a deeper layer image, there is oil immersion used. It reduces reflections of the surface and brightens the image of the epidermis – the second skin layer.

Continue reading

Discrete systems in series and parallel

Discrete systems in series We have two discrete systems, and their impulse responses are h1(n) and h2(n). Then when these discrete systems are connected in series, then overall impulse response: Where: As you noticed there were changing made: This is nothing more than convolution of impulse responses of both discrete systems: Discrete systems in parallel If we have two discrete systems connected in parallel: As we see, there is a simple sum of output queues of each discrete system. So we can assume, that the overall impulse response is the sum of systems connected in parallel:

Continue reading