Adafruit MagTag Pinout

ESP32-S2 e-paper board. Connectors, power selector and service pads on the component side.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show alternate functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

19 visible
PinMCU pinTypesNotes
GNDD10 STEMMA connector return.
PowerD10 STEMMA accessory power.
GPIOAnalogPWMD10 STEMMA signal. 3.3 V digital I/O through 1 kΩ R16.
GNDA1 STEMMA connector return.
PowerA1 STEMMA accessory power.
GPIOAnalogPWMDACA1 STEMMA signal. 3.3 V digital I/O through 1 kΩ R18.
GNDSTEMMA QT ground return.
PowerSTEMMA QT regulated 3.3 V output.
I2CSTEMMA QT I²C data.
I2CSTEMMA QT I²C clock.
PowerSTEMMA power selector pad marked 5V. Factory trace joins pads 1 and 2.
PowerCenter pad feeding both 3-pin STEMMA ports.
PowerAlternative regulated rail for both STEMMA ports.
GNDBattery negative. Lower contact in the unrotated rear photo, beside the minus mark.
PowerBattery positive. Use a single 3.7 V nominal / 4.2 V full LiPo with Adafruit polarity.
UARTUART0 transmit from the ESP32-S2 at 3.3 V logic.
UARTUART0 receive into the ESP32-S2 at 3.3 V logic.
InternalExposed boot strapping test pad next to the Boot0 button.
InternalExposed active-low module reset test pad next to the Reset button.

Specifications

PCB
Revision D · Adafruit product 4800
Display
2.9-inch 296 × 128 four-level grayscale e-paper · SSD1680
Module
ESP32-S2-WROVER · 2.4 GHz Wi-Fi · 4 MB flash · 2 MB PSRAM
Power and logic
5 V USB-C or 1-cell 3.7 V LiPo · 3.3 V logic · USB charging
STEMMA QT
GPIO33 SDA / GPIO34 SCL · 3.3 V · LIS3DH at 0x19
3-pin STEMMA
D10 / GPIO10 and A1 / GPIO18 · shared supply via SJ2
PCB outline
80.01 × 53.34 mm, excluding components outside the PCB

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
MagTagOfficial connector and peripheral guideAdafruitSee the Rev D CAD for the corrected GPIO assignments.Datasheet
MagTag Rev DEAGLE schematic and PCBAdafruitPin numbers, pads and board nets.Datasheet
ESP32-S2-WROVERModule datasheetEspressifMCU pin functions and module pin numbers.Datasheet
MagTagCircuitPython pin aliasesAdafruitBoard-level GPIO assignments.Datasheet

Board notes

Photo and pin order
Component side rotated with the battery and display flex at the top. JST markers point at the visible solder tails. The right edge reads GND, VCC, A1 at A1, then SCL, SDA, 3V3, GND at STEMMA QT, then 3V3, VCC, 5V at SJ2, and GND, VCC, D10 at D10.
Accessory power
SJ2 joins VCC to the switched source rail by default. USB powers that rail near 5 V, and battery-only operation follows the cell voltage. To select regulated 3.3 V, cut 5V–VCC and bridge VCC–3V3. Both accessory signals remain 3.3 V logic.
Display flex
The SSD1680 uses GPIO5 BUSY, GPIO6 RESET, GPIO7 DC, GPIO8 CS, GPIO35 MOSI and GPIO36 SCK. GPIO37 has a firmware alias for EPD_MISO and has no connection to the Rev D flex. The PCB marks flex pin 1 with a triangle.
Display-side controls
Buttons A through D use GPIO15, GPIO14, GPIO12 and GPIO11. Pressing a button pulls its signal low. The four NeoPixels use GPIO1. The light sensor uses GPIO3 and the NeoPixels and light sensor share an active-low enable on GPIO21.
Speaker, LED and motion
GPIO17 DAC1 drives the speaker amplifier with GPIO16 high to enable it. GPIO13 drives the red D13 LED. The LIS3DH shares the external I²C bus at 0x19 and sends its interrupt to GPIO9. The battery monitor is on GPIO4.
Grounded hardware
The Rev D CAD ties all four M3 mounting rings to board ground. Use a labeled connector ground for an external UART reference.