ablab

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

4X4 Keypad Controlled Robot with ATmega16

4475
Mark as Favourite

With the advent of new high-speed technology and the growing computer capacity provided realistic opportunity for new robot controls and realization of new methods of control theory. This technical improvement together with the need for high performance robots created faster, more accurate and more intelligent robots using new robots control devices, new drives and advanced control algorithms. But the old and the most common one is controlling through mechanical switches.

In this project, we will learn How to design a 4X4 keypad controlled robot with AVR ATmega16 microcontroller. Here, we will use the 4X4 keypad as the input device to drive the robot in different direction. The ATmega16 microcontroller will read the 4X4 keypad output. After reading the 4X4 keypad output, the ATmega16 microcontroller will process the keypad output value to find pressed key value. According to the pressed key value, the ATmega16 microcontroller will send the required signal to the DC motor driver (L293D) of the robot to drive the robot in the desired direction The control keys for the robot are 2, 8, 4, 6 and 5 to drive the robot in forward, backward, left, right direction and to stop it respectively. Now, press different keys of the 4X4 keypad and drive your robot as you want.

Control Keys

Robot Direction

2

Forward

4

Left

6

Right

8

Backward

5

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
4X4 Keypad 1pc
1 to 1 Connector-Female to Female 1pc
10 to 10 FRC Female to Female Connector 3pc

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for 4X4 Keypad Controlled Robot with ATmega16 is as follows

  • Steps - 1 ( 0f 11 )

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

  • Steps - 2 ( 0f 11 )

    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 11 )

    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 11 )

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

  • Steps - 5 ( 0f 11 )

    Switch off the Mode Switch of DC Motor Driver.

  • Steps - 6 ( 0f 11 )

    Connect PortC header of AVR Trainer Board-100 with Keypad header of 4X4 Keypad with a 10 to 10 FRC Female Connector.

  • Steps - 7 ( 0f 11 )

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

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

  • Steps - 9 ( 0f 11 )

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

  • Steps - 10 ( 0f 11 )

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

  • Steps - 11 ( 0f 11 )

    Press different keys of the 4X4 keypad and see the output.

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

    Steps - 1 ( 0f 11 )

  • 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 11 )

  • 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 11 )

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

    Steps - 4 ( 0f 11 )

  • Switch off the Mode Switch of DC Motor Driver.

    Steps - 5 ( 0f 11 )

  • Connect PortC header of AVR Trainer Board-100 with Keypad header of 4X4 Keypad with a 10 to 10 FRC Female Connector.

    Steps - 6 ( 0f 11 )

  • 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 11 )

  • 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 11 )

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

    Steps - 9 ( 0f 11 )

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

    Steps - 10 ( 0f 11 )

  • Press different keys of the 4X4 keypad and see the output.

    Steps - 11 ( 0f 11 )

Downloads

4X4 Keypad Controlled Robot with ATmega16 Project File
  • 1 downloads 0 Kb

Post a Comment