DS18b20 attached and device result requently vary regularly

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

DS18b20 attached and device result requently vary regularly

#1 Post by riker1 » 13 Jul 2018, 09:34

Hi
haveing DS18b20 attached and device result requently vary

I experienced that once or twice a day the results vary

temp shows increased values but temp is not changing.

messure the fridge so temp is quite constanct.

Thanks for hints.

using firmware mega-20180507
Attachments
Screenshot from 2018-07-13 09-46-02.png
Screenshot from 2018-07-13 09-46-02.png (22.88 KiB) Viewed 2847 times
Screenshot from 2018-07-13 09-14-33.png
Screenshot from 2018-07-13 09-14-33.png (17.31 KiB) Viewed 2848 times

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

Re: DS18b20 attached and device result requently vary regularly

#2 Post by TD-er » 14 Jul 2018, 08:13

Looks like a single measurement error on a regular interval.
Is it possible some disturbance is picked up on the wire connected to the sensor?
For example an electro motor switching on or off?
You may want to look at terminating the cable using resistors.

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: DS18b20 attached and device result requently vary regularly

#3 Post by riker1 » 14 Jul 2018, 14:17

thanks
ok, could be the motor of the fridge, but this starts more often.

I have a resistors attached.

Maybe I need a stronger one?

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

Re: DS18b20 attached and device result requently vary regularly

#4 Post by grovkillen » 14 Jul 2018, 14:28

The temp is maybe a defrost function once a day or something?
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:

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: DS18b20 attached and device result requently vary regularly

#5 Post by Shardan » 16 Jul 2018, 20:34

Try to add a capacitor of about 22...47µf to +3.3V and Gnd as near to the DS18B20 as possible.
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests