Skip to main content

Power Management for Glyph S3 Motor Driver

The design has a USB-C input, a single-cell battery connector and charger, a 3.3 V logic regulator, and an integrated motor driver. The motor driver uses the board’s +BATT rail for VM.

Battery + USB power

  • USB-C (J4): USB power, native USB programming, and serial debugging. The USB input passes through the F1 polyfuse.
  • Battery connector (J6): Pin 1 is GND; pin 2 is Bat_PWR (battery positive).
  • Battery charger: The MCP73831-2-OT is configured for a single-cell LiPo/Li-ion battery with a 4.2 V charge voltage. Charge current is set by the charger circuit on the board.
  • VBUS pin: J1 pin 3 exposes the USB 5 V rail.
The schematic routes USB VBUS through the F1 polyfuse and SS34 diode D3 to the +BATT system rail. The MCP73831 takes VBUS at its input and connects its battery output to Bat_PWR at J6 pin 2. The SI2301 MOSFET is also part of the board’s battery/power-path circuit. +BATT feeds both the AP2112K-3.3 regulator and the TB6612FNG motor-supply pins. Use a single-cell 3.7 V nominal LiPo/Li-ion battery, with 4.2 V maximum charge voltage, at J6. Connect it with the correct polarity.
Do not connect alkaline or NiMH batteries to J6, and do not apply more than 4.2 V to the single-cell battery input. Reversed polarity can damage the board.

Regulated logic power

The AP2112K-3.3 regulator supplies the board’s 3.3 V logic rail from +BATT. The regulator datasheet specifies a 600 mA continuous load rating; the available board-level current also depends on thermal conditions and other loads. The 3.3 V rail is exposed on J2 pins 2 and 3, pad J3, and Glink connector J5 pin 2. Do not power motors from a GPIO pin or the 3.3 V rail.

Motor power

The TB6612FNG logic VCC pin is connected to the 3.3 V rail. Its motor VM pins connect to the board’s +BATT rail, which is also exposed at J1 pin 1. The schematic does not show a separate motor-supply connector; the motor driver’s supply follows the board’s USB/battery power path. The TB6612FNG IC has a 2.5–13.5 V motor-supply operating range, with 1.2 A average output per channel. Its 3.2 A rating is for a single pulse and is not a continuous rating. These are IC limits; they do not mean the board’s battery input can accept 13.5 V. Keep the board supply within its single-cell battery and system-rail limits, and check each motor’s stall current. See Toshiba’s TB6612FNG datasheet. The controller, driver, and motor supply share ground. J7 carries Motor A outputs (AO_2 on pin 1, AO_1 on pin 2); J8 carries Motor B outputs (BO_2 on pin 1, BO_1 on pin 2). See Pinouts.
Do not apply a separate high-voltage motor supply to +BATT, J6, or the motor output connectors. +BATT is shared with the board power path. Check motor stall current and polarity before use.

Measuring battery voltage

The board schematic labels GPIO1 as D1/BATT_MSR. This signal is available at J1 pin 10 for battery-voltage measurement. See the board-specific pinout before connecting other circuitry to it.

Driver standby

The TB6612FNG STBY input is connected to GPIO42. Drive STBY low to put the motor driver in standby; drive it high to enable the output channels. Standby disables the driver outputs, but it does not disconnect the board’s battery or USB power. For general ESP32-S3 sleep modes and USB/battery guidance, see Glyph S3 Power Management. See the AP2112 product datasheet and MCP73831 charger datasheet for IC details.