5. Basic:bit(EF02053)¶
5.1. Introduction¶
Basic:bit is a basic breakout board of micro:bit. It carries a buzzer and three groups of GVS pins(P0/P1/P2) on board. Each group of GVS pins separately leads out the IO port, 3V port and GND port on micro:bit. Small size with simple structure, it is quite enough for you to complete 98% micro:bit projects.
5.2. Features¶
- Small size with smart design, it is a perfect match for your micro:bit.
- Easily connected to micro:bit and lead out its power and IO ports with screws only.
- Lead out P0,P1,P2,3V,GND port on micro:bit board.
- Allow you to complete 98% micro:bit projects with three IO ports.
- The switch on board controls the ON/OFF status of buzzer.
5.5. Case Study¶
Material Needed:¶
- 1 x micro:bit
- 1 x basic:bit
- 1 x Octopus LED Module
- 1 x USB Cable
- 1 x GVS wire(Or Jumper Wire)
Assembly¶
Fix your basic:bit onto micro:bit with screws and nuts. Connect Octopus LED module to P1 port on your basic:bit. Then slide the switch to the speaker end.
Example Code¶
You can see the whole program via the link below: https://makecode.microbit.org/_AvW79jCcU2XA
Or you can download the program directly from the page below:
Final Effect¶
After saving the above code into micro:bit, the buzzer starts to play the music again and again. At the same time, Octopus LED module twinkles with 1 second space.