4. Octopus ADKeypad¶
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.
4.2. Characteristics¶
The 3-pins ports is easy to plug and play..
It can work with micro:bit in 3V.
4.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
4.5. Quick to Start¶
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.
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.