Waveshare RS485 TO ETH

Waveshare RS485 to Ethernet Converter User Manual

Model: RS485 TO ETH

1. Introduksjon

The Waveshare RS485 to Ethernet Converter (Model: RS485 TO ETH) is a device designed to facilitate communication between RS485 serial devices and an Ethernet network. It enables seamless data exchange, allowing RS485 devices to be integrated into modern IP-based systems. This manual provides essential information for the proper setup, operation, and maintenance of the converter.

Waveshare RS485 to Ethernet Converter with included power adapter.

Figure 1: Waveshare RS485 to Ethernet Converter with included power adapter. This image displays the Waveshare RS485 to Ethernet Converter unit alongside its power adapter. The converter features a black casing with green labels indicating DC 5V power input, Ethernet port, and RS485 screw terminals (A+, B-, GND). The power adapter is a standard wall plug type.

2. Produktet er overview og funksjoner

The Waveshare RS485 to Ethernet Converter is built with a focus on performance and reliability. Key features include:

  • M0 series 32-bit ARM processor for fast and efficient operation.
  • 10/100M Auto-MDI/MDIX Ethernet interface, compatible with both cross-over and straight-through cables.
  • Configurable RS485 baud rate from 600bps to 230.4Kbps, supporting None, Odd, Even, Mark, and Space parity options.
  • Multiple working modes: TCP Server, TCP Client, UDP Server, UDP Client, and HTTPD Client (supports GET and POST).
  • Flexible configuration options via webpage, AT commands, serial protocol, and network protocol.
  • Support for customized heartbeat and registration packets for connection verification and device identification.
  • Tilpassbar webpage for module configuration.
  • RFC2217-like protocol support for devices with changing serial settings.
  • KeepAlive mechanism for detecting broken connections and automatic re-connection.
  • Time-out reboot (no-data reboot) for long-term stable connections, with configurable reboot time.
  • DNS domain name resolution and configurable DNS server.
  • DHCP support for auto-obtained IP or static IP configuration.
  • Firmware upgradable via the network.
  • Hardware and software options for restoring to factory settings.
  • Customizable MAC address.

3. Oppsett

Follow these steps to set up your Waveshare RS485 to Ethernet Converter:

  1. Strømtilkobling: Connect a DC 5V power supply to the DC 5V input jack on the converter. The recommended input voltage er 5.0-7.0V.
  2. Ethernet-tilkobling: Connect an Ethernet cable from the converter's RJ45 port to your network switch or router. The converter supports 10/100M Auto-MDI/MDIX.
  3. RS485-tilkobling: Connect your RS485 device to the green screw terminal block. Ensure correct polarity for A+ (positive), B- (negative), and GND (ground).
  4. Innledende konfigurasjon: The device comes with default network settings. These are typically printed on a label on the bottom of the unit.
Bottom label of Waveshare RS485 to Ethernet Converter showing default network settings.

Figure 2: Bottom label of Waveshare RS485 to Ethernet Converter showing default network settings. The bottom of the converter unit displays a label with essential network configuration details: Model: RS485 TO ETH, Username: admin, Default IP: 192.168.0.7, Password: admin, MAC address, and Input power requirements (DC5-7V/500mA). The manufacturer's website, www.waveshare.net, is also listed.

For detailed setup instructions and advanced configurations, refer to the official Waveshare product wiki at www.waveshare.net.

4. Driftsmåter

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

  • TCP Server: The converter listens for incoming TCP connections from clients.
  • TCP Client: The converter initiates a TCP connection to a specified server.
  • UDP Server: The converter listens for incoming UDP packets.
  • UDP Client: The converter sends UDP packets to a specified destination.
  • HTTPD Client: The converter can act as an HTTP client, supporting GET and POST requests.

5. Konfigurasjon

The Waveshare RS485 to Ethernet Converter offers multiple methods for configuration:

  • Webpage Configuration: Access the converter's built-in web interface using its IP address (default: 192.168.0.7) in a web browser. Use the default username 'admin' and password 'admin' for login.
  • AT-kommandoer: Configure the device using AT commands sent via the serial port.
  • Seriell protokoll: Utilize a dedicated serial protocol for configuration.
  • Nettverksprotokoll: Configuration can also be performed over the network using specific protocols.

Fastvareoppgradering: The device's firmware can be updated over the network, ensuring access to the latest features and improvements.

Fabrikkinnstilling: The converter can be restored to its factory default settings via both software commands and a hardware reset button (Reload button).

6. Programvare

Waveshare provides supporting software to assist with the use and configuration of the converter:

  • Module Configuration Software: A dedicated application for configuring the converter's parameters.
  • TCP/UDP Testing Tool: Software for testing TCP and UDP communication.
  • VCOM Virtual Serial Port Software: Allows the Ethernet port to be mapped as a virtual serial port on a computer.

Example code for various platforms (e.g., host computer socket, VB, C++, Delphi, Android, iOS) is also available from the manufacturer.

7. Spesifikasjoner

Technical specifications and dimension diagram for Waveshare RS485 to Ethernet Converter.

Figure 3: Technical specifications and dimension diagram for Waveshare RS485 to Ethernet Converter. A detailed diagram presenting the technical specifications for Ethernet, RS485, Power, and Environment, along with precise dimensions of the converter unit in millimeters. Key measurements like length, width, and height are indicated.

Waveshare RS485 to Ethernet Converter Specifications
KategoriParameterVerdi
EthernetKoblingRJ45
Kommunikasjonshastighet10/100 Mbps
Grensesnittbeskyttelse1.5KV electromagnetic isolation
ProtokollerIP, TCP, UDP, ARP, ICMP, DHCP, DNS, HTTPD Client
TX/RX Cache6Kbyte / 4Kbyte
RS485KoblingScrew terminal (A+, B-, GND)
Databit5bit, 6bit, 7bit, 8bit
Stopp bit1, 2
ParitetssjekkIngen, Odd, Even, Mark, Space
baud rate600bps-230.4Kbps
Grensesnittbeskyttelse2KV ESD protection, RS485 pull up/down resistors: 2.2KΩ
MaktStrømforsyning5.0-7.0V (5V recommended)
Driftsstrøm150mA (@5V)
Strømforbruk<1W
GrensesnittbeskyttelseReverse-proof, ESD protection, anti-surge
MiljøDriftstemperatur-25~75°C
Lagringstemperatur-40~105°C
DimensjonerUnit (L x W x H)63.59mm x 41.13mm x 25.47mm (approximate, excluding mounting tabs)

8. Feilsøking

If you encounter issues with your Waveshare RS485 to Ethernet Converter, consider the following:

  • Ingen nettverkstilkobling: Verify that the Ethernet cable is securely connected and that your network infrastructure (router/switch) is functioning correctly. Check the converter's network indicator lights.
  • Kan ikke få tilgang Web Grensesnitt: Ensure your computer's IP address is in the same subnet as the converter's default IP (192.168.0.7). If the IP has been changed, try to recall the new IP or perform a factory reset.
  • RS485 Communication Failure: Double-check the RS485 wiring for correct A+ and B- polarity. Ensure the baud rate, data bits, stop bits, and parity settings on the converter match those of your RS485 device.
  • Strømproblemer: Confirm that the power adapter is correctly connected and providing the specified DC 5V (5.0-7.0V) power.
  • Modbus-protokoll: Please note that this converter does ikke natively support Modbus protocol. If your application requires Modbus, additional software or gateway solutions may be necessary.
  • Generell ustabilitet: If the device experiences intermittent issues, consider performing a factory reset and reconfiguring it. Ensure the operating environment is within specified temperature ranges.

For more in-depth troubleshooting guides and technical support, visit the official Waveshare webnettstedet.

9. Vedlikehold

To ensure the longevity and reliable operation of your converter:

  • Hold enheten ren og fri for støv. Bruk en myk, tørr klut til rengjøring.
  • Operate the device within the specified environmental conditions (temperature and humidity).
  • Unngå å utsette enheten for høy fuktighet eller ekstreme temperaturer.
  • Sørg for god ventilasjon rundt enheten for å unngå overoppheting.

10. Garanti og støtte

For information regarding product warranty, technical support, and additional resources, please refer to the official Waveshare webnettsted:

www.waveshare.net

De website provides comprehensive documentation, software downloads, and contact information for customer assistance.