In this illustration we will going to wire the microphone module, relay and the Arduino board. These project is compatible on most common microcontroller, the main objective of this project to make a sound activated switch or a clap switch. The light will turn on if sensor sense a sound then triggering the relay which is connected to the microcontroller.
Required Component
- Arduino Boards (UNO, MEGA, NANO, PRO, LEO, DUE)
- ESP8266 with Arduino IDE (Optional)
- Microphone Sensor
- Relay Module
- Soldering Board
- Jumper Wires / DuPont Wires
- External Device
Wiring Guide
The Sketch Code / Single Clap
[crayon-67ba8527d6c1f698745204/]
The Sketch Code / Dual Clap
[crayon-67ba8527d6c27568337213/]
Make your own sound activated switch on Arduino