Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Sound Sensor and Microphone Modules Explained

Component guide · Beginner · 3 min read

Sound Sensor and Microphone Modules Explained

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerWhich module do you need?Wiring and readingMeasuring decibelsTry itCommon mistakesFAQsParts and next steps
Short answer

Sound sensor modules turn sound into a voltage. The basic KY-038 uses an electret microphone and an LM393 comparator, so its digital output detects loud sounds such as a clap. For actual audio levels, use an amplified microphone board such as the MAX4466 or the auto-gain MAX9814, read on an analog pin. For voice or audio recording on ESP32, use an INMP441 digital I2S microphone.

Key specs at a glance

KY-038 / KY-037
Electret mic + LM393; AO and DO; clap or knock detection
MAX4466
Adjustable-gain mic amp, output centred at VCC/2
MAX9814
Automatic gain control, 40/50/60 dB gain settings
INMP441
Digital I2S MEMS microphone, 3.3 V
Supply
2.4 to 5.5 V depending on module (INMP441 3.3 V)
Not included
Calibrated dB SPL readings
01

Which module do you need?

ModuleOutputGood forNot good for
KY-038 / KY-037Digital threshold + weak analogClap switches, knock alarmsMeasuring loudness or audio
MAX4466Analog audioSound level meters, music-reactive LEDsVery loud and very quiet rooms together
MAX9814Analog with auto gainVoice pickup at varying distancesMeasuring true loudness (AGC changes gain)
INMP441I2S digitalESP32 voice, recording, FFTArduino Uno (no I2S)
KY-038 / KY-037
Output:
Digital threshold + weak analog
Good for:
Clap switches, knock alarms
Not good for:
Measuring loudness or audio
MAX4466
Output:
Analog audio
Good for:
Sound level meters, music-reactive LEDs
Not good for:
Very loud and very quiet rooms together
MAX9814
Output:
Analog with auto gain
Good for:
Voice pickup at varying distances
Not good for:
Measuring true loudness (AGC changes gain)
INMP441
Output:
I2S digital
Good for:
ESP32 voice, recording, FFT
Not good for:
Arduino Uno (no I2S)
02

Wiring and reading

KY-038: VCC to 5 V or 3.3 V, GND to GND, DO to a digital pin. Turn the trimmer until the LED just goes off in a quiet room; a clap then pulses DO. The pulse is short, so read it with an interrupt or a fast loop.

MAX4466 / MAX9814: the output sits at about half the supply with silence and swings above and below it with sound. Take many fast analogRead() samples over about 50 ms and use the peak-to-peak value as loudness. Power the mic from the cleanest supply available, as noise from Wi-Fi or a USB port shows up in the signal.

INMP441: connect SCK, WS and SD to three ESP32 GPIO pins, L/R to GND for the left channel, and VDD to 3.3 V. Use the ESP32's I2S driver to read samples.

03

Measuring decibels

None of these modules gives a calibrated dB SPL value out of the box. To build a rough sound meter, record peak-to-peak readings next to a phone or handheld sound level meter at a few levels, and fit a curve. Remember that dB is logarithmic: doubling the voltage adds about 6 dB. For a music-reactive WS2812B strip, a MAX4466 with a short averaging window is usually enough.

04

Try it: dB converter calculator

Change the values and the diagram and results update as you type.

05

Common mistakes to avoid

  • !Trying to measure loudness with the KY-038 digital pin.
  • !Reading the analog output once instead of peak-to-peak over a window.
  • !Using a MAX9814 for dB measurement while its auto gain is active.
  • !Powering the mic from a noisy supply.
  • !Connecting an INMP441 to 5 V.
06

Frequently asked questions

Can a sound sensor measure decibels?

Not directly. Amplified mic modules give a relative level; you must calibrate against a sound level meter to estimate dB.

Why does my KY-038 analog output barely change?

Its analog output is the microphone signal with little amplification. Use a MAX4466 or MAX9814 board for useful levels.

What microphone should I use with ESP32?

The INMP441 I2S digital microphone gives clean audio for voice and recording projects.

How do I make a clap switch?

Use a KY-038's digital output on an interrupt pin and toggle a relay when two pulses arrive within about a second.

What is the difference between MAX4466 and MAX9814?

The MAX4466 has fixed gain set by a trimmer. The MAX9814 adjusts gain automatically so quiet and loud sounds give a similar output level.

Parts for this guide

  • PAM8403 2x3W Class-D Stereo Amplifier Module
    ₹20View
Shop Amplifier ModulesShop Light & Optical Sensors

Calculators

dB converter calculatorADC resolution calculator

Terms in this guide

Electret microphoneA small, cheap condenser microphone with a permanently charged film and a built-in transistor amplifier, needing a bias voltage to work.I2SInter-IC Sound: a serial bus for digital audio with a bit clock, a word-select clock and a data line, used by digital microphones and audio DACs.ComparatorA circuit that compares two voltages and outputs HIGH or LOW depending on which is larger. Sensor modules use one (often an LM393) to produce their digital output.GainHow much an amplifier multiplies its input. A gain of 10 turns a 0.1 V signal into 1 V. For an op-amp it is set by two resistors.Analog signalA signal whose voltage varies continuously, such as a sensor output of 0 to 3.3 V, rather than switching only between HIGH and LOW.PiezoA ceramic element that bends when voltage is applied (and makes a voltage when bent), used in passive buzzers and vibration sensors.

Projects that use it

Put this into practice: 44 step-by-step builds in our project library use parts from this guide.

Intermediate · 1 hourDouble-clap light switchView projectIntermediate · 1–2 hoursMusic-reactive LED stripView projectBeginner · 45 minutesSound level meterView project
Browse all 44 projects

Keep learning

How-toBeginnerPAM8403 and Other Audio Amplifier ModulesThe PAM8403 is a tiny 5 V class-D stereo amplifier that drives two small speakers at up to 3 W each into 4 Ω.4 min read · AudioComponent guideIntermediateOp-Amps for BeginnersAn operational amplifier (op-amp) amplifies the voltage difference between its two inputs by a huge amount; feedback resistors turn that into a precise, useful gain.4 min read · Semiconductors & ICsComparisonBeginnerActive vs Passive BuzzersAn active buzzer beeps at one fixed pitch as soon as you apply DC, so a digital pin can switch it on and off.3 min read · AudioHow-toIntermediateWS2812B Addressable LEDs (NeoPixel)WS2812B LEDs (often called NeoPixels) contain a red, green and blue LED plus a tiny controller, so each LED on a strip can be set to any colour from one data pin.3 min read · Displays & LEDsConcept explainerBeginnerADCs ExplainedAn analog-to-digital converter (ADC) measures a voltage and returns a number.4 min read · Electronics Fundamentals

Sources

  • Analog Devices (Maxim) MAX4466 and MAX9814 datasheets
  • TDK InvenSense INMP441 datasheet
  • Texas Instruments LM393 datasheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhich module do you need?Wiring and readingMeasuring decibelsTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide1 item · ₹104

Analog Sound Sensor Microphone Module for Arduino

Ask the Community

Ask a question