Introduction: MP3 Player Using 4Duino and SOMO-II
The Sound Module-II or the SOMO-II is a small and efficient audio module from 4D Systems that is able to play .mp3 or .wma audio files in the convenience of accessing it within a microSD card or a USB Flash drive (by using external components).
The aim of this project is to showcase the basic functions of the SOMO-II Audio Module such as the Play, Pause/Stop, Next, Previous and the Volume controls. The equalizer widget was used for aesthetic purposes. Users can observe the codes are specific byte commands to each function. Users can easily integrate the SOMO-II audio module to their existing projects and improve its functionality.
Step 1: How It Works
When a widget is pressed, 4Duino will send a corresponding serial byte command to the SOMO-II.
SOMO-II decodes and execute commands and produce an equivalent sound file.
Get the following Components
- 4DUino Module
- SOMO-II Module
- Jumper wires
- bread board
- 4ohm 3 watt Speaker
Build the circuit as shown in the image above.
Step 3: Program
Workshop 4– 4Duino Extended Graphics environment is used to program this project.
This project requires the Arduino IDE to be installed as Workshop calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.
- Download the project here. Open this file using Workshop 4.
- Connect the 4Duino to the PC using µUSB cable.Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.
- Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.
- The Workshop 4 IDE will prompt you to insert a µSD card to the PC in order to save the widget images. Insert µSD card, select the appropriate drive and press button “OK”. If the µSD card already have the widget images, you can choose to click on “No Thanks”.
Step 4: Demo
In the first image, after loading the LCD Screen, the PLAY button is pressed, Track 1 is playing. Note that the slider volume was not moved, the initial volume 15 was used. In the second image, the STOP button was pressed, no audio will play, when PLAY is pressed, it will repeat the track from the start.
Go to 4Duino.com for more cool stuff.