This is a repository of short Arduino projects I made for practice.
-
The code can be found here: clap_on_clap_off.ino
-
The goal of this project was to replace my family's old Clapper device that had always been used to control Christmas tree lights. The old clapper was failing so I decided to make a new one.
-
The Arduino waits for 2 successive claps before toggling the relay, which in turn toggles the power strip outlets and the devices connected to it.
-
This project also required developing a 3d model to print and house the electronics as well as soldering to rewire the power strip.
- Arduino Nano
- power strip
- relay (SONGLE SRD-5VDC-SL-C)
- microphone sensor (MAX4466)
- 3D printed enclosure
- wiring
File Locations: solidworks, stl
The electronics housing connects to the bottom of the power strip and neatly hides all the electronics.
Images:
- Adjusting the sensor gain, sensitivity values, and requiring multiple claps to prevent false positives negatives
- Wiring higher voltage circuits
- Adding sensitivity control inputs for users
- Adding other forms of control besides audible cues