{"id":1231,"date":"2018-01-16T11:25:00","date_gmt":"2018-01-16T13:25:00","guid":{"rendered":"https:\/\/arduxop.com.br\/loja\/produto\/ky-037-sensitive-microphone-sensor-module\/"},"modified":"2024-07-25T07:58:09","modified_gmt":"2024-07-25T11:58:09","slug":"ky-037-sensitive-microphone-sensor-module","status":"publish","type":"product","link":"https:\/\/arduxop.com.br\/loja\/produto\/ky-037-sensitive-microphone-sensor-module\/","title":{"rendered":"KY-037 Sensitive microphone sensor module"},"content":{"rendered":"<p>Microphone sound detection moduleFor sound detection Module has two outputs:AO, analog output, real-time output voltage signal of the microphoneDO, when the sound intensity reaches a certain threshold, the output high and low signalThe threshold-sensitivity can be adjusted via potentiometer on the sensorConnecting to the ArduinoPin + to Arduino 5+Pin &#8211; to Arduino -Pin A0 to Arduino A0 (for analog program)Pin D0 to Arduino 13 (for digital program) Example code: Digital output int Led = 13 ;\/\/ define LED Interfaceint buttonpin = 3; \/\/ define D0 Sensor Interfaceint 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 == HIGH) \/\/ When the sound detection module detects a signal, LED flashes { digitalWrite (Led, HIGH); } else { digitalWrite (Led, LOW); }}Example Code : analog outputsint sensorPin = A0; \/\/ select the input pin for the potentiometerint ledPin = 13; \/\/ select the pin for the LEDint sensorValue = 0; \/\/ variable to store the value coming from the sensor void setup () { pinMode (ledPin, OUTPUT); Serial.begin (9600);} void loop () { sensorValue = analogRead (sensorPin); digitalWrite (ledPin, HIGH); delay (sensorValue); digitalWrite (ledPin, LOW); delay (sensorValue); Serial.println (sensorValue, DEC);}Powered by MediaWiki Powered by Semantic MediaWiki<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microphone sound detection moduleFor sound detection Module has two outputs:AO, analog output, real-time output voltage signal of the microphoneDO, when the sound intensity reaches a certain threshold, the output high and low signalThe threshold-sensitivity can be adjusted via potentiometer on the sensorConnecting to the ArduinoPin + to Arduino 5+Pin &#8211; to Arduino -Pin A0 to [&hellip;]<\/p>\n","protected":false},"featured_media":1232,"template":"","meta":[],"product_brand":[],"product_cat":[178],"product_tag":[],"class_list":{"0":"post-1231","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-sensores","8":"entry","9":"has-media","11":"first","12":"instock","13":"sale","14":"sold-individually","15":"purchasable","16":"product-type-simple","17":"has-product-nav","18":"col","19":"span_1_of_3","20":"owp-content-center","21":"owp-thumbs-layout-horizontal","22":"owp-btn-normal","23":"owp-tabs-layout-horizontal"},"_links":{"self":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product\/1231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/media\/1232"}],"wp:attachment":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/media?parent=1231"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_brand?post=1231"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_cat?post=1231"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_tag?post=1231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}