
Unit Tube Pressure is a positive and negative pressure gauge that supports a wide measurement range from -100 ~ 200Kpa. During use, the device connects via a tube, with the other side linked to the gas measurement environment. The sensor proportionally maps -100 ~ 200Kpa to an output voltage of 0.1 ~ 3.1V. It comes with a full-coverage protective housing to ensure stable operation of the sensor, making it ideal for applications such as gas pressure detection in industrial equipment.
Step 1. Create New Device

Step 2. Create Device Name
CONTINUE.
New Device Setup.
NEXT.
Step 3. Choose Device Type
ESP32-S3.
SKIP.
Step 4. Start Edit YAML File
EDIT. We can customize device functionality through YAML files.
The GPIO pin assignments here may vary depending on the main controller used. For example, when using AtomS3R as the main controller:
- platform: adc
pin: GPIO1
id: adc_voltage
attenuation: 11db
update_interval: 100ms
unit_of_measurement: "V"
accuracy_decimals: 3
filters:
- multiply: 3.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; INSTALL again to flash and wait for it to complete.
SAVE and INSTALL in the top-right corner, then choose Manual Download in the popup.
Factory format(Previously Modern)
CONNECT to connect to the device.

INSTALL

Settings -> Device & services to check the device.
Discover section.

