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

How to use this library? #6

Open
Koochan10 opened this issue Dec 23, 2022 · 1 comment
Open

How to use this library? #6

Koochan10 opened this issue Dec 23, 2022 · 1 comment

Comments

@Koochan10
Copy link

Hi,
I bought Honeywell pressure sensor ABP2DRRN002ND2B3XX.

I used the library you created, but it did not output both pressure values and temperatures.
The situation is.
-I used example.ino and changed the pressure range to match the sensor I purchased.
(The output is inH2O, so I will convert it to Pa and use it in Pa.)
∙ Changed the input of the address in Honeywell_ABP.h, _p_min and _p_max, which are the pressure range. Also, the sensor used by //sensor 14-bit output range is 30-70% of 2^14, so I want to change the values of _output_min and _output_max.

I have made the above changes and the output is as shown in the attached image.

Please let me know if there is anything else I should change.
I will send you the code after rewriting if necessary.

image (3)

@ij96
Copy link
Owner

ij96 commented Aug 13, 2024

Sorry I know this is extremely late... Your sensor belongs in ABP2 series, not ABP. Their I2C protocols are different, hence why this library in its current form would not work for ABP2. For one, ABP returns upto 4 bytes of reply (2 bytes containing status + pressure, 2 bytes temperature), where ABP2 returns upto 7 bytes of reply (1 byte status, 3 bytes pressure, 3 bytes temperature). I haven't looked much deeper, but if this is all that's different between them, then it should be relatively simple to modify this library (specifically Honeywell_ABP::update()) to work for ABP2.

ABS I2C Protocol:
https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/fr-ca/products/sensors/pressure-sensors/board-mount-pressure-sensors/common/documents/sps-siot-i2c-comms-digital-output-pressure-sensors-tn-008201-3-en-ciid-45841.pdf

ABS2 I2C Protocol (page 29):
https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/basic-abp2-series/documents/sps-siot-abp2-series-datasheet-32350268-en.pdf

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

2 participants