Skip to Content

ESP32 with WiFi and BLE

Connections

Board pin numbers are those printed on the board while code pin numbers need to be used in code (generally indicated in the pinout diagram as the GPIO pin number). They may be the same or different, depending on the board.

Board Pin
Code Pin
ModeComponentPin
D22SPI CSLora SX1278-RA02NSS
D44GPIO--
D1313Hardware UART1 TXNano 2A1 (RX)
D1414Hardware UART1 RXNano 2A2 (TX)
RX216Hardware UART2 RXPicoD4 (TX)
TX217Hardware UART2 TXPicoD7 (RX)
D1818SPI SCKLora SX1278-RA02SCK
D1919SPI CIPOLora SX1278-RA02CIPO
D2121I2C SDAOLEDSDA
D2222I2C SCLOLEDSCK
D2323SPI COPILora SX1278-RA02COPI
D2525GPIO Digital OutRGB LED ModuleGreen Cathode
D2626GPIOLora SX1278-RA02DIO0
D2727GPIOLora SX1278-RA02RST
D3232GPIO Digital OutRGB LED ModuleRed Cathode
D3333GPIO Digital OutRGB LED ModuleBlue Cathode