Ever thought about having a portable disco light? That grooves according to the music?
Well it’s your lucky day because I have a very simple and an economical way to make a sound sensitive lighting system!
This is how the setup looks like on the breadboard. The components required are as listed below:
1. Arduino Nano 2. Sound Sensor 3. LED (You can choose any number according to your ease, the more the better!) 4. Jumper Cables, resistors
The connections are really easy to make. The sound sensor has 3 pins, namely VCC, output signal and ground. The output pin is connected to the Analog Pin 0 (A0) of the Arduino. And you can find how to connect the LED here.It’s better if you connect the LEDs to the PWM pins to get varied intensity of lights.
The main concept that is being used here is to interpret the intensity of the music or beats coming in and map them onto the multicolored LEDs to create a visually appealing effect.
This is the sound sensor being used to interpret the music.
This small and easy circuit can also be converted into a PCB, using the Eagle CAD software, which would make it more compact and robust.
You can find the code for the above device here: sound_sensitive_1Changes can be made into the code to make it more efficient, suggestions are welcome!
Here is a little video showing the functionality:
So that’s it, there you have your own little simple disco. Have fun!
Comments