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

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




Строка 10: Строка 11:


{|  border="1" width="45%" class="wikitable" style="text-align:center"
{|  border="1" width="45%" class="wikitable" style="text-align:center"
!colspan="2" | '''ПО'''  
!colspan="2" | '''Software'''  
|-
| Операционная система || Debian Linux 7.0. Mainline kernel 3.19.
|-
|-
!colspan="2" | '''Контроллер'''
| Operating System || Debian Linux 7.0. Mainline kernel 3.19.
|-
|-
| Процессор || [[Special:MyLanguage/Freescale i.MX233|Freescale i.MX233]] 454 МГц
!colspan="2" | '''Controller'''
|-
|-
|| Память оперативная || DDR SDRAM 64 МБ
| CPU || [[Special:MyLanguage/Freescale i.MX233|Freescale i.MX233]] 454 MHz
|-
|-
|| Память энергонезависимая || Карта microSD до 32 ГБ
|| RAM || DDR SDRAM 64 MB
|-
|-
|| ROM || MicroSD card 32 GB max
|-}


!colspan="2" | '''Wireless Interfaces'''  
!colspan="2" | '''Wireless Interfaces'''  
Строка 29: Строка 30:
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 900/1800 МГц. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). microSIM card, packaged
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 900/1800 МГц. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). microSIM card, packaged
|-
|-
|| Radio module 433 MHz || RFM69H module. To communicate with [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] NRF24L01 sensors
|| Radio module 433 MHz || RFM69H module. To communicate with [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] sensors
|-
|-
|| Radio module 2.4 GHz || [[Special:MyLanguage/NRF24L01|NRF24L01]]To communicate with similar NRF24 modules ''(optional)''
|| Radio module 2.4 GHz || [[Special:MyLanguage/NRF24L01|NRF24L01]]To communicate with similar NRF24 modules ''(optional)''
Строка 35: Строка 36:




!colspan="2"| '''Wire Interfaces'''  
!colspan="2"| '''Wired interfaces'''  
|-
|-
| Ethernet || 10/100 Mbit/s, RJ-45 connector
| Ethernet || 10/100 Mbit/s, RJ-45 connector
|-
|-
|| USB 2.0 Host ||  2 connectors (one connector is located inside the housing)
|| USB 2.0 Host ||  2 connectors (one connector is located inside the case)  
|-
|-
|| [[Special:MyLanguage/Аудиовыход|Audiooutput]] || 3.5 mm connector, stereo
|| [[Special:MyLanguage/Аудиовыход|Audiooutput]] || 3.5 mm connector, stereo
|-
|-
||2x[[Special:MyLanguage/RS-485|RS-485]] (one of the ports is insulated)||software support of Modbus RTU, ADICON/A-BUS/Uniel, and Smartbus G4 protocols
||2x[[Special:MyLanguage/RS-485|RS-485]] (one of the ports is insulated)||Software support of Modbus RTU, ADICON/A-BUS/Uniel, and Smartbus G4 protocols
|-
|-
|| Debug UART || [[Special:MyLanguage/Debug UART|Debug UART]] connected via USB-UART adapter
|| Debug console || [[Special:MyLanguage/Debug UART|Debug UART]] To be connected via USB-UART adapter
|-
|-
|| 2x [[Special:MyLanguage/1-Wire|1-Wire]] || Connection of temperature and moister sensors
|| 2x [[Special:MyLanguage/1-Wire|1-Wire]] || Connection of temperature and moister sensors
|-
|-
!colspan="2"| '''. Connection of sensors'''  
!colspan="2"| '''Connection of sensors'''  
|-
|-
| 5x[[Special:MyLanguage/ADC | ADC]] ||  2x up to 24V , 3x - up to 5V
| 5x[[Special:MyLanguage/ADC|ADC]] ||  2x up to 24V , 3x - up to 5V
|-
|-
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Inputs for resistive sensors]]  
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Inputs for resistive sensors]]  
Строка 62: Строка 63:
|-
|-


!colspan="2"| '''Выходы'''  
!colspan="2"| '''Outputs'''  
|-
|-
| 9x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Открытый коллектор"]]  || 24V/2A, управление контакторами, светодиодными лентами, и т. п.
| 9x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]]  || 24V/2A, control of contactors, LED strip lights, etc.
|-
|-
|| 2xРеле || До 250В/3A, нормально разомкнутые контакты
|| 2xРеле || Up to 250V/3A, normally open contacts
|-
|-
!colspan="2"| '''Прочее'''  
 
!colspan="2"| '''Other'''  
|-
|-
| 8x[[Special:MyLanguage/GPIO|GPIO]] || мультиплексированы с другими входами/выходами
| 8x[[Special:MyLanguage/GPIO|GPIO]] || are multiplexed with other inputs/outputs
|-
|-
||1x[[Special:MyLanguage/Buzzer|Излучатель звука]]|| "пищалка".
||1x[[Special:MyLanguage/Buzzer|Speaker]]|| "buzzer"  
|-
|-
|| Часы реального времени || [[Special:MyLanguage/RTC|RTC]] Резервная батарейка
|| Real-time clock RTC || [[Special:MyLanguage/RTC|RTC]] Clock battery
|-
|-
|| Сторожевой таймер (watchdog) || Отдельный аппаратный watchdog, перезагружающий устройство целиком по питанию
|| Watchdog timer || Separate hardware watchdog to perform full reset of the device
|-
|-
|| 1xРазъём для модуля расширения || Поддерживаемые модули расширения:<br>* Модуль расширения RS-232
|| 1x Connector for extension module || Supported extension modules:<br /> * RS-232 extension module
|-
|-
!colspan="2"| '''Питание'''  
!colspan="2"| '''Power supply'''  
|-
|-
|| Рабочее напряжение || 9-24 В
|| Operating voltage  || 9-24 V
|-
|-
|| Потребляемая мощность || <3 Вт (пиковая - до 12 Вт)
|| Power consumption || <3 W (maximum 12 W)
|-
|-
| Работа от резервного аккумулятора || Поддерживаются Li-ion
| Redundant battery || Operation Li-ion batteries are supported
|-
|-
||питание по витой паре || [[Special:MyLanguage/Power over Ethernet | Passsive Power over Ethernet]]
||Passive Power over Ethernet|| [[Special:MyLanguage/Power over Ethernet | Passsive Power over Ethernet]]
|-
|-
|| Габаритные размеры || плата - 103x87x20 мм, в корпусе на DIN рейку 6U
|| Overall dimensions || board - 103x87x20 mm, housing for DIN rail installation 6U
|-
|-
||Эксплуатация || Рабочая температура - 0..70C (-40..85C по запросу) Покрытие лаком для влагозащиты.
||Operation || Operating temperature - 0..70C (-40..85C by request) Conformal coating of pcb for moister protection
|-
|-
|}
{|}
 




== Terminal blocks ==
== Terminal blocks ==


[[File:Схемки защиты WB4-2.png|thumb|400px|Схема защиты входов и выходов]]
[[File:Схемки защиты WB4-2.png|thumb|400px|Input and output protection scheme]]


Часть клеммников может выполнять более одной функции - смотрите описание входов/выходов и статью [[Special:MyLanguage/Мультиплексирование портов|Мультиплексирование портов]].
Some terminal blocks can be used to perform more than one function. See the detailed description in the [[Special:MyLanguage/Мультиплексирование портов| Port multiplexing]] article.


{|  border="1" width="45%" class="wikitable" style="text-align:center"
{|  border="1" width="45%" class="wikitable" style="text-align:center"
|  
|  
'''подпись'''  
'''legend'''  
|| '''Max. V, I'''  
|| '''Max. V, I'''  
| width="10%" | '''cостояние''' '''по умолчанию'''
| width="10%" | '''state''' '''default'''
| width="60%"|'''Функуции'''
| width="60%"|'''Functions'''
|-
|-
! colspan="8"| Верхний ряд, правый блок
! colspan="8"| Upper row, right block
|-
|-
| '''Vin'''  || 24V || ||Входное напряжение
| '''Vin'''  || 24V || ||Input voltage
|-
|-
| '''GND''' ||  || ||
| '''GND''' ||  || ||
|-
|-
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Входы/выходы модуля расширения
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Inputs/outputs of extension module
|-
|-
| '''O2'''  
| '''O2'''  
Строка 122: Строка 125:
| '''O3'''  
| '''O3'''  
|-
|-
| '''A''' ||  30 V || 0V ||rowspan="2" |Неизолированный порт [[Special:MyLanguage/RS-485|RS-485]]
| '''A''' ||  30 V || 0V ||rowspan="2" |Non-isolated port [[Special:MyLanguage/RS-485|RS-485]]
|-
|-
| '''B''' ||  30 V || +5V  
| '''B''' ||  30 V || +5V  
|-
|-
| '''(9-24)V_OUT''' ||  24V || ||Входное напряжение, выход, для питания устройств по шине RS-485
| '''(9-24)V_OUT''' ||  24V || ||Input voltage (output) to power devices on RS-485 bus
|-
|-
| '''GND''' ||| || ||
| '''GND''' ||| || ||
|-
|-
| '''A-iso''' || 30 V || 0V || rowspan="2" |Оптоизолированный порт [[Special:MyLanguage/RS-485|RS-485]]
| '''A-iso''' || 30 V || 0V || rowspan="2" |Optically isolated RS-485 [[Special:MyLanguage/RS-485|RS-485]]
|-
|-
| '''B-iso''' ||  30 V || +5V
| '''B-iso''' ||  30 V || +5V
|-
|-
| '''GND-iso''' || || || Земля оптоизолированного RS-485
| '''GND-iso''' || || || Ground of optically isolated RS-485
|-
|-}


! colspan="8"| Нижний ряд, левый блок
! colspan="8"| Lower row, left block
|-
|-
| '''5V out''' || 5V, 0.5A || 5V || выход 5V (для датчиков 1-Wire)
| '''5V out''' || 5V, 0.5A || 5V || output 5V (for 1-Wire sensors)
|-
|-
| '''W1''' || rowspan="2"| 30V || rowspan="2"| 3.3V || rowspan="2" |[[Special:MyLanguage/1-Wire|1-Wire]], GPIO  
| '''W1''' || rowspan="2"| 30V || rowspan="2"| 3.3V || rowspan="2" |[[Special:MyLanguage/1-Wire|1-Wire]], GPIO  
Строка 145: Строка 148:
| '''W2'''  
| '''W2'''  
|-
|-
| '''R1''' || rowspan="2"| 5V || rowspan="2"|High Z || rowspan="2" |Резистивные датчики, [[Special:MyLanguage/ADC|ADC]], цифровые входы (GPIO) без подтяжки
| '''R1''' || rowspan="2"| 5V || rowspan="2"|High Z || rowspan="2" |Resistive sensors,[[Special:MyLanguage/ADC|ADC]], digital inputs (GPIO) without retightening
|-
|-
| '''R2'''
| '''R2'''
|-
|-
| '''A1''' || rowspan="3"| Vin , 2A || rowspan="3"| High Z || rowspan="3" |[[Special:MyLanguage/Управление низковольтной нагрузкой|Выходы "открытый коллектор"]], [[Special:MyLanguage/ADC|ADC]]  
| '''A1''' || rowspan="3"| Vin , 2A || rowspan="3"| High Z || rowspan="3" |[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector" outputs]], [[Special:MyLanguage/ADC|ADC]]  
|-
|-
| '''A2'''     
| '''A2'''     
Строка 155: Строка 158:
| '''A3'''  
| '''A3'''  
|-
|-
| '''A4''' || rowspan="2"| Vin , 2A || rowspan="2"| High Z || rowspan="2" | [[Special:MyLanguage/Управление низковольтной нагрузкой|Выходы "открытый коллектор"]],  [[Special:MyLanguage/ADC|ADC]] , цифровые входы DI
| '''A4''' || rowspan="2"| Vin , 2A || rowspan="2"| High Z || rowspan="2" | [[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector" outputs]],  [[Special:MyLanguage/ADC|ADC]] , digital inputs DI
|-
|-
| '''A5'''  
| '''A5'''  
Строка 162: Строка 165:
|-
|-


! colspan="8"| Нижний ряд, правый блок
! colspan="8"| Lower row, right block
|-
|-
| '''GND''' || rowspan="2"| || rowspan="2"|  ||rowspan="2"|
| '''GND''' || rowspan="2"| || rowspan="2"|  ||rowspan="2"|
Строка 168: Строка 171:
| '''GND'''
| '''GND'''
|-
|-
| '''D1''' || rowspan="4"| Vin , 2A || rowspan="4"| +5V || rowspan="4" | [[Special:MyLanguage/Управление низковольтной нагрузкой|Выходы "открытый коллектор"]], входы для [[Special:MyLanguage/"Сухой контакт" | "сухого контакта"]]
| '''D1''' || rowspan="4"| Vin , 2A || rowspan="4"| +5V || rowspan="4" | [[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]] outputs, [[Special:MyLanguage/"Сухой контакт" | "dry contact"]] inputs
|-
|-
| '''D2'''  
| '''D2'''  
Строка 177: Строка 180:
|-
|-


| '''Relay1''' || rowspan="2"| 250, 2A || rowspan="2"| разомкнуто ||первое реле
| '''Relay1''' || rowspan="2"| 250, 2A || rowspan="2"| is open ||first relay
|-
|-
| '''Relay2''' || второе реле
| '''Relay2''' || second relay
|-
|-
|}
{|}
 
== Input protection ==
 
As compared to previous versions, input protection and general noise immunity are significantly improved.
#All inputs are protected from applying the power supply voltage (up to 24 V) and transient noise.
#Wiren Board 4 is protected against reverse polarity.
#Wiren Board 4 features one optically isolated RS-485 interfaces.
#Low-side FET switches on Ax and Dx inputs are protected from negative voltage spikes from inductive loads.
# Relays have sparking suppression circuits
 
 
 


== Multifunctional inputs/outputs Ax and Dx ==


[[File:Ax.png|thumb|400px| Equivalent circuit of A1-A3 channels]]
[[File:А5.png|thumb|400px|Equivalent circuit of A4-A5 channels]]
[[File:Dx.png|thumb|400px|Equivalent circuit of Dx channels]]


== Защита входов ==
Multifunctional channels consist of input and output stages are connected in parallel, as well as protective diodes (connected to one terminal of the channel).


По сравнению с 3 версией, значительно улучшена защита входов и общая помехозащищенность.
Output stage consists of the Tx switch.  
#Защита всех входов от подачи напряжения питания (до 24 В) и импульсных помех.
The Tx switch can connect the corresponding output with ground.
#Защита от переполюсовки питания.
#Один оптоизолированный порт RS-485.
#Диодная защита ключей на входах Ax и Dx от индуктивной нагрузки.
#Защита от искрения контактов реле.


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)


== Универсальные входы/выходы Ax и Dx==
*Inactive (open), high impedance.
Such outputs are called “open collectors”.


[[File:Ax.png|thumb|400px|Эквивалентная схема каналов A1-A3]]
Input stage of Ax channel consists of an analogue-to-digital converter ADCx and an input resistor Rx.  
[[File:А5.png|thumb|400px|Эквивалентная схема каналов A4 А5]]
[[File:Dx.png|thumb|400px|Эквивалентная схема каналов Dx]]
Универсальные каналы состоят из
параллельно работающих входного и выходного каскада, а также защитных диодов
(подключенных к одной клемме канала).


Выходной каскад состоит из коммутирующего элемента Tx.
The ADC has a high impedance, so it doesn't affect the channel operation even if the channel works as output.
Ключ Tx, замыкает выходы на землю.
Под управлением логических схем
контроллера, ключ Tx может находиться в 2-ух состояниях:


*Активное (замкнут);на выход канала подается 0.


*Неактивное (разомкнут, высокий импеданс).
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.  
Такой тип выхода называется "открытый коллектор".


Для каналов Ax входной каскад образуют аналогово-цифрового преобразователь ADCx и входное сопротивление Rx.
If the channel terminal is left floating, the input voltage measured by ADCs is pulled down to zero by the Rx resistance.
Преобразователь ADCx имеет высокое входное сопротивление, он подключен постоянно и не влияет
на работу канала в режиме вывода.
В режиме ввода, ключ Tx переводится в Неактивное состояние (разомкнут) и, следовательно, не
влияет на замер напряжения на клемме канала. Входное сопротивление канала в режиме ввода определяется резистором Rx: если к клемме канала не подключены другие цепи, резистор
"притянет" входное напряжение к 0 питания и преобразователь ADCx считает напряжение 0.


Для каналов А4 и А5 есть функция бинарного входа DI - напряжение на клемме больше 3В контроллер воспринимает как срабатывание входа.
А4 and А5 support binary input function DI: more than 3V at the terminal is considered as triggering of the input.


Для каналов типа Dx входной каскад - это схема для подключения "сухих контактов". Этот каскад постоянно подает напряжение 5В на клемму.
Input stage of Dx channels consists of a circuit for connection of dry contacts. This stage continuously provides 5V voltage at the terminal. In input mode the Tx key is inactive (open). When the terminal is grounded, small current (2 mA) flows via the channel. Controller considers that as triggering of the input. Closing of the Tx key is considered as triggering of the input. In output mode the output stage
В режиме ввода, ключ Tx переводится в неактивное состояние (разомкнут).При замыкании клеммы на 0, через через канал течет небольшой ток (2 ма).  
does not affect the channel operation, provided that a more than 5 V load is connected to the channel.
Это воспринимается контроллером как срабатывание входа.
Замыкание ключа Tx также воспринимается как срабатывание входа.
В режиме вывода входной каскад не влияет на работу канала, при условии что к каналу подключена  нагрузка с напряжением больше 5В.






== Резистивные входы ==


Каждая клемма подключена к внутреннему
== Resistive Inputs ==
регулируемому источнику тока.
Контроллер устанавливает ток через сенсор, при этом замеряя напряжение на клемме, соответственно
пересчитывая его сопротивление.
При необходимости и поддержке соответсвущей программы, резистивные входы могут быть
использованы как дополнительные аналоговые/бинарные входы,


Each terminal is connected to internal adjustable current source. The controller measures current flowing through the sensor and simultaneously measures the terminal voltage to calculate the resistance value. If necessary and if the corresponding program is available, resistive inputs may be used as additional analogue/binary ones.




== Модули расширения ==


См. соответствующие статьи для описания подключения и работы в ПО:


* [[Wiren Board 4: Модуль расширения RS-232|Wiren Board 4: Модуль расширения RS-232]]
== Extension modules ==
* [[Wiren Board 4: Модуль расширения CAN|Wiren Board 4: Модуль расширения CAN]]
* [[Wiren Board 4: Модуль расширения UART-CAN|Wiren Board 4: Модуль расширения UART-CAN]]


Ref. the corresponding articles to describe connection and software operation:


== Питание ==
* [[Wiren Board 4: Модуль расширения RS-232|Wiren Board 4: RS-232 extension module]]
* [[Wiren Board 4: Модуль расширения CAN|Wiren Board 4: CAN extension module]]
* [[Wiren Board 4: Модуль расширения UART-CAN|Wiren Board 4: UART-CAN extension module]]
 
 
 
== Power Supply ==


[[File:Питание версии4.png|thumb|300px|Блок-схема питания WB 4]]
[[File:Питание версии4.png|thumb|300px|Блок-схема питания WB 4]]
Строка 258: Строка 256:




=== От внешнего блока питания ===


Допустимый диапазон питания 7-24В.  
=== External power source ===
Среднее потребление платы - 1,5-2 Вт. Но т.к. модуль GSM потребляет импульсно до 8 Вт, рекомендуется использовать блоки питания с мощностью не менее 10 Вт.
 
Allowed voltage range is 7-24 V.  
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.
 
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.


Разъем питания под стандартный jack 5.5x2.1мм, также входное напряжение можно подключать к клеммам Vin и GND.




Строка 269: Строка 269:
=== Power over Ethernet ===
=== Power over Ethernet ===


Поддерживается питание по кабелю Ethernet. Подробнее смотрите [[Special:MyLanguage/Power over Ethernet|Power over Ethernet]].
It is possible to power the device via an Ethernet cable. Ref.[[Special:MyLanguage/Power over Ethernet|Power over Ethernet]].
 
 
 
 
=== Battery ===
 
It is possible to connect Wiren Board to a Li-Ion (Li-Pol) battery with maximal voltage of 4.2 V. When the device is connected to a power source, the battery is charged with up to 0.5 A current.
 
The battery is provided from charging at negative temperature. However, it is not protected from overcharge, and thus it is strongly recommended to use batteries with internal protection boards.
 
 
'''It is necessary to meet the battery polarity!'''
 
 
 
 
== Working with WAGO 250 terminal blocks==
 
[[File:Wago.jpeg|thumb|300px|Working with WAGO 250 terminals]]


Self-tightened clips of WAGO 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.




=== Аккумулятор ===


Wiren Board позволяет подключить Li-Ion (Li-Pol) аккумулятор c максимальным напряжением 4.2В. При подключении питания аккумулятор заряжается током до 0,5 А.


Есть защита от зарядки при отрицательных температурах. Но защита от переразряда аккумулятора отсутствует, поэтому настоятельно рекомендуется использовать аккумуляторы с встроенной схемой защиты.
== Wi-Fi, GSM, 433MHz antennas ==


Wi-Fi antenna is located inside the casing.


'''Соблюдайте полярность подключения аккумулятора!'''
GSM and 433 MHz radio antennas are connected to SMA connectors on the casing.


If GSM signal is weak, it is recommended to use an external antenna and to locate it far from the controller.




== Работа с клеммами WAGO 250 ==


[[File:Wago.jpeg|thumb|300px|Работа с клеммами WAGO 250]]


В качестве интерфейсных клемм в контроллере
== Peripheral devices connection diagrams ==
применены клеммы WAGO 250 Series.
Это самозажимные клипсы. При вставке очищенного
одножильного провода в гнездо, он автоматически
зажимается пружинной защѐлкой.
Для вставки многожильных проводов, необходимо отжать
пружину, нажав на кнопку клипсы. Кнопка имеет паз под
шлицевую отвертку.
Для извлечения провода, нужно отжать пружину, нажав на
кнопку клипсы, и вытащить провод.


[[File:Relay.png|thumb|300px|Example of relay connection]]


[[File:Button.png|thumb|400px|Example of button connection]]


== Антенны Wi-Fi, GSM, 433MHz ==


Антенна Wi-Fi расположена внутри корпуса.


Антенны GSM и радио 433MHz подключаются к SMA разъемам на корпусе.
=== Low voltage load control ===


При слабом сигнале GSM рекомендуется использовать выносную антенну и располагать ее вдали от контроллера.
12/24V relays, LEDs, fans, indicator lamps, etc.


Power supply voltage of the controller must not be lower than voltage of the connected load.
Connect "+" of the load to "+" of the power source, and "-" to Ax or Dx terminals.
If several channels are used, and their total current exceeds 5 A, connect several GND terminals to "-" of the power source.
Voltage spikes occur when the device controls an inductive load (relay). In order to protect the controller from overload, it is equipped with built-in protective diodes. No external protective elements are necessary.




== Схемы подключения периферии ==


[[File:Relay.png|thumb|300px|Пример подключения реле]]
=== Electric contactors with control voltage of 220 V ===


[[File:Button.png|thumb|400px|Пример подключения кнопки]]
Connect the control coil of the contactor via WB relay (ref. fig.). The WB relay is equipped with a damping RC-circuit and a TVS. No external components are necessary.




=== Управление низковольтной нагрузкой ===


Реле на 12/24В, светодиоды, вентиляторы, сигнальные лампы и т. д.


Напряжение питания контроллера должно быть не меньше напряжения подключаемой нагрузки.
=== Analogue voltage output sensors ===
Подключите "+" нагрузки к "+" источника питания, а "-" к клеммам Ax или Dx.
Если используется несколько каналов, и суммарный ток больше 5 А, подключите несколько клемм GND к "-" источника питания.
При управлении индуктивной нагрузкой (реле), возникают всплески напряжения.
Для защиты от перенапряжения в контроллер встроены защитные диоды. Никаких внешних защитных элементов не требуется.


Connect the device ground to the GND terminal or a common grounding bus. Connect the sensor output to Ax or Rx terminal. Ах/Rx channels feature different ranges of measured voltages. Select the optimal channel for your sensor.


=== Контакторы с управляющим напряжением 220В ===


Подключите управляющую катушку контактора через реле WB (см. рисунок)
Реле WB содержит демпфирующую RC-цепочку и TVS. Никакие внешние компоненты не требуются.




=== Analogue current output sensors ===


=== Датчики с аналоговым выходом по напряжению ===
WB is not equipped with special current inputs, but it is possible to convert current to voltage by means of 100-300 Ohm resister and use the connection diagram described above.


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






=== Датчики с аналоговым токовым выходом ===
=== Resistive output sensors ===


Специальных токовых входов в WB нет, но можно, используя резистор 100-300Ом, ток преобразовать в напряжение и подключить как в предыдущем пункте.
Inputs R1 and R2 are intended for measuring of resistance in a range of 1-100 kOhm. The measured resistor must be connected to GND and Rx terminals.






=== Датчики с резистивным выходом ===


Входы R1 R2 предназначены для измерения сопротивлений в диапазоне 1-100кОм.
=== Pulse output sensors, counters and buttons ===
Измеряемое сопротивление подключается между GND и Rx.


These devices from output signals by closing two wires they are connected to.
Connect one wire to the GND terminal or a common grounding bus.
Connect the other wire to the Dx terminal.
Some counters are equipped with an optron based pulse output.
In such cases it is necessary to take polarity of the wires into account.
The negative wire must be connected to GND, while the positive one must be connected to Dx.




=== Датчики/счетчики с импульсными выходами/кнопки ===


Такие устройства формируют сигнал, замыкая подходящие к ним два провода.
=== “Open collector” output devices ===
Подключите один провод к клемме GND, или соедините с общей земляной шиной.
Второй провод подключите к клемме Dx.
Некоторые счетчики имеют импульсный выход на оптроне, тогда два провода имеют полярность - "плюс" и "минус".
В таком случае минус подключается к GND, "плюс" к Dx.


Both device and controller must be connected to the common grounding bus. Connect the "open collector" output to the Dx terminal.


=== Устройства с выходом открытый коллектор ===


Устройство и контроллер должны иметь общую землю.
Выход "открытый коллектор" подключите к клемме Dx.




=== Network connection of 1-Wire ===


=== Подключение к 1-Wire сети ===
Connect the device ground to the GND terminal or a common grounding bus. Connect the data line to one of 1-Wire terminals. Connect the power line to 5V terminal (internal power source).
It is allowed to use external power sources of 1-Wire bus.


Землю сети подключите к клемме GND или общей земляной шине.
If a passive power source is used, the power terminals of all sensors must be connected to the grounding bus. In such cases the bus will consist of two wires connected to 1-Wire and GND, respectively.
Линию данных к одной из клемм 1-Wire.
Линию питания к клемме 5Vout (внутренний источник питания).
Допускается использовать внешние источники питания шины 1-Wire.


При использовании пассивного питания, контакт питания каждого датчика соединяется с земляным проводом.
В этом случае, шина прокладывается двумя проводами, подключаемыми соответственно к "1-Wire" и "GND".






===  Подключение к сети RS-485 ===
===  RS-485 network connection ===


Смотрите [[Special:MyLanguage/RS-485|RS-485]].
See [[Special:MyLanguage/RS-485|RS-485]].


В Wiren Board 4 два порта RS-485. Один гальванически изолированный, один нет.
Wiren Board 4 controllers are equipped with two RS-485 ports. One of them is galvanic insulated, the other one is not. If the RS-485 network is quite large, it is better use the insulated port for connection. Lines A and B are connected to A and B terminals, respectively. The signal ground (if any) must be connected to the GNDiso terminal.
Если сеть RS-485 достаточно протяженная, то лучше подключать к изолированному порту.
Линии А В подключаются к клеммам А и В соответственно. Сигнальную землю (если есть) подключить к клемме GNDiso.


Часто для удобства с линиями А и В прокладывают пару проводов для питания устройств на шине.  
A and B lines are often accompanied by another pair of wires used to power devices connected to the bus. In such cases it is necessary to use GND and Vout terminals. Current in power wires must not exceed 1 A.
В этом случае можно подключиться к клеммам GND и Vout. Ток по питанию не должен превышать 1А.






=== Пример подключения устройств ===


Схема испытательного стенда - [[Special:MyLanguage/Файл:Стенд-hi.jpg|thumb|500px|Схема стенда]]
=== Example of device connection ===


Schematic test stand - [[Файл:Стенд-hi.jpg|thumb|500px|Schematic test stand]]


== Схема и чертеж ==
== Schematics and Drawing ==


Принципиальная схема Wiren Board 4 - [[Файл:WB 4.3.pdf|Файл:WB 4.3.pdf]], чертёж - [[Файл:WB 4.2 чертеж.pdf|Файл:WB 4.2 чертеж.pdf]]
Wiren Board 4 principle diagram - [[Файл:WB 4.3.pdf|Файл:WB 4.3.pdf]], scheme - [[Файл:WB 4.2 чертеж.pdf|Файл:WB 4.2 чертеж.pdf]]
12 063

правки