8 LED Knight Rider using AVR microcontroller

Another version:

In this version I took PORTB of the AT90S1200 AVR microcontroller as you can see in the diagram, because this makes it simpler to let 8 LEDs flash back and forth. Set the Data Direction Register of port B as an output, the output will source current. What I did is loading an EEPROM-table in the AVR and reading each address into PORTB. There are ofcourse many ways to program this little gadget. If you use a 3 Volt battery and SMD components you can make e.g. an earring, e.g. set the LEDs in a circle, etc., just use your fantasy and something nice will come out of it. Here the complete assembly listing and also the hex-dump:

Part list:

8x low-current LEDs
1x 1k ohm
1x 10k ohm
1x AT90S1200
2x 1N4007
1x 100n
1x 47uF/16V
1x 78L05

 

8 LED Knight Rider using AVR microcontroller
For more detail: 8 LED Knight Rider using  AVR microcontroller


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top