However, this way is not efficient as it wastes a lot of valuable MCU pins. The straightforward way to do that is to connect each pin from the seven-segment to a pin on the MCU and use the software to control the LEDs lighting and display the numbers we want. Interfacing 7 Segment Display with AVR Atmega32: In this tutorial, we will be using a common cathode 7 Segment display. In the case of a common cathode, all LEDs have a common ground and each has a different pin for the high voltage (Vcc). In common anode seven segment, VCC is common for all the LEDs and each has a different pin for the low voltage (that is ground). There are 2 types of seven-segment, that are “ common anode” and “ common cathode”.
0 Comments
Leave a Reply. |