ESP32 C3 Robotics Controller

Worked for 43 mins 15 sec
Thought for a moment — Adjusting task dimensions
1/3 Resize the hexagonal outline to the smallest practical compact size

Resize the hexagonal outline to the smallest practical compact size

Place all components for single-layer CNC routing

Verify board fit, antenna keepout, and placement DRC

Thought for 18 sec
Thought for 6 sec — Inspecting layout and skills
Referenced guidance.
Thought for 4 sec
Getting a layout overview.
Reading schematic details.
Thought for 11 sec
Editing board size.
Thought for 16 sec — Planning placement constraints
Placed footprints of C1, C2, C4 and 1 more
Baking PCB layout data.
Placing 18 footprints.
Thought for 1 sec
Placing footprints of C2, C3, C1 and 1 more.
Thought for 3 mins 19 sec — Continuing tasks
Placing footprints of J1, J2, F1 and 10 more.
Thought for 1 min 36 sec — Evaluating clamping issue
Placing footprints of J1, J2, F1 and 7 more.
Thought for 44 sec — Evaluating F1 and J1 overlaps
Placing footprints of J1, J2, F1 and 9 more.
Thought for 29 sec — Clarifying positioning constraints
Placing footprints of J1, J2, U3.
Thought for 39 sec — Evaluating packing constraints
Placing footprints of J1, J2, F1 and 9 more.
Thought for 18 sec — Adjusting spacing and positions
Placing footprints of SW1, J3, C5 and 1 more.
Thought for 1 min 52 sec — Adjusting placement of J3
Placing footprints of J1, J2, F1 and 10 more.
Thought for 56 sec — Evaluating overlap and clamping
Placing footprints of J1, F1, C5 and 10 more.
Thought for 22 sec — Considering J2 movement
Placing footprints of J1, F1, C5 and 4 more.
Thought for 30 sec
Placing footprints of J1, J2, F1 and 9 more.
Thought for 30 sec — Fixing overlaps in layout
Placing footprints of BT1, J3, SW2 and 2 more.
Thought for 26 sec
Placing footprints of J3, SW1, SW2 and 1 more.
Thought for 15 sec
Placing footprints of J3, C5, SW1 and 1 more.
Thought for 9 sec
Placing footprints of SW2, C6, J3.
Thought for 6 sec
Placing footprint of SW1.
Thought for 10 sec
Placing footprint of SW1.
Thought for 6 sec
Placing footprint of SW1.
Thought for 7 sec
Placing footprint of SW1.
Thought for 8 sec — Setting initial values
Placing footprint of SW1.
Footprint placement stopped early.
Applying placement changes.
Thought for 5 sec — Calculating increments
Editing board size.
Thought for 15 sec
Placed footprints of J2, U2, BT1 and 15 more
Baking PCB layout data.
Placing 18 footprints.
Thought for 1 sec
Placing footprints of C2, C3, C1 and 1 more.
Thought for 1 min 16 sec — Continuing with skills retrieval
Placing footprints of J1, J2, U3 and 9 more.
Thought for 24 sec
Placing footprints of J1, F1, C5 and 4 more.
Thought for 14 sec — Analyzing clamp overlaps
Placing footprints of J1, F1, C5 and 6 more.
Thought for 1 min 2 sec
Placing footprints of U1, U2, C1 and 15 more.
Thought for 24 sec
Placing footprints of J2, BT1, U3 and 10 more.
Thought for 1 min 14 sec — Checking overlaps and parameters
Placing footprints of J3, C1, C2 and 6 more.
Thought for 28 sec
Placing footprints of C3, F1, C4 and 2 more.
Thought for 22 sec
Placing footprints of C1, C2, C3 and 3 more.
Thought for 1 min 3 sec — Evaluating boundaries
Placing footprints of J1, J2, F1 and 13 more.
Thought for 17 sec — Troubleshooting movement issues
Placing footprints of J1, F1, C5 and 3 more.
Thought for 58 sec — Analyzing board constraints
Placing footprints of U2, J1, F1 and 13 more.
Thought for 41 sec
Placing footprints of U1, C4, U2 and 14 more.
Thought for 52 sec — Checking positions and overlaps
Placing footprints of U1, C4, U2 and 13 more.
Thought for 29 sec
Placing footprints of F2, C1, C2 and 3 more.
Thought for 12 sec — Adjusting positions
Placing footprints of C6, SW2, R1.
Thought for 15 sec
Placing footprints of C6, SW2, R1 and 2 more.
Thought for 13 sec — Evaluating coordinate placements
Placing footprints of F2, C6.
Footprint placement stopped early.
Applying placement changes.
Thought for 5 sec
Editing board size.
Thought for 22 sec
Placed footprints of J2, BT1, J1 and 11 more
Baking PCB layout data.
Placing 18 footprints.
Thought for 2 sec
Placing footprints of C2, C3, C1 and 1 more.
Thought for 1 min 36 sec — Planning skill retrieval
Placing footprints of BT1, U3, J3 and 13 more.
Thought for 1 min 32 sec — Evaluating placement and gaps
Placing footprints of J1, J2, F1 and 4 more.
Thought for 8 sec — Testing adjustments
Placing footprints of J1, J2, F1 and 4 more.
Thought for 7 sec
Placing footprints of J2, F2, C6 and 2 more.
Thought for 23 sec — Adjusting positioning
Placing footprints of J1, F1, C5 and 4 more.
Thought for 17 sec
Placing footprints of J1, F1, C5 and 2 more.
Thought for 19 sec — Calculating adjustments for batches
Placing footprints of J2, BT1, F2 and 2 more.
Thought for 23 sec
Placing footprints of C5, F2, C6.
Thought for 25 sec — Fixing overlaps in positioning
Placing footprints of C6, F2, C5 and 1 more.
Thought for 11 sec
Placing footprints of F2, F1.
Thought for 37 sec — Examining routing criteria
Footprint placement complete.
Applying placement changes.
Thought for 7 sec
Checking routing progress.
Completed 6 design checks — found 31 issues.
Getting a layout overview.
Thought for 7 sec — Addressing design issues
Placed footprints of J2, J1, C5 and 5 more
Baking PCB layout data.
Placing 18 footprints.
Thought for 3 sec
Placing footprints of J2, U3.
Thought for 1 min 35 sec — Inspecting physical placements
Placing footprints of SW1, J3, F2 and 1 more.
Thought for 22 sec — Adjusting parameters
Placing footprints of J1, F2.
Thought for 22 sec — Checking fuse positions
Placing footprints of F2, J1.
Thought for 40 sec
Placing footprints of F2, F1, C5.
Thought for 9 sec
Placing footprints of F2, F1.
Thought for 5 sec
Placing footprint of F2.
Thought for 22 sec
Placing footprint of F2.
Thought for 11 sec
Placing footprint of F2.
Thought for 37 sec — Evaluating positioning and gaps
Placing footprints of J1, F2.
Footprint placement stopped early.
Applying placement changes.
Thought for 5 sec
Placed footprints of J1, F2
Baking PCB layout data.
Placing 18 footprints.
Thought for 3 sec
Placing footprint of F2.
Thought for 29 sec — Clarifying positioning constraints
Placing footprint of F2.
Thought for 35 sec
Placing footprint of F2.
Thought for 6 sec
Placing footprint of F2.
Thought for 4 sec
Placing footprint of F2.
Thought for 8 sec
Placing footprint of F2.
Thought for 3 sec
Placing footprint of F2.
Thought for 8 sec — Checking dimensions and movement
Placing footprint of F2.
Thought for 36 sec — Planning the move
Placing footprint of J1.
Thought for 11 sec — Clarifying completion criteria
Footprint placement complete.
Applying placement changes.
Thought for 3 sec
Checking routing progress.
Completed 6 design checks — found 31 issues.
Getting a layout overview.
Thought for a moment
DONT WORRY ABOUT THE SIZE
Got it—I’ll prioritize a clean, CNC-routeable single-layer placement over compactness, enlarging the hexagon and spreading the ESP32/driver signal corridor before routing.
The PCB currently has a 110 × 105 mm hexagonal outline with all 18 footprints placed on top, no overlaps, and the single bottom-copper CNC stackup preserved.
Remaining
  • Enlarge and re-place to eliminate the congested ESP32-to-TB6612FNG corridor.
  • Recheck single-layer routability and antenna keepout.
  • Routing has not started; 23 airwires remain.
Execution stopped because no ACUs are currently available.
Enlarge and re-place
Protect antenna keepout
CNC-friendly placement

Refine this doc
Ask about this doc
Project Specification
Project Overview
Plug-and-play two-motor robot controller using a removable protected 1S 18650, ESP32-C3 Wi-Fi/BLE control, a TB6612FNG dual H-bridge module, and a high-current 5 V boost module. Status: schematic ratings revised; PCB placement prepared; motor-jack rating remains blocked.
Intended Use
Prototype robotics kit on a one-copper-layer CNC-milled through-hole carrier PCB. Modules plug or solder into labeled headers. Motor plugs are changed only with master power OFF.
What the Device Should Do
  • Charge one protected removable 18650 while robot loads are disconnected.
  • Run two independent 5 V bidirectional motors under ESP32-C3 control.
  • Keep motors disabled at reset, communication loss, master-off/charge state, and until explicit enable.
  • Support onboard USB programming, Wi-Fi, and BLE.
Main Features
  • TP4056 charger/protection module.
  • External Pololu U3V70F5 fixed 5 V boost, connected only through large high-current terminal pads/wiring; ordinary 2.54 mm headers prohibited.
  • ESP32-C3 SuperMini common 16-pin, 4 MB, 22.52 x 18 mm solderable development module with onboard native USB-C Serial/JTAG.
  • TB6612FNG module with 3.3 V logic and 5 V motor rail.
  • Two fused mandatory 3.5 mm motor outputs; present SJ1-3524N jacks are provisional and not production-approved above their documented 1 A rating.
  • Hardware STBY pull-down and accessible RUN/ENABLE control.
System Architecture
See the Block Diagram project file. Power path: protected cell -> master OFF/CHARGE-RUN isolation -> boost -> separate 5V_LOGIC and 5V_MOTOR branches. Grounds are common.
Hardware Subsystems
Battery, Charging, and Isolation
Single protected 1S 18650 and TP4056 module. Charger input and robot RUN state are mutually exclusive operational modes. The master switch disconnects the robot load during charging as far as practical.
Compute
Selected U1 is the ESP32-C3 SuperMini common 16-pin / 4 MB / 22.52 x 18 mm variant (2.54 mm edge-pin pitch) with ceramic antenna and onboard native USB-C Serial/JTAG. 5V_LOGIC feeds its labeled 5V input and all grounds are common. The cited SuperMini board documentation warns against simultaneous external 5 V and USB power, so use USB for programming with the robot 5 V source off unless the purchased board revision is verified to include safe isolation.
Motor Drive
Solderable TB6612FNG module: VCC=3V3, VM=5V_MOTOR. STBY is pulled down in hardware and must be actively enabled by firmware through the RUN/ENABLE chain.
Outputs and Protection
Each motor output uses a separate 3.5 mm through-hole jack and series resettable protection where a suitable library part is available. 100 nF suppression is intended at each motor/plug harness. Provide >=470 uF plus 100 nF at 5V_MOTOR and 100 nF at 3V3 logic.
Interfaces and Connections
GPIO Mapping

Table


FunctionESP32-C3 GPIO
AIN1GPIO0
AIN2GPIO1
PWMAGPIO3
BIN1GPIO4
BIN2GPIO5
PWMBGPIO6
STBY commandGPIO7
GPIO8, GPIO9, and native USB GPIO18/GPIO19 are not used for motor control. Unused exposed pins GPIO2, GPIO8, GPIO9, GPIO10, GPIO20, and GPIO21 are intentionally no-connect. GPIO18/19 are internally used by native USB and are not in the common 16-pin edge set.
Power and Runtime Expectations
Battery runtime is not specified because cell capacity and measured motor current are unknown. Use a protected high-drain cell and holder/switch/wiring suitable for approximately 7 A peak input current.
Power Tree and Power Budget
Assume 0.75 A typical and 1.5 A brief peak per motor. Total 5 V load is 1.70 A typical and 3.60 A peak. At 3.0 V depleted cell and 85% boost efficiency, input is 3.33 A typical and 7.06 A peak. See Power Budget project file.
Manufacturing and Assembly Expectations
One copper layer, CNC isolation milled, all components on the top assembly side and Bottom copper as the only routed side. No vias or Top-copper traces; use intentional insulated jumpers/0-ohm links for unavoidable crossings. Use wide reinforced high-current paths and generous hand-solder spacing.
Firmware-Relevant Hardware Requirements
Firmware initializes STBY low, configures direction and PWM outputs, then enables motion only after explicit command. Communication timeout stops both motors. Wi-Fi and BLE coexistence are required.
Physical Design Expectations
SuperMini ceramic antenna end at the top board edge facing outward, with the module antenna region overhanging/clear of carrier copper and all high-current modules, battery, wiring, and metal. USB-C must remain accessible at a board edge. Separate noisy motor and logic branch routing with a common source/star ground region.
Important Design Decisions
  • No false insertion-detect circuit is claimed. Two-conductor 3.5 mm motor plugs may short during insertion; change connectors only while powered off.
  • Accessible RUN/ENABLE control supplements the STBY pull-down.
  • Board-side output capacitors are optional/DNP because PWM current spikes may be excessive; install 100 nF at motor terminals or harness.
Assumptions and Unresolved Risks
  • 1.5 A per motor is a brief peak, not sustained. TB6612FNG is unacceptable if 1.5 A is continuous per motor.
  • Actual motor running and locked-rotor currents require measurement.
  • 3.5 mm motor interface remains a hard blocker: SJ1-3524N is 1 A and no verified >=1.5 A through-hole 3.5 mm alternative was found in the bounded search. Do not claim contact sharing.
  • Boost selected: Pololu U3V70F5; 2.9-5 V input, 10 A instantaneous/8 A several seconds/7 A prolonged input capability; external wiring through a 16 A terminal interface.
  • Master switch selected: external Daier KN3A-101, SPST, 20 A at 12 VDC, connected through a 15 A terminal interface.
  • F1/F2: Bel 0ZRM0125FF1A, 1.25 A hold / 2.50 A trip at 23 C; intended to carry 0.75 A normal load and respond to prolonged stall, not to interrupt a brief 1.5 A peak.
Validation Criteria
Functionally complete wiring; no hidden power pins; safe startup; charger/run isolation; explicit net names; ERC critical errors fixed; exact module and connector ratings documented or visibly flagged.
Change Notes
Replaced ESP32-C3-DEVKITM-1 with the common 16-pin ESP32-C3 SuperMini (4 MB, 22.52 x 18 mm), retained the safe GPIO0/1/3/4/5/6/7 motor map, documented native USB and 5 V power-source caution, and specified antenna/USB edge placement.
  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • System Architecture

  • Hardware Subsystems

  • Battery, Charging, and Isolation

  • Compute

  • Motor Drive

  • Outputs and Protection

  • Interfaces and Connections

  • GPIO Mapping

  • Power and Runtime Expectations

  • Power Tree and Power Budget

  • Manufacturing and Assembly Expectations

  • Firmware-Relevant Hardware Requirements

  • Physical Design Expectations

  • Important Design Decisions

  • Assumptions and Unresolved Risks

  • Validation Criteria

  • Change Notes

Plug-and-Play ESP32 Robot Controller 3b39

Plug-and-Play ESP32 Robot Controller 3b39 thumbnail
Single-layer CNC-millable ESP32-C3 robot controller for two bidirectional 5 V DC motors, using solderable modules, protected 18650 charging, Wi-Fi/BLE control, and protected 3.5 mm motor connections.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$1.78–$2.01

Digi-Key

$0.16

LCSC

$4.57

Mouser

$5.23

TME

$0.20

Verical

$2.00–$3.47

Controls