ablab

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

Relay Interfacing with ATmega16

17058
Mark as Favourite

In this project, we will learn How to interface a relay with AVR ATmega16 microcontroller. Here, we will connect a load i.e bulb with the relay and we will control the bulb with the AVR ATmega16 Microcontroller. The microcontroller will send a logic high signal(5V) to the relay driver circuit to turn on the bulb. In our project, the load i.e bulb is connected to the normally open(NO) pin of the relay.

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega16 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
Quad Relay Driver 1pc
Home Appliance Board 1pc
1 to 1 Connector-Female to Female 3pc
10 to 10 FRC Female to Female Connector 1pc

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for Relay Interfacing with ATmega16 is as follows

  • Steps - 1 ( 0f 10 )

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

  • Steps - 2 ( 0f 10 )

    Connect the 12V and GND pins of Relay Control header of Quad Relay Driver with the 12V and GND pins of 12V and GND header of AVR Trainer Board-100 with 1 to 1 Connectors.

  • Steps - 3 ( 0f 10 )

    Connect the A1 pin of Relay Control header of Quad Relay Driver with PB0 pin of PORTB header of AVR Trainer Board-100 with 1 to 1 Connector.

  • Steps - 4 ( 0f 10 )

    Connect the Neutral and Phase of AC Supply from Wall to N and PH of AC Input Terminal Blocks of Quad Relay Driver with wires.

  • Steps - 5 ( 0f 10 )

    Connect the two terminals of Bulb to the N and PH1 pins of AC Output Terminal Blocks of Quad Relay Driver with wires.

  • Steps - 6 ( 0f 10 )

    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 - 7 ( 0f 10 )

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

  • Steps - 8 ( 0f 10 )

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

  • Steps - 9 ( 0f 10 )

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

  • Steps - 10 ( 0f 10 )

    See the output.

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

    Steps - 1 ( 0f 10 )

  • Connect the 12V and GND pins of Relay Control header of Quad Relay Driver with the 12V and GND pins of 12V and GND header of AVR Trainer Board-100 with 1 to 1 Connectors.

    Steps - 2 ( 0f 10 )

  • Connect the A1 pin of Relay Control header of Quad Relay Driver with PB0 pin of PORTB header of AVR Trainer Board-100 with 1 to 1 Connector.

    Steps - 3 ( 0f 10 )

  • Connect the Neutral and Phase of AC Supply from Wall to N and PH of AC Input Terminal Blocks of Quad Relay Driver with wires.

    Steps - 4 ( 0f 10 )

  • Connect the two terminals of Bulb to the N and PH1 pins of AC Output Terminal Blocks of Quad Relay Driver with wires.

    Steps - 5 ( 0f 10 )

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

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

    Steps - 7 ( 0f 10 )

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

    Steps - 8 ( 0f 10 )

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

    Steps - 9 ( 0f 10 )

  • See the output.

    Steps - 10 ( 0f 10 )

Downloads

Relay Interfacing with ATmega16 Project File
  • 30 downloads 0 Kb

Post a Comment