Menu
OPEN HOME AUTOMATIONCOMPONENTS · AGENT SKILLS · YOUR OWN PROJECTAPACHE-2.0 ↗
← DOMOSENSO / FRAMEWORK

HARDWARE / SETUP GUIDE

ESP32-S3 with IM73D122

A PDM sound-sensor assembly with an optional OLED, sharing the Atom spectrum pipeline.

All hardware
Documented component versionsView pinned hardware source ↗

Follow the instructions for this exact model and role. Compatibility with other models is not implied.

What is supported

Released in audio-sensor 0.5.0: an ESP32-S3 DevKitC-1 N16R8-compatible board (16 MB flash, 8 MB octal PSRAM), the documented round IM73D122 PDM microphone module and an optional 3.3 V-compatible SSD1306 128x64 OLED. Both supported boards use the same 48 kHz FFT pipeline and Home Assistant interfaces. The microphone has fixed gain; LED-strip support is currently Atom-only.

Wiring and orientation

Assembly wiring, ESP viewed from its pin sideOpen full-size diagram ↗

Disconnect USB before changing wires. Power the microphone and display from 3.3 V, never 5 V, and connect their grounds together. For the ESP diagram, look from the bottom (pin side), with the antenna at the top and USB at the bottom. Count header positions from the antenna end; verify printed GPIO labels on clones.

For the microphone, face its metal lid towards you with the two brown components above it. This orientation applies to the documented round PCB with two three-pin headers, not every module sold under the same chip name.

Microphone positionConnection
Right top3.3 V
Right middleGND
Right bottomNC, leave unconnected
Left middleClock to GPIO4 (ESP right header position 4)
Left bottomData to GPIO5 (ESP right header position 5)
Left topL/R, left unconnected on the verified module

L/R selects a data-driving clock edge. The tested receiver uses the right channel; the module's internal bias remains unverified. Do not assume floating L/R is valid for another PCB or a bare chip.

Optional OLED: SCL to GPIO6 (right position 6), SDA to GPIO7 (right position 7), VCC to 3.3 V and GND to common ground. Use connector labels because their order varies. The display uses address 0x3C and a 400 kHz I2C bus.

First start and upgrade

Use ESPHome 2026.9.1. In the component's sensor inputs select board: esp32-s3-im73d122; add oled: true only when wired. Do not set mic_gain or strip for this assembly. domosenso add [email protected] generates a new installation's thin file once. On an existing installation create or edit its owner-managed file explicitly; updating inputs does not overwrite it. Preserve names, credentials and calibration.

Validate and compile the complete device file, then use esphome run <device.yaml> --device <USB-port> with the intended port and the owner's authorization. The default factory is for Atom: PDM provisioning uses audio-sensor-pdm.factory.yaml explicitly, without OLED. Adopt through Home Assistant's normal ESPHome integration; keep Wi-Fi, API and OTA credentials in the home's private device configuration.

OLED and measured limits

Now shows one-second RMS in dBFS. Max holds the highest finite peak since boot; restart clears it. Home Assistant Sound peak remains the current one-second peak. The screen redraws twice per second; this does not change the measurement interval.

Offline bench tests produced sound-responsive readings and 31 finite spectrum bands for at least 60 seconds in each rate mode. With the OLED at 400 kHz, mean publication intervals were about 200 ms in normal and 85.5 ms in fast. Small timing variations and occasional synchronous display stalls remain. These are UART publication measurements, not Home Assistant delivery latency.

The operator confirmed readable Now/Max and a voice-responsive bar. The new assembly has no deployed-home acceptance yet. Direct octave-entity updates and actual HA device metadata still need runtime checks. Neither dBFS nor an estimated calibration offset establishes calibrated SPL or 20 Hz accuracy.

Detailed references

All hardware