How do you feel about this article? Help us to provide better content for you.
Thank you! Your feedback has been received.
There was a problem submitting your feedback, please try again later.
What do you think of this article?
In this video you will learn about using the screen and playing sound on the Robot's speaker.The Arduino team cares about the Robot user experience so have commissioned three different songs that can be used while the Robot is doing other things.
David and Xun upload the “DiscoBot” example to the Arduino Robot and will how to navigate through the different sounds using the keypad.
You can create your own songs using tracker software like Milkytracker or Protracker using a template provided at the Arduino Squawk library, the one that is used to play sound in the Robot.The Robot can play up to four simultaneous voices on the speaker. This means when composing, up to four instruments can play in parallel. Once you have composed your song, just store it on the uSD card. The Robot can call the different sound files with simple commands.
Images can also be used from the SD card. The “Slideshow” example reveals how to load different images and how to navigate through them using the keypad. As an added feature, Xun will explain how to use the compass as a tilt sensor to get the images to change when tilting the Robot to one or the other side.
The Robot's screen supports colour BMP images, with 24 bits of depth, at a 160x128 resolution. David will create a BMP image using the free-software GIMP that will then be stored in the SD card and called from a sketch.