ESP32-S3 Firmware Refinement

I’ll adjust the placement as requested, then remove stale/cut/dead-end traces caused by moving parts and rerun routing/review. I’ll keep J2 and the top-edge parts about 7.3 mm from the top edge, and move RST_SW/BOOT_SW down between the ESP32 and J1.
I’m out of execution credits, so I had to stop after the placement step.
Completed:
  • Moved J2 to the top-left edge area with about 7.3 mm clearance from the board edge.
  • Adjusted the other top-edge components so they keep that same top-edge clearance.
  • Moved RST_SW and BOOT_SW down between the ESP32-S3 module and USB-C connector J1.
  • Preserved the ESP32 antenna orientation facing the bottom edge.
  • Placement now has no overlap or out-of-bounds issues.
Still to do:
  • Delete stale/dead-end traces created by moving components.
  • Re-route the affected nets.
  • Clean up trace paths so they don’t run awkwardly over/through component areas.
  • Rerun review and fix the remaining routing errors, including the USB D+/D− airwires.
Clean reroute traces
Run DRC review
Route USB pair
Check trace crossings

Refine this doc
Ask about this doc
Power Budget — ESP32 Relay Controller
Sources and Rails

Table


Source/RailVoltageFunction
External input12V DCPowers relay coil and buck regulator
Buck output3.3VPowers ESP32-S3 module
USB-C VBUS5V from hostData-port presence only; not tied to board power
Load Estimates

Table


RailLoadDatasheet / Design BasisCurrent
3.3VESP32-S3-WROOM moduleEspressif requires external supply capable of at least 0.5A500mA peak
12VACNM1112 relay coil12V, 225 ohm coil, 53.3mA rated53.3mA active
Buck Input Current Estimate
Assume AP63203 efficiency around 85% at the design peak.
  • 3.3V output power at 500mA: 3.3V x 0.5A = 1.65W
  • 12V input current for buck: 1.65W / (12V x 0.85) = 0.162A
  • Relay coil current: 0.053A
  • Total 12V active peak estimate: 0.215A
Component Sizing Decisions
  • 12V input terminal is rated far above the expected current.
  • AP63203WU-7 is a 2A fixed 3.3V buck regulator, comfortably above the 500mA ESP32 design peak.
  • Buck inductor target: 3.9uH, saturation current at least 2.7A, low DCR preferred. The schematic uses a configurable generic inductor because no exact verified library inductor was found.
  • Relay driver MOSFET is rated far above the 53.3mA coil current and works at 2.5V gate drive.
  • Flyback diode is a 1A Schottky, above the relay coil current.
Notes and Open Items
  • External dry-contact load voltage/current was not specified; relay contact rating is high, but PCB trace spacing and terminal rating should be confirmed before routing if switching more than low-voltage control signals.
  • If the 12V input may be noisy or remote, add input surge/reverse-polarity protection before final layout.
  • Sources and Rails

  • Load Estimates

  • Buck Input Current Estimate

  • Component Sizing Decisions

  • Notes and Open Items

Assets

Assets are files uploaded to this project which can be used in various ways.

ESP32 Relay Controller thumbnail
12V-powered ESP32 relay dry-contact controller with USB-C data-only programming/debug and an onboard 3.3V rail for the ESP32.

Properties

Pricing & Availability

Distributor

Qty 1

Arrow

$4.97–$6.48

Digi-Key

$10.80–$25.53

HQonline

$2.06–$2.17

LCSC

$12.92–$13.40

Mouser

$16.78–$17.24

TME

$3.81

Verical

$3.83–$96.32

Controls