Was: 1.93
Price: 1.61
Features This module can be connected to the analog I O port when speaking to the microphone the analog value will be changed A recorder can be made by reading and saving the analog value Specifications Brick TypeSensor BrickBrick Interface3PINBrick Power Supply5VBoard Size33141 6mmParameterMin TypicalMax UnitWorking voltage4 555 5VDCDigital output voltageVCC 5V0 5VWorking current5V 260 uAFrequency range100 10000HzSensitivity 50 dBDEMO Connect S port of electronic brick of microphone to A0 port of for and we will use the following program to read the analog value When the value exceeds the threshold the LED indicator will flash 1const int ledPin 13 the number of the LED pin2const int thresholdvalue 400 The threshold to turn the led on3void setup 4pinMode ledPin OUTPUT 5 6void loop 7 int sensorValue analogRead A0 use A0 to read the electrical signal8 if sensorValuethresholdvalue 9digitalWrite ledPin HIGH if the value read from A0 is larger than 400 then light the LED10 delay 200 11 digitalWrite ledPin LOW 12 Package Included 1 x Microphone Noise Decibel Sound Sensor Measurement Module
https://ad.admitad.com/g/e8f129b05ed12a4616dd6213826a88/?f_id=19362&ulp=https%3A%2F%2Fwww.banggood.com%2FMicrophone-Noise-Decibel-Sound-Sensor-Measurement-Module-3p-4p-Interface-p-1553625.html%3Fcurrency%3DEUR&i=5
Leave a Reply