top of page

We assemble and program a music box with micro:bit and micro:shield

ed9d8399-8a8c-46f3-80f7-f9656fd4a901.jpeg

Workshop 3: Assembling and programming a music box with micro:bit and micro:shield

 

In this workshop we will assemble and program a music box with the micro:bit and the micro:shield extension. We will use a stepper motor and an external light sensor, thanks to the capabilities of the micro:shield board. We will also learn how to use the Neopixel LEDs integrated into the shield to create an artistic, constructive and fun project.

Objectives

  • Program the interaction between a light sensor and a stepper motor to control the movement of a figure inside the music box.

  • Synchronize the activation of a melody with the movement of the stepper motor based on the reading of the light sensor.

  • Interpret and apply flowcharts to design the programming logic that governs the operation of the music box.

  • Visualize the data read by the light sensor through serial communication to check the correct operation of the system.

anna.png

Anna Sanchis

inés1.png

Inés Cristina Fumero

micro:bit Live Madrid 2024 is possible thanks to...

Organize:

Micro-bit_Logo_Primary_Green@2x.png
ES system logo thead.png

Collaborate:

campus42 logo white.jpg
image.png
bylinedu.png
logo_comunidad_transparente.png
image.png

Event included in the

eu robots week.png
bottom of page