However, on-board I/O rings and crocodile clips sometimes are not handy and safe enough to connect peripherals. To explore more possibilities with micro:bit, we have designed the micro:bit Expansion Board for Boson, a carry-on board that connects to micro:bit via the edge connector.
The expansion board comes with 6 fool-proof 3-Pin sockets, compatible with hundreds of DFRobot’s Boson and Gravity modularized electronic blocks, covering most popular digital and analog sensors and actuators, supporting sound, light, and motion interaction.
Click the link to learn more about DFRobot’s Boson module: https://www.dfrobot.com/boson
Click the link to learn more about DFRobot’s Gravity module: https://www.dfrobot.com/gravity
Moreover, the expansion board adds a Gravity: HuskyLens interface and an IIC interface. To ensure a steady current supply for these peripherals, the expansion board can be powered externally through the Micro-USB power port.
The ambient light sensor sensor detects the intensity of the laser pointer. If it is greater than 400, it will sound the buzzer and the servo will make the target fall and up. Game over when it reaches 10. Press A to reset score to 0.