theweissguy
Posts: 11
Joined: Sun May 08, 2016 4:55 pm

DS18B20 reading high

Thu Jun 23, 2016 6:56 pm

I have a problem with my GPIO reading any of several DSB20 much too high - a constant 85 deg. C. The device isn't even warm to the touch. Any clues?
___________________
theweissguy

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: DS18B20 reading high

Fri Jun 24, 2016 12:36 pm

Show us your setup:
* wiring
* configuration
* software you're using to read the sensor

theweissguy
Posts: 11
Joined: Sun May 08, 2016 4:55 pm

Re: DS18B20 reading high

Fri Jun 24, 2016 2:05 pm

Just checked the specs for the DS18B20 - "The power-on reset value of the temperature register is +85°C". It's clearly not getting the correct 1-wire signal from the PI. Wiring problem? Will check it out later today.
___________________
theweissguy

User avatar
bensimmo
Posts: 4622
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: DS18B20 reading high

Fri Jun 24, 2016 3:55 pm

probably, check against this https://learn.adafruit.com/adafruits-ra ... g/hardware
I can tell you if you wire them up back to front they start to reach 85C on their own, they just don't tell you :lol:

theweissguy
Posts: 11
Joined: Sun May 08, 2016 4:55 pm

Re: DS18B20 reading high

Sat Jun 25, 2016 10:13 pm

Problem solved - wrong DS18B20 (PAR version) which only works in parasitic ("true" 1-wire) mode. All works now as it should.
___________________
theweissguy

User avatar
dentex
Posts: 180
Joined: Sun May 20, 2012 7:58 am
Location: Italy
Contact: Website

Re: DS18B20 reading high

Sat Jul 09, 2016 10:31 am

theweissguy wrote:Problem solved - wrong DS18B20 (PAR version) which only works in parasitic ("true" 1-wire) mode. All works now as it should.
Hello.
So are you using the probe in parasitic mode? If yes, could you kindly report some details for its wiring? Thanks!
One of my projects with the Raspberry Pi:
--------------------------------------------------------
(Raspberry) Pi Aquarium Controller: https://github.com/dentex/piac

theweissguy
Posts: 11
Joined: Sun May 08, 2016 4:55 pm

Re: DS18B20 reading high

Sat Jul 09, 2016 3:13 pm

Sorry, you misunderstood. I was setting up a test for non-parasitic use but had a parasitic only device from a old one-wire system.
___________________
theweissguy

User avatar
dentex
Posts: 180
Joined: Sun May 20, 2012 7:58 am
Location: Italy
Contact: Website

Re: DS18B20 reading high

Sat Jul 09, 2016 3:15 pm

Ok. So it's not a DS18B20 probe, right?
One of my projects with the Raspberry Pi:
--------------------------------------------------------
(Raspberry) Pi Aquarium Controller: https://github.com/dentex/piac

theweissguy
Posts: 11
Joined: Sun May 08, 2016 4:55 pm

Re: DS18B20 reading high

Sat Jul 09, 2016 3:30 pm

Correct - it's a three pin IC from Dallas Maxim.
___________________
theweissguy

User avatar
dentex
Posts: 180
Joined: Sun May 20, 2012 7:58 am
Location: Italy
Contact: Website

Re: DS18B20 reading high

Sat Jul 09, 2016 3:31 pm

Ok thanks.
One of my projects with the Raspberry Pi:
--------------------------------------------------------
(Raspberry) Pi Aquarium Controller: https://github.com/dentex/piac

Return to “Troubleshooting”