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

Материал из Wiren Board
 
(не показаны 2 промежуточные версии этого же участника)
Строка 20: Строка 20:
#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 A1_OUT in [[Веб-интерфейс Wiren Board | web interface]] (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 a 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

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

Definitions

Analog to digital converters (ADC) — devices designed to convert input analog signals into digital code.

Analog inputs — ADC inputs used to measure the voltage applied to them. Analog inputs in automation devices are designed to connect sensors with an analog output signal.

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.

Смотрите также: