There is an alternate version of the HyperFirmata firmware for the HyperDuino that can play .mp3 or .wav files on a microSD card using an audio player module shown above, and which is available in the Audio Narration Add-On for the HyperDuino.
With HyperFirmata_mp3 installed on the HyperDuino, each touch sensor will play one sound track when the sensor is touched.
Use 4-wire connecting cable included with the Audio Narration Add-On kit to connect the pins as follows:
MP3 Module HyperDuino Socket & Wire Color
GND GND: black
VCC 5V: red
TX A0: yellow (you're connecting "Transmit" of the mp3 player to the "listening input" (receive) of the HyperDuino)
RX A1: white (you're connecting "Receive" of the mp3 player to the "controlling output" (transmit) of the HyperDuino)
The MP3 player module has 4 pins, labeled GND, Vcc, Tx and Rx.
One edge of the HyperDuino has two rows of sockets, where if you look closely, you can see the labels 5V, GND, and on the other, A0 and A1.
Connecting to the HyperDuino
(If you have the HyperDuino+R (robotics version v4.0 or later) click here for alternate instructions.)
This can be used either with or without a computer attached. When the HyperDuino is not attached to a computer, and is in the self-running mode, each touch sensor turns on a corresponding LED.
Touching sensor 13 changes the group of audio tracks used for the other sensors, so that alternate languages can be used, or other techniques such as long & short explanation, different musical sounds, etc.
With a computer attached and the HyperDuino Media Linker running, tracks will play along with whatever Internet-based media is displayed. You probably wouldn’t want sound from both the mp3 player and a video, but you might want to have music, narration or other audio accompany “silent” Internet media such as photos, maps, etc. For example, this would be a way to add narration to a Google Maps or Google Earth display.