This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

microbit,edge-connector

Vendor: Micro:bit Educational Foundation

Description

GPIO pins exposed on BBC MicroBit headers.

The edge connector on the micro:bit is used to connect to external
circuits and components.

There are 25 strips/pins including 5 rings for using with 4mm banana
plugs or crocodile clips. 3 of these rings are for general purpose
input and output (GPIO) and are also capable of analog, PWM and touch
sensing, and two are connected to the micro:bit power supply.

The smaller strips spaced at 1.27mm on the edge connector have additional
signals, some of which are used by the micro:bit, and others that are free
for you to use. There are a number of external PCB connectors for purchase
with an 80w 1.27mm pitch that can be used to easily access these extra pins.

Only the pins on the front are connected to signals. The back rings are
connected to the front rings, but the back small strips are unconnected.

Pin assignments can be found at:
https://tech.microbit.org/hardware/edgeconnector/#edge-connector-pins

Properties

Properties not inherited from the base binding file.

Name

Type

Details

gpio-map

compound

This property is required.

gpio-map-mask

compound

gpio-map-pass-thru

compound

#gpio-cells

int

Number of items to expect in a GPIO specifier

This property is required.