Idea
In short
How do you build a clap switch for a night light?
A sound module detects two claps in a row and toggles an LED lamp, a classic first sound project. You need Arduino Nano, Sound sensor module (KY-038), LED 5 mm red, Resistor 220 Ω and Breadboard 830 Tie Points.
- Level
- Beginner
- Time
- About 150 min
- Parts
- 5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Switch with a double clap.
Parts list
- Development Boards
- Sensors
- Semiconductors
- Passives
- Prototyping
How to build it
- Wire the module
- Read the loudness
- Detect a clap
- Look for two within a second
- Toggle the LED
Common questions
What parts do I need for the clap switch for a night light?
Arduino Nano, Sound sensor module (KY-038), LED 5 mm red, Resistor 220 Ω and Breadboard 830 Tie Points.
How long does the clap switch for a night light take to build?
About 150 minutes for a beginner maker.
