RS-485
Версия от 19:10, 23 апреля 2019; RomanKulibaba (обсуждение | вклад)
RS-485 is two-wire bus communication standard.
Up to 256 devices can be connected to the bus. Transmission speed is up to 115200 bit/s.Line length is up to 1200 meters.
Via the RS-485 bus you can connect to the Wiren Board controller:
- devices of our production with the RS-485 interface,,
- Mercuriy and Milur counters,
- some other devices.
Basics of the RS-485 interface
See article Basics of RS-485 interface operation.
The Wiren Board devices use the Modbus Protocol on top of the RS-485. Протокол Modbus.
How to lay the bus correctly
See article RS-485:Physical connection..
Adding a device to the web interface
After connecting the RS-485 device to the controller, you need to configure it to appear in the web interface. See the instructions in article RS-485:Настройка через веб-интерфейс.
Working with RS-485 port of the controller using its own software
- Стандартно в Wiren Board с подключёнными по RS-485 устройствами работает Драйвер wb-mqtt-serial (ранее wb-homa-modbus). Он позволяет работать с подключёнными устройствами RS-485 через систему MQTT-сообщений.
- Если вы хотите работать с портом RS-485 напрямую, не используя этот драйвер - отключите его, иначе он будет писать в порт RS-485.
- Работа с последовательным портом из Linux
- Доступ к порту RS-485 контроллера Wiren Board с компьютера
- Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board