Tag Archives: atmega

External RAM and lost MCUCSR

Atmega’s MCUCSR status register gives info about restart reason like regular reset-pin shorted, watchdog initiated reset, or brown-out on low voltage from power supply. Pieces of valuable information for device defect tracking. Reading MCUCSR early in test program was fine, … Continue reading

Posted in Electronics, Software | Tagged , , | Leave a comment

FreeRTOS tickless idle on Atmega128

Real-time operating system (RTOS) makes embedded coding more elegant and maintainable if MCU has to take care of many things at the same time. FreeRTOS also supports many platform including  8-bit AVRs. I am using it because of both reasons. … Continue reading

Posted in Electronics | Tagged , , , | Leave a comment

Water Level Transmitter – microcontroller

Once the signal from sensor is converted in ADC it has to be processed and delivered to remote master unit. Having extra local measurements sources, like temperature, it has to be combined altogether. Multiple transmitters coexisting on single line (bus) … Continue reading

Posted in Electronics, Software | Tagged , , , , | Leave a comment

FreeRTOS on Atmega8?

How to compile FreeRTOS real-time operating system on 8-bit AVR microcontroller Atmega8? It is not supported out of the box as well as google hardly helps with that issue. I did some experiments and understood why people are not doing … Continue reading

Posted in Electronics, Software | Tagged , , , | 2 Comments

e-snowflake

Late in December 2011 I almost bet that I am able to design & build myself a blinking serpent of rainbow lights for Christmas tree. I did not want to spend much time on creating cables and lights themselves but … Continue reading

Posted in Electronics | Tagged , , , , , , | 2 Comments