Hand Gesture control using Arduino
Introduction
In this project, we are going to make a simple hand gesture control device using Arduino Leonardo and some IR sensors.
We can implement any controls of our PC or mobile phone by just the movement of our hands. What I here made is only just a scratch on the endless possibilities of gesture control. Soon we are going to make a fully functional game control أن شاء الله so be tuned.
Concept
We are using Arduino keyboard library to convert the inputs from IR obstacle sensor to keystrokes for controlling the car in NFS game,
- When the top right and top left sensors are trigged then it will simulate up arrow key.
- When the down right and down left sensors are trigged then it will simulate down arrow key.
- When the top right and down right sensors are trigged then it will simulate right arrow key.
- When the down left and top left sensors are trigged then it will simulate left arrow key.
Circuit description
Arrange the sensors on the 4 corners of the Leonardo board as shown in the figure in the video. Connect all the VCC of the IR sensor modules to the 3.3 v or 5v of the Leonardo and connect the ground of all the four sensors to the ground of the Arduino,
Output pin of IR sensor | Arduino Leonardo |
Sensor 1 | digital pin 11 |
Sensor 1 | digital pin 9 |
Sensor 1 | digital pin 12 |
Sensor 1 | digital pin 10 |
Code
Hand Gesture control using Arduino
Reviewed by Abu Yazid
on
April 17, 2018
Rating: