Arduino - CLAP SWITCH - SOUND CONTROL SWITCH
Intro: Arduino - CLAP SWITCH - SOUND CONTROL SWITCH
Hello world! Today i made a clap switch with a DIY sound control module. I soldered the Sound control Module a few months ago, and today i decided to check out if it works, and it does. I had a hard time getting another value then 0 and then found a way to get 2 values. You can clap, knock, or say any word + you can blow into it.. for the last 2 you need to be close to the device. You can also use it as a shock/knock sensor. Check the next step for the schematic Code & Parts list.
For the Sound Switch Module:
Attach the Blue wire to SCL on arduino.
Attach the Yellow wire to RXD.
Attach the + to VIN.
- to ground.
STEP 1: Schematic Code & Parts List.
Just connect it like the schematic, upload the code and it should work.
Parts list.
- Arduino uno, i used the RobotDyn Uno.
- KY-019 Relay module. Any other will work to, or make your own relay module.
- DIY Sound Switch Module. (You need to solder it yourself)
- 9v 1000ma AC/DC adapter
- Lamp socket + power cable. (optional)
Good luck!
3 Comments
markyoe 6 years ago
Can the output for my lights be 12V? I'd like to clap and turn on a strip of LEDs. Thanks.
vandenbrande 5 years ago
vandenbrande 7 years ago
Follow me for more!