In this project, we will learn How to design an accelerometer based hand gesture controlled wireless robot with AVR ATmega16 microcontroller using 433MHz RF circuit. Here, we will use our hand gestures as input signals and the 433MHz RF circuit to drive the robot wirelessly in different direction and we will display the direction of movement of the robot in a 16X2 alphanumeric LCD. In our case, hand gesture means tilt of hand in different direction.
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 this, we will use the ADC of the ATmega16 microcontroller to convert the analog signals to digital values. After converting the analog signals of accelerometer sensor to digital values, the ATmega16 microcontroller will process the digital values to find different gestures of the hand. Once the hand gesture is known, the ATmega16 microcontroller will send the required 4 bit signal to the HT12E encoder of RF transmitter circuit. The HT12E will encode the 8 bit address and 4 bit data given to it and then it will transmit the encoded signal serially to the RF module. The RF module will transmit the encoded data and address wirelessly. Also, the microcontroller will display the direction of movement of the robot in the 16X2 alphanumeric LCD.
At the receiver end, the RF receiver module will receive the encoded 4 bit data and 8 bit address. Then, it will transmit the encoded signal serially to the HT12D decoder which will decode the received signal to 8 bit address and 4 bit data. After decoding, the HT12D will compare the received 8 bit address with its local 8 bit address. If the received address and the local address are same, then the received 4 bit data is sent to its output pins else the received data is discarded. The 4 bit output of HT12D is sent to the DC motor driver (L293D) of the robot to drive the robot in the desired direction.
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 wirelessly as you want.
The step-by-step connection guide for Accelerometer based Hand Gesture Controlled Wireless Robot with ATmega16 using 433MHz RF is as follows
Steps - 1 ( 0f 20 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 2 ( 0f 20 )
Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 3 ( 0f 20 )
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 20 )
Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.
Steps - 5 ( 0f 20 )
Connect PortC header of AVR Trainer Board-100 with RF Transmitter header of RF Transmitter Board with a 10 to 10 FRC Female Connector.
Steps - 6 ( 0f 20 )
Connect the TE bar pin and GND of RF Transmitter Jumper header with a jumper.
Steps - 7 ( 0f 20 )
Set the address of RF Transmitter to 0x00 with the help of 8 way DIP switch in RF Transmitter Board.
Steps - 8 ( 0f 20 )
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 20 )
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 20 )
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 20 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 12 ( 0f 20 )
Download the Accelerometer based Hand Gesture Controlled Wireless Robot with ATmega16 using 433 MHz RF Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 13 ( 0f 20 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of Power Supply Board.
Steps - 14 ( 0f 20 )
Connect the 5V and GND pins of 5V header and GND header of Power Supply Board to VCC and GND pins of Input header of DC Motor Driver and RF Receiver header of RF Receiver Board with 1 to 1 Female Connectors.
Steps - 15 ( 0f 20 )
Set the address of RF Receiver to 0x00 with the help of 8 way DIP switch in RF Receiver Board.
Steps - 16 ( 0f 20 )
Connect the D8, D9, D10 and D11 pins of RF Receiver header of RF Receiver Board with I/P1, I/P2, I/P3 and I/P4 pins of Input header of DC Motor Driver with 1 to 1 Female Connectors.
Steps - 17 ( 0f 20 )
Connect the 12V pin of PWM & Motor Voltage header of DC Motor Driver with the 12V header of Power Supply Board with a 1 to 1 Connector.
Steps - 18 ( 0f 20 )
Connect the Robot connector to the Output header of the DC Motor Driver.
Steps - 19 ( 0f 20 )
Switch off the Mode Switch of DC Motor Driver.
Steps - 20 ( 0f 20 )
Switch on the power with the help of Power Switch of Power Supply Board.
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 1 ( 0f 20 )
Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 2 ( 0f 20 )
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 20 )
Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.
Steps - 4 ( 0f 20 )
Connect PortC header of AVR Trainer Board-100 with RF Transmitter header of RF Transmitter Board with a 10 to 10 FRC Female Connector.
Steps - 5 ( 0f 20 )
Connect the TE bar pin and GND of RF Transmitter Jumper header with a jumper.
Steps - 6 ( 0f 20 )
Set the address of RF Transmitter to 0x00 with the help of 8 way DIP switch in RF Transmitter Board.
Steps - 7 ( 0f 20 )
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 - 8 ( 0f 20 )
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 - 9 ( 0f 20 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.
Steps - 10 ( 0f 20 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 11 ( 0f 20 )
Download the Accelerometer based Hand Gesture Controlled Wireless Robot with ATmega16 using 433 MHz RF Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 12 ( 0f 20 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of Power Supply Board.
Steps - 13 ( 0f 20 )
Connect the 5V and GND pins of 5V header and GND header of Power Supply Board to VCC and GND pins of Input header of DC Motor Driver and RF Receiver header of RF Receiver Board with 1 to 1 Female Connectors.
Steps - 14 ( 0f 20 )
Set the address of RF Receiver to 0x00 with the help of 8 way DIP switch in RF Receiver Board.
Steps - 15 ( 0f 20 )
Connect the D8, D9, D10 and D11 pins of RF Receiver header of RF Receiver Board with I/P1, I/P2, I/P3 and I/P4 pins of Input header of DC Motor Driver with 1 to 1 Female Connectors.
Steps - 16 ( 0f 20 )
Connect the 12V pin of PWM & Motor Voltage header of DC Motor Driver with the 12V header of Power Supply Board with a 1 to 1 Connector.
Steps - 17 ( 0f 20 )
Connect the Robot connector to the Output header of the DC Motor Driver.
Steps - 18 ( 0f 20 )
Switch off the Mode Switch of DC Motor Driver.
Steps - 19 ( 0f 20 )
Switch on the power with the help of Power Switch of Power Supply Board.
Steps - 20 ( 0f 20 )
Downloads
Accelerometer based Hand Gesture Controlled Wireless Robot with ATmega16 using 433MHz RF
3 downloads
0
Kb
Downloads
Accelerometer based Hand Gesture Controlled Wireless Robot with ATmega16 using 433MHz RF
Post a Comment