4. Octopus ADKeypad(EF04017)

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

4.3. Characteristics

The 3pins ports is easy to plug and play.. It can work with micro:bit in 3V.

4.4. Specifications

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

4.5. Outlook and Dimensions

../../_images/R0ARLff.png

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

4.7. Relevant Cases

4.8. Technique Files