Wiren Board 5:Аппаратная часть/en: различия между версиями

Нет описания правки
 
(не показано 100 промежуточных версий 3 участников)
Строка 1: Строка 1:
<languages/>
<languages/>
[[File:WB4-2.png| thumb | 500px|Wiren Board 4]]


[[Файл:WB5 плата.png| thumb | 500px|Wiren Board 5]]


==Technical specifications==


==Specifications== 
[[Файл:WB5 подписи1.jpg| thumb | 500px|Wiren Board 5]]


[[File:WB4.png| thumb | 500px|Wiren Board 4]]
{|  border="1" width="700" class="wikitable" style="text-align:center"
 
!colspan="2" | '''General'''  
 
|-
 
| CPU ||  [http://www.freescale.com/products/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.mx28-processors/multimedia-applications-processors-dual-ethernet-dual-can-lcd-touch-screen-arm9-core:i.MX287 Freescale i.MX287] 454 MHz ARM9
{|  border="1" width="45%" class="wikitable" style="text-align:center"
|-
!colspan="2" | '''Software'''  
|| RAM || DDR2 SDRAM 128 MB
|-
|| ROM || 4 GByte eMMC
|-
|-
| Operating System || Debian Linux 7.0. Mainline kernel 3.19.
| Operating System || Debian Linux 7.0. Mainline kernel 3.19.
|-
|-
!colspan="2" | '''Controller'''
|| Dimensions || 6U DIN-rail mount, 106.25x90.2x57.5 mm.
PCB size: 103x87x20 mm.
|-
|-
| CPU || [[Special:MyLanguage/Freescale i.MX287|Freescale i.MX287]] 454 MHz
||Operating conditions || Operating temperature- -25...+85 С (-40..+85 С by request).
|-
|-
|| RAM || DDR2 SDRAM 128 MB
|}
|-
|| ROM || 4 GB eMMC
|-}


{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2" | '''Wireless Interfaces'''  
!colspan="2" | '''Wireless Interfaces'''  
|-
|-
| [[Special:MyLanguage/Wi-Fi|Wi-Fi]] || 802.11 b/g/n 2.4 GHz
| [[Special:MyLanguage/Wi-Fi|Wi-Fi]] || 802.11 b/g/n 2.4 GHz
|-
|-
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 900/1800 MHz. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). microSIM card, packaged
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 850/900/1800/1900 MHz. GPRS class 12. 85.6 kbps (downlink).  
microSIM card socket.
|-
|-
|| Bluetooth ||4.0, Bluetooth Low Energy
|| Bluetooth ||4.0, Bluetooth Low Energy
|-
|-
|| Radio module 433 MHz || RFM69H module. To communicate with [[Special:MyLanguage/Supported devices |Noolite]] devices, [[Special:MyLanguage/Supported devices |Oregon]] sensors
|| ISM Radio || RFM69H module.  
To communicate with [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] sensors
|-
|-
|| [[Z-Wave]] ||  ''(option)''
|| [[Special:MyLanguage/Z-Wave|Z-wave]] ||  ''(optional)''
|-
|-
|| [[IR-port]] || ''(external transceiver)''
|| [[Special:MyLanguage/Consumer IR|IR remote]] || ''socket for external IR transceiver''
|-
|-
|}




{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2"| '''Wired Interfaces'''  
!colspan="2"| '''Wired Interfaces'''  
|-
|-
| Ethernet || 10/100 Mbit/s, 8P8C connector, passive PoE
| Ethernet || 10/100 Mbit/s, 8P8C connector, passive PoE
|-
|-
|| USB 2.0 || 1 connecor. Mode operation USB Host or USB Device  
|| USB 2.0 || Single port. USB Host or USB Device mode of operation.
|-
|-
|| [[Special:MyLanguage/Аудиовыход|Audiooutput]] || Digital audio - S/PDIF, TOSLINK or RCA connector
|| [[Special:MyLanguage/Аудиовыход|Audio output]] || S/PDIF Digital audio.
TOSLINK or RCA connector
|-
|-
||2x[[Special:MyLanguage/RS-485|RS-485]] ||uninsulated.  
||2x[[Special:MyLanguage/RS-485|RS-485]] || Without galvanic isolation.
Software support of Modbus RTU, ADICON/A-BUS/Uniel, HDL, Mercury, Milur
Software support for Modbus RTU, Uniel, HDL, various EM-meters protocols included.
|-
|-
||[[Special:MyLanguage/CAN|CAN]] || are multiplexed with one RS-485.
||[[Special:MyLanguage/CAN|CAN]] || multiplexed with one of RS-485.
|-
|-
|| Debug console || [[Special:MyLanguage/Debug UART|Debug UART]] To be connected via USB-UART adapter.
|| Отладочная консоль || [[Special:MyLanguage/Debug UART|Debug UART]] USB-UART adapter is used to connect to PC.
|-
|-
|| [[Special:MyLanguage/1-Wire|1-Wire]] || Connection of temperature sensor
|| [[Special:MyLanguage/1-Wire|1-Wire]] || For digital temperature sensors
|-
|-
!colspan="2"| '''Connection of sensors'''  
|}
 
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2"| '''Sensor connection'''  
|-
|-
| 4x[[Special:MyLanguage/ADC | ADC]] ||  range 0-24V
| 4x[[Special:MyLanguage/ADC | ADC]] ||  0-28V range
|-
|-
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Inputs for resistive sensors]]  
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Resistive sensor inputs]]  
|| Connection of 10 kOhm thermistors, The controller can be used as ADC up to 3.3V.
|| 10kOhm thermistors are supported. Can also be used as ADC in 0-2.5V range.
|-
|-
|| 4x[[Special:MyLanguage/DI | DI (digital input)]]
|| 4x[[Special:MyLanguage/DI | DI (digital inputs)]]
 
|-
|-
!colspan="2"| '''Outputs'''
!colspan="2"| '''Outputs'''  
|-
|-
| 4x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]]  || 28V/2A, control of contactors, LED strip lights, etc.
| 4x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]]  || 28V/2A, for driving external contactors, relays, LED strip lights, etc.
|-
|-
!colspan="2"| '''Other'''  
|}
 
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2"| '''Other Interfaces'''  
|-
|-
| 2x[[Special:MyLanguage/GPIO|GPIO]] || are multiplexed with other inputs/outputs
| 2x[[Special:MyLanguage/GPIO|GPIO]] || are multiplexed with other inputs/outputs
|-
|-
||1x[[Special:MyLanguage/Buzzer|Speaker]]|| "buzzer".  
||1x[[Special:MyLanguage/Buzzer|Buzzer]]|| buzzer/beeper.  
|-
|-
|| Real-time clock || [[Special:MyLanguage/RTC|RTC]] clock battery
|| Real-time clock || [[Special:MyLanguage/RTC|RTC]] 1220 coin lithium cell
|-
|-
|| Watchdog timer || Separate hardware watchdog to perform full reset of the device
|| Watchdog timer || Separate hardware watchdog to perform full reset of the device
|-
|-
|| 2xConnector for extension modules ||  
|| 2x Extension module slots || internal
|-
|-
|| 1xConnector for input/output modules || series connection of modules, up to 8.
|| 1xI/O module connector || Up to 8 I/O modules are connected in series
|-
|-
|}


{
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2"| '''Power supply'''  
!colspan="2"| '''Power supply'''  
|-
|-
|Supply voltage
|Supply voltage
|8-26 V
|7-28В
|-| Operating voltage || 9-28 V
|-
|| Power consumption || <3 W (maximum 12 W)
|| Power consumption || < 3 W (peak consumption up to 12 W)
|-
|-
| Redundant battery || [[WBMZ-BATTERY - модуль резервного питания|backup power supply module]] (option)
| Backup battery || [[Special:MyLanguage/WBMZ-BATTERY - модуль резервного питания|backup power supply module]] (optional)
|-
|-
||Passive Power over Ethernet || [[Special:MyLanguage/Power over Ethernet | Passsive Power over Ethernet]]
||Passive Power over Ethernet || [[Special:MyLanguage/Power over Ethernet | Passsive Power over Ethernet]]
|-
|| Overall dimensions|| housing for DIN rail installation 6U, 106.25x90.2x57.5 mm.
size without housing: 103x87x20 mm.
|-
||Operation|| Operating temperature- -25...+85 С
(-40..+85 С by request).
Conformal coating of pcb for moister protection.
|-
|-
|}
|}


== Terminal blocks ==
== Terminal blocks ==  
[[Файл:WB5inputs.png|thumb|401px|Input and output protection schematic]]


[[Файл:WB5inputs.png|thumb|400px|Схема защиты входов и выходов]]


Some terminal blocks can be used to perform more than one function. See the detailed description of input/output and [[Special:MyLanguage/Мультиплексирование портов|the Port multiplexing]] article.
Some terminal blocks can be used to perform more than one function. See the detailed description of input/output and [[Special:MyLanguage/Мультиплексирование портов|the Port multiplexing]] article.


{|  border="1" width="45%" class="wikitable" style="text-align:center"
 
|  
{|  border="1" width="700" class="wikitable" style="text-align:center"
|
'''legend'''  
'''legend'''  
|| '''Max. V, I'''  
|| '''Max. V, I'''  
Строка 124: Строка 131:
| '''Vin'''  || 28V || ||Input voltage
| '''Vin'''  || 28V || ||Input voltage
|-
|-
| '''GND''' ||  || ||"ground", minus power supply
| '''GND''' ||  || ||power supply ground
|-
|-
! colspan="6"| Upper row, right block
! colspan="6"| Upper row, right block
Строка 140: Строка 147:
| '''O3'''  
| '''O3'''  
|-
|-
! colspan="8"| Lower row, right block}
! colspan="8"| Lower row, right block
 
|-
|-
| '''A1''' || rowspan="4"| 24V , 2A || rowspan="4"| High Z || rowspan="4" |[[Special:MyLanguage/Управление низковольтной нагрузкой|Outputs "open collector"]], [[Special:MyLanguage/ADC|ADC]]  
| '''A1''' || rowspan="4"| 24V , 2A || rowspan="4"| High Z || rowspan="4" |[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector" outputs]], [[Special:MyLanguage/ADC|ADC]]  
|-
|-
| '''A2'''     
| '''A2'''     
Строка 151: Строка 157:
| '''A4'''  
| '''A4'''  
|-
|-
| '''R1''' || rowspan="2"| 5V || rowspan="2"|High Z || rowspan="2" |Resistive sensors, [[Special:MyLanguage/ADC|ADC]], digital inputs (GPIO) without retightening
| '''R1''' || rowspan="2"| 5V || rowspan="2"|High Z || rowspan="2" |Resistive sensors, [[Special:MyLanguage/ADC|ADC]], digital inputs
|-
|-
| '''R2'''
| '''R2'''
Строка 159: Строка 165:
| '''W1''' || 30V || 3.3V || [[Special:MyLanguage/1-Wire|1-Wire]], GPIO  
| '''W1''' || 30V || 3.3V || [[Special:MyLanguage/1-Wire|1-Wire]], GPIO  
|-
|-
| '''5V out''' || 5V, 0.5A || 5V || Output 5V. Shutdown current is exceeded. Software control.
| '''5V out''' || 5V, 0.5A || 5V || 5V output with over-current protection and software on/off control
|-
|-
| '''A''' ||  30 V || 0V || rowspan="2"|connector [[Special:MyLanguage/RS-485|RS-485]] (/dev/ttyAPP1)
| '''A''' ||  30 V || 0V || rowspan="2"|connector [[Special:MyLanguage/RS-485|RS-485]] (/dev/ttyAPP1)
|-
|-
| '''B''' ||  30 V || +5V  
| '''B''' ||  30 V || +5V  
|-
|-
|-
|-
| '''L''' || 30 V || 0V ||  rowspan="2"|connector CAN or [[Special:MyLanguage/RS-485|RS-485]] (/dev/ttyAPP4).
| '''L''' || 30 V || 0V ||  rowspan="2"|connector CAN or [[Special:MyLanguage/RS-485|RS-485]] (/dev/ttyAPP4).
Строка 175: Строка 177:
| '''H''' ||  30 V || +5V
| '''H''' ||  30 V || +5V
|-
|-
|}
|}


== Input protection ==
== Input protection ==
#All inputs are protected from applying the power supply voltage (up to 24 V) and transient noise.
#All inputs are protected from applying the power supply voltage (up to 24 V) and transient noise.
#Wiren Board 5 is protected against reverse polarity
#Wiren Board 5 is protected against reverse polarity
Строка 185: Строка 185:


== Multifunctional inputs/outputs A1-A4==
== Multifunctional inputs/outputs A1-A4==
[[Файл:Ax2.png|thumb|400px|Equivalent circuit of A1-A4 channels]]
[[Файл:Ax2.png|thumb|400px|Equivalent circuit of A1-A4 channels]]


Строка 191: Строка 190:


Output stage consists of the Tx switch. The Tx switch can connect the corresponding output with ground.
Output stage consists of the Tx switch. The Tx switch can connect the corresponding output with ground.
The state of the switch is controlled by logic circuits inside the controller. The switch may be one of 2 states:
The state of the switch is controlled by logic circuits inside the controller. The switch may be one of 2 states:


*Active (closed); channel output is connected to ground (0V)
*Active (closed); channel output is connected to ground (0V).
 
*Inactive (open), high impedance.
*Inactive (open), high impedance.
Such outputs are called “open collectors”


Input stage of Ax channel consists of an analogue-to-digital converter ADCx and an input resistor Rx.
Such outputs are called “open collector” outputs.
The ADC has a high impedance, so it doesn't affect the channel operation even if the channel works as output.
In input mode the Tx switch is inactive (open) and, thus, does not affect voltage measuring at the channel terminals. Input resistance of the channel in input mode is determined by the Rx resistance.
If the channel terminal is left floating, the input voltage measured by ADCs is pulled down to zero by the Rx resistance.


Аx channels support binary input function DI: more than 3V at the terminal is considered as triggering of the input.
Open collector outputs on Ax channels are shown as Ax_OUT in software. Channel address is "wb-gpio/Ax_OUT".


== Resistive Inputs R1 and R2 ==
Input stage of Ax channel consists of an analogue-to-digital converter ADCx and an input resistor Rx (100kOhm).


In the default mode each terminal is connected to internal adjustable current source.
The ADC has a high input impedance, so it doesn't affect the channel operation even if the channel works as output.  
The controller provides a predetermined current through the sensor, thus measuring the voltage drop on it.
Of the known current and voltage values, software of the controller calculates the resistance of the sensor.


Each input also [[ADC#Измерение сопротивлений|can be switched]] to a conventional analog input settings.
In input mode the Tx switch is inactive (open) and, thus, does not affect voltage measuring at the channel terminals. Input impedance in input mode is determined by the Rx resistance.  
In this mode, the power supply is turned off and measure the input voltage in the range 0-3.0V.


The inputs R1-R2 also act as binary inputs.  
If the channel terminal is left floating, the input voltage measured by ADCs is pulled down to zero by the Rx resistance.


While the current source is activated (the default mode) the input is tucked up to the power supply.
Analog inputs on Ax channels are shown as "Ax" in software. Channel address is "wb-adc/Ax".
If no entry to connected, this state is perceived as a logical unit.
If you connect the terminals to the ground, this corresponds to a logical zero.
External buttons, sensors, etc. in this mode must be connected between the Rx and GND.


In an alternate mode while the current source is unactivated, the input is tucked up to ground.
Ax channels also work as discrete inputs. The logical high state is 3V or higher, the logical low is 1.5V or lower.
A logical zero corresponds to the input, to which nothing is connected; logical unit - the entrance to which a voltage is applied > 3B.
In this mode external buttons, sensors, etc. must be connected between the Rx and terminal board 5V out, or plus of supply.


== Extension modules ==


Look the relevant articles to describe the connection and operation of the software:
Binary inputs on Ax channels are shown as "Ax_IN" in software.  Channel address is "wb-gpio/Ax_IN".


* [[Wiren Board 5: Модуль расширения RS-232]]
== R1 and R2 Resistive Inputs==
* [[Wiren Board 5: Модуль расширения CAN-ISO | Модуль расширения CAN (Изолированный)]]
[[Файл:Rx.png|thumb|400px|Rx equivalent circuit]]
* [[Wiren Board 5: Модуль расширения RS485-ISO | Модуль расширения RS-485 (Изолированный)]]
* [[Wiren Board 5: Модуль расширения ADC | Модуль расширения АЦП]] - входы напряжения, входы 0-20мА, датчики PT100 и PT1000
* [[Wiren Board 5: Модуль расширения DAC | Модуль расширения ЦАП]] - выходы 0-10В
* [[Wiren Board 5: Модуль расширения DI | Модуль входов "сухой контакт"]]
* [[Wiren Board 5: Модуль расширения GPS/Glonass]]


== Power Supply ==
By default each Rx terminal is connected to internal adjustable current source. By measuring the voltage drop across terminals, the Wiren Board software calculates the resistance of the sensor connected to the corresponding terminal.


[[File:Питание версии4.png|thumb|300px|Блок-схема питания WB 4]]
Each input can also be [[ADC#Измерение сопротивлений|switched]] to a general-purpose analog input.


In this mode, the internal current source is turned off. Voltage measurements in the range of 0-2.5V can be performed.


=== External power source ===
R1 and R2 inputs also work as discrete inputs.


Allowed voltage range is 7-28 V.
While the internal current source is activated (as by default) the input is pulled high to the internal 3.3V power rail.
Average power consumption of the board is 1.5-2 W, but the GSM module may temporally consume up to 8 W. Therefore, it is recommended to use at least 10 W power sources.
If the input is left floating, the corresponding discrete input state is a logical high.


A standard connector jack 5.5x2.1 mm is provided for connection to the power source. Input power can also be connected to Vin and GND terminals.
If the input is connected to the signal ground the input state is a logical zero.


=== Power over Ethernet ===
Therefore, external buttons, sensors, etc. should be connected between the Rx and GND terminals.


It is possible to power the device via an Ethernet cable. Ref.[[Special:MyLanguage/Power over Ethernet|Power over Ethernet]].
In the alternate general-purpose ADC mode (with current source disabled), the input is pulled down to the ground.
In this case, a logical zero corresponds to the floating input, while logical high corresponds to the voltage across terminals higher than 2.5V.


In this mode one should connect external buttons, sensors, etc. between the Rx terminal and either "5V out" or positive power supply terminal.


=== Battery ===
== 1-Wire and +5V output ==
1-Wire bus is used for external sensors. The bus utilizes either two or three conductors.
The bus allows to connect multiple devices to a single 1-Wire port in parallel.


Wiren Board allows to connect interior [[WBMZ-BATTERY - модуль резервного питания | WBMZ-BATTERY backup power supply module ]] with Li-Ion (Li-Pol) battery .
You may find convenient to use +5V output to power external sensors or circuits.  


== Operation with screw terminals ==
The output is protected against short circuit and over-current condition. The output remain fully functional while working on backup battery.
It can also be switched off from the software.


[[File:Wago.jpeg|thumb|300px|Operation with self-locking terminals]]
== I/O Modules ==
I/O modules are connected to Wiren Board 5 side connector on the right.


В качестве интерфейсных клемм в контроллере
Up to 8 I/O modules can be connected in series: up to 4 input modules (type I) and up to 4 output modules (types O and IO). Attached I/O modules are automatically detected by the controller.
применены клеммы "тип 250".
Это самозажимные клипсы. При вставке очищенного
одножильного провода в гнездо, он автоматически
зажимается пружинной защѐлкой.
Для вставки многожильных проводов, необходимо отжать
пружину, нажав на кнопку клипсы. Кнопка имеет паз под
шлицевую отвертку.
Для извлечения провода, нужно отжать пружину, нажав на
кнопку клипсы, и вытащить провод.


== Антенны Wi-Fi, GSM, 433MHz ==
One can connect up to 4 modules in arbitrary order. Otherwise, one must connect "type I" modules first, then "type O" and "type IO" ones.


Антенны Wi-Fi, GSM и радио 315/433MHz подключаются к SMA разъемам.
The detailed description of the I/O modules can be found in the [[Special:MyLanguage/Модули ввода-вывода|corresponding article]].


При слабом сигнале GSM рекомендуется использовать выносную антенну и располагать ее вдали от контроллера.
== Extension modules ==


== Схемы подключения периферии ==
[[Файл:EXT1.jpeg|thumb|300px|Extension module]]


[[File:Relay.png|thumb|300px|Пример подключения реле]]
On the controller board has two slots for expansion modules.
Each module is assigned to 3 terminals.


=== Управление низковольтной нагрузкой ===
When inserted, the extension modules are fixed in place by plastic enclosure.


Реле на 12/24В, светодиоды, вентиляторы, сигнальные лампы и т. д.
Please see the following articles for the detailed description:


Подключите "+" нагрузки к "+" источника питания, а "-" к клеммам Ax.
[[Special:MyLanguage/Модули расширения|Extension modules]]
Если суммарный ток на каналах больше 2 А, дополнительно подключите клемму GND к "-" источника питания.


При управлении индуктивной нагрузкой (реле), возникают всплески напряжения.
== Power Supply ==
Для защиты от перенапряжения в контроллер встроены защитные диоды - внешних защитных элементов не требуется.
[[File:WB5 power distribution block diagram.png|thumb|400px|Wiren Board 5 power distribution diagram]]


=== Датчики с аналоговым выходом по напряжению ===
=== External power source ===  
Allowed supply voltage range is 7-28V.
The average power consumption of the Wiren Board 5 is less than 3W. However the GSM modem can temporally consume up to 8 W. Therefore, it is recommended to use at least 10W power source.


Подключите землю устройства к клемме GND, или соедините с общей земляной шиной.
Выход датчика подключается к одному из клемм Ах или Rx.
Каналы Ах/Rx имеют разные диапазоны измеряемых напряжений. Подберите оптимальный канал для вашего датчика.


A standard 5.5x2.1mm socket is provided for wall power supply.
Input power can also be supplied to Vin and GND terminals.


=== Датчики с аналоговым токовым выходом ===
=== Power over Ethernet ===
It is possible to power the device via an Ethernet cable. Ref.[[Special:MyLanguage/Power over Ethernet|Power over Ethernet]].


Специальных токовых входов в WB нет, но можно, используя резистор 100-300Ом, ток преобразовать в напряжение и подключить как в предыдущем пункте.
=== Battery ===
Wiren Board allows to connect internal [[WBMZ-BATTERY - модуль резервного питания | WBMZ-BATTERY backup power supply module ]] with Li-Ion (Li-Pol) battery.


Также для подключения токовых датчиков предназначен специальный [[Wiren Board 5: Модуль расширения ADC | модуль расширения]].
== Operation with screw terminals ==
 
[[File:Wago.jpeg|thumb|300px|Working with WAGO 250 terminals]]
 
=== Датчики с резистивным выходом ===
 
Входы R1 и R2 предназначены для измерения сопротивлений в диапазоне 1-100кОм.
Измеряемое сопротивление подключается между GND и Rx.
 
Для более точного изменения сопротивлений, а также для подключения датчиков Pt100 и Pt1000 по двух- и трёх- проводным схемам
предназначен специальный [[Wiren Board 5: Модуль расширения ADC | модуль расширения]].
 
=== Датчики/счетчики с импульсными выходами/кнопки ===
 
Такие устройства формируют сигнал, замыкая подходящие к ним два провода.
Подключите один провод к источнику питания 5-24В.
Второй провод подключите к клемме Аx.
Некоторые счетчики имеют импульсный выход на оптроне, тогда два провода имеют полярность - "плюс" и "минус".
В таком случае минус подключается к Аx, "плюс" к источнику питания.
 
Для подключения также можно использовать входы R1 и R2 контроллера, как описано выше.
 
Так же возможно подключение с использованием модуля расширения (см. следующий пункт).
 
=== Устройства с выходом открытый коллектор ===
 
Устройство и контроллер должны иметь общую землю.
Выход "открытый коллектор" подключите к клемме Dx модуля расширения.
 
Для подключения также можно использовать входы R1 и R2 контроллера, как описано выше.
 
=== Подключение к 1-Wire сети ===
 
Землю сети подключите к клемме GND или общей земляной шине.
Линию данных к клемме 1-Wire.
Линию питания к клемме 5Vout (внутренний источник питания).
Допускается использовать внешние источники питания шины 1-Wire.
 
При использовании пассивного питания, контакт питания каждого датчика соединяется с земляным проводом.
В этом случае, шина прокладывается двумя проводами, подключаемыми соответственно к "1-Wire" и "GND".
 
===  Подключение к сети RS-485 ===
 
Смотрите [[Special:MyLanguage/RS-485|RS-485]].
 
В Wiren Board 5 есть два порта RS-485. Второй порт мультиплексирован с портом CAN (L c A, H c B)
Линии А В подключаются к клеммам А и В соответственно. Сигнальную землю (если есть) подключить к земле контроллера.
 
Если сеть RS-485 достаточно протяженная, то для её подключения рекомендуется использовать [[Wiren Board 5: Модуль расширения RS485-ISO|модуль расширения с гальванически-изолированным RS-485]].
 
=== Пример подключения устройств ===
Схема испытательного стенда - [[Файл:Стенд-hi.jpg|thumb|500px|Схема стенда]]
 
== Подключение устройств с использованием модулей расширения ==
 
=== Контакторы с управляющим напряжением 220В ===
 
Используйте модуль расширения с релейными выходами, например [[Модули ввода-вывода#Модуль релейных выходов (WBIO-DO-R3A-8)|WBIO-DO-R3A-8]].
 
Подключите управляющую катушку контактора через реле модуля расширения (см. рисунок).
 
Модуль расширения содержит TVS, защищающий контакты реле от искрения. Внешние защитные компоненты не требуются.
 
=== Датчики/счетчики с импульсными выходами/кнопки ===
 
[[File:Button.png|thumb|400px|Пример подключения кнопки]]
 
Такие устройства формируют сигнал, замыкая подходящие к ним два провода.
 
Для подключения к контроллеру один провод подключите к питанию (или клемме 5Vout), второй провод к клемме Ax.
 
Так же можно использовать модуль расширения дискретных входов типа "сухой контакт" [[Модули ввода-вывода#Модуль дискретных входов типа "сухой контакт" (WBIO-DI-DR-8)|WBIO-DI-DR-8]].
 
Подключите один провод к клемме GND, или соедините с общей земляной шиной.
Второй провод подключите к клемме Dx.
 
Некоторые счетчики имеют импульсный выход на оптроне, тогда два провода имеют полярность - "плюс" и "минус".
В таком случае минус подключается к GND, "плюс" к Dx.
 
== Схема и чертеж ==


Принципиальная схема Wiren Board 4 - [[Файл:WB 4.3.pdf|Файл:WB 4.3.pdf]], чертёж - [[Файл:WB 4.2 чертеж.pdf|Файл:WB 4.2 чертеж.pdf]]
Self-tightened clips of "type 250" series are used as interface terminals of the controller. When a stripped single-core wire is inserted into a clip, it is automatically caught by a spring latch. In order to insert multi-core wires, it is necessary to press the clip button to compress the spring. The button is provided with a slot suitable for a flat screw-drive. In order to remove the wire, it is necessary to press the clip button to compress the spring, and then pull the wire out of the clip.


== Список GPIO ==
== Wi-Fi, GSM, 433MHz antennas ==
Wi-Fi, GSM and 433 MHz radio antennas are connected to SMA connectors.


Статья, описывающая подключение сигналов процессора к клеммникам, встроенной периферии и разъёмам расширения:
If GSM signal is weak, use of an external antenna is recommended. The external antenna must be located as far from the controller as possible.
[[Wiren Board 5:Список GPIO]]