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
U2
J5
U3
J4
U1
J2
J3
J5 + - C7 P1
J3 + - C6 P1
U2 LED3 - Servo3 Data
U2 LED1 - Servo1 Data
U2 LED6 - Servo6 Data
U1 GP9 - U2 SCL
U1 GP11 - U3 DIN
U3 OUTP - J19 1
U1 GP6 - R5 P1
U1 GP8 - U2 ~OE
U2 LED0 - J6 Data
U3 VDD_2 - J14 Pin_1
J3 + - C6 P1
J1 Pos - D1 K
J15 PIN2 - J17 PIN1
U3 VDD_2 - J14 Pin_1
U1 3V3(OUT) - U2 VDD
J3 + - C6 P1
U3 OUTN - J19 2
J3 + - C6 P1
U1 3V3(OUT) - U2 VDD
J5 + - C7 P1
U1 3V3(OUT) - U2 VDD
U2 LED6 - Servo6 Data
U3 VDD_2 - J14 Pin_1
J5 + - C7 P1
U1 GP2 - U3 BCLK
J1 Pos - D1 K
U1 GP5 - R4 P1
J7 PIN2 - J8 PIN1
U1 GP5 - R4 P1
J1 Pos - D1 K
U2 LED7 - Servo7 Data
U1 3V3(OUT) - U2 VDD
U1 GP5 - R4 P1
J3 + - C6 P1
U1 3V3(OUT) - U2 VDD
U1 GP8 - U2 ~OE
J3 + - C6 P1
U2 LED4 - Servo4 Data
U1 GP4 - U3 LRCLK
U1 3V3(OUT) - U2 VDD
U3 VDD_2 - J14 Pin_1
U1 GP11 - U3 DIN
U2 LED2 - Servo2 Data
U1 GP5 - R4 P1
J7 PIN2 - J8 PIN1
U2 LED3 - Servo3 Data
U1 3V3(OUT) - U2 VDD
U3 ~SD_MODE - R6 P1
J1 Pos - D1 K
U1 3V3(OUT) - U2 VDD
J1 Pos - D1 K
J3 + - C6 P1
J3 + - C6 P1
U1 3V3(OUT) - U2 VDD
U1 GP7 - U2 SDA
U2 LED2 - Servo2 Data
J1 Pos - D1 K
U1 GP8 - U2 ~OE
U1 GP7 - U2 SDA
U1 GP6 - R5 P1
U3 OUTP - J19 1
U2 LED7 - Servo7 Data
U1 GP2 - U3 BCLK
U2 LED4 - Servo4 Data
J3 + - C6 P1
U2 LED1 - Servo1 Data
U1 GP6 - R5 P1
U2 LED5 - Servo5 Data
J3 + - C6 P1
J5 + - C7 P1
U1 3V3(OUT) - U2 VDD
U1 GP9 - U2 SCL
U1 3V3(OUT) - U2 VDD
U2 LED5 - Servo5 Data
U1 GP9 - U2 SCL
U1 GP7 - U2 SDA
U3 ~SD_MODE - R6 P1
U3 VDD_2 - J14 Pin_1
U1 GP4 - U3 LRCLK
U1 GP7 - U2 SDA
U3 VDD_2 - J14 Pin_1
U3 VDD_2 - J14 Pin_1
J3 + - C6 P1
U1 GP9 - U2 SCL
U1 GP6 - R5 P1
U3 OUTN - J19 2
U2 LED0 - J6 Data
J15 PIN2 - J17 PIN1
Servo3
J5 - - C6 P2
C6
Capacitance
2200uF
C4
Capacitance
10uF
J5 - - C6 P2
J5 - - C6 P2
J5 - - C6 P2
J5 - - C6 P2
GND
J5 - - C6 P2
J5 - - C6 P2
Servo2
J5 - - C6 P2
J5 - - C6 P2
Servo4
GND
Servo7
J5 - - C6 P2
U2 A0 - U2 A1
J6
U2 A0 - U2 A1
J5 - - C6 P2
J5 - - C6 P2
J5 - - C6 P2
J5 - - C6 P2
C5
Capacitance
470uF
J5 - - C6 P2
C1
Capacitance
100nF
J5 - - C6 P2
Servo6
J5 - - C6 P2
Servo1
J5 - - C6 P2
U2 A0 - U2 A1
GND
C7
Capacitance
470uF
Servo5
GND
J5 - - C6 P2
J5 - - C6 P2
GND
J5 - - C6 P2
C2
Capacitance
10uF
J5 - - C6 P2
GND
J5 - - C6 P2
U2 A0 - U2 A1
C3
Capacitance
100nF
J5 - - C6 P2
J5 - - C6 P2
U2 A4 - U2 A5
U2 A4 - U2 A5
TP2
R2
Resistance
4.7kΩ
J17
TP1
J8
TP6
R4
Resistance
10kΩ
J19
TP8
R1
Resistance
4.7kΩ
J15
TP4
R6
Resistance
10kΩ
D1
TP5
TP9
TP3
J14
R3
Resistance
10kΩ
J7
J1
TP7
R5
Resistance
10kΩ

Refine this doc
Ask about this doc
Project Specification
Project Overview
Battery-powered quadruped robot control board for eight MG90S servos, audio, and two relay-switched 5 V LED strips. Status: Review — schematic phase.
Intended Use
Prototype controller powered from a protected 3S LiPo pack. High-current 5 V conversion is provided by externally mounted buck modules connected through explicitly rated board interfaces.
What the Device Should Do
  • Control eight servos through PCA9685 channels 0–7.
  • Run application firmware on a Waveshare ESP32-S3-Zero.
  • Produce mono I²S audio through MAX98357A and an external speaker.
  • Switch two 5 V LED-strip positive feeds through a 2-channel active-low relay module; return LED grounds directly.
  • Keep relay outputs off during reset/boot.
Main Features
ESP32-S3 wireless compute; I²C PWM expansion; I²S class-D audio; two relay-controlled LED outputs; test points; separate high-current 5 V power interfaces; common ground.
System Architecture
See Block Diagram project file.
Hardware Subsystems
  • Input: 3S LiPo, 9.0–12.6 V operating assumption, XT60-class current path, external pack BMS and primary fuse required.
  • Buck #1 interface: off-board 5 V servo supply, minimum 10 A continuous rating with transient margin.
  • Buck #2 interface: off-board 5 V logic/LED supply, minimum 5 A pending LED-strip load confirmation.
  • Compute: Waveshare ESP32-S3-Zero, fed at its 5 V input.
  • PWM: PCA9685 VCC at 3.3 V; V+ at 5V_SERVO.
  • Audio: MAX98357A at 5 V, 3.3 V I²S logic.
  • Relay: external 2-channel active-low relay module interface with reset-safe pull-ups.
Interfaces and Connections
GPIO2=BCLK, GPIO4=LRC, GPIO11=I²S DIN, GPIO7=SDA, GPIO9=SCL, GPIO5=relay IN1, GPIO6=relay IN2. Reserved and unused: GPIO0, GPIO19, GPIO20, GPIO21, GPIO33–GPIO37. Eight servo headers carry GND/5V_SERVO/PWM. Speaker output is differential. LED outputs switch only +5 V via COM/NO; GND is unswitched and common.
Power and Runtime Expectations
No onboard charging. Runtime depends on battery capacity, gait, servo loading, audio, and LED duty cycle. Battery must support at least 15 A transient discharge at low state of charge until measured loads justify reduction.
Power Tree and Power Budget
Conservative preliminary budget:

Table


Rail/loadContinuous design allowancePeak/stall allowance
8× MG90S at 5 V4.0 A combined motion allowance8.0 A simultaneous stall allowance (1 A/servo conservative)
Servo rail margin2.0 A
ESP32-S3-Zero + PCA96850.6 A1.0 A transient allowance
MAX98357A + speaker0.8 A program-dependent1.5 A
Relay module coils0.15 A0.2 A
Two LED stripsTBDInterface budget 3.0 A until strip length/type known
Buck #1 requirement: regulated 5 V, ≥10 A continuous, suitable for fast servo transients, with local bulk capacitance. Buck #2 requirement: regulated 5 V, ≥5 A. At 9.0 V battery and 90% efficiency, a simultaneous 50 W servo event alone reflects about 6.2 A into the battery; combined worst-case interface budget approaches 10–12 A. Size battery connector, wiring, fuse, and pack for ≥15 A transient. Exact simultaneous stall is an abuse/fault case; firmware should stagger motion, but hardware must not brown out or overheat under credible peaks.
Manufacturing and Assembly Expectations
Professional SMD logic circuitry; robust pluggable or locking high-current connectors for module rails; clearly labeled polarity; test points on VBAT, 5V_SERVO, 5V_LOGIC_LED, 3V3, GND, SDA, SCL, and relay controls.
Firmware-Relevant Hardware Requirements
Relay lines must initialize HIGH before output enable. PCA9685 output-enable defaults disabled via pull-up and is asserted only after I²C initialization. Firmware must never use reserved GPIOs.
Physical Design Expectations
No PCB layout in this phase. Later placement must segregate servo-current paths from logic/audio, keep common-ground impedance low, and provide connector access.
Important Design Decisions
  • Off-board buck module interfaces are used because module topology/current ratings were not specified and eight servos make low-current onboard conversion unsafe.
  • PCA9685 logic VCC and I²C pull-ups use 3.3 V; servo V+ uses 5V_SERVO.
  • Common GND is mandatory; LED grounds are not relay-switched.
Assumptions
MG90S stall current varies by clone and voltage; 1 A per servo is used until the actual servo datasheet or measurement is supplied. LED type/length is unknown. Relay module accepts 3.3 V active-low inputs and has its own coil drivers/flyback protection. LiPo includes an appropriate BMS/balance-charge workflow external to this board.
Change Notes
Initial schematic-phase specification created from the user brief.
  • 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

  • Change Notes

Quadruped Robot Control Board thumbnail
Battery-powered quadruped robot controller with ESP32-S3, PCA9685 eight-servo breakout, I2S audio, and relay-switched 5V RGB lighting.

Properties

V

Pricing & Availability

Distributor

Qty 1

Arrow

$4.65–$84.35

Digi-Key

$0.07

HQonline

$7.35

LCSC

$9.70

Mouser

$11.30–$14.72

TME

$0.30

Verical

$4.44–$36.86

Controls