Serial to Ethernet
Below is the manufacturer with a link to their website, and the model with a link to that specific unit. The unit can be purchased directly on that website. However, it is also available via other resellers. Google the make and model, and purchase at a convenient place.
Wiring
The USR-DR302 features a screw terminal connector, enabling convenient and quick wiring. Terminal wiring definitions are shown below.
Setting | Description |
G | Serial ground. Essential for RS-232. Not used in RS-422 and RS-485 |
B/R | B for RS-485, and RX- for RS-422 |
A/T | A for RS-485, and RX+ for RS-422 |
LAN | Ethernet connection |
+ | Positive power supply (5-36V) |
- | Negative power supply (0V) |
Installation
The unit uses DIN rail mounting.
Web configuration
The computer and the converter must be on the same network, 192.168.0.0/24. That means setting your computer’s IP address in the 192.168.0.2 to 192.168.0.254 range. For example, 192.168.0.3
Go to a web browser and type in 192.168.0.7
The credentials are:
USERNAME: admin
PASSWORD: admin
Local IP Config
For commercial vessels, please get in touch with your ship’s IT department to obtain the IP address.
Setting | Description |
IP type | When the IP mode is set to “static IP,” you need to enter the unit's IP address manually. If the IP mode is “DHCP,” all addresses will be assigned automatically. |
DNS type | Keep an “auto” option, unless a “manual” DNS address is necessary. |
Static IP | Type in the device’s IP address. |
Subnet mask | Type in the device’s subnet mask. |
Gateway | Type in the device’s gateway address. |
DNS Server | Type in the device’s DNS address. |
Serial Port
Below are the necessary settings to send the AIS data to Marine Traffic.
Setting | Description |
Baud rate | The AIS baud rate is 38400 |
Data Size | Keep default - 8 |
Parity | Keep default - None |
Stop Bits Number | Keep default - 1 |
Local Port Number | 5383 - This is the port from which data will be sent. It can be changed if necessary. No need to notify Marine Traffic. |
Remote Port | 5383 |
Work mode | Preffered “TCP Client”, but “UDP Client” if necessary. |
Remote Server Addr: | listener.marinetraffic.com (when set, IP: 5.9.207.224 will appear) |
Expand Function
Below are the necessary settings to send the AIS data to Marine Traffic.
Setting | Description |
Heartbeat Packet Type | None |
Register Packet Type | USER Register |
Registered Direction | \s:USR+IMO\ - Example: \s:USR123456789\ |
Impersistent Connection | Unchecked |
TCP Server-kick off old connection | Checked |
Buffer Data Before Connected | Unchecked |
Modbus TCP | Unchecked |
Poll | Unchecked |
Reset to factory default
Press the Reload button for 5 to 15 seconds to restore the factory settings. If it is less than 5 seconds or exceeds 15 seconds, the factory reset will not be performed. When the module is configured with incorrect parameters or if you have forgotten the previously set password, you can restore the factory settings.