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

LED Blinking with ATmega16

33066
1
Mark as Favourite

Blinking LEDs in Embedded System is like the “Hello World” program of C programming language or any other programming language. In this project, we will learn How to blink LEDs with AVR ATmega16 microcontroller. First, we will connect the 8 LEDs with 8 pins of any port of the ATmega16 microcontroller. Then, we will make all the 8 LEDs to blink with an interval of 500ms. It means, initially we will glow all the 8 LEDs for 500ms and then, we will turn off all the 8 LEDs for 500ms. This process continues forever and in this way LEDs blinks continuously.

Softwares Required

Hardwares Required

Name / Unit Price Quantity Total Price
AVR Trainer Board-100 with ATmega16
Rs. 700.00
1pc
Rs.700.00
AVR USB Programmer
Rs. 350.00
1pc
Rs.350.00
12V, 1A DC SMPS Adaptor
Rs. 130.00
1pc
Rs.130.00
10 to 10 FRC Female to Female Connector
Rs. 15.00
2pc
Rs.30.00
TOTAL Rs.1210.00

Circuit Diagram

LED-Blinking-with-AVR-ATmega16-Microcontroller-Circuit-Diagram-ABLab-Solutions-1024x822

Video

Connection Guide

The step-by-step connection guide for LED Blinking with ATmega16 is as follows:

  • Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

    Steps - 1 ( 0f 6 )

  • Connect PortB header with LED header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 6 )

  • 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 - 3 ( 0f 6 )

  • Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.

    Steps - 4 ( 0f 6 )

  • Switch on the power with the help of Power Switch of AVR Trainer Board-100.

    Steps - 5 ( 0f 6 )

  • Download the LED Blinking with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 6 ( 0f 6 )

  • Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

    Steps - 1 ( 0f 6 )

  • Connect PortB header with LED header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 6 )

  • 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 - 3 ( 0f 6 )

  • Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.

    Steps - 4 ( 0f 6 )

  • Switch on the power with the help of Power Switch of AVR Trainer Board-100.

    Steps - 5 ( 0f 6 )

  • Download the LED Blinking with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 6 ( 0f 6 )

Downloads

LED Blinking with ATmega16 C File
  • 215 downloads 1 Kb
LED Blinking with ATmega16 Circuit Diagram
  • 105 downloads 152 Kb
LED Blinking with ATmega16 Hex File
  • 171 downloads 0 Kb

Post a Comment

    • MartinCavicchioli
      2017-03-23 19:37:37
      Reply