<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unit MIC with K131 (Air Quality Kit (ESP32‑S3)]]></title><description><![CDATA[<p dir="auto">Hi all — looking for guidance on the Unit MIC (MAX4466 + LM393) with the Air Quality Kit (K131, ESP32‑S3).</p>
<p dir="auto">Setup:</p>
<p dir="auto">Grove port wiring per docs: White → G15 (analog), Yellow → G13 (digital), Red → 5V, Black → GND.<br />
Analog uses ADC2 (G15). Digital uses LM393 output (G13), input configured with pull‑up.<br />
What we’ve tried:</p>
<p dir="auto">Analog sampling: 200 samples @ 10 kHz using adc2_get_raw (fallback to analogRead), RMS and dB conversion. Readings are stable, but calibration points (33/55/80 dB) produce very similar RMS values (~0.058–0.068 V), so the regression is effectively flat.<br />
Digital mode: often reports “pin stuck HIGH” unless the comparator pot is tuned. With pull‑up enabled, it still sticks high depending on threshold.<br />
Disabled extra logging and added serial commands to do calibration and disable WiFi to reduce ADC2 contention.<br />
Verified the issue is not M5Unified; Unit MIC gain is only the on‑board trimmer.</p>
<p dir="auto">Questions:<br />
Has anyone gotten meaningful SPL spread from the Unit MIC on G15 with WiFi running?<br />
Is the LM393 output meant to be used on the K131 Grove port (G13), and are there known pull‑ups needed?<br />
Any guidance on expected RMS ranges for 30–80 dB with this unit?<br />
Happy to share code snippets if helpful.</p>
]]></description><link>https://community.m5stack.com/topic/7976/unit-mic-with-k131-air-quality-kit-esp32-s3</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 06:24:38 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7976.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Dec 2025 06:16:20 GMT</pubDate><ttl>60</ttl></channel></rss>