This is a fun IOT project that i implemented for the festive season, Here basically the lights responds to the sound, you can turn it on/off with a clap or pinch, also it works as a great music synchronizer.
I wanted to make a music synchronizer using LED strip, i decided to implement it on generic LED's and breadboard before moving on the LED strip and boom it works super well. It can be used for home automation, like,
think about getting into your room and turning on the light using your clap, not to forget one won't have to get out of their bed for turning off light while sleeping xD
So that's how i made it-
Step-1
I connected multiple LED's in series (this fashion is pretty neat for saving wires and making circuit less messy)
Step-2
Now I got my sound detector sensor, and connected it's +end to the 5v pin in Arduino, -end to gnd pin, analog input to the A0 pin and digital input to 7th Digital pin of my uno.
Step-3
Then i checked for the sensitivity of the sensor, by providing a stimulus using Arduino IDE, and had to rotate the potentiometer on the sensor for adjusting the sensitivity level. it was working in the range of 100 to 900, i used this data to make a slope between LEDs and the sensor.
Step-4
Then i provided power to the LED using 9th digital pin of the uno, and then it was coding time.
Step-5
And boom!!! the project was ready, i clapped and played music and it was fun watching my LED's reacting to the sounds and synchronizing with it.
Comments
Please log in or sign up to comment.