OCTOPUS Gesture Sensor PAJ7620U2(EF04078)
Contents
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.
23.2. Products Link#
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#
23.6. Quick to Start#
Materials used and connection diagram#
Take sensor:bit for example
Add Package#
Click “Advanced”in the choice of the MakeCode to find more choices.
Click “Extensions” to search with “https://github.com/elecfreaks/pxt-gesture” in the dialogue box and download the package of the Gesture sensor.
Program as the picture shows#
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.