音が流れない場合、再生を一時停止してもう一度再生してみて下さい。
ツール 
画像
Electrical Projects [CreativeLab]
68178回再生
How to make Smart Clap Switch using Arduino | DIY Arduino Projects

The proper way to make a clap light switch is to use an Arduino or a microcontroller, because it allows the device not just to detect claps but to recognise a clap pattern, two claps in our case. Two clap pattern is much more reliable than a single clap because it prevents false triggering.

Code (sketch) for this Arduino project: github.com/electrical-pro/clap_switch
Microphone module you can get here: s.click.aliexpress.com/e/_Abs0Z2
5V relay module: s.click.aliexpress.com/e/_AAXY9i
Arduino UNO: s.click.aliexpress.com/e/_Ddm2De1
Arduino wires (jumper wire, Dupont): s.click.aliexpress.com/e/_AV0WRl

OUTLINE:
0:00 - About clap switch (and short demo)
0:20 - What components are needed
0:42 - Flashing Arduino
0:57 - Connecting wires
1:57 - Powering up everything and the first test
2:22 - Connecting a light bulb
2:33 - Controlling a light bulb
2:50 - Voice detection problem
3:17 - Fixing voice detection problem
4:12 - Test with a modified microphone module
4:34 - Removing one more capacitor
4:45 - Final test
5:09 - False triggering prevention demo
5:41 - Goodbye

コメント