Controlling 7-segments LED displays using AVR microcontroller

The many posibilities….
Non Multiplexed:
1. One or two displays directly to the i/o’s
2. One display with a 74LS247
3. Two displays with a 74HC595 and two 74LS247
Multiplexed:
1. Two displays with a 74LS247 and 2 i/o’s
2. Two displays with a 74HC595 and 2 NPN/PNP *
3. With a special driver IC e.g. MAX7219

Controlling two displays:
There are several possibilities to connect a 7-segments LED display to a microcontroller.
Directly to the i/o’s of the microcontroller, or a more economic way, with a shift-register e.g. the 74HC595 and multiplex the displays. With a shift register you only need 3 i/o’s and you have 8 outputs. Another possibility is the 74LS247 a BCD -> 7-segments driver IC, this takes 4 i/o’s. The diagram shows two 7-segments LED displays controlled by only 5 i/o’s. Ofcourse you can add more displays. With a minimum of components you’re able to control a maximum of displays. The circuit consumes about 20 mA with TDSL-5160 (Vishay) 7-segments LED displays.
two7segm
Download: upcounter.hex and upcounter.eep

For more detail: Controlling 7-segments LED displays 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