Do you interested in gesture? There have sensor that able to sense gesture which is PAJ7620U2. This sensor can recognize 9 gestures and the gesture information can simply access via the I2C bus. The 9 gestures are:
- Move Up
- Move Down
- Move Right
- Move Left
- Move Forward
- Move Backward
- Circle-Counter Clockwise
Since the max supply voltage and I/O are ~3.3V, so I decided to interface with ESP32 board. To make it more interesting, I use servo as an output actuator.
This video will show you how to control servo movement using gesture using ESP32 and Arduino.
This is the list of items used in the video.
This is Arduino sample sketch to sense gesture and control servo movement. Please install 2 additional library at Arduino IDE Library Manager:
- Gesture PAJ7620 by Seeed Studio Version 1.0.0
- ESP32Servo by John K. Benneth, Kevin Harrington Version 0.6.0
- Hand Gesture Recognition Sensor (PAJ7620)
- Tech Note 104 – Adding Gesture Control to your Arduino / ESP projects
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.