QB039/QB079 Sound Sensor

1.Product Introduction

../../_images/Sound-1.png

Sound sensor is a sensor used to detect the strength or frequency of sound signals in the environment.

Sound is essentially a kind of mechanical wave, which is generated by the vibration of the object caused by the vibration of the surrounding medium (such as air, water, etc.) molecules, and then form sound waves. When people speak in front of a microphone, the sound waves generated by their voice strike the membrane inside the microphone, causing it to vibrate. This vibration is converted into an electrical signal whose amplitude corresponds to the intensity of the sound. By measuring the amplitude of this electrical signal, we can determine the magnitude of the sound.

Application reference: voice control switch, noise detection, etc.

2.Parameter Specification

../../_images/Sound-5.jpg
Parameter Value//Description
Operating voltage 5V
Operating temperature 0°C~+70°C
Output signal analog signal
Size 3.16cm*2.38cm

3.Wiring Diagram

../../_images/Sound-2.png
Sound Sensor UNO
VCC 5V
GND GND
S Analog pin A0

4.Sample Code

1//www.acebott.com
2void setup(){
3pinMode(A0, INPUT);//Set pin A0 to input mode
4Serial.begin(9600);//Set baud rate to 9600
5}
6void loop(){
7Serial.println(analogRead(A0));// Read the state of pin A0 and print it to the serial monitor
8delay(100);
9 }

5.Test Result

After you have successfully connected the line according to the wiring diagram and successfully uploaded the correct program, open the serial port, set the baud rate (9600 baud rate), and switch to the rolling mode.

Speak into the sound sensor, the louder the sound, the higher the number.

../../_images/Sound-3.png
../../_images/Sound-4.png

6.Related Resources

PDF and Code

7.Get One Now

B2B Business: info@acebott.com

Related posts

Leave the first comment

Apply for a Free Trial

This product trial is prioritized for educators and academic institutions.

By filling out and submitting this form, you agree to the
Acebott Product Trial Terms and Conditions.

Unlock Your Exclusive Education Discount Today

Fill out this form to apply for special discounts tailored for educators and institutions. Enjoy at least 5% off on our STEM kits—because education deserves a reward!

Please fill out the form above, and our team will get in touch with you promptly!
😊🚀

Get A Free Quote! 🎉

Can’t find the perfect STEM kit ? Want the best wholesale prices ?
Interested in becoming a distributor ?

Just fill out the form above, and we’ll get back to you ASAP with all the info you need! 😊🚀

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.