Nowadays, 7-segment has become the most popular display unit on market because it is cheap, easy to program and small. On market, we can find 2 types of 7-segment which are: common anode and common cathode type. 7-segment displays are widely used in digital clocks, electronic meters, and other electronic devices for displaying numerical information. The 7-segment display, consists of seven LEDs (hence its name) arranged in a rectangular fashion. Each of the seven LEDs is called a segment because when illuminated the segment forms part of a numerical digit to be displayed. An additional 8th LED is sometimes used within the same package thus allowing the indication of a decimal point, (DP) when two or more 7-segment displays are connected together to display decimal numbers. In this project, we are going to use a common anode 7-segment display.
In this project, we will learn How to interface a common anode 7-segment display with AVR ATmega16 microcontroller. Here, the ATmega16 microcontroller will do the decimal to 7-segment decoding for common anode 7-segment display and it will display the numbers from 0 to 9 and then dot (.) in the common cathode 7-segment display with a time delay of 500 millisecond between each number. After displaying dot (.), the microcontroller will repeat the above process continuously.
The step-by-step connection guide for 7-Segment Display Interfacing with ATmega16 is as follows
Steps - 1 ( 0f 7 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 2 ( 0f 7 )
Connect PortB header of AVR Trainer Board-100 with 7 Segment header of Quad 7-Segment Display with a 10 to 10 FRC Female Connector.
Steps - 3 ( 0f 7 )
Connect PortB header of AVR Trainer Board-100 with Segment header of Quad 7-Segment Display with a 10 to 10 FRC Female Connector.
Steps - 4 ( 0f 7 )
Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.
Steps - 5 ( 0f 7 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.
Steps - 6 ( 0f 7 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 7 ( 0f 7 )
Download the 7-Segment Display Interfacing with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 1 ( 0f 7 )
Connect PortB header of AVR Trainer Board-100 with 7 Segment header of Quad 7-Segment Display with a 10 to 10 FRC Female Connector.
Steps - 2 ( 0f 7 )
Connect PortB header of AVR Trainer Board-100 with Segment header of Quad 7-Segment Display with a 10 to 10 FRC Female Connector.
Steps - 3 ( 0f 7 )
Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.
Steps - 4 ( 0f 7 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.
Steps - 5 ( 0f 7 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 6 ( 0f 7 )
Download the 7-Segment Display Interfacing with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 7 ( 0f 7 )
Downloads
7-Segment Display Interfacing with ATmega16 Project File
131 downloads
0
Kb
Downloads
7-Segment Display Interfacing with ATmega16 Project File
131 downloads
0
Kb
Post a Comment
divya
but how to interface 14segment display with atmega16
Post a Comment