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

Материал из Wiren Board
(Новая страница: «==Specifications== thumb | 500px|Wiren Board 4»)
 
(не показаны 83 промежуточные версии 3 участников)
Строка 1: Строка 1:
<languages/>
<languages/>


[[File:WB4-2.png| thumb | 500px|Wiren Board 4]]
[[Файл:WB5 плата.png| thumb | 500px|Wiren Board 5]]




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


{|  border="1" width="45%" class="wikitable" style="text-align:center"
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2" | '''ПО'''  
!colspan="2" | '''General'''  
|-
|-
| Операционная система || Debian Linux 7.0. Mainline kernel 3.19.
| 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
|-
|-
!colspan="2" | '''Контроллер'''
|| RAM || DDR2 SDRAM 128 MB
|-
|-
| Процессор || [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 МГц
|| ROM || 4 GByte eMMC
|-
|-
|| Память оперативная || DDR2 SDRAM 128 МБ
| Operating System || Debian Linux 7.0. Mainline kernel 3.19.
|-
|-
|| Память энергонезависимая || 4 ГБ eMMC
|| Dimensions || 6U DIN-rail mount, 106.25x90.2x57.5 mm.
PCB size: 103x87x20 mm.
|-
|-
||Operating conditions || Operating temperature- -25...+85 С (-40..+85 С by request).
|-
|}


 
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2" | '''Беспроводные интерфейсы'''  
!colspan="2" | '''Wireless Interfaces'''  
|-
|-
| [[Special:MyLanguage/Wi-Fi|Wi-Fi]] || 802.11 b/g/n 2.4 ГГц
| [[Special:MyLanguage/Wi-Fi|Wi-Fi]] || 802.11 b/g/n 2.4 GHz
|-
|-
|| [[Special:MyLanguage/GSM/GPRS|GSM/GPRS]] || 900/1800 МГц. GPRS multi-slot class 10/8 max. 85.6 kbps (downlink). SIM-карта формата microSIM
|| [[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
|-
|-
|| Пакетное радио 433 МГц || модуль RFM69H. Для связи с устройствами [[Special:MyLanguage/Поддерживаемые устройства |Noolite]], датчиками [[Special:MyLanguage/Поддерживаемые устройства |Oregon]]
|| ISM Radio || RFM69H module.  
To communicate with [[Special:MyLanguage/Поддерживаемые устройства |Noolite]] devices, [[Special:MyLanguage/Поддерживаемые устройства |Oregon]] sensors
|-
|-
|| [[Z-Wave]] ||  ''(опция)''
|| [[Special:MyLanguage/Z-Wave|Z-wave]] ||  ''(optional)''
|-
|-
|| [[Consumer IR|ИК-порт]] ||  ''(внешний приемопередатчик)''
|| [[Special:MyLanguage/Consumer IR|IR remote]] ||  ''socket for external IR transceiver''
|-
|-
|}




 
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2"| '''Проводные интерфейсы'''  
!colspan="2"| '''Wired Interfaces'''  
|-
|-
| Ethernet || 10/100 Мбит/с, Разъём 8P8C, passive PoE
| Ethernet || 10/100 Mbit/s, 8P8C connector, passive PoE
|-
|-
|| USB 2.0 || 1 порт. Работа в режиме USB Host или USB Device  
|| USB 2.0 || Single port. USB Host or USB Device mode of operation.
|-
|-
|| [[Special:MyLanguage/Аудиовыход|Аудиовыход]] || Цифровой звук - S/PDIF, разъём TOSLINK или RCA
|| [[Special:MyLanguage/Аудиовыход|Audio output]] || S/PDIF Digital audio.
TOSLINK or RCA connector
|-
|-
||2x[[Special:MyLanguage/RS-485|RS-485]] ||неизолированный.  
||2x[[Special:MyLanguage/RS-485|RS-485]] || Without galvanic isolation.
есть программная поддержка протоколов Modbus RTU, ADICON/A-BUS/Uniel, HDL, Меркурий, Милур
Software support for Modbus RTU, Uniel, HDL, various EM-meters protocols included.
|-
|-
||[[Special:MyLanguage/CAN|CAN]] || мультиплексирован с одним RS-485.
||[[Special:MyLanguage/CAN|CAN]] || multiplexed with one of RS-485.
|-
|-
|| Отладочная консоль || [[Special:MyLanguage/Debug UART|Debug UART]] Подключается через переходник USB-UART.
|| Отладочная консоль || [[Special:MyLanguage/Debug UART|Debug UART]] USB-UART adapter is used to connect to PC.
|-
|-
|| [[Special:MyLanguage/1-Wire|1-Wire]] || Подключение датчиков температуры
|| [[Special:MyLanguage/1-Wire|1-Wire]] || For digital temperature sensors
|-
|-
!colspan="2"| '''Подключение датчиков'''  
|}
 
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2"| '''Sensor connection'''  
|-
|-
| 4x[[Special:MyLanguage/ADC | АЦП]] ||  диапазон 0-28V
| 4x[[Special:MyLanguage/ADC | ADC]] ||  0-28V range
|-
|-
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Входы для резистивных датчиков]]  
||2x[[Special:MyLanguage/Входы для резистивных датчиков|Resistive sensor inputs]]  
|| Подключение термисторов на 10 кОм, использование как АЦП до 3.3V.
|| 10kOhm thermistors are supported. Can also be used as ADC in 0-2.5V range.
|-
|-
|| 4x[[Special:MyLanguage/DI | DI (цифровой вход)]]
|| 4x[[Special:MyLanguage/DI | DI (digital inputs)]]
|-
|-
 
!colspan="2"| '''Outputs'''  
 
!colspan="2"| '''Выходы'''  
|-
|-
| 4x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Открытый коллектор"]]  || 28V/2A, управление контакторами, светодиодными лентами, и т. п.
| 4x[[Special:MyLanguage/Управление низковольтной нагрузкой|"Open collector"]]  || 28V/2A, for driving external contactors, relays, LED strip lights, etc.
|-
|-
!colspan="2"| '''Прочее'''  
|}
 
{|  border="1" width="700" class="wikitable" style="text-align:center"
!colspan="2"| '''Other Interfaces'''  
|-
|-
| 2x[[Special:MyLanguage/GPIO|GPIO]] || мультиплексированы с другими входами/выходами
| 2x[[Special:MyLanguage/GPIO|GPIO]] || are multiplexed with other inputs/outputs
|-
|-
||1x[[Special:MyLanguage/Buzzer|Излучатель звука]]|| "пищалка".  
||1x[[Special:MyLanguage/Buzzer|Buzzer]]|| buzzer/beeper.  
|-
|-
|| Часы реального времени || [[Special:MyLanguage/RTC|RTC]] Резервная батарейка
|| Real-time clock || [[Special:MyLanguage/RTC|RTC]] 1220 coin lithium cell
|-
|-
|| Сторожевой таймер (watchdog) || Отдельный аппаратный watchdog, перезагружающий устройство целиком по питанию
|| Watchdog timer || Separate hardware watchdog to perform full reset of the device
|-
|-
|| 2xРазъём для модулей расширения ||  
|| 2x Extension module slots || internal
|-
|-
|| 1xРазъём для модулей ввода-вывода || Модули соединяются последовательно, до 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"| '''Питание'''  
!colspan="2"| '''Power supply'''  
|-
|-
|Напряжение питания
|Supply voltage
|7-28В
|7-28В
|-| Рабочее напряжение || 7-28 В
|| Потребляемая мощность || <3 Вт (пиковая - до 12 Вт)
|-
|-
| Работа от резервного аккумулятора || [[WBMZ-BATTERY - модуль резервного питания|Модуль резервного питания]] (Опция)
|| Power consumption || < 3 W (peak consumption up to 12 W)
|-
|-
||питание по витой паре || [[Special:MyLanguage/Power over Ethernet | Passsive Power over Ethernet]]
| Backup battery || [[Special:MyLanguage/WBMZ-BATTERY - модуль резервного питания|backup power supply module]] (optional)
|-
|-
|| Габаритные размеры || Корпус на DIN рейку 6U, 106.25x90.2x57.5 мм.
||Passive Power over Ethernet || [[Special:MyLanguage/Power over Ethernet | Passsive Power over Ethernet]]
Размер без корпуса: 103x87x20 мм.
|-
||Эксплуатация || Рабочая температура - -25...+85С (-40..+85С по запросу).
Покрытие лаком для влагозащиты.
|-
|-
|}
|}


== Клеммники ==
== Terminal blocks ==  
[[Файл:WB5inputs.png|thumb|401px|Схема защиты входов и выходов]]
[[Файл:WB5inputs.png|thumb|401px|Input and output protection schematic]]




Часть клеммников может выполнять более одной функции - смотрите описание входов/выходов и статью [[Special:MyLanguage/Мультиплексирование портов|Мультиплексирование портов]].
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'''  
|| '''Max. V, I'''  
|| '''Max. V, I'''  
| width="10%" | '''cостояние''' '''по умолчанию'''
| width="10%" | '''state''' '''default'''
| width="60%"|'''Функуции'''
| width="60%"|'''Functions'''
|-
|-
! colspan="4"| Верхний ряд, левый блок
! colspan="4"| Upper row, left block
|-
|-
| '''Vin'''  || 28V || ||Входное напряжение
| '''Vin'''  || 28V || ||Input voltage
|-
|-
| '''GND''' ||  || ||"земля", минус блок питания
| '''GND''' ||  || ||power supply ground
|-
|-
! colspan="6"| Верхний ряд, правый блок
! colspan="6"| Upper row, right block
|-
|-
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Входы/выходы модуля расширения
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Inputs/outputs of extension module
|-
|-
| '''O2'''  
| '''O2'''  
Строка 134: Строка 141:
| '''O3'''  
| '''O3'''  
|-
|-
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Входы/выходы модуля расширения
| '''O1''' ||  rowspan="3"| || rowspan="3"| || rowspan="3" |Inputs/outputs of extension module
|-
|-
| '''O2'''  
| '''O2'''  
Строка 140: Строка 147:
| '''O3'''  
| '''O3'''  
|-
|-
! colspan="8"| Нижний ряд, правый блок
! colspan="8"| Lower row, right block
|-
|-
| '''A1''' || rowspan="4"| 28V , 2A || rowspan="4"| High Z || rowspan="4" |[[Special:MyLanguage/Управление низковольтной нагрузкой|Выходы "открытый коллектор"]], [[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'''     
Строка 150: Строка 157:
| '''A4'''  
| '''A4'''  
|-
|-
| '''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
|-
|-
| '''R2'''
| '''R2'''
Строка 158: Строка 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 || Выход 5V.  Отключение при превышении тока. Программное управление.
| '''5V out''' || 5V, 0.5A || 5V || 5V output with over-current protection and software on/off control
|-
|-
| '''A''' ||  30 V || 0V || rowspan="2"|порт [[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"|Порт CAN или [[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).
Подключение RS-485: A к клемме '''L''', B к клемме '''H'''.
Connection RS-485: A to terminal '''L''', B to terminal '''H'''.
|-
|-
| '''H''' ||  30 V || +5V
| '''H''' ||  30 V || +5V
Строка 172: Строка 179:
|}
|}


== Защита входов ==
== Input protection ==
#Защита всех входов от подачи напряжения питания (до 28 В) и импульсных помех.
#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
#Диодная защита ключей на входах Ax от индуктивной нагрузки.
#Low-side FET switches on Ax inputs are protected from negative voltage spikes from inductive loads.
 
== Multifunctional inputs/outputs A1-A4==
[[Файл:Ax2.png|thumb|400px|Equivalent circuit of A1-A4 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).
 
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:
 
*Active (closed); channel output is connected to ground (0V).
*Inactive (open), high impedance.
 
Such outputs are called “open collector” outputs.
 
Open collector outputs on Ax channels are shown as Ax_OUT in software. Channel address is "wb-gpio/Ax_OUT".
 
Input stage of Ax channel consists of an analogue-to-digital converter ADCx and an input resistor Rx (100kOhm).
 
The ADC has a high input 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 impedance 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.
 
Analog inputs on Ax channels are shown as "Ax" in software.  Channel address is "wb-adc/Ax".
 
Ax channels also work as discrete inputs. The logical high state is 3V or higher, the logical low is 1.5V or lower.
 
 
Binary inputs on Ax channels are shown as "Ax_IN" in software.  Channel address is "wb-gpio/Ax_IN".
 
== R1 and R2 Resistive Inputs==
[[Файл:Rx.png|thumb|400px|Rx equivalent circuit]]


== Универсальные входы/выходы A1-A4==
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.
[[Файл:Ax2.png|thumb|400px|Эквивалентная схема каналов A1-A4]]


Универсальные каналы состоят из
Each input can also be [[ADC#Измерение сопротивлений|switched]] to a general-purpose analog input.
параллельно работающих входного и выходного каскада, а также защитных диодов
(подключенных к одной клемме канала).


Выходной каскад состоит из коммутирующего элемента Tx.
In this mode, the internal current source is turned off. Voltage measurements in the range of 0-2.5V can be performed.
Ключ Tx, замыкает выходы на землю.
Под управлением логических схем
контроллера, ключ Tx может находиться в 2-ух состояниях:


*Активное (замкнут);на выход канала подается 0.
R1 and R2 inputs also work as discrete inputs.  


*Неактивное (разомкнут, высокий импеданс).
While the internal current source is activated (as by default) the input is pulled high to the internal 3.3V power rail.
Такой тип выхода называется "открытый коллектор".
If the input is left floating, the corresponding discrete input state is a logical high.


Для каналов Ax входной каскад образуют аналогово-цифрового преобразователь ADCx и входное сопротивление Rx (100кОм) .
If the input is connected to the signal ground the input state is a logical zero.
Преобразователь ADCx имеет высокое входное сопротивление, он подключен постоянно и не влияет
на работу канала в режиме вывода.
В режиме ввода, ключ Tx переводится в Неактивное состояние (разомкнут) и, следовательно, не
влияет на замер напряжения на клемме канала. Входное сопротивление канала в режиме ввода определяется резистором Rx: если к клемме канала не подключены другие цепи, резистор
"притянет" входное напряжение к 0 питания и преобразователь ADCx считает напряжение 0.


Так же для каналов Аx есть функция бинарного входа DI - напряжение на клемме больше 3В контроллер воспринимает как логическую единицу (срабатывание входа), меньше 1,5В - как логический ноль.
Therefore, external buttons, sensors, etc. should be connected between the Rx and GND terminals.


== Резистивные входы R1 и R2 ==
In the alternate general-purpose ADC mode (with current source disabled), the input is pulled down to the ground.
[[Файл:Rx.png|thumb|400px|Эквивалентная схема каналов Rx]]
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.
Контроллер подаёт заданный ток на вход, и измеряет при этом на нём напряжение.
Из известных значений тока и напряжения, ПО контроллера вычисляет сопротивление, подключенное к входу.


Каждый вход также [[ADC#Измерение сопротивлений|можно перевести]] в режим обычного аналогового входа в настройках.
== 1-Wire and +5V output ==
В этом режиме источник тока отключен и вход измеряет напряжение в диапазоне 0-3.0В.
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.  


Входы R1-R2 также работают как бинарные входы.  
You may find convenient to use +5V output to power external sensors or circuits.  


При включенном источнике тока (режим по-умолчанию) вход оказывается подтянут к питанию.  
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.
Если соединить клеммник с землёй, то это соответствует логическому нулю.
Внешние кнопки, датчики и т.д. в этом режиме нужно подключать между клеммником Rx и GND.


В альтернативном режиме, при выключенном источнике тока, вход подтянут к земле.
== I/O Modules ==
Логический ноль соответствует входу, к которому ничего не подключено; логическая единица - входу, на которое подаётся напряжение > 3В.
I/O modules are connected to Wiren Board 5 side connector on the right.
Внешние кнопки, датчики и т.д. в этом режиме нужно подключать между клеммником Rx и клеммником 5V out, либо плюсом питания.


== 1-Wire и +5V ==
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.
1-Wire - шина для подключения внешних датчиков по двум (или трём) проводам. Так как это шина, можно подключить несколько устройств на один порт 1-Wire.  


Для питания датчиков удобно использовать выход +5V.  
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.


Он защищен от КЗ и подачи повышенного напряжения. При питании контроллера от аккумулятора выход +5V остается активным.
The detailed description of the I/O modules can be found in the [[Special:MyLanguage/Модули ввода-вывода|corresponding article]].
Так же есть программное управление этим выходом (его можно отключать).


== Модули ввода-вывода ==
== Extension modules ==
Модули ввода-вывода стыкуются с боковым разъемом на WB5 с правой стороны.


Последовательно можно подключать до 8 модулей: до 4 модулей ввода (типа I) и до 4-х модуля вывода (типа O и IO). WB5 автоматически обнаруживает подключенный модуль и его тип. Адреса раздаются последовательно. Подключать до 4 модулей можно в любой последовательности. При большем числе следует подключать сначала один тип, потом другой.
[[Файл:EXT1.jpeg|thumb|300px|Extension module]]


Описание модулей можно прочитать в статье "[[Модули ввода-вывода]]".
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.  
На плате контроллера расположены два разъема для подключения модулей расширения.
На каждый модуль отводится 3 клеммника.


Платы расширения вставляются вертикально. При сборке в корпус платы прижимаются с двух сторон и надежно фиксируются.
Please see the following articles for the detailed description:


См. соответствующие статьи для описания подключения и работы в ПО:
[[Special:MyLanguage/Модули расширения|Extension modules]]


[[Модули расширения]]
== Power Supply ==
[[File:WB5 power distribution block diagram.png|thumb|400px|Wiren Board 5 power distribution diagram]]


== Питание ==
=== External power source ===  
[[File:WB5 power distribution block diagram.png|thumb|400px|Блок-схема питания Wiren Board 5]]
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.


=== От внешнего блока питания ===
Допустимый диапазон питания 7-28В.
Среднее потребление платы - 1,5-2 Вт. Но т.к. модуль GSM потребляет импульсно до 8 Вт, рекомендуется использовать блоки питания с мощностью не менее 10 Вт.


Разъем питания под стандартный jack 5.5x2.1мм, также входное напряжение можно подключать к клеммам Vin и GND.
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 ===
=== 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 ===
Wiren Board позволяет подключить внутренний [[WBMZ-BATTERY - модуль резервного питания | модуль резервного питания WBMZ-BATTERY ]] с Li-Ion (Li-Pol) аккумулятором.
Wiren Board allows to connect internal [[WBMZ-BATTERY - модуль резервного питания | WBMZ-BATTERY backup power supply module ]] with Li-Ion (Li-Pol) battery.


== Работа с нажимными клеммами ==
== Operation with screw terminals ==
[[File:Wago.jpeg|thumb|400px|Работа с самозажимными клеммами]]
[[File:Wago.jpeg|thumb|300px|Working with WAGO 250 terminals]]


В качестве интерфейсных клемм в контроллере
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.
применены клеммы "тип 250".
Это самозажимные клипсы. При вставке очищенного
одножильного провода в гнездо, он автоматически
зажимается пружинной защѐлкой.  
Для вставки многожильных проводов, необходимо отжать
пружину, нажав на кнопку клипсы. Кнопка имеет паз под
шлицевую отвертку.
Для извлечения провода, нужно отжать пружину, нажав на
кнопку клипсы, и вытащить провод.


== Антенны Wi-Fi, GSM, 433MHz ==
== Wi-Fi, GSM, 433MHz antennas ==
Антенны Wi-Fi, GSM и радио 315/433MHz подключаются к SMA разъемам.
Wi-Fi, GSM and 433 MHz radio antennas are connected to SMA connectors.


При слабом сигнале GSM рекомендуется использовать выносную антенну и располагать ее вдали от контроллера.
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.

Текущая версия на 19:19, 22 марта 2016

Другие языки:
Wiren Board 5


Specifications

Wiren Board 5
General
CPU Freescale i.MX287 454 MHz ARM9
RAM DDR2 SDRAM 128 MB
ROM 4 GByte eMMC
Operating System Debian Linux 7.0. Mainline kernel 3.19.
Dimensions 6U DIN-rail mount, 106.25x90.2x57.5 mm.

PCB size: 103x87x20 mm.

Operating conditions Operating temperature- -25...+85 С (-40..+85 С by request).
Wireless Interfaces
Wi-Fi 802.11 b/g/n 2.4 GHz
GSM/GPRS 850/900/1800/1900 MHz. GPRS class 12. 85.6 kbps (downlink).

microSIM card socket.

Bluetooth 4.0, Bluetooth Low Energy
ISM Radio RFM69H module.

To communicate with Noolite devices, Oregon sensors

Z-wave (optional)
IR remote socket for external IR transceiver


Wired Interfaces
Ethernet 10/100 Mbit/s, 8P8C connector, passive PoE
USB 2.0 Single port. USB Host or USB Device mode of operation.
Audio output S/PDIF Digital audio.

TOSLINK or RCA connector

2xRS-485 Without galvanic isolation.

Software support for Modbus RTU, Uniel, HDL, various EM-meters protocols included.

CAN multiplexed with one of RS-485.
Отладочная консоль Debug UART USB-UART adapter is used to connect to PC.
1-Wire For digital temperature sensors
Sensor connection
4x ADC 0-28V range
2xResistive sensor inputs 10kOhm thermistors are supported. Can also be used as ADC in 0-2.5V range.
4x DI (digital inputs)
Outputs
4x"Open collector" 28V/2A, for driving external contactors, relays, LED strip lights, etc.
Other Interfaces
2xGPIO are multiplexed with other inputs/outputs
1xBuzzer buzzer/beeper.
Real-time clock RTC 1220 coin lithium cell
Watchdog timer Separate hardware watchdog to perform full reset of the device
2x Extension module slots internal
1xI/O module connector Up to 8 I/O modules are connected in series
Power supply
Supply voltage 7-28В
Power consumption < 3 W (peak consumption up to 12 W)
Backup battery backup power supply module (optional)
Passive Power over Ethernet Passsive Power over Ethernet

Terminal blocks

Input and output protection schematic


Some terminal blocks can be used to perform more than one function. See the detailed description of input/output and the Port multiplexing article.


legend

Max. V, I state default Functions
Upper row, left block
Vin 28V Input voltage
GND power supply ground
Upper row, right block
O1 Inputs/outputs of extension module
O2
O3
O1 Inputs/outputs of extension module
O2
O3
Lower row, right block
A1 24V , 2A High Z "Open collector" outputs, ADC
A2
A3
A4
R1 5V High Z Resistive sensors, ADC, digital inputs
R2
GND
W1 30V 3.3V 1-Wire, GPIO
5V out 5V, 0.5A 5V 5V output with over-current protection and software on/off control
A 30 V 0V connector RS-485 (/dev/ttyAPP1)
B 30 V +5V
L 30 V 0V connector CAN or RS-485 (/dev/ttyAPP4).

Connection RS-485: A to terminal L, B to terminal H.

H 30 V +5V

Input protection

  1. All inputs are protected from applying the power supply voltage (up to 24 V) and transient noise.
  2. Wiren Board 5 is protected against reverse polarity
  3. Low-side FET switches on Ax inputs are protected from negative voltage spikes from inductive loads.

Multifunctional inputs/outputs A1-A4

Equivalent circuit of A1-A4 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).

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:

  • Active (closed); channel output is connected to ground (0V).
  • Inactive (open), high impedance.

Such outputs are called “open collector” outputs.

Open collector outputs on Ax channels are shown as Ax_OUT in software. Channel address is "wb-gpio/Ax_OUT".

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

The ADC has a high input 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 impedance 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.

Analog inputs on Ax channels are shown as "Ax" in software. Channel address is "wb-adc/Ax".

Ax channels also work as discrete inputs. The logical high state is 3V or higher, the logical low is 1.5V or lower.


Binary inputs on Ax channels are shown as "Ax_IN" in software. Channel address is "wb-gpio/Ax_IN".

R1 and R2 Resistive Inputs

Rx equivalent circuit

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.

Each input can also be 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.

R1 and R2 inputs also work as discrete inputs.

While the internal current source is activated (as by default) the input is pulled high to the internal 3.3V power rail. If the input is left floating, the corresponding discrete input state is a logical high.

If the input is connected to the signal ground the input state is a logical zero.

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

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.

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.

You may find convenient to use +5V output to power external sensors or circuits.

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.

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.

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.

The detailed description of the I/O modules can be found in the corresponding article.

Extension modules

Extension module

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.

Please see the following articles for the detailed description:

Extension modules

Power Supply

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.


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.Power over Ethernet.

Battery

Wiren Board allows to connect internal WBMZ-BATTERY backup power supply module with Li-Ion (Li-Pol) battery.

Operation with screw terminals

Working with WAGO 250 terminals

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.

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.