> ## Documentation Index
> Fetch the complete documentation index at: https://learn.pcbcupid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pinouts

> Glyph S3 Motor Driver pinout reference for its ESP32-S3 headers, solder pads, motor outputs, USB-C, battery, and Glink connectors.

![Glyph S3 Motor Driver pinout diagram](https://spell-files.pcbcupid.com/pc-module/images/GD011-Glyph-S3-MotorDriver/GD011-Glyph-S3-MotorDriver-pinout.avif)

The pinout diagram shows the board labels and connector locations. The tables below list the nets and GPIO assignments from the board schematic.

### J1: 12-pin header

| Pin | Board label | ESP32-S3 / function |
| :- | :- | :- |
| 1 | +BATT | Board battery/system rail |
| 2 | EN | Enable/reset |
| 3 | VBUS | USB 5 V input rail |
| 4 | D10 | GPIO10 |
| 5 | D9 | GPIO9 |
| 6 | D8 | GPIO8 |
| 7 | D7 | GPIO7 |
| 8 | D6 | GPIO6 |
| 9 | D2 | GPIO2 |
| 10 | D1 / BATT\_MSR | GPIO1 / battery measurement |
| 11 | SDA | GPIO4 / I²C data |
| 12 | SCL | GPIO5 / I²C clock |

### J2: 16-pin header

| Pin | Board label | ESP32-S3 / function |
| :- | :- | :- |
| 1 | RESET | ESP32-S3 reset (EN) |
| 2 | 3V3 | Regulated 3.3 V |
| 3 | 3V3 | Regulated 3.3 V |
| 4 | GND | Ground |
| 5 | D13 | GPIO13 |
| 6 | D14 | GPIO14 |
| 7 | D15 | GPIO15 |
| 8 | D16 | GPIO16 |
| 9 | D17 | GPIO17 |
| 10 | D18 | GPIO18 |
| 11 | SCK | GPIO35 / SPI clock |
| 12 | MOSI | GPIO36 / SPI data to peripheral |
| 13 | MISO | GPIO37 / SPI data from peripheral |
| 14 | uRx | GPIO44 / UART0 RX |
| 15 | uTx | GPIO43 / UART0 TX |
| 16 | GND | Ground |

### Additional solder pads

These schematic pads expose extra power and GPIO connections:

| Reference | Pad signal | ESP32-S3 / function |
| :- | :- | :- |
| J3 | +3.3 V | Regulated 3.3 V |
| J9 | D34 | GPIO34 |
| J10 | D26 | GPIO26 |
| J11 | D3 | GPIO3 |
| J12 | D33 | GPIO33 |
| J13 | GND | Ground |

### Glink connector J5

| Pin | Signal |
| :- | :- |
| 1 | GND |
| 2 | +3.3 V |
| 3 | SDA / GPIO4 |
| 4 | SCL / GPIO5 |

J5 is the Qwiic/STEMMA QT-compatible Glink connector.

### Motor connectors

J7 and J8 are 2-pin Molex PicoBlade motor output connectors wired to the onboard TB6612FNG:

| Connector | Pin 1 | Pin 2 | Channel |
| :- | :- | :- | :- |
| J7 | AO\_2 | AO\_1 | Motor A |
| J8 | BO\_2 | BO\_1 | Motor B |

Connect one brushed DC motor across each pair. A bipolar stepper motor uses both output pairs for its two windings.

### Motor-driver control GPIOs

These ESP32-S3 GPIOs are connected internally to the TB6612FNG control inputs:

| TB6612FNG signal | ESP32-S3 GPIO | Function |
| :- | :- | :- |
| PWMA | GPIO41 | Motor A speed (PWM) |
| AIN1 | GPIO39 | Motor A direction |
| AIN2 | GPIO38 | Motor A direction |
| STBY | GPIO42 | Driver standby/enable |
| PWMB | GPIO40 | Motor B speed (PWM) |
| BIN1 | GPIO47 | Motor B direction |
| BIN2 | GPIO48 | Motor B direction |

These pins are used by the onboard motor driver. Use the [motor power notes](https://learn.pcbcupid.com/documentation/modules/glyph/glyph-esp32s3/glyph-s3-motor-driver-power-management.md) before wiring motors.

### Battery and USB-C

* **Battery connector J6:** Pin 1 GND; pin 2 Bat\_PWR (battery positive).
* **USB-C connector J4:** USB power and native USB data/programming.

Use the [Power Management](https://learn.pcbcupid.com/documentation/modules/glyph/glyph-esp32s3/glyph-s3-motor-driver-power-management.md) page for supply details and limits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.