Login

Interface a sound sensor with Arduino

Objective

  • Detect sound using Sound sensor.

Things

  • Sound sensor
  • Jumpers wires
  • Arduino Uno

Let’s begin!

In this unit, we will detect sound using a sound sensor. The sound sensor gives a digital output. If the sound detected by the sensor exceeds a threshold value, the output goes HIGH.

This threshold is set using an on-board potentiometer and an LM393 OpAmp IC.

First, you need to plug in the sound sensor into your breadboard. Connect the ground pin of the sensor to a GND terminal of the Arduino. Now, connect the Vin pin to the 5V bus of the Arduino, and the output pin to digital pin 2 of the Arduino.

Circuit

Code

There you go!

Takeaway

Loader Loading...
EAD Logo Taking too long?
Reload Reload document
| Open Open in new tab
April 22, 2020

0 responses on "Interface a sound sensor with Arduino"

Leave a Message

Your email address will not be published.

top

Knowledge and Content by Li2 Technologies | © 2021 NASSCOM Foundation | All rights reserved

X