DI/en: различия между версиями

Материал из Wiren Board
(Новая страница: «DI is used to connect reed switches, water and electricity meters, buttons. To do this, one contact of the button/reed switch/meter is connected to a voltage sour…»)
 
(не показано 15 промежуточных версий 3 участников)
Строка 1: Строка 1:
<languages/>
<languages/>{{DISPLAYTITLE: Digital input}}
'''DI''' (''digital input'') - controller input has two states: either the voltage is applied or not applied.
== General description ==
'''DI''' (''digital input'') input with two states. Used to connect reed switches, water and electricity meters, buttons.


DI is used to connect reed switches, water and electricity meters, buttons. To do this, one contact of the button/reed switch/meter is connected to a voltage source (for example, to the V out terminal), and the other - to DI. The DI state(zero or one) indicates whether the circuit is closed or open.
Discrete inputs are of two types:


Порог напряжения для гарантированного срабатывания (перехода в состояние "подано напряжение") - 3.3 В. Максимальное возможное напряжение смотрите здесь: [[Wiren Board 4:Аппаратная часть#Клеммники|Wiren Board 4:Аппаратная часть#Клеммники]].
#''Wet contact'' — input («Ax» at controller) with two states: «voltage applied» or  «voltage not applied».  To do this, one contact of the button / reed switch / counter is connected to a voltage source (for example, to the Vout terminal), and the other to DI.
#''Dry contact'' — input for connecting '''dry contact''' (W1, W2 at controller, WB-MR at relay modules, etc.), which check if they are shorted to ground.
One contact of the button / reed switch / counter is connected to the ground (to the GND terminal), and the other to the «dry contact» input. You can also connect outputs of the «open collector» type (connect grounds and input to output).
Input status:
* closed to ground - «on»
* not closed to ground - «off»
 
«Dry» are usually called contacts that are not connected to any other circuits of the external system: relay contacts, reed switches, switches. An “open collector” output, for example, cannot be called a dry contact, since it is not galvanically isolated from an external device.
 
== Discrete inputs at the Wiren Board controller ==
 
As discrete inputs, you can use the universal inputs/outputs Ax (D1), which can operate as a discrete input in the voltage range up to 40 V. Signals from discrete inputs are displayed in the [[Wiren Board Web Interface | web interface]] of the controller or transmitted via [[MQTT]].
 
<gallery mode="packed" heights="100px" caption="Универсальные входы-выходы">
Image: WB6_AI_DI.PNG| Wiren Board 6
Image: WB7_AI_DI.PNG| Wiren Board 7
Image: WB6.Ax.png| Schematic diagram of the input Ax
Image: WB7.D1.png| Schematic diagram of the input D1 in Wiren Board 7
</gallery>
 
When the channel is in input mode, the Ax_OUT (D1_OUT) switch must be turned off.

Текущая версия на 21:50, 21 сентября 2022

Другие языки:

General description

DI (digital input) — input with two states. Used to connect reed switches, water and electricity meters, buttons.

Discrete inputs are of two types:

  1. Wet contact — input («Ax» at controller) with two states: «voltage applied» or «voltage not applied». To do this, one contact of the button / reed switch / counter is connected to a voltage source (for example, to the Vout terminal), and the other to DI.
  2. Dry contact — input for connecting dry contact (W1, W2 at controller, WB-MR at relay modules, etc.), which check if they are shorted to ground.

One contact of the button / reed switch / counter is connected to the ground (to the GND terminal), and the other to the «dry contact» input. You can also connect outputs of the «open collector» type (connect grounds and input to output). Input status:

  • closed to ground - «on»
  • not closed to ground - «off»

«Dry» are usually called contacts that are not connected to any other circuits of the external system: relay contacts, reed switches, switches. An “open collector” output, for example, cannot be called a dry contact, since it is not galvanically isolated from an external device.

Discrete inputs at the Wiren Board controller

As discrete inputs, you can use the universal inputs/outputs Ax (D1), which can operate as a discrete input in the voltage range up to 40 V. Signals from discrete inputs are displayed in the web interface of the controller or transmitted via MQTT.

When the channel is in input mode, the Ax_OUT (D1_OUT) switch must be turned off.