scamanderriver
Member
Hi
Can anyone offer me some advice
I am having difficulties using readtemp with a DS18B20.
(Using debug) The readings from the chip fluctuate between 25 (actual temp), 129 and 9 (or 12,13). this is very frustrating because i'm trying to turn a fan on at >=25 and off <=18, and the fluctuating readings cause the fan to pulse on and off.
The chip is connected approx 10m from the picaxe chip and the 4k7 pullup via telephone cable
I'm wondering if the increased resistance of the cable would change the value of the pullup resistor, (just a thought), or maybe the DS18b20 is faulty, or... or... I just don't know!
Thanks for any help
Can anyone offer me some advice
I am having difficulties using readtemp with a DS18B20.
(Using debug) The readings from the chip fluctuate between 25 (actual temp), 129 and 9 (or 12,13). this is very frustrating because i'm trying to turn a fan on at >=25 and off <=18, and the fluctuating readings cause the fan to pulse on and off.
The chip is connected approx 10m from the picaxe chip and the 4k7 pullup via telephone cable
I'm wondering if the increased resistance of the cable would change the value of the pullup resistor, (just a thought), or maybe the DS18b20 is faulty, or... or... I just don't know!
Thanks for any help