Chat

Welcome to Flux

Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More

Explain project
Write a project description
Find schematic issues
Create a test plan
Simulate a circuit
Prepare for Manufacturing
Component Selection Workflow
New Subsystem Wizard
Write I2C initialization code
Generate firmware skeleton

Refine this doc
Ask about this doc
Project Specification — Biped Body
Project Overview
  • Status: Draft schematic reconstruction in progress.
  • Device: Credit-card-sized robot body carrier/adapter PCB connecting an RDKx5 main brain to an ESP32-S3 that manages serial-bus servos.
  • Target board size: 85.60 mm × 53.98 mm, rectangular, 2-layer PCB.
Intended Use
  • Prototype robot body electronics board for a biped robot.
  • Routes control/data between the RDKx5, ESP32-S3, USB-C tuning/programming interface, I2C sensors, and serial-bus servos.
  • Distributes raw battery power directly to servo bus connectors, similar to the Waveshare Serial Bus Servo Adapter A behavior.
What the Device Should Do
  • Accept battery input on a 2-pin connector.
  • Feed the servo power rail directly from battery input.
  • Generate 5 V using an LM2596S-5.0 buck regulator for the ESP32 VIN and RDKx5 5 V header pin.
  • Provide USB-C tuning/programming through a CP2102C USB-UART bridge.
  • Connect RDKx5 UART to the ESP32.
  • Provide two servo bus connectors with power, ground, and data.
  • Provide I2C/MPU6050 connectors.
  • Provide a 3-pin battery-monitor connector and ADC-safe divided battery sense to the ESP32.
  • Include shutdown switch, boot/reset controls, status LEDs, decoupling, and protection.
Main Features
  • ESP32-S3-WROOM-1 module.
  • CP2102C USB-UART bridge.
  • USB-C device/sink connector with independent 5.1 kΩ CC pull-downs.
  • LM2596S-5.0 5 V buck regulator with external inductor, catch diode, and input/output capacitors.
  • 3 A polyfuse in the battery/servo input path.
  • SMBJ5.0A TVS requested on the 12 V rail; note this clamp voltage appears inconsistent with a nominal 12 V battery rail and should be reviewed.
  • Two 3-pin servo bus connectors: 12V, GND, DATA.
  • 4-pin RDK header: 5V, TX, RX, GND.
  • 4-pin I2C header: 3.3V, GND, SDA, SCL.
  • 4-pin MPU6050 header: 3.3V, GND, SDA, SCL.
  • 3-pin battery monitor connector: VBAT, GND, ADC_SENSE.
System Architecture

Diagram


2-pin Battery Input 3A Polyfuse Raw Battery / Servo Power Rail Servo Bus 1: node_12V GND DATA Servo Bus 2: node_12V GND DATA LM2596S-5.0 Buck 5V Rail ESP32 VIN / node_5V input RDKx5 4-pin Header ESP32-S3-WROOM-1 Half-duplex node_5V level shift USB-C CP2102C USB-UART I2C + MPU6050 Headers 10k/1k Battery Divider
Hardware Subsystems
  • Power input and distribution: Battery input, shutdown switch, protection, raw servo rail, and 5 V buck conversion.
  • ESP32 control: ESP32-S3-WROOM-1 handles servo data, RDK UART, USB tuning bridge, I2C, ADC battery sense, boot/reset, and status LEDs.
  • USB-C tuning/programming: USB-C sink/device connector with CC pull-downs, ESD/protection as needed, CP2102C UART bridge.
  • Servo interface: Two D/V/G-style serial servo buses, raw battery power to V pin, data line level shifted to/from ESP32.
  • RDKx5 interface: 5 V, TX, RX, GND header.
  • Sensors: Shared I2C bus for generic I2C and MPU6050 connection.
  • Battery monitor: Raw VBAT connector pin plus divided ADC_SENSE through 10 kΩ / 1 kΩ divider.
Interfaces and Connections

Table


InterfacePinsNotes
Battery input2VBAT and GND
Servo bus 1312V/VBAT, GND, DATA; DATA from ESP32 GPIO25 via level shift
Servo bus 2312V/VBAT, GND, DATA; DATA from ESP32 GPIO26 via level shift
RDKx5 header45V, TX, RX, GND; ESP32 GPIO16 TX, GPIO17 RX
USB-CUSB2CP2102C USB-UART tuning/programming
I2C header43.3V, GND, SDA GPIO21, SCL GPIO22
MPU6050 header4Shared I2C: 3.3V, GND, SDA, SCL
Battery monitor3VBAT, GND, ADC_SENSE through divider to ESP32 GPIO34
Power and Runtime Expectations
  • Battery voltage is assumed nominally around 12 V unless corrected by the user.
  • Servo current can be high and pulsed; servo rail must use wide traces/copper pours and connector/fuse ratings sized for real servo load.
  • 5 V rail powers logic/RDK header, not the servo motor current.
  • Runtime depends mostly on servo current draw and battery capacity; not yet specified.
Power Tree and Power Budget

Table


RailSourceLoadsNotes
VBAT / Servo 12VBattery via switch/fuseServo bus V pins, LM2596 input, monitor dividerRaw, not regulated
5VLM2596S-5.0 buckESP32 VIN, RDK 5V header, servo data pull-ups if 5 V data is usedNeeds load-current confirmation
3.3VESP32 module onboard/regulator path or local 3.3 V rail if addedESP32 logic, I2C pull-ups, sensor headersArchitecture should be verified against selected ESP32 module/power path
Manufacturing and Assembly Expectations
  • Compact SMD-oriented 2-layer prototype PCB.
  • Wide copper for raw battery/servo current.
  • Solid ground plane/fill on both layers where possible.
  • ESP32 antenna at board edge with no copper keepout.
  • Design should be DRC/ERC reviewed before Gerber export.
Firmware-Relevant Hardware Requirements

Table


FunctionESP32-S3 GPIO
Servo DATA Bus 1GPIO25
Servo DATA Bus 2GPIO26
RDK UART TXGPIO16
RDK UART RXGPIO17
CP2102 UART RX input to ESP32GPIO43
CP2102 UART TX output from ESP32GPIO44
I2C SDAGPIO21
I2C SCLGPIO22
Battery ADCGPIO34
BOOTIO0 button
RESET/ENABLEEN button/circuit
Physical Design Expectations
  • Board outline: 85.60 mm × 53.98 mm rectangle.
  • ESP32 antenna placed at an edge, facing outward, with copper keepout.
  • Power input and servo connectors should be close to high-current copper paths.
  • USB-C should be edge accessible.
  • Shutdown switch should be accessible from the board edge.
Important Design Decisions
  • Servo V rail follows Waveshare adapter behavior: raw battery input is distributed to servos; it is not a regulated 5 V output.
  • Use two separate servo data buses on GPIO25 and GPIO26.
  • Use level shifting on servo data lines rather than direct 3.3 V connection.
  • Use USB-C only as device/tuning/programming interface unless later upgraded for power delivery.
  • 2-layer board selected by user request; dense/high-current routing may benefit from 4 layers if layout becomes difficult.
Assumptions and Review Items
  • Battery is assumed nominal 12 V; exact chemistry and max/min voltage are not yet specified.
  • Servo peak current is not yet specified; 3 A fuse may be too small for multiple bus servos depending on stall current.
  • SMBJ5.0A on a 12 V rail is likely incorrect because it clamps near 5 V and would conduct on a 12 V battery. A 12 V-compatible TVS should be selected unless the rail is actually 5 V.
  • ESP32-S3 GPIO34 availability depends on exact module variant; GPIO35–42 are commonly reserved for flash/PSRAM on some ESP32-S3 modules, while GPIO34 may be available but must be verified against the selected module.
  • GPIO43/44 are often UART0/log pins on ESP32-S3 and can be used for USB-UART, but boot/debug behavior should be checked.
Change Notes
  • Board size changed from 61 mm × 71 mm to credit-card size.
  • Battery monitor connector added.
  • Pasted requirements now specify ESP32-S3-WROOM-1, CP2102C, LM2596S-5.0, two servo buses, RDK UART, USB-C tuning, I2C/MPU6050 headers, and ADC divider.
  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • System Architecture

  • Hardware Subsystems

  • 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 and Review Items

  • Change Notes

Biped Body

Biped Body thumbnail
Imported/reconstructed electronics schematic for the biped body project from the uploaded KiCad schematic.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$6.45–$11.27

Digi-Key

$5.18

HQonline

$1.67–$1.73

LCSC

$11.23–$11.89

Mouser

$24.22–$25.06

TME

$1.74

Verical

$5.93–$13.54

Controls