Authorized Online Retailers:

Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

Authorized Online Retailers:

AMAZON
AMAZON-jp
amzuk

1 Overview

In the lesson, we’ll show how to use sound Sensor detect the sound intensity of the environment and use browser to monitor the data. This sound sensor is used to detect whether there’s sound surround or not, please don’t use the module to collect sound signal.  The sound sensor module has a built-in capacitive electric microphone which is highly sensitive to sound. Sound waves cause the thin film of the electric to vibrate and then the capacitance changes, thus producing the corresponding changed voltage., so it can detect the sound intensity in ambient environment. You can adjust the sensitivity with by adjusting the Potentiometer.

2 Hareware preparation

Quantity
OSOYOO Basic board 1
Ethernet Shield W5100 1
USB Cable 1
Sound detector sensor module 1
Jumper Wires several
Breadboard 1

3 Hardware connection

Connect sound sensor with OSOYOO Basic board  as followed diagram:

OSOYOO Basic board Sound sensor
D4 OUT
GND GND
5V VCC

4)Software Installation

Download the sketch file from https://osoyoo.com/driver/ethernet_iot/lesson11/w5100-lesson11.zip

unzip the file and double click the w5100-lesson11.ino file, load the sketch into IDE.

Open your Serial Monitor, you can see your router will assign an IP address to your mainboard as following:

In above example, 10.0.0.45 is the IP address of my mainboard.
Now use another computer or your cell phone’s  browser to visit url : http://10.0.0.45
Your browser will show following result:

Above result shows no sound detected by sensor. If there is some sound signal, then result will show as:
Environment sound status: Noisy!