Select Language:
فارسی انگلیسی
Shopping Cart: (0) items
Welcome, Dear User
Online support
Live Support
Categories
Notifications
NotificationsNotify me of updates to Sound Level Sensor
Shopping Cart
 
0 items
Compare list
No products added for compare!
Login
Email Address:
Password:

Forgot your password?
Create an account
Products Tags
تسلست
Articles
New Articles
All Articles
All Topics
 Other Articles
Articles RSS Feed

Sound Level Sensor[SEN-00153]products model : SEN-00153

Sound Level Sensor
Price: $0.74
 
 

Sound sensors can be used for a variety of things, one of them could be turning lights off and on by clapping. Today however we are going to use hook up the sound sensor to an array of LED lights which will beat with music, clapping or knocking.

Requirements

  • Almost any Arduino – I used the popular Arduino Uno
  • Some breadboard cables
  • A breadboard
  • A sound sensor – I used a high sensitivity sound detection sensor module by Keyes
  • At least 1 LED light – I used 7! The more the better!
  • As many LEDs you are using you should have resistors. 333 ohm resistors should do the trick for most LEDs but I used 100 ohm ones.

Connecting the sound sensor

The sound sensor should look something like this.

sound sensor

 

It has four pins that needs to be connected to your Arduino. The top one(if you look at the image above), is AO. This should be connected to the analog input 0 on the Arduino(A0). The one beside that is GND, which is connected to ground, the VCC is connected to +5V, and the last one is DO – which is the digital output of the module, and should be connected to digital pin 2 on the Arduino.

Here is the connection described with a table

Arduino PinSound Sensor Pins
A0AO
GND GND
5VVCC
Digital Pin 2 DO

 

On the top of the sound sensor is a little flathead screw you can turn to adjust the sensitivity and analog output of the sound sensor. To calibrate the sound sensor you can run some music the background and keep turning it until you start seeing the sensor-LED on the module starts blinking with the rhythm.

Connecting the LEDs

Now if you are only going to use one LED, connect your resistor from ground to the shorter side of the LED, and the long side of the LED todigital pin 3 on the Arduino.
If you have even more LEDs, keep doing the same but connect the next one to digital pin 4, the next one to digital pin 5 etc. I’ve written code to support 7 LED lights, which means you use digital pin 3 all the way to 9 for your LEDs. The reason I just didn’t connect the LEDs in parallel and then to only one digital pin, is because on for instance the Uno’s digital pins doesn’t have enough juice to fully power all those power hungry LEDs. You could use a transistor or a 7HC595N, but I just wanted to do a simple sound sensor tutorial so I didn’t include any of that in this post.

So basically Arduino Digital Pin(3-9) –> Positive Side of LED –> Negative Side of LED –> 333 ohm resistor –> Arduino Ground Pin(GND)

When its all connected it should look something like this

soundsensor2

Programming the Arduino

Below is the Arduino code. I don’t count on it to work instantly after uploading the code to your Arduino. It needs some calibration first. But first, copy the code to the Arduino software.

Add to Compare list Reviews Back
Customers who bought this product also purchased
450L/H JT-800 6-12V Brushless Water Pump 6m Head
450L/H JT-800 6-12V Brushless Water Pump 6m Head
2mm 1x40 pin XBee Socket
2mm 1x40 pin XBee Socket
Pin Header 1x40 male
Pin Header 1x40 male
Rotation Sensor Potentiometer Variable Resistor Module
Rotation Sensor Potentiometer Variable Resistor Module
Matrix Keyboard 4x4 Micro-Controller Keyboard
Matrix Keyboard 4x4 Micro-Controller Keyboard
MQ2 Sensor Module Smoke and Flammable Gas
MQ2 Sensor Module Smoke and Flammable Gas
Thumb Joystick Module
Thumb Joystick Module
ACS712ELCTR-20A Module Model B
ACS712ELCTR-20A Module Model B
Triple Axis Accelerometer Breakout - ADXL345
Triple Axis Accelerometer Breakout - ADXL345
HI401 Hall Magnetic Sensor
HI401 Hall Magnetic Sensor
Temperature control switch KSD9700 SEN-00384 degrees normally closed thermal protector / temperature controller 5A / 250V (10 ra
Temperature control switch KSD9700 SEN-00384 degrees normally closed thermal protector / temperature controller 5A / 250V (10 ra
BME280 Barometric pressure Sensor Module
BME280 Barometric pressure Sensor Module
"RGB Color Sensor with IR filter and White LED - TCS34725 "
"RGB Color Sensor with IR filter and White LED - TCS34725 "
PIR HC-SR501 Motion Sensor
PIR HC-SR501 Motion Sensor
HM1500LF
HM1500LF
MQ-8 hydrogen gas sensor module
MQ-8 hydrogen gas sensor module
Finger IR Heartbeat Detection Module
Finger IR Heartbeat Detection Module
PU9250 9-DOF 3-Axis Accelerometer, Gyro, & Magnetometer
PU9250 9-DOF 3-Axis Accelerometer, Gyro, & Magnetometer
AS5045 12 Bit Programmable Magnetic Rotary Encoder
AS5045 12 Bit Programmable Magnetic Rotary Encoder
MLX90615ESG-DAA
MLX90615ESG-DAA
MPX5010DP Differential Pressure Sensor
MPX5010DP Differential Pressure Sensor
Digital Light intensity Sensor Module BH1750FVI
Digital Light intensity Sensor Module BH1750FVI
DS18B20 Waterproof Temperature Sensor Probe stainless Steel Package Silicone Wire
DS18B20 Waterproof Temperature Sensor Probe stainless Steel Package Silicone Wire
MQ5 Gas Sensor Module  - Natural Gas, LPG Sensor
MQ5 Gas Sensor Module - Natural Gas, LPG Sensor
Pan Tilt Kit 15Kg Torque
Pan Tilt Kit 15Kg Torque
Devantech Ultrasonic Range Finder SRF01
Devantech Ultrasonic Range Finder SRF01
SHT10 temperature and humidity sensor module development board
SHT10 temperature and humidity sensor module development board
Distance Measuring Sensor GP2Y0D310K
Distance Measuring Sensor GP2Y0D310K
Infrared Thermometer - MLX90614ESF-AAA-000-TU
Infrared Thermometer - MLX90614ESF-AAA-000-TU
Differential pressure sensor MPX5700DP
Differential pressure sensor MPX5700DP
OV7670 Module
OV7670 Module
DS18B20 Probe
DS18B20 Probe
YF-S401
YF-S401
bracket for ultrasonic installation
bracket for ultrasonic installation
Temperature and humidity sensor HTU21D sensor module
Temperature and humidity sensor HTU21D sensor module
Line Tracking Sensor 3-Eye
Line Tracking Sensor 3-Eye
IR Proximity Sensor
IR Proximity Sensor
microphone module with amplifier MAX9814
microphone module with amplifier MAX9814
APDS-9930 module
APDS-9930 module
MAX6675 Module + K Type Thermocouple
MAX6675 Module + K Type Thermocouple
YF-S201 White
YF-S201 White
vibration sensor
vibration sensor
HC-SR505
HC-SR505
Sensor Soil Moisture Meter
Sensor Soil Moisture Meter
VL53L0X GY-530 Laser Ranger Module
VL53L0X GY-530 Laser Ranger Module
PRT30-15DO
PRT30-15DO
3-Axis Digital Accelerometer MMA7455L
3-Axis Digital Accelerometer MMA7455L
Hall Effect Sensor UGN3144E
Hall Effect Sensor UGN3144E
Temperature control switch KSD9700 75 degrees normally closed thermal protector / temperature controller 5A / 250V (10 rats)
Temperature control switch KSD9700 75 degrees normally closed thermal protector / temperature controller 5A / 250V (10 rats)
Absolut e Pressure Sensor MPS-301A
Absolut e Pressure Sensor MPS-301A
Color Sensor Module TCS230
Color Sensor Module TCS230
D204S
D204S
Humidity and Temperature Sensor - DHT22
Humidity and Temperature Sensor - DHT22
MQ-4 natural gas sensor module
MQ-4 natural gas sensor module
arduino 2.4" TFT LCD touch
arduino 2.4" TFT LCD touch
Arduino Due
Arduino Due
12V Cabinet Bolt Lock
12V Cabinet Bolt Lock
GY-521 MPU-6050 module triaxial accelerometer gyroscope 6DOF module Code schematics
GY-521 MPU-6050 module triaxial accelerometer gyroscope 6DOF module Code schematics