I’ll correct only the USB-C opening on the current enclosure draft: re-derive J1’s rotated receptacle face and mating axis, localize the cutout, ensure a 12 × 6.5 mm plug can seat, then verify the connector is exposed in the assembled view.
Thought for 6 mins 10 sec
62 days ago
Created a thread
USB C Enclosure Fix
Completed
View Thread
Thought for 8 sec
Awaiting 1 background task
Received notification from "USB C Enclosure Fix" that it finished — picking the work back up.
The USB-C window was not modified. J1’s receptacle face was located, but the enclosure .build123d asset update failed in the attachment pipeline; no PCB, asset, or model-node changes were made.
I reported the platform failure to the engineering team.
USB-C VBUS → F1 0603L050YR (500 mA PPTC) → ESD5341N TVS → TP4057 charger.
TP4057 uses R3 = 10 kΩ, giving 100 mA charge current per datasheet table.
Charger BAT pin and J2 pin 1 are permanently on BAT+; J2 pin 2 is GND.
Both poles of DPDT SW2 are paralleled: BAT+ on commons 2/5, SYS on throws 1/4; unused throws 3/6. OFF therefore disconnects all badge loads but does not interrupt safe USB charging.
SYS directly follows the protected 1S cell through SW2. ATmega328PB is configured for the internal 8 MHz RC oscillator. Datasheet speed grade supports 8 MHz at ≥2.7 V.
Charger CHRG and STDBY are open-drain and each has a 47 kΩ pull-up to switched SYS. With SW2 OFF, the pull-ups are unpowered, so USB charging cannot back-power U1 through status pins.
Datasheet-derived load budget
WS2812B-2020-V6 white test condition is 36 mA/pixel (12 mA/channel), not 60 mA.
Table
Load
Sleep/Off
Intended active
Fault/worst case
20 × WS2812B-2020-V6
≤20 µA static total (datasheet ≤1 µA each)
144 mA at a 20% global current/brightness cap
720 mA at full white
ATmega328PB @ 8 MHz
firmware-dependent
budget 10 mA
budget 15 mA
Pull-ups/passives
negligible
<1 mA
<1 mA
SYS total
—
about 155 mA
about 736 mA
A 100 mAh cell yields roughly 0.65 h and a 200 mAh cell roughly 1.3 h if effects were continuously held at the intended 155 mA. Actual runtime should be much longer because effects last only 2–3 s.
Burst capacitance
C3 = 100 µF on SYS is a rail-level reservoir. Approximate droop for a 150 mA, 1 ms edge is ΔV = I·Δt/C ≈ 1.5 V before battery/trace current contributes; it is therefore a transient edge reservoir, not an energy source. The battery and wide SYS/GND copper provide sustained current. No per-LED capacitors are included, exactly following the V6 datasheet statement that external components, including capacitors, are not required.
Protection sizing and safety
F1's 500 mA hold rating is well above the approximately 100–120 mA USB charger input while remaining a useful input fault limiter; it is not in the LED load path, so it causes no battery headroom loss.
ESD5341N: 5 V standoff, 6 V breakdown, unidirectional; installed from protected VBUS to GND.
External battery must include cell protection.
Firmware must enforce a global cap of about 20% (target ≤150 mA LED contribution), never intentionally command continuous full-white, and turn pixels off after the 2–3 s effect.
Paralleled switch poles share normal current. The 736 mA full-white state is a firmware fault case and must not be treated as a permitted continuous operating mode.
Set BOD conservatively (recommended 2.7 V) to avoid erratic behavior near cell depletion.