2-Channel UART to Ethernet Converter (CH9121)
The 2-Channel UART to Ethernet converter provides an easy way to communicate between UART TTL and RJ45 Ethernet, allowing bi-directional transparent data transmission.
It is easy to use and offers a fast data rate, low power consumption and high stability. It’s ideal for applications such as safety & security, IoT and more.
Features
- Embedded Ethernet MAC and PHY layers
- Bi-direction transparent data transmission between UART and Ethernet
- 10/100M, full-duplex/half-duplex auto-negotiation Ethernet interface, 802.3-compliant
- Auto-MDI/MDIX, detect and switch cable type automatically
- Supports DHCP auto-obtained IP and DNS domain access
- Network parameter configuration: chip operating mode, port, IP, via host computer software or UART command
- Four operating modes: TCP CLIENT, TCP SERVER, UDP CLIENT, UDP SERVER
- 2-CH UART concurrent operation, standalone transparent transmission for each channel
- Full-duplex or half-duplex UART communication, supports RS485 RX/TX auto switch
- Supports virtual serial port software (provided)
- KEEPALIVE mechanism support
- Online development resources and manual
Application Examples
Bi-direction transparent transmission between UART TTL and wired Ethernet:
Extend communication distance for serial devices:
Manage multiple serial client devices remotely via one webserver:
Manage serial server remotely via multiple web clients:
Specifications
- Operating voltage:3.3V/5V
- Operating current: 140mA
- Operating mode: TCP/UDP
- UART baud rate: 300bps !921.6Kbps
- UART TTL level: 3.3V/5V compatible
- Storage temperature: -55°C ~ 125°C
- Operating temperature: -40°C ~ 85°C
- Dimensions: 53.00 x 22.00mm
What’s Onboard?
1) UART 1 connection status indicator
2) UART 2 connection status indicator
3) Power indicator
4) CH9121 control pins
5) CH9121 driver
6) AMS1117-3.3V power supply IC
7) RT9193-18GB power supply IC
8) Ethernet port
Package Contents
- 1x 2-Channel UART to Ethernet Converter
Resources
- Product Wiki (includes most of the below info and more)
Pinout
5V/3V3 | Power positive, use any pin of 5V/3.3V pins for power supply |
GND | Ground |
RST1 | External reset input, low active |
RESET | Restore to factory setting, detected when chip power on, low active |
TXD1 | Asynchronous UART 1 data output (enabled by default) |
TXD2 | Asynchronous UART 2 data output (disabled by default) |
RXD1 | Asynchronous UART 1 data input (enabled by default) |
RXD2 | Asynchronous UART 2 data input (disabled by default) |
CFG0 | UART config mode, low level to enter configuration, high level to exit configuration |
RUN | Operating status indicating pin |
DIR1 | UART 1 RS485 RX/TX switch (connects to external RS485 controller) |
DIR2 | UART 2 RS485 RX/TX switch (connects to external RS485 controller) |
Default Configuration
The UART2 is disabled, UART1 works in TCP CLIENT mode by default. The default setting of ETH is as below:
- Device IP:192.168.1.200
- Subnet Mask: 255.255.255.0
- Gateway: 192.168.1.1
- Device Port: 2000
- Target IP: 192.168.1.100
- Target port: 1000
The default setting of the UART1 is as below:
- Baud rate: 9600
- Timeout: 0
- data bit: 8
- Stop bit: 1
- Parity: None
- Clearing buffer: Never
About the CH9121
The CH9121 is a network serial port transparent transmission chip, which can realise two-way transparent transmission of serial data and network data.
It supports 4 working modes of TCP CLIENT/SERVER, UDP CLIENT/SERVER, and the serial port baud rate support range is 300bps~921600bps, which needs to be configured before use.
The host computer software NetModuleConfig.exe or serial command configures the network parameters and serial parameters of the chip. After the configuration is completed, CH9121 will save the configuration parameters to the internal storage space. After the chip is reset, CH9121 will work according to the saved configuration values.