PAJ7620U2 Gesture Sensor

PAJ7620U2 can recognize 9 commonly used hand gestures for controlling arduino projects including move up, move down, move left, move right, move forward, move backward, circle-counter clockwise, circle-clockwise, and wave.These gestures data can be directally accessed via the I2C bus interface.

The PAJ7620 also gives built-in aility of proximity detection for the purpose of sensing object approaching or departing. The PAJ7620 is designed with great flexibility in power-saving mechanism.

PAJ7620U2 Gesture Sensor

Where to Buy?

This Module is available in many Chinese online stores as well as Amazon. Its price varies, but you can get it for approximately $4.5 in most stores.

Check Price on Aliexpress | Banggood | |

My personal favrate for this product is Aliexpress  Slow Shipping but Low Price + Wolrdwide Delivery


This modules comes with in-built IR LED, optical CMOS array and uses I2C interface to control and program using Arduino microcontroller. PAJ7620U2 modules costs less than $3, and besides the  Gesture Recognition modules, it also featured with

  • Built-in proximity detection,
  • Flexible power saving scheme,
  • Ambient light noise cancellation,
  • Nine gesture recognition (Up / Down / Left / Right / Push / Pull / CW / CCW / Wave),
  • Gesture speed is 60°/s to 600°/s in Normal Mode and 60°/s to 1200°/s in Gaming Mode,
  • Ambient light immunity: < 100k Lux.
  • I2C Interface upTo 400 Kb/Sec


  • Operating voltage: 3.3V/5V
  • Communication interface: I2C
  • Recognition distance: 5cm ~ 15cm
  • Recognition rate: 240Hz
  • Recognition angle: 60° (diagonal)
  • Dimensions: 16mm × 20.18mm
  • Mounting hole size: 3.0mm
  • Current Consumption
    • Operation State : 2.82 mA
    • Standby  State: 2.3mA

Applications of Gesture Sensor

we can use hand gesture as an input to control another grove, or a computer, mobile phone, robot, smart car, and more with a simple swipe of your hand. some of the more common application area

PAJ7620U2 Gesture Detection Range 

This Gesture Detection module works great between 5-15cm distance and flat mounting with view angle is about 60 degree.

PAJ7620U2 Gesture Sensor




It comes with  5-pin, 2.54mm pitch connector for I2C connection.

Pin No Sensor Pin Function
1 VCC  3.3V / 5V
2 GND Ground
3 SCL I2C Clock Port
4 SDA I2C Data Port
5 INT Interrupt Output

PAJ7620U2 Arduino 

To interface with this sensor module with Arduino, you need to connect to its 4-pin, 2.54mm pitch connector by using  jumper wire to arduino board as given in below table.

Pin No Sensor Pin Arduino Pin
1 VCC Arduino 3.3V
2 GND Arduino GND
3 SCL Arduino A5 (SCL)
4 SDA Arduino A4 (SDA)

Download the Arduino PAJ7620 library in the Library Manager menu in arduino IDE. Example code is available to test the module.

The above schematic is applicable Arduino Uno. In the same way you can connect this mudule to SCL and SDA pin of other arduino board such as Arduino Mega and Arduino Nano.


This is a super cool gesture sensor module enable you to control the physical environment using Arduino and Raspberry Pi without spending too much budget..

*sometimes it can be tricky while detecting the Forward gesture.

Pin No Sensor Pin Function
1 VCC  3.3V / 5V
2 GND Ground
3 SCL I2C Clock Port
4 SDA I2C Data Port
4 INT Interrupt Output

More great Projects using PAJ7620U2