Introduction: Arduino Sound Monitor
Here is a guide to making a sound monitor that sends a text when your volume threshold has been reached.
This design uses an LCD, an Arduino Microphone module, esp8266-01, Arduino Mega, a buzzer, and some LCD's. This project is theoretically used as a baby monitor.
Step 1: Assemble Materials
Male to female wires
LED x 2 Resistor x 3 (5.1k resistor, 10k resistor, 220 resistor)
Buzzer LCD 16x2
USB cable connection
Microphone Sound detector module
Step 2: Connecting LCD to Arduino
The picture is not completely accurate because it is using an Arduino Uno.
In my project I used an Arduino Mega which has 4 serial pins. The object in the diagram is not a microphone, however I used its three pins to connect to A0, GND, and 5v.
RS--- Digital 9
E--- Digital 8
D4--- Digital 5
D5--- Digital 4
D6--- Digital 3
D7--- Digital 2
Step 3: Connecting Esp8266 to Arduino
Step 4: Assembling Microphone Module
Step 5: Code
Attached is the code for the final working project.
When connecting the esp8266 to the internet use AT commands.
AT+CJAP="wifi name","wifi pswd"
AT+CIPSEND= Character length+2
In my code you will see I have my username and password for smtp2go encoded in base 64.