waveshare UART-WIFI232-B2

User Manual: waveshare RS232/485 to WiFi and Ethernet Converter

Model: UART-WIFI232-B2

Brand: waveshare

1. Introduction

This manual provides comprehensive instructions for the waveshare RS232/485 to WiFi and Ethernet Converter, Model UART-WIFI232-B2. This device is an industrial-grade data acquisition and IoT gateway, integrating multiple functionalities such as serial server, Modbus gateway, MQTT gateway, and serial port to HTTPD Client. It facilitates seamless communication between serial devices and network environments (WiFi and Ethernet).

The converter supports various communication methods, including serial port to WiFi, serial port to Ethernet, and Ethernet to WiFi, making it a versatile solution for industrial automation and IoT applications.

Waveshare RS232/485 to WiFi and Ethernet Converter with feature icons

Figure 1.1: Overview of the waveshare RS232/485 to WiFi and Ethernet Converter highlighting its industrial grade, RS232/485 to network, multi-transparent transmission modes, HTTPD/MQTT, Modbus Gateway, WiFi, RJ45 Ethernet Port, multi-features, and wall/rail-mount support.

2. Safety Information

3. Package Contents

Verify that all items are present in the package:

Waveshare RS232/485 to WiFi and Ethernet Converter with included accessories

Figure 3.1: The RS232/485 to WiFi and Ethernet Converter along with its accessories: screwdriver, screws, rail-mount buckle, and 2.4G WiFi antenna.

4. Product Overview and Interface Introduction

The device features multiple interfaces for power, serial communication, and network connectivity. Understanding these interfaces is crucial for proper setup and operation.

Diagram showing interfaces of the Waveshare RS232/485 to WiFi and Ethernet Converter

Figure 4.1: Detailed view of the converter's interfaces, including the RS232 DB9 port, RJ45 Ethernet port (PoE optional on other models), DC Power Port, 6-36V Power Input screw terminal (A, B, Signal Ground), and WiFi Antenna Connector.

4.1. Interfaces

4.2. RS232 Pinout Definition

DB9 Male (PIN)RS232 PIN
2RXD
3TXD
5GND
1, 4, 6, 7, 8, 9N/C

5. Setup

5.1. Hardware Connection

  1. Attach WiFi Antenna: Screw the provided 2.4G WiFi antenna onto the SMA connector on the device.
  2. Power Supply: Connect a DC 6~36V power supply to either the DC 5.5 power port or the screw terminal (PE, B, A, 6-36V, GND). Ensure correct polarity for the screw terminal.
  3. Ethernet Connection (Optional): Connect an Ethernet cable from your network router or switch to the RJ45 Ethernet port on the device.
  4. Serial Device Connection:
    • For RS232: Connect your RS232 serial device to the DB9 port.
    • For RS485: Connect your RS485 serial device to the A, B, and GND terminals.
  5. Mounting (Optional): Use the rail-mount buckle and screws to mount the device on a DIN rail or wall as needed.
Diagram showing multi power supply methods for the converter

Figure 5.1: The converter supports multiple power supply methods, including a DC 5.5 power port and a screw terminal for 6-36V DC input.

5.2. Initial Network Configuration

Upon first power-up, the device typically boots in Access Point (AP) mode, allowing direct connection for initial configuration.

  1. Connect to AP: On your computer or mobile device, search for available WiFi networks. The device will broadcast an SSID (e.g., "waveshare_XXXX"). Connect to this network.
  2. Access Web Interface: Open a web browser and navigate to the default IP address (refer to the product documentation or quick start guide for the specific IP, commonly 192.168.1.1).
  3. Login: Enter the default username and password (usually "admin" for both, or as specified in documentation).
  4. Configure Network Settings: Within the web interface, configure the desired operating mode (STA, AP+STA, etc.), WiFi credentials (SSID, password for STA mode), and Ethernet settings if applicable.
  5. Save and Reboot: Save your settings and reboot the device for changes to take effect.

6. Operating Modes

The converter supports various operating modes to suit different application requirements:

6.1. Wireless Networking Modes

Diagram illustrating AP, STA, and AP+STA WiFi modes

Figure 6.1: Visual representation of the three primary wireless networking modes: AP mode (device as hotspot), STA mode (device as client to existing network), and AP+STA mode (device as both hotspot and client).

6.2. Communication Methods

7. Configuration

The device can be configured using multiple methods:

7.1. Web Browser Configuration

This is the recommended method for comprehensive configuration.

  1. Ensure the device is powered on and connected to your network (either via AP mode or STA mode).
  2. Open a web browser and enter the device's IP address (default or assigned by DHCP).
  3. Log in with the correct credentials.
  4. Navigate through the web interface to configure network settings (WiFi, Ethernet), serial port parameters (baud rate, parity, data bits), operating modes, and advanced features like Modbus or MQTT.
  5. Always save changes and reboot the device when prompted.

7.2. Serial AT Command Configuration

For advanced users or automated setup, the device supports configuration via AT commands sent through the serial port.

  1. Connect a computer to the device's RS232 or RS485 port using a serial cable.
  2. Use a serial terminal program (e.g., PuTTY, Tera Term) with the correct serial port settings (baud rate, data bits, parity, stop bits).
  3. Send AT commands to query status or set parameters. Refer to the detailed AT command set documentation available from waveshare for specific commands and syntax.

7.3. Host Configuration Tool

Waveshare may provide a dedicated host configuration tool (software) for Windows or other operating systems. This tool simplifies the configuration process with a graphical user interface.

  1. Download and install the latest version of the configuration tool from the official waveshare website.
  2. Connect the device to your computer's network.
  3. Launch the tool and follow the on-screen instructions to discover and configure the device.

8. Specifications

Detailed technical specifications for the waveshare RS232/485 to WiFi and Ethernet Converter:

8.1. General

Outline dimensions of the Waveshare RS232/485 to WiFi and Ethernet Converter

Figure 8.1: Outline dimensions of the converter, showing measurements of 84.00mm length, 64.00mm width, and 24.00mm height. Note: Dimensions are approximate and may have slight variations.

8.2. Communication

8.3. Wireless Specification

8.4. Serial Specification

8.5. Software

8.6. Environment Requirement

9. Maintenance

10. Troubleshooting

ProblemPossible Cause & Solution
Device not powering on
  • Cause: No power supply or incorrect voltage.
  • Solution: Verify power connection and ensure the power supply is within DC 6~36V. Check power adapter functionality.
Cannot connect to WiFi AP (Access Point)
  • Cause: Device not in AP mode, or incorrect SSID/password.
  • Solution: Ensure the device is in AP mode (often default on first boot). Check the default SSID and password. Try resetting the device to factory defaults if necessary (refer to documentation for reset procedure).
Cannot access web interface
  • Cause: Incorrect IP address, network configuration issue, or firewall.
  • Solution: Verify the device's IP address. Ensure your computer is on the same subnet. Temporarily disable firewalls. Try connecting directly via Ethernet if possible.
Serial communication issues
  • Cause: Incorrect serial port settings (baud rate, parity, data bits), wiring errors, or device not configured for transparent transmission.
  • Solution: Double-check serial port settings on both the converter and the connected serial device. Verify RS232/RS485 wiring. Ensure the converter's operating mode is set correctly for serial data transfer.
Network connection unstable
  • Cause: Weak WiFi signal, interference, or faulty Ethernet cable.
  • Solution: Relocate the device closer to the WiFi router or reduce interference sources. Replace Ethernet cable if suspected faulty. Check network load.

11. Warranty and Support

For warranty information, please refer to the warranty policy provided with your purchase or visit the official waveshare website. Waveshare products typically come with a standard manufacturer's warranty covering defects in materials and workmanship.

For technical support, troubleshooting assistance, or to access the latest documentation and software, please visit the waveshare official website or contact their customer support team. Online development resources are available at bit.ly/3L6Bk6m.

When contacting support, please have your product model number (UART-WIFI232-B2) and a detailed description of the issue ready.

Related Documents - UART-WIFI232-B2

Preview Waveshare UART-WIFI232-B2 User Manual: Serial to WiFi IoT Module Guide
Explore the Waveshare UART-WIFI232-B2 User Manual, a comprehensive guide for the UART to WiFi converter module. Learn about its features, hardware connections, network configurations, and transparent data transmission capabilities for IoT applications.
Preview Waveshare UART TO ETH (B) User Manual: Serial to Ethernet Converter Guide
Comprehensive user manual for the Waveshare UART TO ETH (B) module, detailing its features as a UART to Ethernet converter, IoT gateway, Modbus gateway, and serial server for industrial applications.
Preview Waveshare RS232/485 TO WIFI ETH (B) User Manual: Setup, Features, and Applications
Comprehensive user manual for the Waveshare RS232/485 TO WIFI ETH (B) serial server. Learn about its features, hardware and network setup, data transmission, various working modes, and application scenarios for industrial and IoT communication.
Preview RS232/RS485 to Ethernet & PoE Ethernet Gateway Technical Specification
This document provides detailed specifications, hardware and software features, and testing procedures for the Waveshare RS232/RS485 to Ethernet and PoE Ethernet gateways. These devices function as serial servers, Modbus gateways, and MQTT gateways for industrial data acquisition and IoT connectivity.
Preview Waveshare RS232/485 to WiFi PoE Ethernet (B) Serial Server User Manual
Explore the Waveshare RS232/485 to WiFi PoE Ethernet (B) User Manual, a comprehensive guide for the serial server that converts RS232/485 to TCP/IP network interfaces, enabling bidirectional data transmission via WiFi and Ethernet.
Preview Waveshare RS232/485 to Ethernet Converter User Manual
This is an industrial-grade RS232/485 to Ethernet module from Waveshare, enabling bidirectional transparent data transmission between RS232, RS485, and RJ45 Ethernet ports. It features a 32-bit ARM M4 processor, 10/100M Ethernet, multiple operating modes (TCP Server/Client, UDP, HTTPD), Modbus gateway, and Websocket support, offering high speed, low power consumption, and stability for industrial IoT applications.