ADC/en: различия между версиями
Matveevrj (обсуждение | вклад) |
Matveevrj (обсуждение | вклад) |
||
(не показано 5 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
<languages/>{{DISPLAYTITLE: Analog inputs (ADC)}} | <languages/>{{DISPLAYTITLE: Analog inputs (ADC)}} | ||
== | == Определения == | ||
'''Analog to digital converters (ADC)''' — devices designed to convert input analog signals into digital code. | '''Analog to digital converters (ADC)''' — devices designed to convert input analog signals into digital code. | ||
Строка 7: | Строка 7: | ||
== Analog inputs in the Wiren Board controller== | == Analog inputs in the Wiren Board controller== | ||
=== Wiren Board 6 === | === Wiren Board 6 === | ||
In | 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 === | === Wiren Board 7 === | ||
In | 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="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 | ||
Строка 19: | Строка 19: | ||
=== 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 | #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). | ||
#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 | #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]]. | ||
=== Measured voltage display === | === Measured voltage display === | ||
The wb-homa-adc daemon | The wb-homa-adc daemon translates a value in its MQTT message queue 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. | ||
Версия 21:48, 21 сентября 2022
Определения
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 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.
- Universal inputs/outputs
Voltage measurement
Connection and setup
- 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 web interface A1_OUT (section Relays & FETs).
- Connect your source to the Ax terminal. The voltage value will immediately appear in the web interface on the ADCs. The value is also translated into the message system MQTT.
Measured voltage display
The wb-homa-adc daemon translates a value in its MQTT message queue 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.
Смотрите также: