Skip to content

Microcontroller

LIA is built around an ESP32-S3-MINI-1-N8 (U1), which runs the Meshtastic firmware and talks to every other peripheral on the board over SPI, I2C, and UART. This page documents how its pins are wired, straight from the uController schematic sheet.

Module pinGPIOSignalFunction
33V33.3 V supply
45ENEnable/reset — 10 kΩ pull-up, 1 µF decouple, reset button
4GPIO0IO0Boot mode strap + BOOT button
8GPIO4SDAI2C data — shared bus (IMU and fuel gauge, both boards — see Battery)
9GPIO5SCLI2C clock — shared bus
10GPIO6IMU_INTAccelerometer interrupt (see Accelerometer)
12GPIO8RESETLoRa radio reset (SX1262)
13GPIO9BUSYLoRa radio busy (SX1262)
14GPIO10NSSLoRa radio SPI chip select (SX1262)
15GPIO11MOSILoRa radio SPI MOSI (SX1262)
16GPIO12SCKLoRa radio SPI clock (SX1262)
17GPIO13MISOLoRa radio SPI MISO (SX1262)
18GPIO14DIOLoRa radio DIO interrupt (SX1262)
21GPIO17TxUART to GNSS module (SAM-M10Q)
22GPIO18RxUART from GNSS module (SAM-M10Q)
23GPIO19IO19USB D−
24GPIO20IO20USB D+
5GPIO1CHGBattery charger status
6GPIO2STBYBattery charger standby status
19GPIO15BMSBeacon Mode Selector — physically 3-position; see Power Management for the OFF position
25GPIO21PPCPeripheral power control
36GPIO40LredStatus LED, red channel — see RGB LED
37GPIO41LgreenStatus LED, green channel — see RGB LED
38GPIO42LblueStatus LED, blue channel — see RGB LED
39TXD0UART0 (reserved, not connected in this design)
40RXD0UART0 (reserved, not connected in this design)
GNDGround (multiple pins)

See also: BOM, Schematics, LoRa, GPS, and Building the Firmware (this pinout is what the lia_v1 board variant is built from).