Patterns on Seven Segment

Show the following patterns on the 7 Segment display

1) Ascending Order (0-9)

2) Descending Order (9-0)

3) Odd numbers

4) Even numbers


This is another simple circuitry to interface the Seven segment to the microcontroller. It is one of the basic circuits which helps the beginners to understand the interfacing of microcontroller with basic elements. In this project we use microcontroller AT89C2051 and 7 segment common anode.

7 Segment consist of 8 LEDs connected in a way that they can display the numbers from zero to nine (0 to 9) with a decimal point . There are basically two types of seven segments Common Anode Seven Segment and Common Cathode Seven Segment, In common anode we connect the common terminal of  the seven segment to 5 volts and to glow any segment we connect it to the ground, while in the common cathode configuration we connect the common terminal of the seven segment to the ground voltage and to glow any segment we connect it to the 5 volts.

In this circuit we first display the number in ascending order then in descending order then the odd numbers and finally the even numbers on the seven segment display

For circuit diagram and the coding click the link given below:

Download attachment

0 0 votes
Notify of

Inline Feedbacks
View all comments