W5500 Ethernet module with ESP32
Supply 3.3 V
Bus SPI
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| 3V3 | Power | 3V3 | |
| 5V | Not wired to the ESP32 | — | Alternative 5 V input. Use either 3V3 or 5V, not both |
| GND | Ground | GND | |
| RST | Input (the ESP32 drives it) | D25 | Reset, active LOW |
| INT | Interrupt | D35 | |
| MOSI | SPI MOSI | D23 | |
| MISO | SPI MISO | D19 | |
| SCLK | SPI clock | D18 | |
| SCS | SPI chip select | D5 | SPI chip select |
| NC | Not wired to the ESP32 | — | Not connected |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Starter code (Arduino)
void setup() { pinMode(25, OUTPUT); } // RST
void loop() {
digitalWrite(25, HIGH);
delay(500);
digitalWrite(25, LOW);
delay(500);
}
Sources
- WIZnet W5500 datasheet, SPI interface (SCSn, SCLK, MOSI, MISO); supply 3.3 V
Try it in 3D in BoardPilot
Related parts
CC1101 sub-GHz radio moduleENC28J60 Ethernet moduleLoRa SX1278 (Ai-Thinker Ra-02)Micro SD card module (SPI)nRF24L01 socket adapter (5 V to 3.3 V)nRF24L01+ 2.4 GHz radio
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.