3- Wire it, I used the following image as a reference but placed the relay between the led strip and from there I connect it to a DC power
4- Connections:
Sound sensor G → Arduino pin GND
Sound sensor + → Arduino pin 5V
Sound sensor D0 → Arduino pin 2
Relay → Arduino pin 3
Relay COM → Led +
Relay NO → DC
Led - → GND
5- Program it
- The problems:
At the begginig I thought that the sensor, I had to adjust the sensitivity by turning the small screw on top: Clockwise = more sensitive, Contra Clock Wise = Less sensitive. Even after doing this I couln't manage to make it work, so I opened the "Serial Mononitor" in the Arduino software to read if there was any change in the value while making sounds. Adter a few adjustments it worked!
6 - This is how it looks:.