Project: Gesture Controlled Mouse (Air Mouse) Using Arduino & Accelerometer

Project Gesture Controlled Mouse Air

AIR Mouse is also called gesture-controlled mouse and it works based on hand gesture. In this project an accelerometer is used for measuring the tilt of hand in X and Y direction and moves the cursor according the tilt.

Project Gesture Controlled Mouse Air

In the project two types of circuit are used, one is the transmitter circuit and other is the receiver circuit. Transmitter circuit makes use of MPU6050 series of accelerometer, which is connected to Arduino through I2C communication. The data is transferred to receiver Circuit using RF module, ASK433. Two switches are also used in transmitter circuit to work as Left Click and Right Click.

In the receiver side an Arduino Leonardo is used. The purpose of using Arduino Leonardo is that it supports HID (Human Interface Device). HID allows us to control the mouse and Keyboard of our PC or Laptop.

Circuit

In the project two circuits are used, one is the transmitter circuit and other is the receiver Circuit.

Transmitter Circuit

The transmitter circuit is placed in our hand. In this circuit, Arduino Nano is used which receives the data from accelerometer through I2C communication. MPU6050 is used in the transmitter circuit, which is accelerometer and supports I2C communication. SCL and SDA pins or accelerometer (MPU 6050) are connected to SCL and SDA pin of Arduino Nano, where SCL is A5 and SDA is A4 pins of Arduino. MPU 6050 have an INT pin, which is connected to interrupt (INT0) pin of Arduino that is D2.

Now data of accelerometer is transferred to receiver circuit using RF communication. For RF communication RF transmitter is used in transmitter side. Data pin of RF transmitter is connected to D4 pin of Arduino. An antenna is connected to ANT pin of RF transmitter. Antenna is nothing but only a 15 cm long single core wire.

Two switches are connected to D11 and D13 of Arduino that are Left Click and Right Click. This whole circuit is powered by 9-volt battery which is connected to Vin pin of Arduino through a switch.

If you are good in PCB Etching please use circuit provided below to build the project.

Project Gesture Controlled Mouse Air Mouse

If you wish to build the circuit on universal PCB (ZERO PCB) or breadboard, use the design provided below.

Receiver Circuit

In the receiver side, two major components used are the Arduino Leonardo and RF Receiver. Two switches are used for Enable/Disable the mouse and on/off the RF communication.

In the receiver circuit data pin of RF Receiver is connected to Interrupt pin (INT1) of Arduino, that is D2 pin.

Read more: Project: Gesture Controlled Mouse (Air Mouse) Using Arduino & Accelerometer

Leave a Comment

Your email address will not be published. Required fields are marked *