Difference between revisions of "Sound Sensor"
From Geeetech Wiki
(→Overview) |
(→Connection Diagram) |
||
Line 10: | Line 10: | ||
==Connection Diagram== | ==Connection Diagram== | ||
[[File:BT.jpg]] | [[File:BT.jpg]] | ||
+ | |||
+ | VCC ----- VCC | ||
+ | GND ----- GND | ||
+ | S ----- Analog 0 | ||
==Examples== | ==Examples== |
Revision as of 02:50, 17 September 2012
Overview
The Sound sensor module is a simple microphone based on a opamp LM358 to amplify the sound strength of the environment like door knocks, etc loud enough to be picked up by a microcontroller's Analog to Digital converter. The value of output can be adjusted by the potentiometer.
Applications
- Simple microphone
- Sound detection
Connection Diagram
VCC ----- VCC GND ----- GND S ----- Analog 0
Examples
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 to serial delay(100); }
How to buy
Click here to buy Sound sensor