Example Code for micro:bit-Noise Detector

The article offers a complete guide on building a micro:bit-based noise detector, detailing hardware setup, wiring diagrams, and providing sample code for graphical programming platforms MakeCode and Mind+. It includes visual aids and demonstrates the end result through a video demo, making it accessible for beginners interested in DIY electronics projects.

Hardware Preparation

BOS0004 BOS0017
BOS0009 Sound Sensor BOS0004 Ambient Light Sensor BOS0017 LED Module
BO0020 micro:bit microbit expansion board
BOS0020 Buzzer Module MBT0039 micro:bit BOS0040 micro:bit BOSON Expansion Board

Software Preparation

Supports graphical programming platforms such as MakeCode, and Mind+.

Wiring Diagram

Connection Diagram:

BOS0009-Connection 3

Result

Streetlight2

Additional Information

Flowchart:

Flowchart3

Was this article helpful?

TOP