ablab

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

Robot Driving with ATmega16

3747
1
Mark as Favourite

A robot is a mechanical or virtual agent, usually an electro-mechanical machine that is guided by a computer program or electronic circuitry. Robots have replaced human in the assistance of performing those repetitive and dangerous tasks which humans prefer not to do, or are unable to do due to size limitations, or even those such as in outer space or at the bottom of the sea where humans could not survive the extreme environments.

In this project, we will learn How drive or control a Robot with AVR ATmega16 microcontroller. The movement of Robots is controlled by controlling the actuators attached with them. Here, we will use DC motor as an actuator for our Robot. But the microcontroller cannot control the DC motors directly due to high voltage and current requirement of DC motors. So, we will use a DC motor driver which is basically a current amplifier which takes a low-current signal from the microcontroller and gives out a proportionally high current signal which can control and drive a motor. The ATmega16 microcontroller will provide the necessary signal to the DC Motor Driver to run the robot in forward, left, right, reverse direction and to stop it respectively each for 2 minutes. The below table shows the different directions of DC motor with different signals to DC Motor Driver.

Input 1

Input 2

Direction of DC Motor

0

0

Stop

0

1

Anti-Clockwise

1

0

Clockwise

1

1

Stop

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega16 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
DC Motor Driver 1pc
Robot V 4.1 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 Robot Driving 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 PortB header of AVR Trainer Board-100 with Input header of DC Motor Driver with a 10 to 10 FRC Female Connector.

  • Steps - 3 ( 0f 10 )

    Connect the 12V pin of PWM & Motor Voltage header of DC Motor Driver with the 12V header of AVR Trainer Board-100 with a 1 to 1 Connector.

  • Steps - 4 ( 0f 10 )

    Connect the Robot connector to the Output header of the DC Motor Driver.

  • Steps - 5 ( 0f 10 )

    Switch off the Mode Switch of DC Motor Driver.

  • 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-FM Cable.

  • Steps - 8 ( 0f 10 )

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

  • Steps - 9 ( 0f 10 )

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

  • Steps - 10 ( 0f 10 )

    See the result.

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

    Steps - 1 ( 0f 10 )

  • Connect PortB header of AVR Trainer Board-100 with Input header of DC Motor Driver with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 10 )

  • Connect the 12V pin of PWM & Motor Voltage header of DC Motor Driver with the 12V header of AVR Trainer Board-100 with a 1 to 1 Connector.

    Steps - 3 ( 0f 10 )

  • Connect the Robot connector to the Output header of the DC Motor Driver.

    Steps - 4 ( 0f 10 )

  • Switch off the Mode Switch of DC Motor Driver.

    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-FM Cable.

    Steps - 7 ( 0f 10 )

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

    Steps - 8 ( 0f 10 )

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

    Steps - 9 ( 0f 10 )

  • See the result.

    Steps - 10 ( 0f 10 )

Downloads

Robot Driving with ATmega16 Project File
  • 31 downloads 0 Kb

Post a Comment

    • SurajWagh
      2018-06-01 19:29:15
      Reply