23. OCTOPUS Gesture Sensor PAJ7620U2

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. Characteristics

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

23.3. 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.4. Outlook and Dimensions


23.5. 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




You can also download the links below:



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


23.6. Relevant Cases

23.7. Technique Files