Ks0105 keyestudio EASY plug Analog Sound Sensor: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
[[image:KS0105图.jpg|thumb|600px|right|Keyestudio White LED Module]] | |||
==Introduction== | ==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.<br> | |||
Note: this module | The sound sensitivity can be adjusted by the potentiometer.<br> | ||
The sensor comes with a fixed hole, easy for fixation on other devices. <br> | |||
<span style="color: red">'''Note: ''' this module should be used together with EASY plug control board.<br> | |||
<br> | |||
==Specification== | ==Specification== | ||
* | * Sensor type: Analog | ||
* Supply Voltage: 3.3V to 5V | * Supply Voltage: 3.3V to 5V | ||
* | * Operating current:<10mA | ||
* | * Output signal:analog signal | ||
<br> | |||
==Technical Details== | |||
* Dimensions: 42mm*20mm*18mm | |||
* Weight: 6.0g | |||
<br> | |||
== | ==Connect It Up == | ||
<br>[[File:ks0105 | 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. | ||
<br>[[File:ks0105.png|500px|frameless|thumb]]<br> | |||
<br> | |||
==Upload the Code== | |||
== | Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload. | ||
<pre> | <pre> | ||
void setup() | void setup() | ||
{ | { | ||
Serial.begin(9600);// open serial port, set the baud rate to 9600 bps | |||
} | } | ||
void loop() | 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); | |||
} | } | ||
</pre> | </pre> | ||
<br> | |||
==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. | |||
<br>[[File:ks0105 Result.gif|500px|frameless|thumb]]<br> | |||
<br> | |||
==Resources == | ==Resources == | ||
'''PDF'''<br> | |||
'''PDF''' | |||
https://drive.google.com/open?id=1Rd2-D2ls9-8YS0o0njbK1bTLSarXd5CM | https://drive.google.com/open?id=1Rd2-D2ls9-8YS0o0njbK1bTLSarXd5CM | ||
<br> | |||
==Buy from == | ==Buy from == | ||
'''Official Website''' | '''Official Website'''<br> | ||
http://www.keyestudio.com/keyestudio-easy-plug-analog-sound-sensor-for-arduino.html | |||
[[category:EASY Plug]] | [[category:EASY Plug]] | ||
Revision as of 15:23, 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.
thumb
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