Introduction: DJ Mixer Using 4Duino-24
The 4Duino DJ Mixer is a fun and interactive project similar to a keyboard MIDI Controller that has the ability to play sample beats and songs.
Before, DJ and music artist needs to use computers, recording and playback devices before they can mix and play their own customized music. But using this project, the user can utilize the 4Duino LCD screens and the 4D SOMO-II music module.
The 4Duino will serve as the GUI and controller that will send the data that the SOMO-II needs to play music. Two SOMO-II music modules will be used in this project, one SOMO-II will play the beats and one SOMO-II will play the songs.
The SOMO-II is a simple and easy to use audio module that only needs a speaker to function, it can play .wav and .mp3 audio files that are accessed through microSD card or USB devices. UART is used to communicate with the SOMO-II module with any other host by using serial byte commands.
Step 1: How It Works
Step 2: Build
Complete the following components:
- 1 4DUino Module
- 2 SOMO-II Modules
- 3 uSD Card
- Jumper wires
- bread board
- uUSB cable
Build the circuit as shown in the diagram.
Workshop 4 – 4Duino Extended Graphics environment is used to program this project. (The same could be implemented in the latest Arduino IDE)
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 file here. Open this file using Workshop 4.
- Connect the 4Duino to the PC using µUSB cable.
- 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 has the widget images you can click button “No Thanks”.
- After uploading the program in to the 4Duino, it will try to mount the µSD card. If the µSD card is not present it will print an error message.
- Insert the µSD card you saved the image files into the 4Duino.
Step 4: Demo
Working setup of the DJ Mixer, two software serials were used in this setup to transmit data commands to each of the SOMO-II, therefore, One SOMO-II will play the note that each SOMO-II module has their own microSD card with the saved song files, the SOMO-II implements a file-naming of the song tracks saved inside the microSD card. For more information on that topic, please view the SOMO-II datasheet that can be downloaded here.
Image of the GUI. The slider at the left side is for the volume of the SONG buttons. The opposite slider is for the volume of the BEAT buttons. The SONG Buttons are the White, Purple and Aqua colored buttons, which are arranged in column one. The BEAT Buttons are the Red, Blue, Yellow, Gold, Violet and Lime colored buttons arranged in column two and column three.
The BEAT Buttons plays beat music files once the button is pressed and stops when released. The SONG Buttons on the other hand plays continuously and stops when pressed again. While a SONG is playing, users can mix them up by playing different beats to match and mash the song up.
We have a be nice policy.
Please be positive and constructive.