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

Материал из Wiren Board
(Новая страница: «== Analog inputs in the Wiren Board controller== === Wiren Board 6 === In Wiren Board 6 ADC processor chanels are connected to terminals A1-A4. Also, the ADC has an input voltage (after the input diodes) and a voltage at the 5Vout terminal. === Wiren Board 7 === In Wiren Board 7 processor chanels are connected to terminals A1-A3. Voltages at the D1 terminal and at the 5Vout terminal are not measured. <gallery mode="packed" heights="100px" caption="Univer...»)
 
 
(не показано 9 промежуточных версий этого же участника)
Строка 1: Строка 1:
== Analog inputs in the Wiren Board controller==
== Analog inputs in the Wiren Board controller==
=== Wiren Board 6 ===   
=== Wiren Board 6 ===   
In Wiren Board 6 ADC processor chanels are connected to terminals A1-A4. Also, the ADC has an input voltage (after the input diodes) and a voltage at the 5Vout terminal.
In the Wiren Board 6 ADC processor chanels are connected to terminals A1-A4. Also, the ADC has an input voltage (after the input diodes) and a voltage at the 5Vout terminal.
=== Wiren Board 7 ===   
=== Wiren Board 7 ===   
In Wiren Board 7 processor chanels are connected to terminals A1-A3. Voltages at the D1 terminal and at the 5Vout terminal are not measured.
In the Wiren Board 7 processor chanels are connected to terminals A1-A3. Voltages at the D1 terminal and at the 5Vout terminal are not measured.
<gallery mode="packed" heights="100px" caption="Universal inputs/outputs">
<gallery mode="packed" heights="100px" caption="Universal inputs/outputs">
Image: WB6_AI_DI.PNG| Wiren Board 6
Image: WB6_AI_DI.PNG| Wiren Board 6
Image: WB7_AI_DI.PNG| Wiren Board 7
Image: WB7_AI_DI.PNG| Wiren Board 7
Image: WB6.Ax.png| Schematic of the Ax
Image: WB6.Ax.png| Schematic diagram of the input Ax
Image: WB7.D1.png| Schematic of the D1 in Wiren Board 7
Image: WB7.D1.png| Schematic diagram of the input D1 in Wiren Board 7
</gallery>
</gallery>
== Voltage measurement ==  
== Voltage measurement ==  
=== Connection and setup ===
=== Connection and setup ===
#The voltage must be within the acceptable range.
#The voltage must be within the acceptable range.
#The Ax terminal blocks perform two functions: ADC and low voltage load control. Before measuring voltage, set the corresponding low voltage load control output to the off position. For example, if you are connecting to terminal A1, turn off in [[Веб-интерфейс Wiren Board | web interface]] A1_OUT (section Relays & FETs).
#The Ax terminal blocks perform two functions: ADC and low voltage load control. Before measuring voltage, set the corresponding low voltage load control output to the off position. For example, if you are connecting to terminal A1, turn off A1_OUT in [[Веб-интерфейс Wiren Board | web interface]] (section Relays & FETs).
#Connect your source to the Ax terminal. The voltage value will immediately appear in the [[Веб-интерфейс Wiren Board | web interface]] on the ADCs. The value is also translated into the message system [[Special:MyLanguage/MQTT|MQTT]].
#Connect your source to the Ax terminal. The voltage value will immediately appear in the [[Веб-интерфейс Wiren Board | web interface]] on the ADCs. The value is also transmitted to the message system [[Special:MyLanguage/MQTT|MQTT]].
=== Measured voltage display  ===   
=== Measured voltage display  ===   
The wb-homa-adc daemon translates the value in its MQTT message queue to the /devices/wb-adc/controls/Vin topic.
The wb-homa-adc daemon transmits a value to MQTT message queuing to the /devices/wb-adc/controls/Vin topic.
So the value is displayed in the web interface as the Vin channel of the ADC device
So the value is displayed in the web interface as the Vin channel of the ADC device.

Текущая версия на 11:18, 23 сентября 2022

Определение сообщения (ADC)
== Аналоговые входы в контроллере Wiren Board ==
=== Wiren Board 6 ===  
В Wiren Board 6 каналы АЦП процессора подключены к клеммникам A1-A4. Также на АЦП заведено входное напряжение (после входных диодов) и напряжение на клемме 5Vout.
=== Wiren Board 7 ===  
Wiren Board 7 каналы АЦП процессора подключены к клеммникам A1-A3. Напряжения на клемме D1 и на клемме 5Vout не измеряются.
<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| Схема Ax
Image: WB7.D1.png| Схема D1 в Wiren Board 7
</gallery>
== Измерение напряжения == 
=== Подключение и настройка ===
#Напряжение должно быть в диапазоне допустимых значений.
#Клеммники Ax выполняют две функции: АЦП и управление низковольтной нагрузкой. Перед измерением напряжение, поставьте соответствующий выход управления низковольтной нагрузкой в положение «выключено». Например, если вы подключаетесь к клемме A1, выключите в [[Веб-интерфейс Wiren Board | веб-интерфейсе]] A1_OUT (раздел Relays & FETs).
#Подключите ваш источник к клемме Ax. Значение напряжения сразу появится в [[Веб-интерфейс Wiren Board | веб-интерфейсе]], в устройстве ADCs. Также значение транслируется в систему сообщений [[Special:MyLanguage/MQTT|MQTT]].
=== Отображение измеренного напряжения  ===  
Демон wb-homa-adc транслирует значение в очередь сообщений MQTT в топик  /devices/wb-adc/controls/Vin .
Таким образом, значение отображается в веб-интерфейсе как канал Vin устройства ADCs

Analog inputs in the Wiren Board controller

Wiren Board 6

In the Wiren Board 6 ADC processor chanels are connected to terminals A1-A4. Also, the ADC has an input voltage (after the input diodes) and a voltage at the 5Vout terminal.

Wiren Board 7

In the Wiren Board 7 processor chanels are connected to terminals A1-A3. Voltages at the D1 terminal and at the 5Vout terminal are not measured.

Voltage measurement

Connection and setup

  1. The voltage must be within the acceptable range.
  2. The Ax terminal blocks perform two functions: ADC and low voltage load control. Before measuring voltage, set the corresponding low voltage load control output to the off position. For example, if you are connecting to terminal A1, turn off A1_OUT in web interface (section Relays & FETs).
  3. Connect your source to the Ax terminal. The voltage value will immediately appear in the web interface on the ADCs. The value is also transmitted to the message system MQTT.

Measured voltage display

The wb-homa-adc daemon transmits a value to MQTT message queuing to the /devices/wb-adc/controls/Vin topic. So the value is displayed in the web interface as the Vin channel of the ADC device.