Power system

The robot uses a multi-rail power architecture with a dedicated converter per subsystem, so motor current spikes cannot brown out the computers.

The three DC-DC converters

Rails

        flowchart LR
  B1["2S pack 7.4 V"] --- B2["2S pack 7.4 V"]
  B2 --> SW["SW2 main switch"]
  SW --> U1["U1 HW-140 → 5.1 V"]
  SW --> U2["U2 HW-140 → 5.0 V"]
  SW --> U3["U3 HW-140 → 11.5 V"]
  U1 --> PI["Raspberry Pi 5V header pins 2/4"]
  U2 --> ESP["ESP32 5V pin"]
  U3 --> VM["TB6612 VM (motor supply)"]
  ESP --> LDO["ESP32 on-board 3.3 V LDO"]
  LDO --> L["IMUs · encoders · TB6612 VCC (logic)"]
    

Rail

Source

Consumers

Battery

Two 2S Li-Ion packs, wired in series in the schematic

DC-DC inputs via SW2

5.1 V

U1

Raspberry Pi (through the 5V header pins)

5.0 V

U2

ESP32 DevKitC 5V pin

11.5 V

U3

TB6612FNG VM, i.e. the motors

3.3 V

ESP32 on-board regulator

MPU-9250, MPU-6050, both encoders, TB6612 VCC logic

All grounds are common.

Notes

  • Feeding the Pi through the 5V header bypasses its USB-C input protection, which is why the rail is set slightly high (5.1 V) to cover cable losses.

  • The motor rail (11.5 V) is higher than many N20 variants are rated for. Until the motor rating is confirmed, the firmware limits the maximum PWM duty cycle (see the calibration guide).

  • There is no battery-voltage measurement yet; see Known hardware issues.