Case 2 - Control the buzzer

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

  1. When you turn on mBot Ranger, the buzzer keeps beeping (though it might sound a little bit harsh).mr9.gif
  1. When you turn on mBot Ranger, the buzzer sounds like an ambulance siren.


Part 4  Practice

    1. Write a program to make the buzzer play all the notes.
    2. Try to gradually increase the frequency of the sound, and see what happens.
Was this article helpful?
5 out of 6 found this helpful



Please sign in to leave a comment.