Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Waveshare TTL-ETH: Examples, Pinouts, and Specs

Image of Waveshare TTL-ETH
Cirkit Designer LogoDesign with Waveshare TTL-ETH in Cirkit Designer

Introduction

The Waveshare TTL-ETH (Part ID: 24276) is a TTL to Ethernet module designed to facilitate serial communication over an Ethernet network. This module enables microcontrollers and other devices to connect to the internet or a local network with ease. It is compact, reliable, and ideal for applications requiring Ethernet connectivity without the complexity of implementing a full Ethernet stack.

Explore Projects Built with Waveshare TTL-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!
ESP32-Based Environmental Monitoring and Home Automation System with Ethernet Connectivity
Image of ESP32 30Pin 3Phase AC Box W5500 Ethernet Standard: A project utilizing Waveshare TTL-ETH in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266 NodeMCU with LoRa and RS-485 Communication and Ethernet Connectivity
Image of Wiring Diagram LoRa: A project utilizing Waveshare TTL-ETH in a practical application
This circuit serves as a multi-protocol communication hub featuring two ESP8266 NodeMCUs for processing, each connected to a LoRa Ra-02 SX1278 for long-range wireless communication. One NodeMCU is also connected to an RS-485 module for serial communication and a W5500 Ethernet module for network connectivity, with MB102 modules supplying power.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and W5500 Ethernet Module Controlled 8-Channel Relay
Image of ESP32 38Pin 8 Channel Relay USB-C: A project utilizing Waveshare TTL-ETH in a practical application
This circuit enables Ethernet connectivity and device control through an ESP32 microcontroller. It uses the W5500 Ethernet module for network communication and controls an 8-channel relay module for switching external devices or loads.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Environmental Monitoring and Home Automation System with Ethernet Connectivity
Image of ESP32 38Pin 3Phase Air Conditioner USB-C: A project utilizing Waveshare TTL-ETH in a practical application
This circuit is designed for environmental monitoring and home automation, featuring an ESP32 microcontroller connected to a W5500 Ethernet module, DHT22 and Adafruit SHTC3 sensors for temperature and humidity readings, a ZMPT101B module for voltage sensing, and a 4-channel relay for controlling external devices. Network connectivity enables remote data access and control functions.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Waveshare TTL-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 30Pin 3Phase AC Box W5500 Ethernet Standard: A project utilizing Waveshare TTL-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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Wiring Diagram LoRa: A project utilizing Waveshare TTL-ETH in a practical application
ESP8266 NodeMCU with LoRa and RS-485 Communication and Ethernet Connectivity
This circuit serves as a multi-protocol communication hub featuring two ESP8266 NodeMCUs for processing, each connected to a LoRa Ra-02 SX1278 for long-range wireless communication. One NodeMCU is also connected to an RS-485 module for serial communication and a W5500 Ethernet module for network connectivity, with MB102 modules supplying power.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32 38Pin 8 Channel Relay USB-C: A project utilizing Waveshare TTL-ETH in a practical application
ESP32 and W5500 Ethernet Module Controlled 8-Channel Relay
This circuit enables Ethernet connectivity and device control through an ESP32 microcontroller. It uses the W5500 Ethernet module for network communication and controls an 8-channel relay module for switching external devices or loads.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32 38Pin 3Phase Air Conditioner USB-C: A project utilizing Waveshare TTL-ETH in a practical application
ESP32-Based Environmental Monitoring and Home Automation System with Ethernet Connectivity
This circuit is designed for environmental monitoring and home automation, featuring an ESP32 microcontroller connected to a W5500 Ethernet module, DHT22 and Adafruit SHTC3 sensors for temperature and humidity readings, a ZMPT101B module for voltage sensing, and a 4-channel relay for controlling external devices. Network connectivity enables remote data access and control functions.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • IoT (Internet of Things) devices requiring Ethernet connectivity
  • Remote monitoring and control systems
  • Industrial automation and data acquisition
  • Serial-to-Ethernet communication for legacy devices
  • Home automation systems

Technical Specifications

The following table outlines the key technical details of the Waveshare TTL-ETH module:

Parameter Value
Supply Voltage 3.3V or 5V
Operating Current ~120mA
Communication Interface UART (TTL level)
Baud Rate Range 1200 bps to 115200 bps
Ethernet Standard 10/100 Mbps
Dimensions 48mm × 28mm
Operating Temperature -40°C to 85°C

Pin Configuration and Descriptions

The Waveshare TTL-ETH module has a 2x5 pin header for interfacing. The pin configuration is as follows:

Pin Name Description
1 VCC Power input (3.3V or 5V)
2 GND Ground
3 TXD UART Transmit (TTL level)
4 RXD UART Receive (TTL level)
5 RESET Reset pin (active low)
6 CFG Configuration mode selection (low for config mode)
7 NC Not connected
8 NC Not connected
9 LINK Ethernet link status indicator (active high)
10 ACT Ethernet activity indicator (active high)

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to ground.
  2. UART Communication: Connect the TXD and RXD pins to the UART pins of your microcontroller (e.g., Arduino, Raspberry Pi).
  3. Ethernet Connection: Plug an Ethernet cable into the RJ45 port of the module.
  4. Configuration Mode: To enter configuration mode, pull the CFG pin low during power-up. This allows you to set parameters such as IP address, baud rate, and communication mode.
  5. Normal Operation: For normal operation, leave the CFG pin unconnected or pull it high.

Important Considerations and Best Practices

  • Ensure the module is powered with the correct voltage (3.3V or 5V) to avoid damage.
  • Use a level shifter if your microcontroller operates at 1.8V or 2.5V logic levels.
  • Configure the module's network settings (e.g., static IP or DHCP) using the provided configuration software or AT commands.
  • Use shielded Ethernet cables in environments with high electromagnetic interference (EMI).
  • Avoid long UART cables to minimize signal degradation.

Example: Connecting to an Arduino UNO

Below is an example of how to use the Waveshare TTL-ETH module with an Arduino UNO to send data over Ethernet.

Circuit Connections

  • VCC → 5V on Arduino
  • GND → GND on Arduino
  • TXD → Pin 10 on Arduino (RX)
  • RXD → Pin 11 on Arduino (TX)
  • CFG → Leave unconnected for normal operation

Arduino Code

#include <SoftwareSerial.h>

// Define RX and TX pins for software serial communication
SoftwareSerial ethSerial(10, 11); // RX, TX

void setup() {
  // Start serial communication with the module
  ethSerial.begin(9600); // Default baud rate for TTL-ETH module
  Serial.begin(9600);    // For debugging via Serial Monitor

  Serial.println("Initializing Waveshare TTL-ETH module...");
  delay(1000);

  // Example: Send a test message to the Ethernet module
  ethSerial.println("Hello, Ethernet!");
  Serial.println("Message sent to TTL-ETH module.");
}

void loop() {
  // Check if data is received from the Ethernet module
  if (ethSerial.available()) {
    String receivedData = ethSerial.readString();
    Serial.print("Received from TTL-ETH: ");
    Serial.println(receivedData);
  }

  // Check if data is sent from the Serial Monitor
  if (Serial.available()) {
    String userInput = Serial.readString();
    ethSerial.println(userInput); // Send user input to the Ethernet module
    Serial.println("Message sent to TTL-ETH module.");
  }
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Ethernet Connectivity

    • Ensure the Ethernet cable is securely connected to the module and the router/switch.
    • Verify the module's IP address and network settings using the configuration software.
  2. UART Communication Fails

    • Check the baud rate settings on both the module and the microcontroller.
    • Ensure the TXD and RXD pins are correctly connected (crossed: TXD to RX, RXD to TX).
  3. Module Not Responding

    • Verify the power supply voltage and current are within the specified range.
    • Reset the module by pulling the RESET pin low momentarily.
  4. Configuration Mode Not Working

    • Ensure the CFG pin is pulled low during power-up to enter configuration mode.
    • Use the manufacturer's configuration software to verify and update settings.

FAQs

Q1: Can the TTL-ETH module work with 1.8V logic microcontrollers?
A1: No, the module operates at 3.3V or 5V logic levels. Use a level shifter for compatibility.

Q2: How do I update the firmware of the TTL-ETH module?
A2: Firmware updates can be performed using the manufacturer's software and a UART-to-USB adapter.

Q3: Can I use the module with DHCP?
A3: Yes, the module supports both static IP and DHCP. Configure this setting in the configuration mode.

Q4: What is the maximum cable length for Ethernet?
A4: The maximum recommended length for Ethernet cables is 100 meters (328 feet).