The tool’s interface below is still in French. The interface is being translated by Google Translate.
mBot: melodies and light shows
Play the notes on the keyboard, pick the duration and the LED color: the program writes itself.
Composer
Programme
Le buzzer du mBot ne joue qu’une note à la fois, sans réglage de volume. Les deux LED de la carte acceptent pour chaque couleur une valeur de 0 à 255 : restez sous 100 pour ne pas éblouir.
How to use the mBot melody composer
Compose a melody on a keyboard, pair an LED color with each note, listen, and get the mBlock and Arduino program.
-
Play the notes
One click per note, any duration.
-
Listen
The sound imitates the robot’s buzzer.
-
Get the program
Blocks and Arduino code.
About the mBot melody composer
The mBot’s buzzer plays one note at a time, defined by its frequency and duration. The board’s two LEDs take any color by mixing red, green and blue.
Five sample melodies, from the public domain, serve as a starting point.
Frequently asked questions about the mBot melody composer
Can I adjust the volume?
No, the board’s buzzer has only one sound level.
Do I need a robot to use the tool?
No. It exists precisely to prepare or test a program before loading it onto the mBot.
Can it be used in class?
Yes, freely: in middle school technology class, in a robotics club or at home.