ablab

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

58968
6
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 Quantity
AVR Trainer Board-100 with ATmega16 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
10 to 10 FRC Female to Female Connector 2pc

Circuit Diagram

Video

Connection Guide

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

  • Steps - 1 ( 0f 6 )

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

  • Steps - 2 ( 0f 6 )

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

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

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

  • Steps - 6 ( 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.

  • 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 Project File
  • 484 downloads 0 Kb

Post a Comment

    • MartinCavicchioli
      2017-03-23 19:37:37
      Reply
    • SameerGaur
      Dear sir i want to make a variable pulse generator 0 to 1khz pulses by adc plz give me a code my email - mee_meecontrol@yahoo.com
      2017-07-16 01:22:03
      Reply
    • SameerGaur
      Dear sir i want to make a variable pulse generator 0 to 1khz pulses by adc plz give me a code my email - mee_meecontrol@yahoo.com
      2017-07-16 01:22:06
      Reply
    • Amar Rathaur

      Sir , i want to blink LED through Touch screen With the help of ATmega8 AVR board.....please provide me.....code

      2017-10-16 19:16:45
      Reply
      • Arun Kumar Garg

        Right now the code you are requesting is not available with us ...

        2017-10-16 23:52:50
        Reply
    • Satyanshu upadhyay
      Street Lights Glow On Detecting Vehicles Movement source code used with atmega 16 kiel .please mail the source code to upadhyaysatyanshu@gmail.com
      2017-10-23 17:59:28
      Reply
      • Arun Kumar Garg
        we do not have the code for the requested project.
        2017-10-25 10:40:59
        Reply
    • ABHISEKRAY
      2018-03-17 10:44:14
      Reply