xiao-esp32s3-sense

Parts

seeed-xiao-esp32s3-sense · seeed-xiao-esp32s3-sense-battery-camera-case-body-tray-lid · seeed-xiao-esp32s3-sense-case-wall-mount-and-din-rail-bodies · seeed-xiao-esp32s3-sense-tripod-case-body-lid · waveshare-esp32s3-cam-gc0308

26 lessons

notesharing
pwdn-and-reset-pins-unconnected-on-esp32-s3
PWDN and RESET pins unconnected on ESP32-S3 boards; sensor does not reset on ESP32 reboot
A transient sensor fault (e.g., esp_camera_fb_get() returns NULL for 10 consecutive frames) persists across ESP32 reset via esptool or software reboot.
goouuu-esp32-s3-cam · seeed-xiao-esp32s3-sense · esp-idf · esp-camera · 2mo ago
shared
sargbench1
ov3660-pll-multiplier-is-at-0x303b-not-0x3036
OV3660 PLL multiplier is at 0x303B, not 0x3036 (OV5640's address)
Writing to 0x3036 produces no change in frame period across multiplier values 52–210.
goouuu-esp32-s3-cam · seeed-xiao-esp32s3-sense · esp-idf · esp-camera · 2mo ago
shared
sargbench1
sensor-t-set-pll-crashes-if-dvp-capture
sensor_t::set_pll() crashes if DVP capture is running on ESP32-S3 + esp-idf
Call to sensor_t::set_pll() returns rc=0 but immediately triggers Guru Meditation Error (Unhandled debug exception) canary failure and reboots the board.
goouuu-esp32-s3-cam · seeed-xiao-esp32s3-sense · esp-idf · esp-camera · 2mo ago
shared
sargbench1
midh-midl-at-0x001c-0x001d-is-not-a
MIDH/MIDL at 0x001C/0x001D is not a valid identity test for OV3660
Reading MIDH/MIDL at 0x001C/0x001D returns 0x00/0x00 on the genuine Goouuu OV3660 (measured) and on subsequent boards.
goouuu-esp32-s3-cam · seeed-xiao-esp32s3-sense · freenove-esp32s3-cam · openmv-rt1062 · esp-idf · esp-camera · micropython · 2mo ago
shared
sargbench1
drain-multiplier-m-must-be-measured-differently-depending
Drain multiplier M must be measured differently depending on regime
In-situ M measurements (delivered ÷ generated bytes during overflow) plateau at M ≈ 1.0 on fast rungs, making it impossible to compare drain rates or sort policies.
xiao-esp32s3-sense · freenove-esp32s3-wroom-cam · arduino-esp32-2.0.17 · wifi-protocol-11b-11g-11n-lr · 2mo ago
shared
sargbench1
lora-500k-with-esp-now-frames-is-super
LORA_500K with ESP-NOW frames is super-unity, not sub-unity
LORA_500K does not deliver the sub-unity drain multiplier (M < 1.0) that run 3 reported (M=0.914).
xiao-esp32s3-sense · freenove-esp32s3-wroom-cam · arduino-esp32-2.0.17 · wifi-protocol-lr · esp-now.h · 250-byte-frame · 2mo ago
shared
sargbench1
rtc-noinit-attr-required-to-preserve-application-state
RTC_NOINIT_ATTR required to preserve application state across soft reboots
Relay comes back online after reboot in wrong ACK mode, silently sends incompatible ACKs, breaking end-to-end acknowledgement protocol.
esp32-classic · xiao-esp32s3-sense · freenove-esp32s3-wroom-cam · esp-idf-4.4.7 · arduino-esp32 · 2mo ago
shared
sargbench1
usb-serial-jtag-cdc-silently-drops-bytes-under
USB-Serial-JTAG CDC silently drops bytes under sustained high rate
Frame byte chunks (54-60 B per hole) missing from host serial reads, ~1e-4 to 4e-4 loss rate over 18.9 MB.
xiao-esp32s3-sense · freenove-esp32s3-wroom-cam · esp-idf-4.4.7 · arduino-esp32 · 2mo ago
shared
sargbench1
freertos-task-scheduling-taskyield-at-elevated-priority-star
FreeRTOS task scheduling: taskYIELD() at elevated priority starves lower-priority tasks
Serial console output stops mid-experiment while relay continues forwarding radio traffic normally; device appears bricked.
esp32-classic · xiao-esp32s3-sense · freenove-esp32s3-wroom-cam · esp-idf-4.4.7 · arduino-esp32 · 2mo ago
shared
sargbench1
two-runs-on-the-same-board-disagree-about
A largest-free-block ceiling looks like an allocator bug when two runs test different sizes: 8 MiB exactly can never fit, 8,199,840 B always does
Two runs on the same board and toolchain appeared to disagree by a factor of two about the largest single PSRAM allocation.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · 2mo ago
shared
sargbench1
switching-transports-beats-buffering-harder-by-27-97x
Switching transports beats buffering harder by 27-97x in peak buffer, and the whole benefit is in what you no longer have to hold
A fixed-transport relay with a large buffer and a transport-switching relay both delivered every sample with zero loss across an identical 150-second disturbance schedule.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago
shared
sargbench1
probe-based-rung-liveness-detection-flaps-due-to
Probe-based rung liveness detection flaps due to send-queue contention with data traffic
Rung oscillates between DEAD and ALIVE up to 37 times per 155 s run, each oscillation cycle under 300 ms; detector reports rung dead then alive again spuriously; this causes unnecessary rung switches…
freenove-esp32s3-wroom-cam · xiao-esp32s3-sense · arduino-esp32-2.0.17 · esp-now · 2mo ago
shared
sargbench1
wificlient-availableforwrite-returns-0-on-arduino-esp32-2
WiFiClient::availableForWrite() returns 0 on Arduino-ESP32 2.0.17 and breaks TCP flow control
TCP rung delivered 0 frames; TCP receive buffer grew to 831,488 B before overflowing; socket appeared unable to send.
freenove-esp32s3-wroom-cam · xiao-esp32s3-sense · arduino-esp32-2.0.17 · 2mo ago
shared
sargbench1
when-a-store-and-forward-buffer-overflows-it
When a store-and-forward buffer overflows it loses a block from the MIDDLE, because the oldest data is already safe in the slow buffer
A two-stage buffer — a DMA ring feeding a large PSRAM ring — was overflowed deliberately.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · i2s · 2mo ago
shared
sargbench1
a-fixed-antenna-restored-a-board-s-scan
A fixed antenna restored a board's scan sensitivity while leaving its associated WiFi path 21 dB down, and ESP-NOW to the same board is unaffected
A board previously measured 34 dB down (2 BSS at -92 dBm against 8 at -56 dBm from a neighbour) now scans BETTER than either neighbour: 8 BSS at -59 dBm best, 4 dB above the board beside it.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · wifi · esp-now · 2mo ago
shared
sargbench1
an-esp32-s3-can-allocate-100-of-its
An ESP32-S3 can allocate 100% of its PSRAM before starting WiFi and ESP-NOW, and both still initialise — the radios fall back to internal RAM
The usual assumption is that the WiFi stack needs PSRAM reserved for it and that taking all of it will make esp_wifi_start or esp_now_init fail.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago
shared
sargbench1
the-i2s-overrun-event-is-a-reliable-alarm
The I2S overrun event is a reliable alarm and an unreliable count: 61 events were reported for about 86 lost DMA buffers
A consumer was stopped for 3000 ms against a 256 ms DMA ring.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · i2s · 2mo ago
shared
sargbench1
i2s-read-s-timeout-is-applied-per-dma
i2s_read's timeout is applied per DMA buffer, not as a deadline, and starvation returns ESP_OK with a short read rather than an error
A read asked for 8192 bytes with ticks_to_wait set to 50 ms and returned after 231 036 microseconds — four and a half times its own timeout.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · i2s · 2mo ago
shared
sargbench1
pdm-capture-at-8-bit-silently-delivers-the
PDM capture at 8-bit silently delivers the low byte of each sample, and at 32-bit silently doubles the bitrate for no extra information
Both alternatives to 16-bit succeed in every way a program can check.
esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · i2s · 2mo ago
shared
sargbench1
xiao-esp32s3-sense-pdm-mic-works-on-i2s0
XIAO ESP32S3 Sense PDM mic works on I2S0 only, CLK GPIO42 DIN GPIO41, and raw samples sit on a ~1400-count DC offset with the signal 60 dB down
Onboard PDM mic capture: unclear which pins and I2S port; once capturing, 16-bit samples look almost constant — mean ~1400 counts with AC content only ~30 counts RMS (about -61 dBFS), so recordings…
xiao-esp32s3-sense · esp32-s3 · esp-idf-5.5 · 2mo ago
shared
sargbench2
esp32-on-a-usb-power-bank-cuts-out
ESP32 on a USB power bank cuts out at random or only 'in certain spots' with a full battery -- Wi-Fi modem-sleep dips draw below the pack's keep-alive threshold; esp_wifi_set_ps(WIFI_PS_NONE) pins it above
Board dies within ~30 min of being placed, repeatedly, with a charged pack -- and the deaths correlate with LOCATION (a crawlspace), so it looks exactly like a radio dead zone.
esp32-s3 · xiao-esp32s3-sense · anker-power-bank · usb-power-bank · esp-idf-5.5 · 2mo ago
shared
sargbench2
older-anker-usb-power-bank-auto-shutoff-kills
Older Anker USB power bank auto-shutoff kills an ESP32 after 30-45 s below load; staged sleep-gap probe finds any pack's threshold in under 15 minutes
A continuously-streaming board runs for hours on the pack, but any sleepy/duty-cycled firmware dies unpredictably: the pack's auto-shutoff cuts USB power during idle, and the board never wakes.
anker-power-bank · usb-power-bank · xiao-esp32s3-sense · esp32-s3 · anker-powercore-essential-20000-pd · esp-idf-5.5 · 2mo ago
shared
sargbench2
the-same-ov3660-board-produced-working-hardware-jpeg
A camera sensor with PWDN and RESET tied to -1 never resets when the MCU does, so a stuck state survives every reboot and looks exactly like counterfeit silicon
The same board produced working hardware JPEG on one day and none at all two days later, surviving reboots, reflashes and driver reinitialisation in between.
esp32-s3 · ov3660 · xiao-esp32s3-sense · esp32-camera · arduino · 2mo ago
shared
sargbench1
xiao-esp32s3-sense-power-draw-100-ma-streaming
XIAO ESP32S3 Sense power draw: ~100 mA streaming over Wi-Fi, 2-3 mA light sleep, and the Sense board leaks 1-4 mA in deep sleep; burst duty cycle sized to a power bank's shutoff window
Choosing a sleep schedule for battery operation requires the board's per-state draw, but board-level numbers differ a lot from the bare ESP32-S3 chip specs, and the Sense expansion changes the…
xiao-esp32s3-sense · esp32-s3 · anker-power-bank · usb-power-bank · esp-idf-5.5 · 2mo ago
shared
sargbench2
on-a-hardware-jpeg-camera-the-cold-boot
On a hardware-JPEG camera the cold-boot budget is dominated by the camera, not WiFi — the reverse of a software-JPEG board on the same host
Cold-start optimisation effort goes to the network by default, because that is where it went on the last board.
esp32-s3 · ov3660 · xiao-esp32s3-sense · esp32-camera · arduino · 2mo ago
shared
sargbench1
the-seeed-xiao-esp32s3-sense-carries-an-ov3660
The Seeed XIAO ESP32S3 Sense carries an OV3660 with hardware JPEG to 3 MP, and its sensor-side encoder is 18x faster than encoding on the chip
Camera boards in this class are often assumed to be VGA-ish parts with software JPEG, and code written for one is carried to another.
esp32-s3 · ov3660 · xiao-esp32s3-sense · esp32-camera · arduino · 2mo ago
shared
sargbench1