Breakout Board for micro:bit IO Expansion Board
Introduction¶
Microbit expansion board is an IO port expansion board that supports micro:bit. It can draw out all resources on the micro:bit and also has its own buzzer. Not only can it be connected to the P0 pin through a jumper cap, but it can also be released through the jumper cap. The small and unique size is very suitable for various small projects of micro:bit.
Model: DTS02018B
Features¶
- All IO ports are led out
- Comes with buzzer
- With LEGO compatible latch holes
- 3PN interface distinguished by yellow, red and black
Usage¶
For use with micro:bit, the connection is as shown below:
Then log in to the makecode website https://makecode.microbit.org/ and click on New Project.
Example 1 digital output¶
1. Connect the positive and negative poles of the power supply and the IO port
2. Write a light program.
3. Running result
Example 2 I2C mode¶
1. Add the i2c program module to makecode. Here we take oled as an example. Click "Extensions", enter OLED in the search box, and select the "oled-ssd1306" module.
2. Connection module I2C interface
3. Write a program to display "Micro:bit"
4. Run and check the display effect