1. OBPushButton Blue(EF04034)

1.1. Introduction

This is a digital push button sensor, which detects your press action and it is ideal for beginners to use.

../../_images/iM1rurh.jpg

1.3. Characteristics

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

1.4. Specifications

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

1.5. Outlook and Dimension

../../_images/eNbM5Kz.png

1.6. Quick to Start

Materials used and connection diagram

Connect to the P1 port as the picture shows

Take sensor:bit for example

../../_images/OkMNDbJ.png

Program as the picture shows

../../_images/HyjB47U.png

Reference

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

You can also download the links below:

Result

While the button being pressed, an icon is showing on the micro:bit; while released, a rectangle is showing on the micro:bit.

1.7. Relevant Cases

1.8. Technique Files