I can't make visible ds18b20 :/


Are running and in /etc/modules

Have added to config


I've got some data like

00-580000000000  00-980000000000  00-d80000000000

(00-xx and zeros) xx are changing and number of them changes too. I got resistor 4k7 Ohm like here

(source: reuk.co.uk)

Except for using 5V

I have checked wires and they are fine, i got 5V and GND on board, no idea how to check data but cable itself is fine. I got rpi 2 and connecting to GPIO4 (pin7) Any ideas?

  • 3
    I'm no electrician but it seems to me using 5V as a pull-up on a 3.3V GPIO is a very bad idea.
    – goldilocks
    Aug 5, 2015 at 18:06
  • 1
    @goldilocks In this case the 4k7 resistor has probably limited the damage but it is a much better idea to power the DS18B20 from a 3V3 pin.
    – joan
    Aug 5, 2015 at 18:51

1 Answer 1


If you are using device tree (as you appear to be doing from the /boot/config.txt entry) the w1-gpio and w1-therm entries are not needed in /etc/modules.

Remove w1-therm and w1-gpio from /etc/modules and reboot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.