Microphone Adjust Detection Module.
Tekniske detaljer:
Operating voltage 3.3V-5V
Output form: Digital switching outputs ( 0 and 1 high and low Level)
Small PCB Size :(L*W) 3.2* 1.7cm/1.26″*0.67″
- The module has 2 outputs: AO, analog output, real-time output microphone voltage signal; DO, when the sound intensity reaches a certain threshold, it outputs high and low level signals, [threshold-sensitivity can be adjusted by potentiometer].
- There are 3mm mounting screw holes, which are powered by a 5v DC power supply.
- There is an analog output with a threshold flip level output.
- High sensitivity microphone with high sensitivity.
- There is a power indicator and the comparator output has an indicator.
Eksempel
Her viser vi et hurtig eksempel på hvordan du registrere larm/lyd, og får en diode til at lyse.
Du skal bruge:

Kode:
int soundSensor=2;
int LED=4;
boolean LEDStatus=false;
void setup() {
pinMode(soundSensor,INPUT);
pinMode(LED,OUTPUT);
}
void loop() {
int SensorData=digitalRead(soundSensor);
if(SensorData==1){
if(LEDStatus==false){
LEDStatus=true;
digitalWrite(LED,HIGH);
}
else{
LEDStatus=false;
digitalWrite(LED,LOW);
}
}
}
Kontakt os
Du er altid velkommen til at kontakte os på info@ardustore.dk, og vi vil hjælpe dig.










Anmeldelser
Der er endnu ikke nogle anmeldelser.