4. Octopus ADKeypad(EF04017)#
This keyboard uses an analog input to read the five key state with one IO port. It can achieve many amazing interactive projects.
The 3pins ports is easy to plug and play.. It can work with micro:bit in 3V.
|Pins Definition||1Signal 2VCC 3GND|
|Response||Quick to response with high sensitivity|
|Stability||Stable and durable|
4.5. Outlook and Dimensions#
4.6. Quick to Start#
Connect to P1 port as the picture shows.
Take sensor:bit for example
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.
You can also download it directly below:
Press different buttons on the ADKeypad, different graphs show on the micro:bit.