Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›PAJ7620U2 Gesture Recognition Sensor Modules

Component guide · Intermediate · 3 min read

PAJ7620U2 Gesture Recognition Sensor Modules

Generic I2C Module, Elecrow Crowtail Gesture 2.0 and DFRobot Gravity Gesture and Touch Sensor

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the PAJ7620U2 gesture sensor modules isPAJ7620U2 gesture sensor modules pinoutWiring the PAJ7620U2 gesture sensor modulesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The PAJ7620U2 recognises hand gestures in front of it, up to about 15 cm away: up, down, left, right, forward, backward, clockwise, anticlockwise and wave. It does the recognition itself and reports the gesture over I2C, so even an Arduino Uno can use it. The DFRobot Gravity gesture and touch sensor is a separate UART design that adds touch pads.

Key specs at a glance

Chip
PixArt PAJ7620U2
Gestures
9 built-in gestures
Range
About 5 to 15 cm
Interface
I2C, address 0x73
Supply
3.3V to 5V on most modules
DFRobot version
UART, gestures plus touch pads

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1PAJ7620U2 Gesture Recognition Sensor Module – I2C Interface₹659
  • Option 2Elecrow Crowtail-Gesture 2.0 Module with PAJ7620U2 Sensor – I2C Interface₹959
  • Option 3DFRobot Gravity Gesture and Touch Sensor Module – UART Interface₹1,549
01

What the PAJ7620U2 gesture sensor modules is

The PixArt PAJ7620 gesture sensor recognises nine hand gestures, such as up, down, left, right and wave, at 5 to 15 cm over I2C, for touchless control.

Use it for touchless light switches, page turning, robot commands or a kiosk control where buttons get dirty. Wave your hand clearly across the sensor at a steady speed; very fast or very slow moves are missed.

Mount the module so its orientation matches your idea of up and down, or swap the directions in code. Strong sunlight reduces range.

02

PAJ7620U2 gesture sensor modules pinout

The pins on the PAJ7620U2 gesture sensor modules and what each one does.

PinFunction
VCC3.3-5V
GNDGround
SDAI2C data
SCLI2C clock
INTGesture interrupt, optional
PinFunction
VCC
3.3-5V
GND
Ground
SDA
I2C data
SCL
I2C clock
INT
Gesture interrupt, optional
03

Wiring the PAJ7620U2 gesture sensor modules

Keep the sensor window clean and shaded from direct sunlight.

PAJ7620U2 gesture sensor modules pinConnectionNote
VCC5VOr 3.3V on ESP32
GNDGNDCommon ground
SDAA4GPIO21 on ESP32
SCLA5GPIO22 on ESP32
VCC
Connection:
5V
Note:
Or 3.3V on ESP32
GND
Connection:
GND
Note:
Common ground
SDA
Connection:
A4
Note:
GPIO21 on ESP32
SCL
Connection:
A5
Note:
GPIO22 on ESP32
04

Example code

Uses the RevEng PAJ7620 library from the Library Manager. Add the other gesture cases the same way.

Print gestures from a PAJ7620U2 · Arduino C++Verify & upload in Electrolark
#include <Wire.h>
#include "RevEng_PAJ7620.h"

RevEng_PAJ7620 sensor;

void setup() {
  Serial.begin(9600);
  if (!sensor.begin()) {
    Serial.println("PAJ7620 not found");
    while (1);
  }
}

void loop() {
  Gesture g = sensor.readGesture();
  switch (g) {
    case GES_UP:    Serial.println("Up"); break;
    case GES_DOWN:  Serial.println("Down"); break;
    case GES_LEFT:  Serial.println("Left"); break;
    case GES_RIGHT: Serial.println("Right"); break;
    case GES_WAVE:  Serial.println("Wave"); break;
    default: break;
  }
  delay(50);
}
05

Setup and tuning

Wiring

VCC 3.3 V (modules accept 5 V through a regulator), GND, SDA and SCL.

Library

use the RevEng PAJ7620 or Seeed Grove Gesture library.

Distance

move your hand 5 to 15 cm above the sensor at a steady speed.

Orientation

set the mounting direction in code so up and down match your project.

Light

avoid direct sunlight, which can blind the IR sensor.

06

What you need

Shop this list5 of 6 found in our store · ₹3,355

  • PAJ7620U2 Gesture Recognition Sensor Module – I2C Interface: the part this guide coversPAJ7620U2 Gesture Recognition Sensor Module – I2C Interface₹659
  • Elecrow Crowtail-Gesture 2.0 Module with PAJ7620U2 Sensor – I2C Interface: another version this guide coversElecrow Crowtail-Gesture 2.0 Module with PAJ7620U2 Sensor – I2C Interface₹959
  • DFRobot Gravity Gesture and Touch Sensor Module – UART Interface: another version this guide coversDFRobot Gravity Gesture and Touch Sensor Module – UART Interface₹1,549
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
  • 0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
07

Alternatives and when to choose them

  • ✓APDS9960 gesture sensor: simpler gestures plus colour.
  • ✓VCNL4040 proximity sensors: proximity only.
  • ✓IR obstacle sensor: on/off detection.
08

Common mistakes to avoid

  • !Moving the hand too fast or too far away.
  • !Ignoring sensor orientation in code.
  • !Using it in direct sunlight.
  • !Feeding 5 V logic to the bare sensor.
09

Frequently asked questions

Which gestures can the PAJ7620 detect?

Up, down, left, right, forward, backward, clockwise, anticlockwise and wave.

Why are my gestures detected the wrong way round?

The sensor is rotated; swap directions in your code to match mounting.

How far can it detect a hand?

About 5 to 15 cm; farther hands are not recognised reliably.

Does it work in sunlight?

Strong sunlight reduces accuracy because it floods the IR sensor.

Can I use it with ESP32?

Yes. Use I2C at 3.3 V with a common library.

Parts for this guide

  • PAJ7620U2 Gesture Recognition Sensor Module – I2C Interface
    ₹659View
  • Elecrow Crowtail-Gesture 2.0 Module with PAJ7620U2 Sensor – I2C Interface
    ₹959View
  • DFRobot Gravity Gesture and Touch Sensor Module – UART Interface
    ₹1,549View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
  • 0.96" OLED Display 128x64
    ₹139View
Shop Proximity & Inductive/Capacitive Sensors

Keep learning

Component guideIntermediateAPDS-9960 Gesture, Proximity and Colour SensorThe APDS-9960 from Broadcom senses hand gestures (up, down, left, right), proximity, ambient light and RGB colour in one small module.3 min read · SensorsComponent guideIntermediateI2C Proximity and Presence SensorsThese small sensors measure how close something is by sending infrared light and reading the reflection, over I2C.3 min read · SensorsComponent guideBeginnerIR Obstacle Avoidance Sensor ModulesAn IR obstacle avoidance module shines infrared light and watches for it to bounce back.3 min read · Sensors

Sources

  • PixArt PAJ7620U2 data sheet
  • RevEng PAJ7620 library
  • DFRobot wiki

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the PAJ7620U2 gesture sensor modules isPAJ7620U2 gesture sensor modules pinoutWiring the PAJ7620U2 gesture sensor modulesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide2 items · ₹2,208

PAJ7620U2 Gesture Recognition Sensor Module – I2C Interface · DFRobot Gravity Gesture and Touch Sensor Module – UART Interface

Run itChange the inputs and watch the output

Move a hand 5 to 15 cm above the sensor. Nine gestures are supported; five are printed here.

Serial monitor9600 baud
 

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question