Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert honeywellabp2_i2c to generic I2C DP/Temperature component #2716

Open
Legot opened this issue May 10, 2024 · 0 comments
Open

Convert honeywellabp2_i2c to generic I2C DP/Temperature component #2716

Legot opened this issue May 10, 2024 · 0 comments

Comments

@Legot
Copy link

Legot commented May 10, 2024

There are several I2C and SPI based differential pressure sensors that operate with simmilar parameters to the Honeywell ABP2 sensors, but the lower cost variants tend to only have lower resolution (14-bit pressure, 11-bit temperature) sensors onboard as opposed to the honeywell 24-bit sensors.

Adding support to the component for setting the sensor resolution would enable the use of lower cost sensors available from several other manufacturers.

https://github.com/esphome/esphome/tree/dev/esphome/components/honeywellabp2_i2c

Describe the problem you have/What new integration you would like

The existing honeywellabp2_i2c and honeywellabp2 components only support 24-bit Pressure and 24-bit Temperature Sensors.

I would like to see additional optional lines in the YAML configuration where the user can enter the Pressure Sensor and Temperature sensor resolution (in bits).

The additional lines would adjust the max/min counts in the Pressure Transfer function calculation, the maximum counts value in the temperature calculation, and adjust the temperature and pressure counter encoding to match the sensor resolution.

Please describe your use case for this integration and alternatives you've tried:

I have modified these fixed values manually via an external component to test the same code with the MS4525DO differential pressure sensor with some success, but making these user defined variables via the esphome yaml would make this more available to more users.

I do not have the coding ability to implement this myself.

Additional context

Differential pressure sensors sold for drone autopilot systems as airspeed sensors and are commonly available in pressure ranges that would make them usable for air filter DP monitoring. These sensors are often lower resolution, but available in much narrower pressure ranges, and at much lower costs than the Honeywell sensors. Examples include:

MEAS Spec series (e.g. MS4525DO, MS5525)
mRo I2C Airspeed Sensor JST-GH MS4525DO (mRo store)
Digital Differential Airspeed Sensor Kit (Drotek).
EagleTree Airspeed MicroSensor V3 (eagletreesystems)
Sensirion SDP3x Airspeed Sensor Kit
Holybro Digital Air Speed Sensor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant