No-Code Example for Music Box
This article offers a step-by-step guide on building a music box using a no-code approach. It covers necessary hardware components like light sensors and buzzer modules, provides a wiring diagram, and explains how the music box reacts to light changes to produce sound and light effects.
Hardware Preparation
![]() |
![]() |
![]() |
|---|---|---|
| BOS0004 Light Sensor | BOS0020 Buzzer Module | BOS0030 Splitter Module |
![]() |
![]() |
|
| BOS0019 Multicolor String Light | BOS0035 Mainboard-3IO |
Wiring Diagram

Result

The light sensor can measure the light intensity. We take the music box to a dark place, when the sensor senses the darkness, the box lights up and the buzzer starts to sing.
Was this article helpful?





