Flash vs. EEPROM

There are many questions about Flash and EEPTOM differences. Well these are two different technologies converging together. Flash technology was created to replace mass storage media. Requirements for Flash were minimum power consumption and high number of write cycles. Information written in flash memory is usually in blocks at a time. EEPROM was originally designed to store configuration information or store programs to be boot loaded by microcontrollers or other devices. EEPROMS usually are smaller capacities and can be programmed in smaller information quantities like bytes or bits (serially). Read time is shorter than from Flash but EEPROM has less write cycles. But recently these differences are disappearing as technologies are catching up. So this should explain why in microcontrollers like Atmega128 is more convenient to write data to EEPROM than to Flash. If you would like to store data in flash you would have to rewrite whole sector of 128 bytes in order to store one byte. But if you consider to store bigger information chunks Flash can be good choice too. For more information you might consider reading https://www.embedded.com/98/9801spec.htm

Continue reading

Life-giving to Atmega8

I have got two atmegas from my friend. He stated that they are burned and can be thrown to 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 bad usage of security bits. There is always confusion in these bits, because security bits are programmed by writing ‘0’ values and unprogramed with ‘1’. I didn’t really expected 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. Bu I guess some of you will like to see what I was doing in order 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 external clock signal. I supposed to program those bits to work atmega normally with quartz resonator.

Continue reading

SkinSeg – segmentation of melanoma

SkinSeg is a simple tool used for skin lesion segmentation. This program was developed by Intelligent Systems laboratory students: L. Xu, M. Jackowski, A. Goshtasby, C. Yu, D. Roseman, S. Bines, A. Dhawan, A. Huntley. Their method is working similarly as in my earlier experiment with the MATLAB pigmented lesion boundary tracing algorithm. The first image is converted to intensity image, and then the lesion edges are detected. ant test results: The more informative description you can find here The program can be downloaded from here: https://www.cs.wright.edu/people/faculty/agoshtas/skinseg.zip  This version of the Skin Cancer Segmentation program (skinseg) runs on the Windows 95/NT platforms. Make sure all files reside in the same directory after extraction. No setup program is required to install skinseg on your machine. To run, execute the program skinseg.exe.

Continue reading

Filter output dependency on tolerance of elements

Sometimes we need to project simple filter with particular characteristics. We usually take calculations with ideal parameters and don’t look on 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 filter response characteristics. The band pass frequency is taken on 0.707 level of response. We will see how this frequency depends on electronic elements tolerances. I will model elements with tolerances ±10%.

Continue reading

DullRazor – digital skin hair shaver

DullRasor uses image processing techniques to analyze and segments skin areas with dark hair. This program removes dark hairs form images, and makes skin lesion images clean to further processing.    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 is 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 Quit smoking…

Continue reading

Z axis accelerometer MMA1220D from Freescale

MMA1220D is Z axis MEMS accelerometer -8g – +8g. This sensor has capacitive sensor. The output signal is passed through 4 pole low pass filter. It also has internal self test capability. The main features: Integral signal conditioning; Linear output; Ratio metric 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 high shocks. Where it can be used? It can be perfect tool for Vibration monitoring, control, bearing monitor, PC HDD protection, mouse and joystick, virtual reality, sport diagnostics. The datasheet can be found here: https://www.freescale.com I decided to run sample test of this sensor. For this I just made simple board where I soldered this sensor with SOIC16 package. According to datasheet I put RC filter on sensor output to minimize clock noise. There is schematic: And traced PCB: I used SMD parts as it will be easer to glue other side of board to any surface in future. First test drive on oscilloscope: Later I will do some tests by connecting this sensor to MCU. Bellow I attached Protel library of MMA1220D sensor and my project files. Might be you…

Continue reading