Page 1 of 2

Ds18b20 temperature sensor not detected

Posted: Sat May 07, 2022 1:00 pm
by Diggerg
I've tried 3 different probes and none appear when I try to set up my biab profile. Gpio inside is enabled on my pi. Ordered another probe just to be sure. Any ideas?

Re: Ds18b20

Posted: Sat May 07, 2022 2:36 pm
by Bernhard
Hey Diggerg,

sorry to hear that! A few ideas:

- Check if you have the resistor (4.7kOhm) connected between 3.3V and Data (usually white)
- Check that you connected it to the right GPIO (GPIO 4)
- Same goes for 3.3V and GND. Maybe try other 3.3V or GND GPIOs.
- It should be covered by the steps in the tutorial, but you activate w1 explicitly (that's the protocol that's used to read out temperatures) like i.e. described here.
- Make absolutely sure, that the connections are snug. This is crucial (and I fucked this up many times).

Cheers,
Bernhard.

Re: Ds18b20

Posted: Sun May 08, 2022 8:04 am
by Diggerg
Yeah still no luck. I'll wait till my new probe turns up and try again. Used both 3.3v outputs and different grounds but no reading

Re: Ds18b20

Posted: Wed May 11, 2022 7:01 pm
by Diggerg
Ok so probe number 4 is no different. Still not showing

Re: Ds18b20

Posted: Wed May 11, 2022 9:39 pm
by Diggerg
Interesting that you use 3.3v on the pi but 5v on the Arduino to run a ds18b20

Re: Ds18b20

Posted: Thu May 12, 2022 4:57 am
by Bernhard
Unbelievable.

Another idea: connect them to the 5V instead of 3.3V (in theory the DS18B20 supports a range from 3-5.5V)

Re: Ds18b20

Posted: Thu May 12, 2022 4:37 pm
by Diggerg
I have been reading online ( dangerous I know). Do I need to install any extra script for 1 wire even though it is switched on in preferences? Or is it all in the bierbot software?

Re: Ds18b20

Posted: Fri May 13, 2022 4:45 am
by Bernhard
hmmm, really strange. There seems to be one systematic thing ...

Let's do it the other way round can you share:

- An image of your raspberry Pi settings screen for switching on/off peripherals?
- An image of your Raspberry Pi and the connected GPIOS
- The content of your config file (bricks.yaml)

Anything else where you think it might be important?

Thanks,
Bernhard.

Re: Ds18b20 temperature sensor not detected

Posted: Sat May 14, 2022 8:25 am
by Diggerg
It can't even see the probes in script so I'm going to wipe my SD card. Reinstall raspian and start again. Would my existing API still work?

Re: Ds18b20 temperature sensor not detected

Posted: Sat May 14, 2022 11:26 am
by Bernhard
API will still work!