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:
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.
Quantity | |
OSOYOO Basic board | 1 |
Ethernet Shield W5100 | 1 |
USB Cable | 1 |
Sound detector sensor module | 1 |
Jumper Wires | several |
Breadboard | 1 |
Connect sound sensor with OSOYOO Basic board as followed diagram:
OSOYOO Basic board | Sound sensor |
D4 | OUT |
GND | GND |
5V | VCC |
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!
DownLoad Url osoyoo.com
You must be logged in to post a comment.
Hi
I can’t get this to work.
It either stays on as quiet or loud.
Thanks,
M