What it’s about
This tutorial will show you how to add a small speaker to your cyber:bot board that can emit different frequencies. Using the cyberbot module’s tone function, you will learn to write programs that make sounds and even write simple songs using lists (similar to arrays).
Before you start
You will need:
- Your programming software set up, with your micro:bit ready to use the cyber:bot module
- A fully assembled cyber:bot robot
- A piezospeaker from your cyber:bot kit’s electronic component pack.
After you finish
You will be ready to continue with the main cyber:bot tutorial sequence. You will also be equipped to add your own custom audio alerts and sound effects to personalize your cyber:bot projects.