{"id":1211,"date":"2018-01-16T11:24:27","date_gmt":"2018-01-16T13:24:27","guid":{"rendered":"https:\/\/arduxop.com.br\/loja\/produto\/ky-038-microphone-sound-sensor-module\/"},"modified":"2024-07-25T07:58:27","modified_gmt":"2024-07-25T11:58:27","slug":"ky-038-microphone-sound-sensor-module","status":"publish","type":"product","link":"https:\/\/arduxop.com.br\/loja\/produto\/ky-038-microphone-sound-sensor-module\/","title":{"rendered":"KY-038 Microphone sound 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)&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;Example code: Digital output&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;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); }}<\/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":1212,"template":"","meta":[],"product_brand":[],"product_cat":[178],"product_tag":[],"class_list":{"0":"post-1211","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\/1211","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\/1212"}],"wp:attachment":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/media?parent=1211"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_brand?post=1211"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_cat?post=1211"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_tag?post=1211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}