5. Octopus ADKeypad

5.1. Introduction

  • This keyboard uses an analog input to read the five key state with one IO port.

  • It can achieve many amazing interactive projects.

../../_images/hgyC8t8.jpg

5.2. Characteristics

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

  • It can work with micro:bit in 3V.

5.3. Specifications


Item | Parameter :-: | :-: SKU|EF04017 Power Input |3V-5V Connector Type|Analog Pins Definition|1-Signal 2-VCC 3-GND Response |Quick to response with high sensitivity Circuit|Simple Stability|Stable and durable

5.4. Outlook and Dimensions


../../_images/R0ARLff.png

5.5. Quick to Start


Connection diagram

  • Connect to P1 port as the picture shows.

Take sensor:bit for example

../../_images/ox97wuD.png

Program as the picture shows

  • Analog read the returned value.

  • When returned value is between 0~20, it means the button A is pressed, an icon is shown on the micro:bit.

  • By parity of reasoning.

../../_images/p4dwStN.png

Reference

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

You can also download it directly below:

---

Result

  • Press different buttons on the ADKeypad, different graphs show on the micro:bit.

5.6. Relevant Cases


5.7. Technique Files