DS18B20 Drops on load.

Hi!

Im using a DS18b20 sensors to measure temperature and PID Library to control a cooling fan, everything worked perfect until a few hours ago.

When the fan starts, the indicated temperature drops to zero, the fan then speeds up to 100%. This repeats as long as the target temperature is lower then the current temperature.

everything worked perfect until a few hours ago.

What did you change?

Hi,

Can you please post a copy of your sketch, using code tags?
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png or pdf?

Tom..... :slight_smile:

Found the problem, switched places on two resistors after a few cables got out of the breadboard. Really stupid!
Thanks anyway guys!