Arduino Sound Monitor

by iamevananderson in Circuits > Arduino

2072 Views, 3 Favorites, 0 Comments

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.

Assemble Materials

Assemble materials.

Materials needed:

Arduino Mega2560

Jumper Wires

Male to female wires

LED x 2 Resistor x 3 (5.1k resistor, 10k resistor, 220 resistor)

Buzzer LCD 16x2

esp8266-01

USB cable connection

10k potentiometer

Push button(optional)

Microphone Sound detector module

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.

Connections:

LCD:

VSS---GND

VDD---5v

V0--- Wiper(potentiometer)

RS--- Digital 9

RW--- GND

E--- Digital 8

D4--- Digital 5

D5--- Digital 4

D6--- Digital 3

D7--- Digital 2

A---resistor(5v)

K---GND

Connecting Esp8266 to Arduino

Esp8266:

tx---rx

rx---tx

Gnd---Gnd

vcc---3.3v

ch-pd---3.3v

Assembling Microphone Module

A0---A0

GND---GND

+---5v

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.

Enjoy!

Downloads