ablab

Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

7-Segment Display Interfacing with ATmega16

19563
1
Mark as Favourite

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.

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega16 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
Quad 7-Segment Display Board 1pc
1 to 1 Connector-Female to Female 1pc
10 to 10 FRC Female to Female Connector 2pc

Circuit Diagram

Video

Connection Guide

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

Post a Comment

    • divya
      but how to interface 14segment display with atmega16
      2017-08-31 23:08:50
      Reply