Making Music with Your Ozobot

Post in News by Jasmine Rivera on 7th February 2020

Do you like making music? As part of Ozoblockly (Ozobot’s free block-based coding application), you can now program your Evo to play musical notes! OzoBlockly also allows you to access the app from a device and take advantage of coding via Bluetooth. When coding your Evo through Ozoblockly you’ll also have the opportunity to review your codes in JavaScript. This will help you familiarize yourself with the jargon so that when you’re ready to work in JavaScript, you (and your students) can easily make the transition.


In order to play sounds in Ozoblockly, you must have an Evo (not the older Bit robot). First, make sure you have selected the Evo option in OzoBlockly. Under the Intermediate (3), Advanced (4), and Master (5) settings of OzoBlockly, you have the ability to add sounds to your programing. For our example in this blog, I will be using the coding for Intermediate. Select the “Sounds” on the left side menu. In the dropdown menu you will find a code that says, “Play Note.”


Drag and drop the code to your workspace and select your musical key. Under this tab you can select the specific musical notes for the song. For this example, here are the notes for the first part of “Twinkle Twinkle Little Star.”





Now, here is the entire song coded using the Master Coding blocks. These were selected so that the order and duration of the notes could be manipulated. In this sequence a “Repeat” block was used for part of the section of the song. You could use repeat blocks multiple times if needed to reduce the number of blocked used on your workspace.




Once you have completed your song, you will need to flash the code to your Evo. To flash your Evo, you need to select the “Flashing” icon on the lower left side. Follow the instructions to calibrate your Evo and then flash code it. Once it has been flash coded you can double tap the on/off button on your Evo and it will play the song. Use this as an opportunity to test out other notes and create your own personalized melodies.

This is a great way to incorporate melodies into your Evo codes and have a little musical fun coding with OzoBlockly. Get started on creating your melodies!


If you want to explore other ways to us your Ozobot check out our other Ozobot courses on OTIS for educators.

Leave a Reply