Wiren Board 5:Аппаратная часть/en: различия между версиями
(не показано 5 промежуточных версий 2 участников) | |||
Строка 196: | Строка 196: | ||
Such outputs are called “open collector” outputs. | Such outputs are called “open collector” outputs. | ||
Input stage of Ax channel consists of an analogue-to-digital converter ADCx and an input resistor Rx (100kOhm). | Input stage of Ax channel consists of an analogue-to-digital converter ADCx and an input resistor Rx (100kOhm). | ||
Строка 206: | Строка 204: | ||
If the channel terminal is left floating, the input voltage measured by ADCs is pulled down to zero 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. | ||
Ax channels also work as discrete inputs. The logical high state is 3V or higher, the logical low is 1.5V or lower. | Ax channels also work as discrete inputs. The logical high state is 3V or higher, the logical low is 1.5V or lower. | ||
== R1 and R2 Resistive Inputs== | == R1 and R2 Resistive Inputs== | ||
Строка 238: | Строка 231: | ||
== 1-Wire and +5V output == | == 1-Wire and +5V output == | ||
1-Wire | 1-Wire - шина для подключения внешних датчиков по двум (или трём) проводам. Так как это шина, можно подключить несколько устройств на один порт 1-Wire. | ||
You may find convenient to use +5V output to power external sensors or circuits. | You may find convenient to use +5V output to power external sensors or circuits. |
Версия 00:33, 1 февраля 2016
Specifications
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. |
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
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
- 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
- Low-side FET switches on Ax inputs are protected from negative voltage spikes from inductive loads.
Multifunctional inputs/outputs A1-A4
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.
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.
Ax channels also work as discrete inputs. The logical high state is 3V or higher, the logical low is 1.5V or lower.
R1 and R2 Resistive Inputs
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 - шина для подключения внешних датчиков по двум (или трём) проводам. Так как это шина, можно подключить несколько устройств на один порт 1-Wire.
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
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:
Power Supply
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
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.