23. Octopus Temperature Sensor Brick TMP36

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.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基本手势(上/下/右/左/前进/后退/顺时针/顺时针/波计数)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


../../_images/FW7bmzW.png

23.5. Quick to Start


Materials used and connection diagram

Connect to the P1 port

Take sensor:bit for example

../../_images/jifx0hA.png

Add Package

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

../../_images/smtcNoB2.png

Click “Extensions”, search “oled”in the dialog box and then download the “oled-ssd1306”. ../../_images/VGSLRXB1.png

Program as the picture shows

../../_images/5LEttGM.png

Reference

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

You can also download the links below:

---

Result

  • Different data is showing on the micro:bit with the different gestures.

23.6. Relevant Cases


23.7. Technique Files