PID controller with relay output and DS18B20 as feedback

All I changed was those debugging prints and the setpoint. The LED on the Uno attached to pin 13 comes on for progressively less and less time until output reaches 5000 at which time it stays off.

I see I've assumed you're heating something - is that correct?