4.3Exp3: Playing Music

Share for us

Game Instruction

The game is to drive the passive buzzer to play music through programming the notes and tones of the music.

Experimental steps

  1. Plug the power source into P1 to guarantee sufficient power.
  • Upload Exp3_Rollman_Music.ino under Rollman\Arduino Code\Exp3_Rollman_Music to the Rollman. Turn on the Power Switch.

Extension

Having completed the wiring, you can try to modify the file Exp3_Rollman_Music.ino to let Rollman sing various songs. 

Note: If you feel difficult to understand the code, at the last part of the manual a section Musical Knowledge is provided for you to better get the idea of the relationship between the notes and the code.