Repository navigation
Add the Seeed XIAO ESP32S3 Sense to the device catalog - #245
AnjinMeili wants to merge 1 commit into
Conversation
The XIAO ESP32S3 Sense installs with its PDM microphone, microSD slot and BOOT button set up, and its LED pins left to the user. Tested on two units: the microphone hears music and test tones, and the card mounts, reads and writes. KPI: tick:452us(FPS:2212) | heap:8244KB | src:393(99554) | test:292(70180) | functions-over:333 Commit: src +0/-0 lines | test +0/-0 lines | duplicated lines 3186 -> 3186 (+0) **UI** - Device catalog: "Seeed XIAO ESP32S3 Sense" on esp32s3-n8r8: PDM mic on 42/41 at the default 24 kHz, SD over SPI (clk 7, MOSI 9, MISO 8, CS 21), BOOT button toggling Control.switch1, RMT LED driver without pins; camera listed as planned; the description says WiFi needs the u.FL antenna attached. **Tests** - Two XIAO ESP32S3 Sense units: state applied and read back on both; mic with music on both; 100 Hz, 1 kHz, 4 kHz and 9 kHz tones at 16 and 24 kHz, where only 24 kHz places 9 kHz; SD listed on both and a 35-byte write, read-back and delete; a BOOT press reaching Control.switch1. KPI live from the second unit. **Reviews** - LED pins 1,2,4 were a user's wiring, against the catalog's "only what the hardware fixes": done, pins dropped. - "OV3660" named one unit's sensor: done, "a camera". - sampleRate 16000 had no hardware reason: done, dropped after the tone test showed 24 kHz clean and 16 kHz folding 9 kHz. - The J3 jumper claim was unverified: done, dropped. - The description ran three sentences: done, one sentence. - SPI was presented as the slot's fact: done, "in SPI mode"; SDMMC 1-bit found no card, so SPI stays. - GPIO and header names were mixed: done, GPIO numbers. - "ESP32-S3R8 (8 MB flash" read as on-chip: done, reworded. - The antenna was unstated: done, a clause.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Seeed XIAO ESP32S3 Sense device catalog addition.
No open issues 🎉
What changed in this PR
Adds the Seeed XIAO ESP32S3 Sense to MoonLight’s device catalog so the installer can select compatible firmware and configure its supported peripherals.
Changes:
- Selects
esp32s3-n8r8firmware and configures the PDM microphone, SPI microSD slot, and BOOT button toggle. - Includes the RMT LED driver with user-selected pins.
- Documents the external antenna requirement and lists camera support as planned.
| File | Description |
|---|---|
mooninstaller/deviceModels.json |
Adds the board entry with firmware selection, peripheral defaults, and hardware notes. |
Review effort: Balanced
Adds the Seeed XIAO ESP32S3 Sense (ESP32-S3R8 with 8 MB octal PSRAM and 8 MB flash, with the Sense expansion board) to
mooninstaller/deviceModels.json, on theesp32s3-n8r8firmware. Picking it in the installer sets up:Control.switch1;The board has no antenna of its own, only a u.FL connector, so the description says WiFi needs the antenna attached.
The camera is listed under
planned. I would like it to become a step in the "Video in, LED walls out" plan, behind the source registry; I will raise that separately.What an agent wrote. Claude Opus 5.5 wrote the entry and this description from the board's schematics, arduino-esp32's
pins_arduino.handcamera_pins.h, and Seeed's wiki; I reviewed every line.Tested on two XIAO ESP32S3 Sense units with the Sense board attached, running
esp32s3-n8r8built from this tree:Control.switch1;check_devices.py: 46 devices, 0 issues.Not tested: a write over about 50 KB, the size at which an SPI card can stop until a power cycle, as the SD card service warns.
Tried and left out: s60sc's ESP32-CAM_MJPEG2SD drives this slot as SDMMC 1-bit on clk 7, cmd 9, d0 8, but MoonLight's SDMMC found no card on those pins (cause not traced), so the entry keeps SPI.
Reported by a user on the WLED Discord: the microphone works in MoonLight with PDM, ws 42 and sd 41, and he runs three curtains from pins 1, 2 and 4.