Do you think about hand controlling a car?  Everything controlling your gestures. If I made a hand controlling a car, I would be happy and feeling good. Finally, I decided to make a hand controlling car and command with gestures. It’s very complicated but the one I present in this tutorial is very easy.

Components Required:

Making hand controlling robot gestures is very simple. We can not complete our project without 12 components. Our need some  component one of them for example:

  • 1) Arduino Nano(2x)
  • 2) RF Nano (optional) (2x)
  • 2) NRF24L01+ RF Module (2x)
  • 3)L298N Motor Driver
  • 4) ADXL335 Module
  • 5) TT Gear Motor (4x)
  • 6) Rubber Wheels (4x)
  • 7) Male and Female Header Pin
  • 8) 18650 li-ion battery (2x)
  • 9) 18650 battery holder
  • 10) Screw Terminal
  • 11) Custom PCB 
  • 12) 5mm Acrylic Sheet

We are divided into two parts of this robotic project. Firstfull, The first section is the transmitter and the second part is the receiver. There is our hand controlling gesture device using RF Nano (optional) (2x). We are using a program that controls our movement or gestures and. Our sensor is transferred to the car and then receives the signal from our receiver. It is very cool and nice. Let’s start our project.

What is a gesture ?

Gesture is movement by the hand, someone seen and he understands the matter. Any part of the body works on the gesture to produce data and transfer to the data receiver. Actually, it’s a mime art.

We need some initial knowledge, for exame, what is an accelerometer? And how does it work?

Accelerometer is a system and it works on three dimensions like x-axis, y-axis and last z-ezis. According to the device, acceleration thury does work as a gesture acceleration measuring device. Already you know about accelerometers, it’s used by all smartphones. Here use the ADXL335 device.

 

gesture device

I think you play Temple Run, Motor Racing 3d, and Jumbie games. It’s a game using this component. 

How Does It Understand the Hand Gestures (fundamental question) ?

Accelerometer device to collect the acceleration from the hand work on microcontroller arduino uno. Which is the microcontroller arduino ? It’s a fundamental device for robotics because it’s recognition acceleration. After that, encoder data transfer to the RF transmitter. It’s our first parts, 

We know that, It’s two part Hand gesture project. The first part is the transmitter and the second part is the receiver section.

 

How does work

Receiving section receives the data then detects the data. It needs only X and Y both axis data and doesn’t need the Z axis data. A lot of data receive the data and decoder decodes the data 4 bit because the first reason RF transmitter is to send the 4 bit information. After that, information to share with the motor driver. Two parts are very interesting and beautiful.

Power Supply make:

We know every device needs  a power supply. So, the device needs a power supply. It’s project needs two power supplies. First, I need the transmitter and second I need a receiver. Receiver devices work on the 12v and transmitter does work on the 9v.

 

 

 

What is a recognized Robot ?: 

 

five-hand-gestutre

We send five hand gestures to the arduino. The gestures instructions are backward, forward, stop, left, right.

 I hope you enjoy this tutorial and hopefully you understand the tutorial. If you have any questions you can write a comment or send mail.

Making the Transmitter Remote Device With Code:

 

 

Transmitter Remote Device

Hand gesture is a very important ingredient of an accelerometer which is to recognize the signal and send a signal. After that, the arduino is sent a signal encoder IC, according to signal work on the receiver. You can download this file by clicking here now.

Add Your Heading TexMaking the Receiver Code Device With Code:


Receiver for code download click here and upload the device. 

Do you think about hand controlling a car?  Everything controlling your gestures. If I made a hand controlling a car, I would be happy and feeling good. Finally, I decided to make a hand controlling car and command with gestures. It’s very complicated but the one I present in this tutorial is very easy.

Components Required:

Making hand controlling robot gestures is very simple. We can not complete our project without 12 components. Our need some  component one of them for example:

  • 1) Arduino Nano(2x)
  • 2) RF Nano (optional) (2x)
  • 2) NRF24L01+ RF Module (2x)
  • 3)L298N Motor Driver
  • 4) ADXL335 Module
  • 5) TT Gear Motor (4x)
  • 6) Rubber Wheels (4x)
  • 7) Male and Female Header Pin
  • 8) 18650 li-ion battery (2x)
  • 9) 18650 battery holder
  • 10) Screw Terminal
  • 11) Custom PCB 
  • 12) 5mm Acrylic Sheet

We are divided into two parts of this robotic project. Firstfull, The first section is the transmitter and the second part is the receiver. There is our hand controlling gesture device using RF Nano (optional) (2x). We are using a program that controls our movement or gestures and. Our sensor is transferred to the car and then receives the signal from our receiver. It is very cool and nice. Let’s start our project.

What is a gesture ?

Gesture is movement by the hand, someone seen and he understands the matter. Any part of the body works on the gesture to produce data and transfer to the data receiver. Actually, it’s a mime art.

We need some initial knowledge, for exame, what is an accelerometer? And how does it work?

Accelerometer is a system and it works on three dimensions like x-axis, y-axis and last z-ezis. According to the device, acceleration thury does work as a gesture acceleration measuring device. Already you know about accelerometers, it’s used by all smartphones. Here use the ADXL335 device.

gesture device

I think you play Temple Run, Motor Racing 3d, and Jumbie games. It’s a game using this component. 

How Does It Understand the Hand Gestures (fundamental question) ?

Accelerometer device to collect the acceleration from the hand work on microcontroller arduino uno. Which is the microcontroller arduino ? It’s a fundamental device for robotics because it’s recognition acceleration. After that, encoder data transfer to the RF transmitter. It’s our first parts, 

We know that, It’s two part Hand gesture project. The first part is the transmitter and the second part is the receiver section.

How does work

Receiving section receives the data then detects the data. It needs only X and Y both axis data and doesn’t need the Z axis data. A lot of data receive the data and decoder decodes the data 4 bit because the first reason RF transmitter is to send the 4 bit information. After that, information to share with the motor driver. Two parts are very interesting and beautiful.

Power Supply make:

We know every device needs  a power supply. So, the device needs a power supply. It’s project needs two power supplies. First, I need the transmitter and second I need a receiver. Receiver devices work on the 12v and transmitter does work on the 9v.

Making the Transmitter Remote Device With Code:

Transmitter Remote Device

Hand gesture is a very important ingredient of an accelerometer which is to recognize the signal and send a signal. After that, the arduino is sent a signal encoder IC, according to signal work on the receiver. You can download this file by clicking here now.

//Arduino Gesture Control Robot

//Reciver Circuit 

//Created BY DIY Builder

//You need to install the required libraries before uploading the code.

//To install the libraries first download the library’s zip file then go to sketch > include Library > ADD .ZIP File > Select the downloaded

// libary’s Zip file and you’re done now. You can upload the the sketch now.

// For more details you can contact me here www.instagram.com/diy.builder

#include

#include

#include

const int x_out = A0;

const int y_out = A1;

RF24 radio(8,10);

const byte address[6] = “00001”;

struct data{

  int xAxis;

  int yAxis;

};

data send_data;

void setup() {

  //put your set code

radio.begin();

radio.openWritingPipe(address);

radio.setPALevel(RF24_PA_MIN);

radio.setDataRate(RF24_250KBPS);

radio.stopListening();

}

void loop() {

  // put your main code here, to run repeatedly:

send_data.xAxis = analogRead(x_out);

send_data.yAxis = analogRead(y_out);

radio.write(&send_data, sizeof(data));

}

Making the Receiver Code Device With Code:

Receiver for code download click here and upload the device. 

//Arduino Gesture Control Robot

//Reciver Circuit 

//Created BY DIY Builder

//You need to install the required libraries before uploading the code.

//To install the libraries first download the library from here https://github.com/nRF24/RF24 then go to sketch > include Library > ADD .ZIP File > Select the downloaded

// libary’s Zip file and you’re done now. You can upload the the sketch now.

// For more details you can contact me here www.instagram.com/diy.builder

#include

#include

#include

int ENA = 3;

int ENB = 9;

int MotorA1 = 4;

int MotorA2 = 5;

int MotorB1 = 6;

int MotorB2 = 7;

RF24 radio(8, 10);

const byte address[6] = “00001”;

struct data {

  int xAxis;

  int yAxis;

};

data receive_data;

void setup() {

  // put code here

Serial.begin(9600);

radio.begin();

radio.openReadingPipe(0,address);

radio.setPALevel(RF24_PA_MIN);

radio.setDataRate(RF24_250KBPS);

radio.startListening();

pinMode(ENA, OUTPUT);

pinMode(ENB, OUTPUT);

pinMode(MotorA1, OUTPUT);

pinMode(MotorA2, OUTPUT);

pinMode(MotorB1, OUTPUT);

pinMode(MotorB2, OUTPUT);

}

void loop() {

  // put your main code here, to run repeatedly

 while(radio.available()) {

    radio.read(&receive_data, sizeof(data));

 if(receive_data.yAxis > 400) {

  digitalWrite(MotorA1, LOW);

  digitalWrite(MotorA2, HIGH);

  digitalWrite(MotorB1, HIGH);

  digitalWrite(MotorB2, LOW);

  analogWrite(ENA, 150);

  analogWrite(ENB, 150);

}else if(receive_data.yAxis < 320) {

  digitalWrite(MotorA1, HIGH);

  digitalWrite(MotorA2, LOW);

  digitalWrite(MotorB1, LOW);

  digitalWrite(MotorB2, HIGH);

  analogWrite(ENA, 150);

  analogWrite(ENB, 150);

} else if(receive_data.xAxis < 320){

  digitalWrite(MotorA1, HIGH);

  digitalWrite(MotorA2, LOW);

  digitalWrite(MotorB1, HIGH);

  digitalWrite(MotorB2, LOW);

  analogWrite(ENA, 150);

  analogWrite(ENB, 150);

}else if(receive_data.xAxis > 400){

  digitalWrite(MotorA1, LOW);

  digitalWrite(MotorA2, HIGH);

  digitalWrite(MotorB1, LOW);

  digitalWrite(MotorB2, HIGH);

  analogWrite(ENA, 150);

  analogWrite(ENB, 150);

}else {

  digitalWrite(MotorA1, LOW);

  digitalWrite(MotorA2, LOW);

  digitalWrite(MotorB1, LOW);

  digitalWrite(MotorB2, LOW);

  analogWrite(ENA, 0);

  analogWrite(ENB, 0);

  }

 }

}

What is a recognized Robot ?: 

five-hand-gestutre

We send five hand gestures to the arduino. The gestures instructions are backward, forward, stop, left, right.

 I hope you enjoy this tutorial and hopefully you understand the tutorial. If you have any questions you can write a comment or send mail.

Leave a Reply

Your email address will not be published.

x