Power Management for Glyph S3 Motor Driver
Battery + USB Power
We designed the Glyph S3 Motor Driver to be easy to power both when connected to a computer and via a battery. Here are the ways to power your Glyph:- USB Power: Connect with a USB-C cable. The onboard low-dropout (LDO) regulator steps down the 5V USB rail to 3.3V for logic, while USB VBUS feeds the system +BATT rail through the onboard power-path diode and polyfuse.
- Battery Power: Connect a 3.7V / 4.2V single-cell Lithium Polymer (LiPo) or Lithium Ion (Li-ion) battery to the 2-pin battery connector.
Install the LiPo / Li-ion batteries based on the polarity. Ensure positive (+) connects to Bat_PWR and negative (-) to GND. Using wrong polarity batteries can destroy your Glyph and motor driver.
Power Supplies
The Glyph S3 Motor Driver offers multiple power supply access points:- BAT / +BATT Pin: Connected to the battery connector and power-path circuit. This rail directly feeds the motor driver VM supply and the 3.3V LDO regulator.
- USB / VBUS Pin: Supplies +5V directly from the USB Type-C connector when plugged in.
- 3.3V / 3V3 Pin: Regulated 3.3V output from the onboard low-dropout regulator, rated for up to 900mA continuous load.
Motor Driver Power Supply
The integrated TB6612FNG motor driver module receives power from two dedicated rails:- 3.3V Rail (VCC): Powers the motor driver’s internal logic and control circuitry from the onboard regulated 3.3V rail.
- BATT(+) Rail (VM): Powers the H-bridge drive outputs for the motors directly from the BATT(+) rail.
Driver Standby (STBY Pin)
The TB6612FNG STBY (Standby) input is internally connected to GPIO42:- STBY LOW (0): Puts the motor driver into low-power standby mode, turning off all H-bridge outputs and minimizing quiescent current.
- STBY HIGH (1): Enables normal operation of the motor driver outputs.
Measuring Battery Voltage
The Glyph S3 Motor Driver provides battery monitoring capabilities:- GPIO1 is assigned to D1 / BATT_MSR.
- Firmware can read the battery voltage through the ESP32-S3 ADC1 channel 0 to track battery discharge state and alert on low battery conditions.
Alternative Power Options
For powering the Glyph S3 Motor Driver:- USB powered: Use a 5V 1A USB wall adapter to plug in a USB cable for reliable power.
- Portable Use Without LiPo: Use a USB battery pack (Power Bank).
- Higher Voltage Power Supply: Use a 5V buck converter and wire it to a USB cable’s 5V and GND input.
What You Cannot Do
- Do not use alkaline or NiMH batteries and connect to the battery port, as it will destroy the LiPo charger.
- Do not use anything >4.2v LiPo batteries on the battery port, as it will destroy the board.
External Power Supplies
The Glyph S3 Motor Driver is not designed for external power supplies. If you must:- Connect an external 3.3V power supply to the 3V3 and GND pins.
- Connect an external 5V power supply to the USB and GND pins.