Examples > Robot?


This sketch shows you how to use the control board potentiometer and buttons as a keyboard. It turns the robot into a mobile music machine, have some fun with the music by pressing different buttons.

Hardware Required

  • Arduino Robot


  1. Upload the example, you can keep USB plugged in once finished.
  2. After the starting screen, you will hear the music playing.
  3. On the screen, the vertical blue bar indicates the tempo of the music. The horizontal bar in orange shows the pitch. The cross shape in the middle represents the buttons, and the circle on the bottom left corresponds to the knob.
  4. Press different buttons, or try rotating the knob. You should see the interface on the screen change.

Try it out

Test the inputs on the robot


SORRY, There is an error at our code repository, please inform to web@arduino.cc

See Also: