Introduction: Despacito

Today, we will make the intro of "Despacito" on a Micro:bit using MakeCode.org

https://makecode.microbit.org/

Supplies

Micro.bit + Buzzer + Breadboard + Batteries

Step 1: Project

Make Project named Despacito

Step 2: Dancing Man

Create the value "Index", place it in a Loop 0 to 5, Pick Random 0 to 4 inside Plot x "Index" y and Leds from the image to create a dancing man who's enjoying "Despacito"

Step 3: Pause of 5 Seconds

For the "Dancing Man" to actually dance, we will use the "Forever" methode from MakeCode

IF/ELSE loop

First IF Loop with Point X 0 Y 0, Clear Screen

Then, ELSE Pause of 5000 ms (5 seconds)

Step 4: First Notes

Now, compose the song with the correspending notes from the photos

Step 5: Second Notes

Step 6: Third Notes

Step 7: Fourth Notes

Step 8: Final Notes

Step 9: Configuration Breadboard

Connect wires to 0 volt and pin 0. Connect the wires with the buzzer just like in the photo.

Step 10: Last Step

Upload file on your Microbit, then connect the Microbit with the Breadboard.

Place the batteries with the correspending sign and turn on the Breadboard.

Step 11: Enjoy

Enjoy!