사운드 검출 센서
(Sound Detection Sensor)
개요
- 본 제품은 소리를 검출하는 센서입니다.
- 소리를 센싱하여 소리가 들리면 LED를 켜거나 등의 무엇인가 액션을 취하고자 할때 사용이 가능한 센서입니다.
- 디지털 출력을 가지고 있으며, 사운드가 검출되면 LOW가 출력됩니다.
- 특정 소리 강도는 장착된 포텐셔미터를 이용하여 설정할 수 있습니다.
특징
- Size: 32mm X 17mm X 8mm(length X width X height)
- Weight: 4g
- Main chip:LM393, Electret condenser microphone
- Working voltage: DC 4-6V
- Signal output indication
- Single channel signal output
- The output effective signal is low level
- When there is sound, outputs low level and the signal light
- Can be used for Acoustic control light , give sound and light alarm working with Photosensitive sensor ,and sound control, sound detect
- Circuit board output switch quantity
- Note: The Maximum induction distance is 0.5M
문서
int Led = 13 ;// define LED Interface int buttonpin = 3; // define D0 Sensor Interface int val = 0;// define numeric variables val void setup () { pinMode (Led, OUTPUT) ;// define LED as output interface pinMode (buttonpin, INPUT) ;// output interface D0 is defined sensor } void loop () { val = digitalRead(buttonpin);// digital interface will be assigned a value of pin 3 to read val if (val == LOW) // When the sound detection module detects a signal, LED flashes { digitalWrite (Led, HIGH); } else { digitalWrite (Led, LOW); } }
연관제품
- 연관제품 1