Page 1 of 1

DS18b20 attached and device result requently vary regularly

Posted: 13 Jul 2018, 09:34
by riker1
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

Re: DS18b20 attached and device result requently vary regularly

Posted: 14 Jul 2018, 08:13
by TD-er
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.

Re: DS18b20 attached and device result requently vary regularly

Posted: 14 Jul 2018, 14:17
by riker1
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?

Re: DS18b20 attached and device result requently vary regularly

Posted: 14 Jul 2018, 14:28
by grovkillen
The temp is maybe a defrost function once a day or something?

Re: DS18b20 attached and device result requently vary regularly

Posted: 16 Jul 2018, 20:34
by Shardan
Try to add a capacitor of about 22...47µf to +3.3V and Gnd as near to the DS18B20 as possible.