GESTURE CONTROL ROBOT CAR
GESTURE CONTROL ROBOT CAR
Gesture control is a technology that simply allows us to manage and control things through our gestures, that is either by our body movements or by changing our facial expressions. We make the system as such to obey what our gestures tell them to do. Seems like magic, doesn’t it? Well it indeed is a magic of science that today we are able to do things, which one couldn’t even imagine of doing a few hundreds of years ago. But nowadays we are looking science progressing daily, world is coming closer due to various technologies. People can see and talk with each other despite being in different countries and now we can control functions of things without even touching them. Our gesture control robot is one such project, lets understand it in detail.
What it is?
You might have seen various wireless or wired devices, which are connected to a controlling device like consoles or remotes or by turning the switches on and off. The devices were designed by us to follow instructions; the way they receive and interpret instructions could be different for all of them. Similarly, we make gesture control devices to follow up the instructions given by change in operator’s body movement or facial expressions. The robot car will move forward backward or make turns to the desired sides as per the wish of the person who is operating on it.
How does it work?
It works with the help of accelerometer MPU6050 and arduino UNO . Accelerometer is used in such devices, as accelerometer is highly efficient and accurate in grasping any kind of movement happening in a body. It reads the rate of change in velocity of body thus reading both the magnitude and direction of movement made by the body. As soon as the accelerometer tracks the change in position its sends the data to microcontroller Arduino uno which process the data and forwards it to the transmitter. Transmitter is there to transfer the signals to receiver through radio waves; hence, we do not need any wires to connect with our robot car. The receiver installed in the car is generally connected to the motor driver, which runs the motor based on the signals received. Here the key process is to feed the right code into the arduino so that it processes all the data correctly and effectively.
We are providing you with the code required to run the gesture control system in this article. For more details, you can check out our website.
In the project we have made our robot to work as per our hand’s gesture as you can see in below given diagram. You can learn how to make it own your own from our YouTube channel @SR Robotics. Link to the video for gesture control robot is given here.
Follow the basic instructions given below to make your own robot.
Step 1: Collecting the Components required for this project
- RF MODULE KIT
- L293D MOTOR DRIVER
- MPU6050 ACCELEROMETER
- ARDUINO UNO
- 9 VOLT BATTERIES
- JUMPER WIRE
- 9 VOLT DC JACK PIN FOR BATTERY
- BATTERY CAP
- BO MOTOR x 4
- BO WHEELS x 4
- WOODEN BASE
- INSULATOR GLOVES
You can buy all these in a kit from here if you want to make your own along with the instructions. In addition, if you want to buy this completed handmade project you must checkout this product on our website click here to check this product details. The product is available along with full project report, synopsis, ppt that is a ready to use package. Free delivery available.
Step 2: Assembling the Components – Circuit Design
Figure 1 CIRCUIT DIAGRAM FOR ROBOT CAR
Figure 2 CIRCUIT DIAGRAM TO CONTROL CAR THROUGH GESTURES
Connect all the components with the required wires as shown in the above diagram or refer this video by SR Robotics to make proper connections guiding tutorial video
Step 3: Uploading the Code in the microcontroller
#include <MPU6050_tockn.h> #include <Wire.h> MPU6050 mpu6050(Wire); long timer = 0; void setup() { pinMode(4, OUTPUT); pinMode(5, OUTPUT); pinMode(6, OUTPUT); pinMode(7, OUTPUT); Serial.begin(9600); Wire.begin(); mpu6050.begin(); } void loop() { mpu6050.update(); Serial.print("accX : ");Serial.print(mpu6050.getAccX()); Serial.print("\taccY : ");Serial.print(mpu6050.getAccY()); Serial.print("\taccZ : ");Serial.println(mpu6050.getAccZ()); if (mpu6050.getAccX() >= 0.70) { //FORWARD digitalWrite(4, HIGH); digitalWrite(5, LOW); digitalWrite(6, LOW); digitalWrite(7, HIGH); } else if(mpu6050.getAccX() <= -0.60) { //BACKWARD digitalWrite(4, LOW); digitalWrite(5, HIGH); digitalWrite(6, HIGH); digitalWrite(7, LOW); } else if(mpu6050.getAccY() >= 0.60) { //LEFT digitalWrite(4, LOW); digitalWrite(5, HIGH); digitalWrite(6, LOW); digitalWrite(7, HIGH); } else if(mpu6050.getAccY() <= -0.60) { //RIGHT digitalWrite(4, HIGH); digitalWrite(5, LOW); digitalWrite(6, HIGH); digitalWrite(7, LOW); } else { digitalWrite(4, LOW); digitalWrite(5, LOW); digitalWrite(6, LOW); digitalWrite(7, LOW); } }
FINAL PROJECT
Figure HANDMADE GESTURE CONTROL ROBOT CAR
Thank you for learning with us. We hope all the steps and details are easy to understand. You can try to make your own gesture control robot by watching this easy tutorial video.
Video Demonstration 1
Video Demonstration 2
If you want to buy this handmade project, with complete project synopsis for yourself click here to buy
And that’s it. Thanks for learning with SR Robotics if you have any doubts or query you can contact us with the help of links given below.
For more Robotics projects, join our SR Robotics community
To buy more kits, visit our website
Check more on our website
Subscribe SR Robotics channel on YouTube and keep learning
Get all latest update on our telegram