TW101DB is a single-channel Serial-to-Ethernet converter module. In this post, we will explain the basic connection and setup methods for those who are using the TW101DB for the first time.
What You’ll Need
- TW101DB module

- Serial device (e.g., PC, MCU)
- Ethernet cable
- Power Adapter(DC 5V)
- Terminal program (e.g., Hercules, TeraTerm)
- TCP/IP program (e.g., Hercules)
Hardware Connection
- Connect to serial device
- Connect Ethernet Cable
- Power up the device (check LED status)

Basic Setup Steps
Using the twareLAB Config Tool, check the basic configuration values as shown below.

- Serial port setting (Baudrate: 115200)
- Check IP address (Default Local IP: 192.168.0.100)
- Check whether Operation Mode is Server Mode
Run the Hercules program for communication test. (Download)
- One for Serial communication, the other for TCP/IP communication


Function Check
- TCP Connection
- Attempt to connect using the module’s Local IP and Local Port Number confirmed in the Config Tool.
- Since the module is configured in Server mode, Attempt to connect as a TCP Client in Hercules

- Open serial port
- The serial cable connected to the module’s DB9 port has been recognized as COM16(depens on your system) on the computer.
- Since the module’s default baud rate is 115200 bps, configure it as shown below and click “Open.”

- You can verify that when data is transmitted from the TCP program, the same data is received in the serial program.
- You can verify that when data is transmitted from the serial program, the same data is received in the TCP program.


0 Comments