23. OCTOPUS Gesture Sensor PAJ7620U2(EF04078)#

23.1. Introduction#

OCTOPUS Gesture Sensor is PAJ7620U2 that integrates gesture recognition function with general I2C interface into a single chip. It can recognize 9 gestures including move up, move down, move left, move right, etc with a simple swipe of your hand.

../../_images/AVBdYeR.jpg

23.3. Characteristics#

The 3-pins ports is easy to plug and play.

23.4. Specifications#

Item Parameter
SKU EF04078
Detection Method Built-in approaching detection device
Gesture 9 gestures including move up/down/left/right/forward/back/clockwise/anticlockwise/pulse counter
Detection Scope 5-10cm
Ability for Anti-background light 100k
Power Supply 5V
Working Temperature -20℃~70℃
Size 23.48mm×31.28mm

23.5. Outlook and Dimensions#

../../_images/FW7bmzW.png

23.6. Quick to Start#

Materials used and connection diagram#

Take sensor:bit for example

../../_images/ef04078_08.jpg

Add Package#

Click “Advanced”in the choice of the MakeCode to find more choices.

../../_images/smtcNoB2.png

Click “Extensions” to search with “https://github.com/elecfreaks/pxt-gesture” in the dialogue box and download the package of the Gesture sensor.

../../_images/ef04078_05.png

Program as the picture shows#

../../_images/ef04078_06.png

Reference#

Links:https://makecode.microbit.org/_2tdKR1cuxba3

You can also download the links below:

Result#

The direction of the arrow displaying on the micro:bit changes with the different gestures of your hands.

../../_images/ef04078_07.gif

23.7. Relevant Cases#

23.8. Technique Files#