Child Safe RGB Badge


I’ll remove the per-LED WS2812B decoupling capacitors that were added despite the V6 datasheet feature note, then re-run checks and update the safety/power notes accordingly.
Removed C24–C43, the per-LED WS2812B-2020-V6 capacitors, and kept the shared LED-rail bulk capacitor C5. Re-ran checks: no open ERC/passive warnings found.
Updated:
J1 need PCB cutout, replace it with TYPE-C 16PIN 2MD(073)
I’ll replace J1 with the requested TYPE-C 16PIN 2MD(073), first finding the exact library part and preserving the existing USB-C nets, then I’ll verify the connector pins/checks afterward.
Replaced J1 with TYPE-C 16PIN 2MD(073) (LCSC C2765186) and restored the existing power-only USB-C wiring:
  • VBUS pins → VBUS_RAW
  • GND + shell pins → GND
  • CC1/CC2 → existing CC pulldown/ESD nets
  • DP/DN/SBU pins marked no-connect
Verified J1 schematic connectivity and ran targeted ERC/DRC checks; no J1-related open issues were reported.
Verify connector and layout
Place J1 at edge
Run full DRC
Verify cutout geometry
Update bring-up docs

D2
U1
J1
U3
LED20
LED3
LED7
LED6
LED14
LED15
LED4
LED2
LED8
LED17
LED10
LED16
LED18
LED19
LED11
LED13
LED1
LED12
LED5
LED9
U1 DVDD - C11 P1
F2 P2 - C5 P1
U1 RUN - TP3 P1
LED2 DO - LED3 DI
L1 2 - U1 VREG_FB
LED14 DO - LED15 DI
U1 XIN - Y1 CRYSTAL_1
F2 P2 - C5 P1
C3 P1 - SW1 ~
F2 P2 - C5 P1
LED9 DO - LED10 DI
U1 SWCLK - TP2 P1
U1 GPIO4 - SW2 P1
U1 IOVDD - U1 USB_OTP_VDD
U1 IOVDD - U1 USB_OTP_VDD
LED4 DO - LED5 DI
LED13 DO - LED14 DI
R7 P2 - R8 P1
U2 STAT - R4 P1
U1 GPIO4 - SW2 P1
LED11 DO - LED12 DI
LED17 DO - LED18 DI
U1 XOUT - Y1 CRYSTAL_2
U1 IOVDD - U1 USB_OTP_VDD
C3 P1 - SW1 ~
U3 EN - SW1 ~
U1 DVDD - C11 P1
U1 VREG_LX - L1 1
F2 P2 - C5 P1
U1 IOVDD - U1 USB_OTP_VDD
J1 CC1 - R1 P1
L1 2 - U1 VREG_FB
U1 XIN - Y1 CRYSTAL_1
F1 P2 - D1 1
U1 GPIO4 - SW2 P1
C3 P1 - SW1 ~
LED1 DO - LED2 DI
U1 DVDD - C11 P1
F2 P2 - C5 P1
U1 XOUT - Y1 CRYSTAL_2
LED2 DO - LED3 DI
U3 EN - SW1 ~
F2 P2 - C5 P1
J1 CC2 - R2 P1
R11 P2 - R12 P1
J1 CC1 - R1 P1
LED12 DO - LED13 DI
U2 PROG - R3 P1
LED8 DO - LED9 DI
LED9 DO - LED10 DI
F1 P2 - D1 1
F2 P2 - C5 P1
R6 P2 - LED1 DI
U1 IOVDD - U1 USB_OTP_VDD
U1 IOVDD - U1 USB_OTP_VDD
R11 P2 - R12 P1
F1 P2 - D1 1
F2 P2 - C5 P1
LED19 DO - LED20 DI
U1 DVDD - C11 P1
F2 P2 - C5 P1
F2 P2 - C5 P1
R7 P2 - R8 P1
R9 P2 - U1 VREG_AVDD
LED1 VDD - LED2 VDD
U1 IOVDD - U1 USB_OTP_VDD
F2 P2 - C5 P1
LED15 DO - LED16 DI
LED13 DO - LED14 DI
F2 P2 - C5 P1
LED8 DO - LED9 DI
U3 EN - SW1 ~
R11 P2 - R12 P1
F2 P2 - C5 P1
U1 SWCLK - TP2 P1
U1 IOVDD - U1 USB_OTP_VDD
LED12 DO - LED13 DI
LED16 DO - LED17 DI
LED3 DO - LED4 DI
LED18 DO - LED19 DI
J2 P1 - F3 P1
F2 P2 - C5 P1
J1 VBUS - F1 P1
U1 IOVDD - U1 USB_OTP_VDD
LED18 DO - LED19 DI
U1 GPIO6 - R6 P1
U1 IOVDD - U1 USB_OTP_VDD
U1 GPIO6 - R6 P1
R11 P2 - R12 P1
LED15 DO - LED16 DI
U1 RUN - TP3 P1
LED5 DO - LED6 DI
J1 CC1 - R1 P1
LED16 DO - LED17 DI
F2 P2 - C5 P1
U1 SWDIO - TP1 P1
F2 P2 - C5 P1
U1 XOUT - Y1 CRYSTAL_2
F2 P2 - C5 P1
C3 P1 - SW1 ~
F2 P2 - C5 P1
LED11 DO - LED12 DI
U1 IOVDD - U1 USB_OTP_VDD
F2 P2 - C5 P1
LED1 VDD - LED2 VDD
R9 P2 - U1 VREG_AVDD
F1 P2 - D1 1
LED19 DO - LED20 DI
J1 CC1 - R1 P1
U1 GPIO4 - SW2 P1
R9 P2 - U1 VREG_AVDD
J2 P1 - F3 P1
J1 VBUS - F1 P1
U1 IOVDD - U1 USB_OTP_VDD
LED3 DO - LED4 DI
F2 P2 - C5 P1
L1 2 - U1 VREG_FB
J1 CC2 - R2 P1
LED1 VDD - LED2 VDD
LED1 VDD - LED2 VDD
U1 XIN - Y1 CRYSTAL_1
J1 CC2 - R2 P1
U2 STAT - R4 P1
LED4 DO - LED5 DI
U3 EN - SW1 ~
LED14 DO - LED15 DI
U1 SWDIO - TP1 P1
U1 IOVDD - U1 USB_OTP_VDD
F2 P2 - C5 P1
LED6 DO - LED7 DI
U1 IOVDD - U1 USB_OTP_VDD
U1 IOVDD - U1 USB_OTP_VDD
LED7 DO - LED8 DI
U2 PROG - R3 P1
R6 P2 - LED1 DI
F2 P2 - C5 P1
C3 P1 - SW1 ~
J1 CC2 - R2 P1
R7 P2 - R8 P1
LED7 DO - LED8 DI
C3 P1 - SW1 ~
LED10 DO - LED11 DI
LED10 DO - LED11 DI
LED5 DO - LED6 DI
F1 P2 - D1 1
LED1 DO - LED2 DI
U1 DVDD - C11 P1
LED6 DO - LED7 DI
LED1 VDD - LED2 VDD
LED1 VDD - LED2 VDD
LED1 VDD - LED2 VDD
U2 STAT - R4 P1
LED17 DO - LED18 DI
U1 IOVDD - U1 USB_OTP_VDD
F1 P2 - D1 1
U1 VREG_LX - L1 1
C19
Capacitance
100nF
C11 P2 - C12 P2
C9
Capacitance
4.7uF
J1 EH - D1 2
C22
Capacitance
100nF
LED1 GND - LED2 GND
J1 EH - D1 2
C11 P2 - C12 P2
C8
Capacitance
15pF
C4 P2 - C5 P2
C44
Capacitance
100nF
C4 P2 - C5 P2
LED1 GND - LED2 GND
J1 EH - D1 2
C11 P2 - C12 P2
J1 EH - D1 2
C4 P2 - C5 P2
LED1 GND - LED2 GND
SW2 P2 - C6 P2
C23
Capacitance
100nF
J1 EH - D1 2
C11
Capacitance
4.7uF
LED1 GND - LED2 GND
R10 P2 - R12 P2
C4 P2 - C5 P2
C10
Capacitance
100nF
C4 P2 - C5 P2
C15
Capacitance
100nF
C4 P2 - C5 P2
J1 EH - D1 2
C16
Capacitance
100nF
C4 P2 - C5 P2
C4 P2 - C5 P2
C2
Capacitance
4.7uF
J1 EH - D1 2
LED1 GND - LED2 GND
R10 P2 - R12 P2
C4 P2 - C5 P2
C4 P2 - C5 P2
LED1 GND - LED2 GND
J1 EH - D1 2
SW2 P2 - C6 P2
J1 EH - D1 2
LED1 GND - LED2 GND
C5
Capacitance
22uF
LED1 GND - LED2 GND
C4 P2 - C5 P2
C17
Capacitance
100nF
J1 EH - D1 2
C4 P2 - C5 P2
C4 P2 - C5 P2
LED1 GND - LED2 GND
C3
Capacitance
4.7uF
LED1 GND - LED2 GND
LED1 GND - LED2 GND
SW2 P2 - C6 P2
LED1 GND - LED2 GND
C4
Capacitance
1uF
LED1 GND - LED2 GND
C13
Capacitance
100nF
LED1 GND - LED2 GND
C4 P2 - C5 P2
C11 P2 - C12 P2
C6
Capacitance
100nF
LED1 GND - LED2 GND
C11 P2 - C12 P2
C14
Capacitance
100nF
J1 EH - D1 2
R10 P2 - R12 P2
LED1 GND - LED2 GND
C11 P2 - C12 P2
C11 P2 - C12 P2
C18
Capacitance
100nF
C4 P2 - C5 P2
C21
Capacitance
100nF
C20
Capacitance
100nF
R10 P2 - R12 P2
LED1 GND - LED2 GND
J1 EH - D1 2
C1
Capacitance
4.7uF
LED1 GND - LED2 GND
LED1 GND - LED2 GND
C7
Capacitance
15pF
C12
Capacitance
4.7uF
LED1 GND - LED2 GND
C4 P2 - C5 P2
C11 P2 - C12 P2
R1
Resistance
5.1kΩ
F3
TP1
SW2
L1
Inductance
3.3uH
F2
R2
Resistance
5.1kΩ
R12
Resistance
1MΩ
TP5
R10
Resistance
100kΩ
TP2
R3
Resistance
10kΩ
R6
Resistance
330Ω
R9
Resistance
33Ω
R7
Resistance
1MΩ
R8
Resistance
1MΩ
TP3
R5
Resistance
10kΩ
R4
Resistance
10kΩ
TP4
R11
Resistance
1MΩ
F1
D1
SW1
Y1
U2
J2
Project Specification — USB-C RGB Toy Badge RP2354A and WS2812B-2020-V6
Project Overview
Status: Draft schematic capture.
A rechargeable wearable glowing toy badge using an RP2354A microcontroller and 20 Worldsemi WS2812B-2020-V6 addressable RGB LEDs. The board is intended to be child-safe by limiting accessible voltages to SELV/battery levels, limiting LED current in firmware, using USB input protection, and requiring a protected single-cell LiPo battery.
Intended Use
  • Worn by a child as a light-up badge or decorative toy.
  • Powered from one protected 1-cell LiPo battery.
  • Recharged from USB-C 5 V.
  • Prototype / small-batch production intent.
What the Device Should Do
  • Display colorful LED animations across 20 WS2812B-2020-V6 LEDs.
  • Use one momentary switch to start/change a light effect.
  • Use one SMD slide switch for hard system power off.
  • Read the LiPo charger status output in firmware.
  • Indicate charge state using one of the 20 RGB LEDs.
Main Features
  • RP2354A MCU in QFN, no BGA.
  • 20 addressable RGB LEDs on the top PCB side.
  • USB-C power-only charging input.
  • Bottom-side MCU, charger, regulator, passives, switch, and connector placement target.
  • SMD-first assembly; few or no through-hole components except USB-C mechanical shell stakes if unavoidable.
  • Cheap, well-known, LCSC-available parts where possible.
System Architecture

Diagram


USB-C node_5V input USB input PTC VBUS TVS LiPo charger MCP73832 Protected node_1S LiPo Slide power switch 3.3V AP2112K LDO RP2354A 20x WS2812B-2020-V6 Momentary effect button Charger STAT pullup SWD test pads
Hardware Subsystems
Power and charging
  • USB-C power-only sink connector with independent 5.1 kΩ CC pull-downs.
  • 500 mA-class resettable PTC and VBUS TVS for hot-plug/ESD protection.
  • MCP73832 single-cell LiPo charger with STAT output to MCU and 10 kΩ PROG resistor for ~100 mA charge current.
  • Battery connector expects a protected LiPo pack; external pack protection is required for child safety unless an on-board protection circuit is added later.
  • Slide switch disconnects the system load from the battery while still allowing USB charging.
3.3 V system rail
  • AP2112K-3.3 600 mA LDO with 1 µF input/output capacitors plus bulk capacitance for LED transients.
  • Firmware must cap LED brightness so steady 3.3 V current stays well below regulator thermal limits.
MCU and debug
  • RP2354A with internal flash.
  • 12 MHz crystal included for robust timing/USB-capable clocking.
  • SWDIO, SWCLK, RUN, 3V3, and GND test pads for programming/debug.
LED interface
  • 20 WS2812B-2020-V6 LEDs powered from 3.3 V.
  • Data input from RP2354A GPIO through a small series resistor.
  • Bulk rail capacitance near the LED chain.
Interfaces and Connections
  • USB-C: VBUS, GND, CC1, CC2 only.
  • Battery: JST PH 2-pin SMD connector, protected 1S LiPo.
  • User input: momentary effect switch to MCU GPIO.
  • Debug: SWD test pads.
  • LED data: one MCU GPIO to LED1 DIN, then cascaded LED DO to next DIN.
  • Charger status: MCP73832 STAT open-drain output pulled up to 3.3 V and read by MCU.
Power and Runtime Expectations
  • USB input: 5 V nominal.
  • Battery: protected 1S LiPo, 4.2 V full, firmware low-battery shutdown recommended around 3.45 V for headroom and cell life.
  • LED current budget must be firmware-limited; theoretical full-white 20 × 60 mA = 1.2 A is intentionally not supported by the 600 mA LDO.
Power Tree and Power Budget
See separate project file: Power Budget and Safety Notes.
Manufacturing and Assembly Expectations
  • Prefer LCSC/JLCPCB-compatible components.
  • Avoid BGA packages.
  • Use SMD passives and ICs.
  • Top side should contain only the LEDs where possible.
  • Bottom side should contain MCU, charger, connector, regulator, switches, and passives.
Firmware-Relevant Hardware Requirements
  • Firmware must set a global LED brightness/current limit.
  • Firmware reads charger STAT; low means charging, high/open means complete/no charge depending USB/battery state.
  • Firmware reads momentary button and debounces it.
  • Firmware should monitor battery voltage through ADC divider if populated and shut down or reduce brightness at low battery.
Physical Design Expectations
  • Badge/wearable shape TBD.
  • No exposed sharp metal edges or battery pouch contact points.
  • Battery must be mechanically retained and strain-relieved.
  • Add rounded PCB corners and lanyard/mounting holes during layout.
Important Design Decisions
  • Use a protected LiPo pack rather than exposing an unprotected cell in the first schematic revision.
  • Use AP2112K 3.3 V LDO for simplicity and low cost; firmware enforces current limit.
  • Use USB-C power-only connector to reduce cost and pin count; programming is through SWD pads.
  • Use one RGB LED in the 20-LED chain for charger status instead of a separate LED.
Assumptions
  • LED animations are decorative and can be brightness-limited.
  • The badge does not need to run at full-white/full-brightness.
  • USB data is not required for normal charging.
  • User accepts programming through SWD pads or later revision can add USB D+/D-.
  • Battery capacity is not yet specified; charge current is initially set to ~100 mA.
Change Notes
  • Initial specification created from user requirements.
  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • System Architecture

  • Hardware Subsystems

  • Power and charging

  • 3.3 V system rail

  • MCU and debug

  • LED interface

  • Interfaces and Connections

  • Power and Runtime Expectations

  • Power Tree and Power Budget

  • Manufacturing and Assembly Expectations

  • Firmware-Relevant Hardware Requirements

  • Physical Design Expectations

  • Important Design Decisions

  • Assumptions

  • Change Notes