DJ Mixer Using 4Duino-24
![DJ MIxer.png](/proxy/?url=https://content.instructables.com/FJW/SSEB/J2MAU2Z3/FJWSSEBJ2MAU2Z3.png&filename=DJ MIxer.png)
![DJ Mixer featuring 4Duino-24](/proxy/?url=https://content.instructables.com/FHT/0OHS/IU5NM1TN/FHT0OHSIU5NM1TN.jpg&filename=DJ Mixer featuring 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.
How It Works
![howitworks.png](/proxy/?url=https://content.instructables.com/FG7/VGPA/IU5NM2MB/FG7VGPAIU5NM2MB.png&filename=howitworks.png)
Build
![fritzing.png](/proxy/?url=https://content.instructables.com/FP3/JZAX/IU5NM2LI/FP3JZAXIU5NM2LI.png&filename=fritzing.png)
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.
![mixer.png](/proxy/?url=https://content.instructables.com/FOV/EIOP/IU5NM2MK/FOVEIOPIU5NM2MK.png&filename=mixer.png)
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.
Demo
![dj mix.jpg](/proxy/?url=https://content.instructables.com/FX4/T1V5/IU5NM2KM/FX4T1V5IU5NM2KM.jpg&filename=dj mix.jpg)
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.