O'Reilly logo

The Official BBC Micro:bit User Guide by Gareth Halfacree

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix D

Pin-Out Listing

THE FOLLOWING FIGURE is a numbered diagram of the BBC micro:bit’s general-purpose input-output (GPIO) pins, both large and small. The table describes the functions available on each pin.

For more information on the BBC micro:bit GPIO pins, see Chapter 10, ‘Building Circuits’.

image

Pin No.

Main Function

Additional Function

Notes

0

GPIO Pin 0

Analogue Input

Large pin, Weak Pull-Up Resistor

1

GPIO Pin 1

Analogue Input

Large pin, Weak Pull-Up Resistor

2

GPIO Pin 2

Analogue Input

Large Pin, Weak Pull-Up Resistor

3V

3V Power Supply

Large Pin

GND

Ground Connection

Large Pin

3

LED Column 1

GPIO Pin 3, Analogue Input

Small Pin

4

LED Column 2

GPIO Pin 4, Analogue Input

Small Pin

5

Button A Input

GPIO Pin 5

Small Pin, Pull-Up Resistor

6

LED Column 9

GPIO Pin 6

Small Pin

7

LED Column 8

GPIO Pin 7

Small Pin

8

GPIO Pin 8

Small Pin

9

LED Column 7

GPIO Pin 9

Small Pin

10

LED Column 3

GPIO Pin 10, Analogue Input

Small Pin

11

Button B Input

GPIO Pin 11

Small Pin, Pull-Up Resistor

12

Reserved for Accessibility

Small Pin

13

GPIO Pin 13

SPI1 SCK

Small Pin

14

GPIO Pin 14

SPI1 MISO

Small Pin

15

GPIO Pin 15

SPI1 MOSI

Small Pin

16

GPIO Pin 16

Small Pin

17

3V Power Supply

Small Pin, Linked to 3V

18

3V Power Supply

Small Pin, Linked to 3V

19

I2C1 SCL

GPIO ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required