letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.24k stars 2.2k forks source link

Multiple DS18B20 resolution issue #2643

Closed defender52 closed 11 months ago

defender52 commented 4 years ago

Hello,

I have noticed unexpectable readings from 2 ds18b20 connected to the same 1-wire bus (1 common pull-up resistor 4.7k). All sensors are set to 12 bit resolution, but it seems that 2 of them ork at 8 bit. I've made a topic on forumand was suggested to raise an issue: https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=7055

Thanks for you help, Alexander

defender52 commented 4 years ago

Hello, Sorry, but I had not a minute these days to check different set of DS18b20 sensors with the same release. I plan doing it this weekend, please do not close this issue until that. TIA Alexander

defender52 commented 4 years ago

Hello everyone, I've checked with 2 other sets (3+2) of Ds18b20, and found no problem.

It seems I was extremely lucky having 2 broken/fake sensors at a time. Thank everyone. Alexander

Misiu commented 4 years ago

@defender52 please reopen this issue. @uzi18 is preparing test build that will allow checking DS18B20 sensors for fake ones. So let's leave this until the rest code will be ready

uzi18 commented 4 years ago

we can open another one issue

defender52 commented 4 years ago

Sorry, reopened..

Misiu commented 4 years ago

@uzi18 I recently found this sketch that allows checking if DS18B20 is genuine. I have original sensors and about 20 ordered from aliexpress from different sellers. All sensors that I've ordered from china are detected as fakes, all genuine sensors show as. original :) Maybe this could be added to ESPEasy? WDYT?

Misiu commented 4 years ago

@TD-er any updates on this? 🙂

TD-er commented 4 years ago

I have not done any updates on Dallas sensors myself.

tonhuisman commented 11 months ago

The code for these sensors has been refactored completely, so this issue is no longer relevant, can be closed.