Despacito

by rarestudor5 in Living > Music

1172 Views, 0 Favorites, 0 Comments

Despacito

71TmhW8CF5L._SS500_.jpg

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

https://makecode.microbit.org/

Supplies

image.jpg
index.jpg
energizer-energizer-batteries-352.jpg
51kAyh7busL._AC_SY580_.jpg

Micro.bit + Buzzer + Breadboard + Batteries

Project

Schermafbeelding 2021-09-24 134936.png

Make Project named Despacito

Dancing Man

step 2.png

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"

Pause of 5 Seconds

step 3.png

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)

First Notes

step 4.png

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

Second Notes

step 5.png

Third Notes

step 6.png

Fourth Notes

step 7.png

Final Notes

step 8.png

Configuration Breadboard

F112JFOJ6MGCRH2.jpg

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

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.

Enjoy

Enjoy!