Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use ESP32-S3-ETH: Examples, Pinouts, and Specs

Image of ESP32-S3-ETHDesign with ESP32-S3-ETH in Cirkit Designer

Introduction

The ESP32-S3-ETH is a powerful microcontroller module manufactured by WAVESHARE (Part ID: ESP32-S3-POE-ETH). It features integrated Wi-Fi and Bluetooth capabilities, along with Ethernet support for reliable wired connectivity. This module is designed for high-performance IoT applications, offering robust communication options and advanced processing power.

Explore Projects Built with ESP32-S3-ETH

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32-S3 Based Smart IoT Distance Sensor with Ethernet Connectivity: A project utilizing ESP32-S3-ETH in a practical application
ESP32-S3 Based Smart IoT Distance Sensor with Ethernet Connectivity

This circuit features an ESP32-S3 microcontroller interfaced with a KY-019 Relay module, a VL53L1X time-of-flight sensor, and a W5500 Ethernet module. The ESP32-S3 controls the relay and communicates with the VL53L1X sensor via I2C, as well as with the network through the Ethernet module. An AC source is converted to DC for powering the components, and a micro USB connection is used to trigger the relay.

Open Project in Cirkit Designer
Image of ESP32-S3 Based Automated Watering System with Ultrasonic Sensing and Data Logging: A project utilizing ESP32-S3-ETH in a practical application
ESP32-S3 Based Automated Watering System with Ultrasonic Sensing and Data Logging

This circuit features an ESP32-S3 microcontroller connected to various peripherals including an HC-SR04 ultrasonic sensor, a water flow sensor, an OLED display, a DS3231 real-time clock (RTC), an SD card module, a water pump, a two-channel relay, and a valve solenoid. The ESP32-S3 manages sensor readings, data logging, and controls the water pump and valve via the relay based on sensor inputs. The circuit is designed for monitoring and controlling water flow, likely in an automated irrigation or fluid management system.

Open Project in Cirkit Designer
Image of ESP32-Based Environmental Monitoring and Home Automation System with Ethernet Connectivity: A project utilizing ESP32-S3-ETH in a practical application
ESP32-Based Environmental Monitoring and Home Automation System with Ethernet Connectivity

This circuit features an ESP32 microcontroller interfaced with a W5500 Ethernet module for network connectivity, a DHT22 sensor for measuring temperature and humidity, a ZMPT101B module for AC voltage sensing, and an Adafruit SHTC3 sensor for additional temperature and humidity readings. The ESP32 also controls a 4-channel relay module for switching external devices. The sensors and Ethernet module communicate with the ESP32 via GPIO pins, with the W5500 using SPI and the SHTC3 using I2C. Common ground and power lines are shared among the components.

Open Project in Cirkit Designer

Common Applications and Use Cases


Technical Specifications

Key Technical Details

Parameter Value
Microcontroller ESP32-S3 (Xtensa® 32-bit LX7 dual-core processor)
Clock Speed Up to 240 MHz
Flash Memory 16 MB
SRAM 512 KB
Wireless Connectivity Wi-Fi 802.11 b/g/n, Bluetooth 5.0 (LE)
Ethernet Support 10/100 Mbps Ethernet with PoE (Power over Ethernet)
Operating Voltage 3.3V
GPIO Pins 45 (including ADC, DAC, I2C, SPI, UART, PWM, and more)
Power Supply PoE or external 5V via USB-C
Operating Temperature -40°C to +85°C
Dimensions 60 mm x 30 mm

Pin Configuration and Descriptions

Pin Name Type Description
VIN Power Input External 5V power input (used when not powered via PoE).
GND Ground Ground connection.
GPIO0 Digital I/O General-purpose I/O pin, often used for boot mode selection.
GPIO1-45 Digital I/O General-purpose I/O pins with multiple functions (PWM, ADC, etc.).
TXD0/RXD0 UART UART0 TX and RX pins for serial communication.
SCL/SDA I2C I2C clock and data lines for communication with peripherals.
MISO/MOSI SPI SPI data lines for high-speed communication.
ETH_TX+/ETH_TX- Ethernet Differential pair for Ethernet transmission.
ETH_RX+/ETH_RX- Ethernet Differential pair for Ethernet reception.
RESET Input Resets the microcontroller.

Usage Instructions

How to Use the ESP32-S3-ETH in a Circuit

  1. Powering the Module:

    • Use PoE (Power over Ethernet) for a single-cable solution.
    • Alternatively, supply 5V via the VIN pin or USB-C connector.
  2. Connecting to Ethernet:

    • Connect the Ethernet cable to the RJ45 port for wired communication.
    • Ensure the Ethernet network supports 10/100 Mbps speeds.
  3. Programming the Module:

    • Use the USB-C port to connect the module to a computer.
    • Install the ESP32-S3 board package in the Arduino IDE or ESP-IDF.
    • Select the correct COM port and board type before uploading code.
  4. Using GPIO Pins:

    • Configure GPIO pins as input or output in your code.
    • Use appropriate pull-up or pull-down resistors if required.
  5. Wireless Communication:

    • Configure Wi-Fi or Bluetooth settings in your code for wireless connectivity.
    • Ensure proper security protocols (e.g., WPA2) are implemented for Wi-Fi.

Important Considerations and Best Practices

Example Code for Arduino UNO Integration

Below is an example of how to use the ESP32-S3-ETH with the Arduino IDE to connect to an Ethernet network and send data to a server:

#include <ETH.h> // Include the Ethernet library for ESP32-S3

// Ethernet configuration
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT // Set clock mode
#define ETH_PHY_POWER 12                  // GPIO pin for PHY power

// Network credentials
const char* server = "example.com";       // Server address
const int port = 80;                      // Server port

void setup() {
  Serial.begin(115200);                   // Initialize serial communication
  ETH.begin(ETH_PHY_POWER, ETH_CLK_MODE); // Initialize Ethernet

  // Wait for Ethernet connection
  while (!ETH.linkUp()) {
    Serial.println("Connecting to Ethernet...");
    delay(1000);
  }
  Serial.println("Ethernet connected!");
}

void loop() {
  // Example: Send a GET request to the server
  WiFiClient client;
  if (client.connect(server, port)) {
    client.println("GET / HTTP/1.1");
    client.println("Host: example.com");
    client.println("Connection: close");
    client.println();
    Serial.println("Request sent!");
  } else {
    Serial.println("Connection failed!");
  }
  delay(10000); // Wait 10 seconds before sending the next request
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Ethernet Not Connecting:

    • Ensure the Ethernet cable is securely connected to the RJ45 port.
    • Verify that the network supports 10/100 Mbps speeds.
    • Check if the PoE switch or injector is functioning correctly.
  2. Wi-Fi Not Connecting:

    • Double-check the SSID and password in your code.
    • Ensure the Wi-Fi network is within range and not overloaded.
  3. Module Not Detected by Computer:

    • Verify the USB-C cable is functional and supports data transfer.
    • Install the correct USB drivers for the ESP32-S3.
  4. GPIO Pins Not Working:

    • Confirm the pin mode (input/output) is correctly set in the code.
    • Check for short circuits or incorrect wiring.

FAQs


This concludes the documentation for the ESP32-S3-ETH. For further assistance, refer to the official WAVESHARE datasheet or contact technical support.