Skip to main content

OBPushButton Blue(EF04034)

Introduction

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

ELECFREAKS Octopus Digital PushButton Brick - Blue

Characteristics

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

Specifications

ItemParameter
SKUEF04034
Power Supply3V5.5V
Connector TypeAnalog
Pins Definition1Signal 2VCC 3GND
ResponseQuick response with high sensitivity
CircuitSimple
StabilityStable and durable

Outlook and Dimension

Quick to Start

Materials used and connection diagram

Connect to the P1 port as the picture shows

Take sensor:bit for example

Program as the picture shows

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.

Relevant Cases

Technique Files