ablab

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

Password Protected Accelerometer based Hand Gesture Controlled Robot with ATmega16

2494
Mark as Favourite

Security is a prime concern in our day-today life. Everyone wants to be as much secure as possible. An access control for doors forms a vital link in a security chain. Traditional lock systems using mechanical lock and key mechanism are being replaced by new advanced techniques of locking system. These techniques are an integration of mechanical and electronic devices and highly intelligent. One of the prominent features of these innovative lock systems is their simplicity and high efficiency. Such an automatic lock system consists of electronic control assembly which controls the output load through a password. This output load can be a motor or a lamp or any other mechanical/electrical load.

In this project, we will learn How to design password protected accelerometer based hand gesture controlled robot with AVR ATmega16 microcontroller. Here, we will use our hand gestures as input signal to enter the password and to drive the robot in different direction i.e here the hand gestures means tilting the hand in different direction. The password is a fixed sequence of four hand gestures. In our case the password is “Forward tilt, backward tilt, left tilt, right tilt” respectively which can be changed in the program. To gain access of the robot control, the user has to enter the correct password. To detect different hand gestures, we will use the ADX335 accelerometer sensor. The sensor will be attached to our hand with some material or through a hand glove. The three output signals of accelerometer sensor are analog in nature and it cannot be processed directly by ATmega16 microcontroller for processing. For this, we will use the ADC of the ATmega16 microcontroller to convert the analog signals to digital values. First the user will enter the password, each hand gesture of which will be displayed in a 16X2 alphanumeric LCD as star(*) and microcontroller will compare the entered password with the set password. The system will ask to enter password till the correct password is entered by the user. After the correct password is entered, the microcontroller will receive the robot control signal from the accelerometer and it will process the control signal to know which hand gesture is applied. Once the hand gesture is known, the ATmega16 microcontroller will send the required control signal to the DC motor driver (L293D) of the robot to drive the robot in the desired direction and it will display the direction of movement of the robot in the 16X2 alphanumeric LCD also. The control hand gestures for the robot are forward tilt, backward tilt, left tilt, right tilt and no tilt to drive the robot in forward, backward, left, right direction and to stop it respectively. Now, tilt your hand in different direction and drive your robot as you want.

Control Hand Gestures

Robot Direction

Forward Tilt

Forward

Left Tilt

Left

Right Tilt

Right

Backward Tilt

Backward

no Tilt

Stop

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega16 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
RG1602A 16X2 Alphanumeric LCD Green 1pc
DC Motor Driver 1pc
Robot V 4.1 1pc
3-axis Accelerometer Sensor 1pc
1 to 1 Connector-Female to Female 4pc
5 to 5 Connector-Female to Female-1 Meter 1pc
10 to 10 FRC Female to Female Connector 3pc

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for Password Protected Accelerometer based Hand Gesture Controlled Robot with ATmega16 is as follows

  • Steps - 1 ( 0f 13 )

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

  • Steps - 2 ( 0f 13 )

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

  • Steps - 3 ( 0f 13 )

    Connect RS, RW & EN pins of LCD control header with PD0, PD1 & PD2 pins of PortD header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.

  • Steps - 4 ( 0f 13 )

    Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.

  • Steps - 5 ( 0f 13 )

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

  • Steps - 6 ( 0f 13 )

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

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

  • Steps - 8 ( 0f 13 )

    Switch off the Mode Switch of DC Motor Driver.

  • Steps - 9 ( 0f 13 )

    Connect the X, Y, Z, VCC and GND pins of Accelerometer Sensor header of 3-axis Accelerometer Sensor with PA0, PA1, PA2, VCC and GND pin of PortA header of AVR Trainer Board-100 with a 5 to 5 Connector.

  • Steps - 10 ( 0f 13 )

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

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

  • Steps - 12 ( 0f 13 )

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

  • Steps - 13 ( 0f 13 )

    Download Password Protected Accelerometer based Hand Gesture Controlled Robot 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 13 )

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

    Steps - 2 ( 0f 13 )

  • Connect RS, RW & EN pins of LCD control header with PD0, PD1 & PD2 pins of PortD header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.

    Steps - 3 ( 0f 13 )

  • Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.

    Steps - 4 ( 0f 13 )

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

    Steps - 5 ( 0f 13 )

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

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

    Steps - 7 ( 0f 13 )

  • Switch off the Mode Switch of DC Motor Driver.

    Steps - 8 ( 0f 13 )

  • Connect the X, Y, Z, VCC and GND pins of Accelerometer Sensor header of 3-axis Accelerometer Sensor with PA0, PA1, PA2, VCC and GND pin of PortA header of AVR Trainer Board-100 with a 5 to 5 Connector.

    Steps - 9 ( 0f 13 )

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

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

    Steps - 11 ( 0f 13 )

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

    Steps - 12 ( 0f 13 )

  • Download Password Protected Accelerometer based Hand Gesture Controlled Robot with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 13 ( 0f 13 )

Downloads

Password Protected Accelerometer based Hand Gesture Controlled Robot with ATmega16 Project File
  • 1 downloads 0 Kb

Post a Comment