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 | Mode | Component | Pin |
|---|---|---|---|---|
| D2 | 2 | SPI CS | Lora SX1278-RA02 | NSS |
| D4 | 4 | GPIO | - | - |
| D13 | 13 | Hardware UART1 TX | Nano 2 | A1 (RX) |
| D14 | 14 | Hardware UART1 RX | Nano 2 | A2 (TX) |
| RX2 | 16 | Hardware UART2 RX | Pico | D4 (TX) |
| TX2 | 17 | Hardware UART2 TX | Pico | D7 (RX) |
| D18 | 18 | SPI SCK | Lora SX1278-RA02 | SCK |
| D19 | 19 | SPI CIPO | Lora SX1278-RA02 | CIPO |
| D21 | 21 | I2C SDA | OLED | SDA |
| D22 | 22 | I2C SCL | OLED | SCK |
| D23 | 23 | SPI COPI | Lora SX1278-RA02 | COPI |
| D25 | 25 | GPIO Digital Out | RGB LED Module | Green Cathode |
| D26 | 26 | GPIO | Lora SX1278-RA02 | DIO0 |
| D27 | 27 | GPIO | Lora SX1278-RA02 | RST |
| D32 | 32 | GPIO Digital Out | RGB LED Module | Red Cathode |
| D33 | 33 | GPIO Digital Out | RGB LED Module | Blue Cathode |