APPLICATION NOTE NO. 56
Interfacing to RS-485 Sensors
Revised February 2009
A few Sea-Bird instruments use the RS-485 protocol for transmitting setup commands to the instrument and receiving data from the instrument. However, most personal computers (PCs) do not come with an RS-485 port. This Application Note covers interfacing our RS-485 instruments with a PC by the following methods:
Connecting the instrument to a USB RS-485 Adapter that plugs into an existing USB port on the PC.
OR
Connecting the instrument to an external RS-485 / RS-232 Interface Converter that plugs into an existing RS-232 port on the PC.
OR
Installing an RS-485 interface card (and associated software) in the PC, and then connecting the instrument directly to the new RS-485 port in the PC.
The use of these adapters/converters/cards is described below.
Note: Sea-Bird is providing information on adapters / converters / cards that we have tested with our instruments. Other devices from these manufacturers, and devices from other manufacturers, may also be compatible with Sea-Bird instruments. We recommend testing other devices with the instrument before deployment, to verify that there is no problem.
A USB RS-485 adapter plugs into a USB port on the PC, and allows an RS-485 device to be connected through the adapter. Sea-Bird tested an adapter from one manufacturer with our instruments, and verified compatibility:
National Instruments (www.ni.com) –
USB-485 with USB connector and RS-485 DB-9P connector
Follow this procedure to use the USB-485 Adapter:
- Right click on My Computer and select Properties.
- In the System Properties dialog box, click the Hardware tab. Click the Device Manager button.
- In the Device Manager window, double click on Ports. Double click on the desired USB port.
- In the Port Properties dialog box, click the Port Settings tab. Click the Advanced button.
- In the Advanced Settings dialog box, set Transceiver Mode to 2 wire Auto. Verify that Bias Resistors Enabled is not checked. Click OK. Then click OK in the Port Properties dialog box.
DB-9S (connect to USB-485 Adapter) |
DB-9P (connect to Sea-Bird I/O cable PN 801385) |
DB-25P (connect to Sea-Bird I/O cable PN 801046) |
pin 1 common | pin 5 common | pin 7 common |
pin 4 TX+ | pin 3 'A' | pin 2 'A' |
pin 8 RX+ | pin 3 'A' | pin 2 'A' |
pin 5 TX- | pin 2 'B' | pin 3 'B' |
pin 9 RX- | pin 2 'B' | pin 3 'B' |
- Seaterm: In Seaterm's Configure menu, select the desired instrument. In the Configuration Options dialog box, set Mode to RS-485 and set COMM Port to the appropriate RS-485 port.
- SeatermV2: In SeatermV2's Instruments menu, select the desired instrument; Seaterm485 opens. In Seaterm485's Communications menu, select Configure. Set the Port to the appropriate USB port.
An RS-485 / RS-232 Interface Converter plugs into an RS-232 port on the PC, and allows an RS-485 device to be connected through the Converter. Sea-Bird tested a converter from one manufacturer with our instruments, and verified compatibility:
Black Box (www.blackbox.com) --
IC520A-F with RS-232 DB-25 female connector and RS-485 terminal block connector
Follow this procedure to use the IC520A-F Converter:
- If the PC has a 25-pin male RS-232 connector, plug the Converter directly into the PC connector.
- If the PC has a 9-pin male RS-232 connector, plug the Converter into a 25-pin to 9-pin adapter (such as Black Box FA520A-R2 Adapter). Plug the 25-pin to 9-pin adapter into the PC.
An RS-485 Interface Card installs in the PC, and allows an RS-485 device to be connected to the RS-485 port. When using with a Sea-Bird instrument:
Sea-Bird tested two Interface Cards from one manufacturer with our instruments, and verified compatibility:
National
Instruments (www.ni.com) --
AT-485/2
PCI-485/2
Follow this procedure to use the AT-485/2 or PCI-485/2 Interface Card:
- Right click on My Computer and select Properties.
- In the System Properties dialog box, click the Hardware tab. Click the Device Manager button.
- In the Device Manager window, double click on Ports. Double click on the desired RS-485 port.
- In the Communications Port Properties dialog box, click the Port Settings tab. Click the Advanced button.
- In the Advanced Settings dialog box, set Transceiver Mode to 2 wire TxRdy Auto. Click OK. Then click OK in the Communications Port Properties dialog box.
Make a jumper cable (do not use a standard adapter cable) to connect the Interface Card to the instrument’s I/O cable. Pin outs are shown for a Sea-Bird 9-pin (current production) or 25-pin (older production) I/O cable.
DB-9S (connect to PC) |
DB-9P (connect to Sea-Bird I/O cable PN 801385) |
DB-25P (connect to Sea-Bird I/O cable PN 801046) |
pin 1 common | pin 5 common | pin 7 common |
pin 4 TX+ | pin 3 'A' | pin 2 'A' |
pin 8 RX+ | pin 3 'A' | pin 2 'A' |
pin 5 TX- | pin 2 'B' | pin 3 'B' |
pin 9 RX- | pin 2 'B' | pin 3 'B' |
- Seaterm: In Seaterm's Configure menu, select the desired instrument. In the Configuration Options dialog box, set Mode to RS-485 and set COMM Port to the appropriate RS-485 port.
- SeatermV2: In SeatermV2's Instruments menu, select the desired instrument; Seaterm485 opens. In Seaterm485's Communications menu, select Configure. Set the Port to the appropriate USB port.
Date | Description |
Initial release. | |
September 2003 | - Add information on external
RS-485/ RS-232 Interface Converter. - For RS-485 Interface Card in PC, add pinouts for 9-pin Sea-Bird data I/O cable connection to RS-485 port. |
February 2009 | - Add information on USB to RS-485
converters. - Add information on SeatermV2. - Remove information on DOS software. |
Sea-Bird Home Phone: (+1) 425-643-9866 E-mail: seabird@seabird.com