Case 2 - Buzzer Control
Part 1 Objective
After you upload the program, the buzzer on Auriga beeps, sounds like an ambulance siren, or sounds in other ways as programmed.
Part 2 Preparation
- Auriga x 1
- USB cable x 1
- Computer with network access x 1
Connect Auriga to the computer by using the USB cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Upload mode.
Part 3 Programming
- Beeping: When you turn on mBot Ranger, the buzzer keeps beeping (though it might sound a little bit harsh).
Sounding like an ambulance siren: When you turn on mBot Ranger, the buzzer sounds like an ambulance siren.
Part 4 Practice
- Write a program to make the buzzer play all the notes.
- Try to gradually increase the frequency of the sound, and see what happens.