{"product_id":"sound-sensor-module-ky-038-ky-037-arduino-analog-digital-output","title":"Sound Sensor Module KY-038 KY-037 for Arduino – Analog \u0026 Digital","description":"\n\u003ch2\u003eSound Sensor Detection Module for Arduino, AVR \u0026amp; PIC – KY-038 \/ KY-037\u003c\/h2\u003e\n\u003cp\u003eAdd reliable sound detection to your next electronics project with this high-sensitivity microphone voice sound sensor module. Compatible with Arduino, AVR, and PIC microcontrollers, this compact SMD module delivers both \u003cstrong\u003eanalog (AO)\u003c\/strong\u003e and \u003cstrong\u003edigital (DO)\u003c\/strong\u003e outputs — making it incredibly versatile for alarms, sound-activated lighting, noise monitoring, and more.\u003c\/p\u003e\n\n\u003cp\u003eBuilt around the trusted \u003cstrong\u003eLM393 comparator chip\u003c\/strong\u003e and featuring an electret condenser microphone, it detects ambient sound levels with precision and responds with single-channel signal output. Whether you're a beginner building your first Arduino alarm system or an experienced maker, this module is a plug-and-play solution ready for your breadboard or PCB.\u003c\/p\u003e\n\n\u003cp\u003e\u003cem\u003eMade in Mainland China.\u003c\/em\u003e\u003c\/p\u003e\n\n\u003ch3\u003eKey Features\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDual Output:\u003c\/strong\u003e Analog output (AO) provides real-time voltage signal; Digital output (DO) switches HIGH\/LOW when sound exceeds a set threshold\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLM393 Comparator Chip:\u003c\/strong\u003e Stable, accurate threshold detection with adjustable sensitivity via onboard potentiometer\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHigh-Sensitivity Electret Condenser Microphone:\u003c\/strong\u003e Reliably picks up sound events for trigger-based applications\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWide Voltage Range:\u003c\/strong\u003e Works with DC 4–6V operating input; VCC supply range 3V–24V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLED Indicators:\u003c\/strong\u003e Two red LEDs — one for power status, one that lights when sound is detected\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e3mm Mounting Hole:\u003c\/strong\u003e Easy and secure installation in enclosures or project panels\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSingle-Channel Signal Output:\u003c\/strong\u003e Clean, straightforward interface for any microcontroller project\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSMD Package:\u003c\/strong\u003e Compact, lightweight form factor ideal for embedded builds\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eInterface Definition\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAO\u003c\/strong\u003e – Analog output (real-time microphone voltage signal)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDO\u003c\/strong\u003e – Digital output (comparator threshold output, HIGH\/LOW)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eVCC\u003c\/strong\u003e – Power supply input (3V–24V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e – Ground\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSample Arduino Code\u003c\/h3\u003e\n\u003ch4\u003eDigital Output Example\u003c\/h4\u003e\n\u003cpre\u003e\u003ccode\u003eint Led = 13;         \/\/ LED interface\nint buttonpin = 3;    \/\/ D0 sensor interface\nint val;\n\nvoid setup() {\n  pinMode(Led, OUTPUT);\n  pinMode(buttonpin, INPUT);\n}\n\nvoid loop() {\n  val = digitalRead(buttonpin);\n  if (val == HIGH) {\n    digitalWrite(Led, HIGH);\n  } else {\n    digitalWrite(Led, LOW);\n  }\n}\u003c\/code\u003e\u003c\/pre\u003e\n\n\u003ch4\u003eAnalog Output Example\u003c\/h4\u003e\n\u003cpre\u003e\u003ccode\u003eint sensorPin = A5;\nint ledPin = 13;\nint sensorValue = 0;\n\nvoid setup() {\n  pinMode(ledPin, OUTPUT);\n  Serial.begin(9600);\n}\n\nvoid loop() {\n  sensorValue = analogRead(sensorPin);\n  digitalWrite(ledPin, HIGH);\n  delay(sensorValue);\n  digitalWrite(ledPin, LOW);\n  delay(sensorValue);\n  Serial.println(sensorValue, DEC);\n}\u003c\/code\u003e\u003c\/pre\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eModel:\u003c\/strong\u003e KY-038 \/ KY-037\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMain Chip:\u003c\/strong\u003e LM393\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMicrophone Type:\u003c\/strong\u003e Electret condenser\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e DC 4–6V (operating); VCC 3V–24V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e SMD\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMounting Hole:\u003c\/strong\u003e 3mm\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Types:\u003c\/strong\u003e Analog + Digital\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOrigin:\u003c\/strong\u003e Made in Mainland China\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhat's in the Box\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × Voice Sound Sensor Module (KY-038 \/ KY-037)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eRelated Products You May Like\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/electromagnetic-induction-tester-coil-motherboard-fault-detector\"\u003eElectromagnetic Induction Tester – Coil \u0026amp; Circuit Fault Detector\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/air-compressor-pressure-gauge-0-10-0-12-0-25-bar-hydraulic-diy\"\u003eAir Compressor Pressure Gauge 0-10\/0-12\/0-25 Bar | DIY Tool\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eLearn more: \u003ca href=\"https:\/\/www.osha.gov\/eye-face-protection\" target=\"_blank\" rel=\"noopener\"\u003eOSHA on eye and face protection\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3\u003eFrequently Asked Questions\u003c\/h3\u003e\n\u003ch4\u003eQ: What is the difference between the KY-038 and KY-037 sound sensor modules?\u003c\/h4\u003e\n\u003cp\u003eA: Both the KY-038 and KY-037 are microphone sound sensor modules based on the LM393 comparator chip and deliver analog and digital outputs. The primary difference lies in microphone sensitivity — the KY-037 typically features a larger, higher-sensitivity microphone capsule for picking up quieter sounds, while the KY-038 is designed for general-purpose sound detection. Both are fully compatible with Arduino, AVR, and PIC microcontrollers.\u003c\/p\u003e\n\u003ch4\u003eQ: Can I use this sound sensor module with a 3.3V microcontroller like a Raspberry Pi or ESP32?\u003c\/h4\u003e\n\u003cp\u003eA: Yes. The VCC power input supports a range of 3V–24V, making it compatible with both 3.3V and 5V systems including ESP32, ESP8266, Raspberry Pi (via GPIO), and standard Arduino boards. Always check your specific board's current limits when wiring the module.\u003c\/p\u003e\n\u003ch4\u003eQ: How do I adjust the detection sensitivity of the sound sensor?\u003c\/h4\u003e\n\u003cp\u003eA: The module features an onboard potentiometer (trim pot) that you can turn with a small screwdriver to raise or lower the sound threshold. Rotating it changes the voltage reference point of the LM393 comparator, so the digital output (DO) triggers at a higher or lower sound level. The analog output (AO) always reflects the raw microphone signal regardless of the threshold setting.\u003c\/p\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"What is the difference between the KY-038 and KY-037 sound sensor modules?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Both the KY-038 and KY-037 are microphone sound sensor modules based on the LM393 comparator chip and deliver analog and digital outputs. The primary difference lies in microphone sensitivity — the KY-037 typically features a larger, higher-sensitivity microphone capsule for picking up quieter sounds, while the KY-038 is designed for general-purpose sound detection. Both are fully compatible with Arduino, AVR, and PIC microcontrollers.\"}}, {\"@type\": \"Question\", \"name\": \"Can I use this sound sensor module with a 3.3V microcontroller like a Raspberry Pi or ESP32?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes. The VCC power input supports a range of 3V–24V, making it compatible with both 3.3V and 5V systems including ESP32, ESP8266, Raspberry Pi (via GPIO), and standard Arduino boards. Always check your specific board's current limits when wiring the module.\"}}, {\"@type\": \"Question\", \"name\": \"How do I adjust the detection sensitivity of the sound sensor?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The module features an onboard potentiometer (trim pot) that you can turn with a small screwdriver to raise or lower the sound threshold. Rotating it changes the voltage reference point of the LM393 comparator, so the digital output (DO) triggers at a higher or lower sound level. The analog output (AO) always reflects the raw microphone signal regardless of the threshold setting.\"}}]}\u003c\/script\u003e\n\u003cscript type=\"application\/ld+json\"\u003e{\"@context\": \"https:\/\/schema.org\", \"@type\": \"BreadcrumbList\", \"itemListElement\": [{\"@type\": \"ListItem\", \"position\": 1, \"name\": \"Home\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/\"}, {\"@type\": \"ListItem\", \"position\": 2, \"name\": \"Home page\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/collections\/frontpage\"}, {\"@type\": \"ListItem\", \"position\": 3, \"name\": \"Sound Sensor Module KY-038 KY-037 for Arduino – Analog \u0026 Digital\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/products\/sound-sensor-module-ky-038-ky-037-arduino-analog-digital-output\"}]}\u003c\/script\u003e","brand":"Axl","offers":[{"title":"1PCS ky-037","offer_id":44167251296343,"sku":"14:1052#1PCS ky-037","price":6.98,"currency_code":"USD","in_stock":true},{"title":"1PCS ky-038","offer_id":44167251329111,"sku":"14:496#1PCS ky-038","price":7.13,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/6008\/7383\/files\/S4e95fb44e7884a9dbeb1430a2303a4f4b.webp?v=1786760190","url":"https:\/\/axlcustomersupport.com\/products\/sound-sensor-module-ky-038-ky-037-arduino-analog-digital-output","provider":"Axl","version":"1.0","type":"link"}