Wiren Board 5:Hardware

Материал из Wiren Board
Это утверждённая версия страницы. Она же — наиболее свежая версия.
Другие языки:
Input and output protection scheme

Multifunctional inputs/outputs A1-A4

Equivalent circuit of A1-A4 channels

Universal channels consist of parallel operating input and output stage, as well as protective diodes (connected to one channel terminal).

The output stage consists of a switching element Tx. The Tx key closes the outputs to the ground. Under control of logic circuits controller, the Tx switch can be in one of 2 states:

  • Active (closed) at the channel output 0.
  • Inactive (open, high impedance).

This type of output is called "open collector".

The open collector outputs on the Ax channel are displayed in software as Ax_OUT. The path of the channel is: "wb-gpio/Ax_OUT".

For Ax Channels, the input stage consists of an adcx analog-to-digital Converter and an Rx input impedance (100kω) . The ADCx Converter has a high input impedance, it is connected continuously and is not affected the work of the channel is in output mode. In input mode, the Tx key is put into an Inactive state (open) and therefore not affects the voltage measurement at the channel terminal. The input impedance of the channel in the input mode is determined by the RX resistor: if no other circuits are connected to the channel terminal, the resistor "attract" input voltage 0 power supply and Converter ADCx will assume a voltage equal to 0. The analog inputs on the channels are displayed in Ax as a Ax section of the ADC. Channel address: "wb-adc/Ax".

Also for channels Ah there is a function of binary input DI - the voltage at the terminal more than 3V controller perceives as a logical unit (input operation), less than 1.5 V - as a logical zero. The binary inputs on the Ax channel displayed in software as Ax_IN. The address of the binary input channel is "wb-gpio/Ax_IN".

R1 and R2 Resistive Inputs

Rx equivalent circuit

In the default mode, each terminal is connected to an internal regulated current source. The controller supplies a given current to the input, and measures the voltage on it. From the known current and voltage values, THE controller software calculates the resistance connected to the input.

Each input also can be translated in the normal mode of the analog input in the settings. In this mode, the current source is disabled and the input measures voltage in the range 0-3.0 Vol.

R1-R2 inputs also work as binary inputs.

When the current source is turned on (the default mode), the input is pulled to the power supply. If nothing is connected to the input, this state is perceived as a logical unit. If you connect the terminal strip to the ground, it corresponds to a logical zero. External buttons, sensors, etc. in this mode, you need to connect between the RX and GND terminals.

In alternative mode, when the current source is off, the input is pulled to the ground. The logical zero corresponds to the input to which nothing is connected; the logical unit is the input to which the voltage > 3V IS applied. External buttons, sensors, etc. in this mode, you need to connect between the RX terminal strip and the 5V out terminal strip, or the power plus.

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.

It is convenient to use +5V output to power the sensors.

It is protected from short circuit and high voltage supply. When the controller is powered by a battery, the +5V output remains active. There is also a software control of this output (it can be disabled).

See 1-Wire/en.

Power Supply

Wiren Board 5 power distribution diagram

The Wiren Board 5 has three external inputs for connecting power supplies: DC jack, terminal blocks and Passive PoE. It is possible to simultaneously connect the sources to different inputs, including different voltages. More detailed:

  • From an external power supply.

Valid power supply range of 7-28V. The average consumption of the Board is 1.5-2 watts. But since the GSM module consumes up to 8W impulsively, it is recommended to use power supplies with a power of at least 10W.

Power connector for standard Jack 5.5 x 2.1 mm and also input voltage can be connected To VIN and GND terminals. The power terminal block contains two Vin terminals to which two independent power supplies can be connected for redundancy. The grounds of the power supplies must be connected and connected to the GND terminal.

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.