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

DS18B20 reports 0ºC when unable to read #13

Open
martenjacobs opened this issue Apr 22, 2021 · 0 comments
Open

DS18B20 reports 0ºC when unable to read #13

martenjacobs opened this issue Apr 22, 2021 · 0 comments

Comments

@martenjacobs
Copy link

martenjacobs commented Apr 22, 2021

I'm using the LSN50 in work mode 4 to report values from multiple DS18B20 sensors. This works well; I'm currently running about 20 nodes with 2 sensors each. However, occasionally something goes wrong in one of the nodes which causes it to malfunction. At the moment, when the LSN50 is unable to read the value from the sensor, it reports it as being 0x0000, or 0ºC. This is not really helpful as it could easily be a realistic value. I think it would be much better if it would report such as case with a value of 0x8000 (the lowest possible value that an int16 can take), This would equal -3276.8ºC, which is much lower than absolute zero and therefore impossible in a real measurement.

This would enable me to determine whether a sensor is malfunctioning much more easily, discard the measurements so they don't mess up my graphs, and send an alert that a repair is required.

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