Ks0105 keyestudio EASY plug Analog Sound Sensor: Difference between revisions
Keyestudio (talk | contribs) No edit summary |
Keyestudio (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[image: | [[image:ks0105图.jpg|thumb|600px|right|Keyestudio White LED Module]] | ||
==Introduction== | ==Introduction== |
Revision as of 15:25, 15 November 2018
Introduction
This sound sensor is typically used in detecting the loudness in ambient environment.You can use it to make interactive circuits such as a voice-operated switch.
The sound sensitivity can be adjusted by the potentiometer.
The sensor comes with a fixed hole, easy for fixation on other devices.
Note: this module should be used together with EASY plug control board.
Specification
- Sensor type: Analog
- Supply Voltage: 3.3V to 5V
- Operating current:<10mA
- Output signal:analog signal
Technical Details
- Dimensions: 42mm*20mm*18mm
- Weight: 6.0g
Connect It Up
Connect the EASY Plug sound sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
Upload the Code
Copy and paste below code to Arduino IDE and upload.
void setup() { Serial.begin(9600);// open serial port, set the baud rate to 9600 bps } void loop() { int val; val=analogRead(0); //connect mic sensor to Analog 0 Serial.println(val,DEC);// print the sound value on serial monitor delay(100); }
What You Should See
After uploading the code, open the serial monitor and set the baud rate to 9600, you should see the analog value showed on the monitor.
Resources
PDF
https://drive.google.com/open?id=1Rd2-D2ls9-8YS0o0njbK1bTLSarXd5CM
Buy from
Official Website
http://www.keyestudio.com/keyestudio-easy-plug-analog-sound-sensor-for-arduino.html