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

Problem with sensors HTS221 #37

Open
Tyluuus opened this issue Aug 16, 2020 · 3 comments
Open

Problem with sensors HTS221 #37

Tyluuus opened this issue Aug 16, 2020 · 3 comments

Comments

@Tyluuus
Copy link

Tyluuus commented Aug 16, 2020

Hi,

I'm using Nucleo L073RZ with I-Nucleo-LRWAN1 module. I'm trying to get temperature and humidity value but it sometimes work and other times no.

I'm using "HTS221Sensor" and have quite simillar code like this from Issue #5 (#5) (based on example from internet). I can't find a pattern, it can read value but often they are very strange, like humidity 6553,5 rH%, or temperature -0,1 C. It can read correct value but for example after restart from button it cannot work as it should.

Help will be very appreciated.
Thanks in advance!
T.

@Tyluuus
Copy link
Author

Tyluuus commented Aug 16, 2020

After it wait for some time it can read correct value once and get crazy again.

@Tyluuus
Copy link
Author

Tyluuus commented Aug 17, 2020

I also checked result of HTS221_IsMeasurementCompleted function and if after starting a program it keep failinig untill restart.

@AdamMax92
Copy link

Hello Tyluuus

I am trying to read Data from the HTS221 via I2C. I am struggling a little due to the lack of documentation.
Could you maybe post your I2C functions to check where my errors are?

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