RS-485:Physical connection

Материал из Wiren Board
Это утверждённая версия страницы. Она же — наиболее свежая версия.
Другие языки:

Buy cable in the online store


For General information on connecting RS-485 devices to the controller, see page RS-485.

Busbar laying

All RS-485 devices are installed on the same bus. The bus uses two data lines (A and B), and it is also often convenient to lay two power lines - GND and +12V (or other supply voltage).

Wire A is connected to terminal a on all devices, wire B is always connected to B.

It is necessary to use a pair twist cable: the RS-485 data (lines A and B) must form a twisted pair. If the same cable is used to power the devices, it is necessary to pay attention to the cross section of the conductors: a voltage drop on a long line can lead to the fact that the devices will not work. Finally, you should choose a shielded cable.

When installing, it is convenient to use a cable with flexible conductors. Examples are given below:

Name Flexible Section of the conductor Twisted pair Screen Approximate price, $/m
XPMG 2x2x0.35 yes 0.35 yes aluminium polyethylene tape 0.4
LiYCY TP 2х2х0,50 yes 0.5 yes braid 1
LiYCY TP 2х2х0,35 yes 0.35 yes braid 0.8
KIS-V 2х2х0,60 yes 0.6 yes braid 1.1

Also, for bus laying, you can use a conventional twisted pair CAT5 for Ethernet - for it below is a standard wiring diagram (the usual wave resistance of such cable is 100 Ohms).

Use of category 5 network cable for RS-485 bus laying
Bus signal RS-485 Wire
Data A Pair 3 Wire 1 white-green
Data B Pair 3 Wire 2 green
power supply (12V or other) Pair 2 Wire 2 orange
power supply (12V or other) Pair 2 Wire 1 white-orange
not used Pair 1 Wire 2 blue
not used Pair 1 Wire 1 white-blue
ground power supply(GND) Pair 4 Wire 1 white-brown
ground power supply (GND) Pair 4 Wire 2 brown

{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Warning|noshift=1}}

{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Warning|noshift=1}} The common wire terminal is designated, according to the equipment, as SC, SG, G, GND, ground or reference. On the Wiren Board controllers, this terminal is designated as GND. When connecting to an isolated port, you need to connect to the isolated ground of the port ("GND iso"terminals).

If your bus is longer than 100 meters, it is desirable to install a terminal resistor at its end (about 150 Ohms, see more in Wikipedia). For long lines, there are also recommendations to terminate unused cable conductors at both ends.


Connecting devices

Tips for RS-485 bus
Connecting the RS-485 bus to the WB-M1W2 bus coupler
Connecting the RS-485 to Wiren Board 5

Since all devices are connected by a common bus, make sure the quality of the connection of all nodes of the line:

  • when the line is broken, the devices behind the break will not operate
  • when the line is broken, the devices behind the break will not operate

We recommend the use of whip tips for a swage pin tips for crimping. This makes it easy to connect and disconnect devices without losing the operation of other devices on the bus. When used with the mounting lugs of the NSVI it is necessary that the diameter of the insulated cuff does not exceed the dimensions of the terminals of the devices.

Wire A on all devices is connected to the terminal strip marked A, wire B - always to B. On the wire Board next to the terminals A and B are GND and Vout terminals - you can immediately connect the power lines (first check the power requirements of your devices!).

Life hack: since there are stretching lines inside the Wiren Board controller, after connecting it to the bus line A voltage will be greater than b by about 0.5 V. Therefore, connecting peripherals you can easily determine the bus line by the voltmeter. But, of course, color coding of conductors is more preferable.


Additional information

  1. The differential line gives good noise immunity. The length of the line is up to 1200 meters.
  2. When laying the bus, you need to follow certain rules, but for transmission in one apartment, any cable will fit and even branches are possible.