CNC-Friendly XIAO Recorder Design

Create a CNC-friendly raw-laminate prototype variant of the XIAO Lapel Audio Recorder. Use a 70x50 mm single-sided or CNC-mill-friendly PCB style with wide traces, generous clearances, large through-hole pads, and holes for replaceable components. Keep the XIAO ESP32S3 Sense socketed on female headers, two external INMP441 I2S microphones, button, status LED, LiPo battery connector, and SD-card recording support. Prioritize hand soldering, easy replacement, and CNC trace isolation over compactness.

0:27

Thought for 23 sec

Thought for a moment

I’ll convert the current layout into a CNC-friendly prototype variant: first I’ll inspect the schematic/layout, then set the board to 70×50 mm with a simple stackup and generous rules, then re-place components for hand soldering and CNC isolation, and finally run checks.

6:30

Thought for 5 sec

Created 5 tasks.

1/5 Inspect current schematic, nets, layout, and existing rule state

Thought for 2 sec

Completed design checks — found 15 issues.

Read schematic.

Read layout.

Thought for 5 sec

2/5 Set 70x50 mm CNC-friendly board size and single-/2-layer prototype stackup

Thought for 3 sec

Editing board size.

Thought for 4 sec

3/5 Apply wide-trace, generous-clearance, hand-solder/CNC layout rules

Thought for 5 sec

Editing layout rules.

Thought for 5 sec

4/5 Re-place XIAO socket, microphones, SD support, button, LED, and LiPo connector for easy access and replacement

Thought for 3 sec

Thought for 11 sec

Thought for 2 sec

Thought for 9 sec

Thought for 1 sec

Thought for 8 sec

Thought for 1 sec

Thought for 10 sec

Thought for 1 min 12 sec

Thought for 7 sec

Thought for 26 sec

Thought for 11 sec

Thought for 4 sec

5/5 Run layout/electrical review and record any remaining issues

Thought for 2 sec

Completed design checks — found 38 issues.

Read layout.

Thought for 10 sec

5/5 tasks completed.

Thought for a moment

Created the CNC-friendly prototype variant.
  • Renamed it to XIAO Lapel Audio Recorder CNC Prototype and updated the description.
  • Resized the PCB to 70 × 50 mm, 2-layer/raw-laminate-friendly.
  • Applied wide-trace CNC rules: 0.8 mm default traces, 0.5 mm minimum, 0.8–1.0 mm keepouts, expanded pad openings, and hand-solder thermal relief.
  • Removed the old compact routing so it can be re-routed cleanly for CNC isolation.
  • Re-placed parts for hand soldering: XIAO socket/header area at the top, microphones spread left/right, LiPo connector on the bottom edge, button and LED on the front/bottom edge.
Review result: placement is usable with no overlap/out-of-board placement issues, but the board is intentionally unrouted now, so airwire errors remain. Manufacturer part number warnings also remain for generic passives and headers, which is expected for a prototype unless you want a finalized BOM.
Next step is routing with the new CNC-friendly wide traces. Want me to route it now?
Route top copper
Check CNC clearances
Add test pads
Show placement

Refine this doc
Ask about this doc
XIAO Lapel Audio Recorder — Prototype Design Notes
Scope
Hand-solderable lapel-pin style meeting recorder prototype. The Seeed XIAO ESP32S3 Sense is socketed on two 1x7 female headers so it can be replaced. Camera is out of scope for the first revision. The XIAO onboard SD-card slot is leveraged for storage. The XIAO onboard microphone is intentionally unused because the Rust firmware target needs external I2S microphones.
Replaceable Prototype Strategy
  • XIAO module: two 1x7 2.54 mm female socket headers (J1, J2).
  • Battery: JST-PH 2-pin connector (J3), not soldered directly.
  • Audio: two external INMP441 modules/components (U1, U3) as a stereo I2S pair.
  • User input: through-hole tactile switch SW1.
  • Status: external through-hole LED LED1 with R1; XIAO built-in GPIO21 LED may also be used in firmware but is not relied on in the proto-board wiring.
  • Passives: through-hole-style values selected where possible for hand soldering.
Pin Map

Table


FunctionXIAO pinESP32-S3 GPIOSchematic net
Record / marker buttonD0GPIO1BUTTON_REC
Onboard SD CS reservationD2GPIO3SD_CS_ONBOARD
External status LEDD3GPIO4STATUS_LED
I2S bit clockD4GPIO5I2S_BCLK
I2S word select / LRCLKD5GPIO6I2S_WS
I2S data from external micsD6GPIO43I2S_SD
Onboard SD SCK reservationD8GPIO7SD_SCK_ONBOARD
Onboard SD MISO reservationD9GPIO8SD_MISO_ONBOARD
Onboard SD MOSI reservationD10GPIO9SD_MOSI_ONBOARD
3.3 V output3V33V3
GroundGNDGND
USB 5 V5VXIAO_5V_USB
External I2S Microphones
INMP441 datasheet requirements applied:
  • VDD operating range supports 3.3 V operation.
  • Each mic gets a 0.1 uF bypass capacitor close to VCC.
  • Shared SD data line has a 100 kOhm pull-down.
  • U1 L/R is tied to GND for the left channel.
  • U3 L/R is tied to 3V3 for the right channel.
  • Both mics share BCLK, WS, and SD.
Power Budget
Approximate sizing basis:
  • XIAO ESP32S3 Sense recording to SD with wireless off: design around 80–150 mA typical, with higher bursts possible.
  • ESP32-S3 WiFi/BLE bursts if enabled later: allow up to roughly 500 mA peak at the module power path.
  • INMP441 microphones: 2.5 mA max each at 3.3 V, so two mics add about 5 mA max.
  • Status LED: about 3–5 mA with 330 ohm from 3.3 V.
  • Practical prototype budget: size battery wiring and connector for at least 550 mA peak margin.
Battery Power Note
The XIAO ESP32S3 Sense supports a 3.7 V LiPo and onboard charging. The current symbol exposes 5V, 3V3, and GND but not a BAT pad, so J3 pin 1 is named BAT_PLUS_XIAO_PAD and should be physically wired to the XIAO BAT pad on the proto board. J3 pin 2 is tied to GND. Do not connect a 3.7 V LiPo to the XIAO 5V pin.
Mechanical / Lapel Prototype Notes
  • Put the XIAO near one board edge so USB-C remains accessible.
  • Keep the XIAO antenna/edge clear of copper and metal clips when laying out the board.
  • Put the two microphones near the front/acoustic edge, with their ports unobstructed and spaced apart for meeting pickup.
  • Put the button on an accessible edge or face.
  • Use a removable clip or pin back mechanically isolated from the antenna zone.

    Scope

    Replaceable Prototype Strategy

    Pin Map

    External I2S Microphones

    Power Budget

    Battery Power Note

    Mechanical / Lapel Prototype Notes

Documents

    XIAO Lapel Audio Recorder — Prototype Design Notes

    Rust Firmware Starter — XIAO Lapel Audio Recorder

Assets

No assets added.

XIAO Lapel Audio Recorder CNC Prototype

XIAO Lapel Audio Recorder CNC Prototype thumbnail
70x50 mm CNC-friendly raw-laminate XIAO ESP32S3 lapel audio recorder prototype with socketed XIAO, dual external INMP441 microphones, LiPo connector, button/status LED, and SD-card recording support. Layout prioritizes hand soldering, replaceable parts, wide traces, and generous isolation clearances over compactness.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$13.50–$13.61

Digi-Key

$14.43

HQonline

$0.13

LCSC

$87.74

Mouser

$14.42

TME

$0.22

Verical

$13.40–$86.80

Controls