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 (Manufacturer Part ID: 24276) is a TTL to Ethernet module designed to enable serial communication over an Ethernet network. This module is ideal for applications requiring reliable and fast data transmission between microcontrollers and Ethernet-based systems. It simplifies the process of connecting embedded devices to the internet, making it a versatile choice for IoT projects, industrial automation, and remote monitoring systems.

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

  • Internet of Things (IoT) devices
  • Remote data logging and monitoring
  • Industrial automation and control systems
  • Home automation projects
  • Serial-to-Ethernet communication for microcontrollers

Technical Specifications

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

Parameter Value
Supply Voltage 3.3V to 5V
Communication Protocol UART (TTL level)
Baud Rate 1200 bps to 115200 bps
Ethernet Standard 10/100 Mbps Ethernet
Operating Temperature -40°C to 85°C
Dimensions 48mm × 28mm
Weight 10g

Pin Configuration and Descriptions

The Waveshare TTL-ETH module has a 7-pin interface. The pin configuration is as follows:

Pin Name Description
1 VCC Power input (3.3V to 5V)
2 GND Ground
3 TXD Transmit data (UART output, TTL level)
4 RXD Receive data (UART input, TTL level)
5 CFG Configuration pin (used to enter configuration mode when pulled low)
6 RST Reset pin (active low, used to reset the module)
7 LINK Ethernet link status indicator (active high when Ethernet connection is active)

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 pin of the module to the RX pin of your microcontroller and the RXD pin to the TX pin of your microcontroller.
  3. Ethernet Connection: Plug an Ethernet cable into the RJ45 port of the module to establish a network connection.
  4. Configuration Mode: To configure the module, pull the CFG pin low during power-up. Use the provided configuration software or send AT commands via UART to set parameters such as IP address, baud rate, and communication mode.
  5. Reset: Use the RST pin to reset the module if needed.

Important Considerations and Best Practices

  • Ensure the power supply voltage is within the specified range (3.3V to 5V) to avoid damaging the module.
  • Use a level shifter if your microcontroller operates at 1.8V or 2.5V logic levels, as the module operates at TTL levels (3.3V or 5V).
  • Keep the Ethernet cable length within the recommended range for reliable communication (typically less than 100 meters for CAT5e or CAT6 cables).
  • Avoid placing the module near high-frequency noise sources to maintain signal integrity.

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

  • Connect VCC to the 5V pin of the Arduino.
  • Connect GND to the GND pin of the Arduino.
  • Connect TXD to the Arduino's RX (pin 0).
  • Connect RXD to the Arduino's TX (pin 1).
  • Connect an Ethernet cable to the module's RJ45 port.

Arduino Code

#include <SoftwareSerial.h>

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

void setup() {
  // Initialize serial communication with the module
  Serial.begin(9600); // For debugging via Serial Monitor
  ethSerial.begin(9600); // Communication with TTL-ETH module

  Serial.println("Waveshare TTL-ETH Module Test");
  ethSerial.println("Hello, Ethernet!"); // Send data to the module
}

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

  // Check if data is available from Serial Monitor
  if (Serial.available()) {
    String data = Serial.readString();
    ethSerial.print(data); // Send data to the Ethernet module
  }
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Ethernet Connection Detected:

    • Ensure the Ethernet cable is securely connected to the module and the network.
    • Verify that the LINK pin is high, indicating an active Ethernet connection.
    • Check the network configuration (IP address, subnet mask, etc.) using the configuration software.
  2. No Data Transmission:

    • Verify the UART connections (TXD and RXD) between the module and the microcontroller.
    • Ensure the baud rate of the module matches the baud rate set in your microcontroller code.
    • Check for any loose or incorrect wiring.
  3. Module Not Entering Configuration Mode:

    • Ensure the CFG pin is pulled low during power-up.
    • Verify the power supply voltage is stable and within the specified range.
  4. Module Not Responding to Commands:

    • Reset the module using the RST pin and try again.
    • Confirm that the module is powered on and the UART connections are correct.

FAQs

Q: Can the module operate at 1.8V logic levels?
A: No, the module operates at TTL levels (3.3V or 5V). Use a level shifter for compatibility with 1.8V systems.

Q: What is the maximum baud rate supported by the module?
A: The module supports baud rates up to 115200 bps.

Q: Can I use the module with a Raspberry Pi?
A: Yes, the module can be used with a Raspberry Pi. Connect the UART pins to the Raspberry Pi's GPIO pins and configure the serial port accordingly.

Q: How do I update the firmware of the module?
A: Refer to the manufacturer's documentation for firmware update instructions, as this process may require specific tools or software.

Q: Is the module compatible with DHCP?
A: Yes, the module supports both static IP and DHCP configurations. Use the configuration software or AT commands to enable DHCP.