Introduction: Arduino LED Water Jumping With Music
This is an easy way to design and make your own jumping LEDs and Water while you playing music.
Material List :
.LEDs : Any color of LEDs you want. In this case, I use 5 different color : White, Yellow, Green, Red, Blue.
.Resistors : 270 Ohm
.A bread board
.A Relay: In this case I use a 5A capacity JZC 11F Relay because I'm gonna use it with my 12 Voltage Pump.
.A Water Pump : A DC motor Water Pump, 12V, 5000 RPM.
.A 9V Battery Supply for the Arduino Board
.A 12V Power Supply for the Pump
.Lots of Wires
2 lunch boxes : A small one and a Big one
Step 1: Connect All the LEDs to the Board
.Try to Connect all the LEDs light as close as you can so you can have more space for the Relay and Microphone.
.However, Don't forget that these LEDs need a 270 Ohm resistor
.The Long legs of the LEDs will go to Digitals so we can control it.
.In this case, It will connects to Digital 13, 12, 11, 10, 9
.The short legs of the LEDs will connect with the resistor
.The resistor will connect with GND of the Arduino Board
Step 2: Connect the Microphone to the Board
.Install the Microphone into the Board in the middle.
.Connect the VCC of the Microphone to 5v of the board.
.Connect the GND of the Microphone to GND of the board.
.Connect the OUT of the Microphone to A0 of the board.
Step 3: Connect the Relay to the Board and the Power Supply
.The Relay I use, JZC 11F has 5 pin.
.The first 2 pin will the connected to Digital ( in this case Digital 8 ) and GND of the Arduino Board
.The second 2 pin on the other side of the Relay will be connect to the positive of the Pump and the positive of the 12V Power Supply, 1 pin will be left unconnected.
.Connect the Negative wire of the power Supply back to the negative side of the Pump.
Step 4: Code
.Download Arduino program :
.Plug the Arduino board into the computer with a USB cable
.Open the Arduino and choose the Board in Tools->Board->Arduino Uno
.Then Download the "Speaker code.docx" in the Download Section, copy and paste it into the Arduino program
.Upload it into the Board
Step 5: Run It
.Connect the Power Supply of the Pump into the outlet.
.Tape the output hose of the pump into the bottom of the big lunch box.
.Fill the big lunch box with Water then put on top of the Small box.
.Play music and enjoy the lights.
.Here is an example of the LEDs Pump Jumping with the song Sail by AWOLNATION