Strange multiple DS18B20 behaviour (same bus)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
defender52
Normal user
Posts: 10
Joined: 05 Mar 2018, 23:06

Strange multiple DS18B20 behaviour (same bus)

#1 Post by defender52 » 25 Sep 2019, 23:19

Hello everyone,

Have you ever met such a behavior - unstable readings from 2 ds18b20 connected to the same 1-wire bus (1 common pull-up resistor 4.7k). The third one works ok.
All the sensors are placed into concrete ("warm" floors) so in fact the temperature can't change so fast as graphs show:
graphs.JPG
graphs.JPG (52.75 KiB) Viewed 10156 times
sensors settings.JPG
sensors settings.JPG (67.05 KiB) Viewed 10156 times
Devise resolution settings are set the same for all 3 sensors (12 bit).
GIT version: mega-20190108
Any idea?
Rgds,
Alexander

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Strange multiple DS18B20 behaviour (same bus)

#2 Post by grovkillen » 26 Sep 2019, 06:26

I'd say, update to latest version and test. If the units still display the same behavior I would look into how those units are wired, star or one wire, stubs or right to the stem wire etc.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

defender52
Normal user
Posts: 10
Joined: 05 Mar 2018, 23:06

Re: Strange multiple DS18B20 behaviour (same bus)

#3 Post by defender52 » 26 Sep 2019, 06:54

Thanks, I'll try to update.
Connection scheme is a star.
I suppose that 2 sensors don't work at resolution 12 bit for some reason. It looks like 9 bit.
Rgds,
Alexander

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Strange multiple DS18B20 behaviour (same bus)

#4 Post by grovkillen » 26 Sep 2019, 08:32

Yes the jumps look 9-bit:ish.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Strange multiple DS18B20 behaviour (same bus)

#5 Post by TD-er » 26 Sep 2019, 10:47

The green line is indeed hopping between 0.5 degree values, so that looks like a resolution issue.
If you only have one connected, is its reading more stable?

And indeed, what GrovKillen suggests, try the latest build (yesterday's build is also fine), since that has some fixes in it for Dallas sensors.

defender52
Normal user
Posts: 10
Joined: 05 Mar 2018, 23:06

Re: Strange multiple DS18B20 behaviour (same bus)

#6 Post by defender52 » 27 Sep 2019, 08:18

Thanks for replies,

I've updated it to the last version - no use.
Tried just to disable 2 sensors - no effect.
I'll try to disable it physically, but later (it is war away from me).

I wonder, if different sensors addressing corresponds somehow with this issue?
Please look at the addresses:
The one working ok has XX-XX-XX-XX-XX-XX-X-XX
And the other 2 have XX-XX-X-XX-XX-X-X-XX

What do you think?
Rgds,
Alexander

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Strange multiple DS18B20 behaviour (same bus)

#7 Post by TD-er » 27 Sep 2019, 11:02

Can you make an issue for this (suspect missing leading zero) on GitHub?
Then Uzi18 will very likely have a look at it.

jimmys01
Normal user
Posts: 24
Joined: 07 Jan 2019, 22:37

Re: Strange multiple DS18B20 behaviour (same bus)

#8 Post by jimmys01 » 01 Oct 2019, 13:06

The green line seems to be the problematic one. At 20:00 on the left of the screen you can see a couple of readings of about 13,25c . This coresponds to 10bit or moe resolution. In the right of the diagrams it jumps from 13 to 12,5 and 13,5 that coresponds to 9 bit resolution...

I would check that the sensors are not wet, are not counterfit (dont know how to check that).
What is your data acquisition Interval?
Do your sensor addresses start with 28-xx.....?

Post Reply

Who is online

Users browsing this forum: No registered users and 91 guests