Wireless Hand gesture controlled Robot with Flex Sensor using Arduino

(Last Updated On: February 13, 2020)

gesture controlled Robot


Wireless Hand gesture controlled Robot – In this Tutorial, you will learn how to make a wireless Hand gesture controlled Robot using Arduino, L298N Motor Driver, Flex Sensor, 2 Axis Joystick and 433Mhz RF transmitter and Receiver.

In this project, the Flex sensor will be used as the accelerator while the joystick will be used for controlling the forward, reverse, left and right movements. The Motors speed can be controlled in real-time as we close and open the hand. The robot control system can be activated and de-activated using the Built-in Joystick push Button. The use of Flex Sensor makes this project Hand gesture controlled Robot.

gesture controlled Robot

Once the control system is activated, then the flex sensor and joystick together can be used to control the Robot car. Straight fingers mean zero acceleration, so even if you move the joystick the Motors won’t rotate, but as you start bending the flex sensor the motors start rotating, then depending on the amount of the bend the motors speed can be controlled in Real-time.

gesture controlled Robot

This is the 3rd version of the Robot Car which I named as the Wireless Hand Gesture Controlled Robot.

While in the 2nd version

gesture controlled Robot

Wireless Joystick controlled Robot Car using Arduino, 433Mhz RF, and L298N Motor Driver


In this Project which is based on the Wireless hand gesture controlled robot, I used only the joystick to control the speed and movement of the robot Car. The program used in this project was a little bit complex, so that’s why I decided to make another version of this robot and use a separate sensor for the speed controlling. So that’s why I created version 3.

While in the 1st version

Arduino Project: Bluetooth controlled Robot Car | Phone controlled car + L298N Motor Driver

I used an Android cell phone to control the Robot Car using the HC-05 Bluetooth module.

Let’s get back to our project which is Version 3.

This Tutorial “Version 3”, is based on my previous two tutorials,

in this tutorial I explained, how to assemble the robot parts and how to use the L298N motor driver to control the forward, left, right and reverse movement. In this tutorial, I also explained how to control the speed of a dc motor using the pulse width modulation.

While in this tutorial I explained the joystick Pinout, its basic working principle, its interfacing with Arduino and basic programming to control some leds depending on the movement of the joystick. If you are a beginner and you have never used the Joystick module and L298N motor driver then I highly recommend you should first watch these tutorials and then you can resume from here.

I am sharing a lot of links, and you may find it annoying but trust me, all these videos explain the basics, which will help you in understanding the Connections, Pinout, Interfacing, Programming, checking and so on.

The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno: https://amzn.to/2tVz1vu
Mega 2560: https://amzn.to/2ze1kdu
Robot Car chassis kit: https://amzn.to/2tTpkgo
L298N dual H-Bridge motor driver: https://amzn.to/2XF4sam
Joystick: https://amzn.to/2E2Q0kI
433Mhz tx and Rx: best offer https://amzn.to/2EkVMyN
Flex sensor with the best price: https://amzn.to/2qeCvqJ
Potentiometer: https://amzn.to/2JSLbfg
330 ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 npn transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
female DC power jack socket: https://amzn.to/2KEo1gt
470 uf capacitors: https://amzn.to/2xDCOzf
5×7 cm vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://amzn.to/2KJvmKG
Jumper Wires: https://amzn.to/2KMoVXs
Bread Board: https://amzn.to/2MS4q8X
12v Adaptor: https://amzn.to/2Ntr6h1
PCB plate: https://amzn.to/2IUwpCt
Variable Supply: https://amzn.to/2MT4Qfj
Digital Multimeter: https://amzn.to/2Nvft9i
Vero Board / strip board: https://amzn.to/2MTf9jD
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2zfoNuJ
Solder wire: https://amzn.to/2ufUMWf
Wire Stripper: https://amzn.to/2KOqxfU
wire cutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF


Please Note: these are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!



All the connections used in this project which is based on the Wireless Hand Gesture Controlled Robot are exactly the same as explained in my previous tutorials. I didn’t even change a single wire. The only modification is on the programming side, which is really easy and I will explain each every instruction.

gesture controlled Robot

This is the Transmitter Side based on the 433 Mhz RF transmitter and a 2 axis joystick. The wiring is exactly the same as used in the version2.  In version 3 I did a very little modification that is I added this small circuit.

gesture controlled Robot

And added this Flex sensor which is also known as the bend sensor.

gesture controlled Robot

The flex sensor is basically a variable resistor, and its resistance changes as we bend the sensor. The resistance decreases as the bend increases. I have a very detailed getting started tutorial on how to use a flex sensor.

Flex Sensor or bend sensor getting started, circuit, interfacing and Arduino programming

I have also used this sensor In a project based on the human bad posture monitoring system.

Flex sensor or Bend sensor based Human Posture monitoring “Arduino biomedical project”

Article on Human Posture Monitoring using Arduino and Flex Sensor.


gesture controlled Robot

As you can see I have soldered two wires “red and white” with the flex sensor which are connected with the circuit as you can see in the Picture below.

gesture controlled Robot

So basically this flex sensor is connected in series with a 10k resistor which makes a voltage divider. The wire from the middle of the flex sensor and 10k resistor is connected with the analog pin A0. The red wire is connected with pin number 6 of the Arduino to provide 5volts to this circuit. While the grey wire is connected with the Arduino’s ground. If you find this confusing you can watch the video given at the end of this Article.

gesture controlled Robot

 As you can see the flex sensor is fixed on the glove, by opening and closing the hand I can control the amount of bend. Now let’s have a look at the Transmitter and Receiver programming.


In this project two Programs are used, one program is written for the Transmitter side and another program is written for the Receiver side. So first let’s start with the Transmitter side. For the Step by Step Programs explanation watch video given at the End. In both the Programs the Virtual Wire library is used which you can download by clicking on the download button below.

Download Library :VirtualWire

Transmitter side Programming:

Receiver Side Programming:

Watch Video Tutorial:

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply