Example Code for micro:bit-Crowing Rooster

This article guides you through creating a crowing rooster project with micro:bit and BOSON modules, including hardware setup, wiring diagrams, and sample code using Mind+ and MakeCode.

Hardware Preparation

Mainboard
BOS0020 Buzzer Module BOS0004 Light Sensor BOS0035 Mainboard-3IO
micro:bit microbit expansion board
MBT0039 micro:bit BOS0040 micro:bit BOSON Expansion Board

Software Preparation

micro:bit and its expansion board will be used in programming projects.

Wiring Diagram

Non-programming Project Connection Diagram:

Programming Project Connection Diagram:

Other Preparation Work

micro:bit and its expansion board will be used in programming projects.

Additional Information

Program Flowchart:

Was this article helpful?

TOP