The Unit Tube Pressure component reads positive, negative, and differential pressure data.
| Item | Information |
|---|---|
| Product Name | Unit Tube Pressure |
| SKU | U130 |
| Main Function | Positive and negative gas pressure measurement |
| Communication Interface | Analog voltage |
| ESPHome Components | adc, template |
| ESPHome Version Requirement | 2025.12.5 and later |
Unit Tube Pressure uses the official ADC sensor to read analog voltage, then converts it to pressure with the Template sensor. Adjust the ADC pin and conversion coefficients for your controller and calibration results.
The following example reads ADC voltage and converts it to pressure. Adjust pin, multiply, K, and B for your wiring and calibration.
sensor:
- platform: adc
pin: GPIOXX
id: adc_voltage
attenuation: 11db
update_interval: 100ms
unit_of_measurement: "V"
accuracy_decimals: 3
- platform: template
name: "Pressure"
unit_of_measurement: "kPa"
accuracy_decimals: 2
update_interval: 100ms
lambda: |-
float K = 100.0;
float B = 110.0;
float voltage = id(adc_voltage).state;
float P = voltage * K - B;
return P;