AVR ATmega Projects

Prime Calculator is Complete using ATMega8 Microcontroller

My microcontroller-powered prime number generator/calculator is virtually complete! Although I’m planning on improving the software (better menus, the addition of sound, and implementation of a more efficient algorithm) and hardware (a better enclosure would be nice, battery/DC wall power, and a few LEDs on the bottom row are incorrectly wired), this device is currently functional […]

Prime Calculator is Complete using ATMega8 Microcontroller Read More »

Making a USB based AVR Programmer using ATMEGA8 Microcontroller

Around time when I was beginning to learn about microcontrollers. I had exchanged my laptop with a senior at college for his desktop – that’s because the only way I knew how to program an ATMEGA chip was through either a serial port or a parallel port. USB programmers were not available widely and were

Making a USB based AVR Programmer using ATMEGA8 Microcontroller Read More »

BUILD A SIMPLE SERIAL PROGRAMMER FOR AVR DEVICES using ATtiny2313 Microcontroller

Atmel described a simple programmer based on the AT90S1200 (NOT the AT90S1200A) controller in their application note. AVR910 (a modification to use the AT90S2313 is also given below). The circuit is so small and simple. I was able to put two of them together without using a printed circuit board. Taking only about an hour

BUILD A SIMPLE SERIAL PROGRAMMER FOR AVR DEVICES using ATtiny2313 Microcontroller Read More »

How to control Stepper Motor using AT89C51 Microcontroller

As explained in earlier article, Stepper motor is operated by energizing the stator coils in an ordered sequence. When the input sequence of signal is applied to the motor leads, it starts rotating in steps. AT89C51 microcontroller has a current rating of 50mA. It can neither source nor sink huge current. ULN2003 is high voltage

How to control Stepper Motor using AT89C51 Microcontroller Read More »

How to drive 595 shift registers with AVR hardware SPI using ATmega168 microcontroller

Driving a shift register using an AVR chip’s built-in hardware is really quite easy. Most of their offerings have an SPI module, or Serial Peripheral Interface. A shift register is exactly that, a peripheral device that communicates via a serial line. All we need to do is hook up our connections and use a few

How to drive 595 shift registers with AVR hardware SPI using ATmega168 microcontroller Read More »

Scroll to Top