Questions tagged [ds18b20]

DS18B20 is a digital 1-wire thermometer chip that can be connected to Raspberry Pi GPIO pins.

Filter by
Sorted by
Tagged with
22
votes
1answer
24k views

DS18B20 not listed in /sys/bus/w1/devices

I'm starting work on a fermentation monitor using the Adafruit temperature sensing tutorial, a RPi B+ running Raspbian, a 4.7 kOhm resistor and a DS18B20 to which I've soldered male breadboard pins. ...
6
votes
1answer
7k views

DS18B20 no longer working

I had two of these running fine, but now they've stopped. From reading I've done I think this has something to do with kernel updates and device tree. There seems to be about half a dozen options now ...
5
votes
3answers
7k views

How to change DS18B20 reading resolution?

I've got my 4 Maxim DS18B20 devices up and working using the w1-gpio and w1-therm modules. I would however like to change the temperature resolution by writing to the config register of the devices, ...
2
votes
1answer
191 views

Raspberry Pi 3b+ do not detect DS18b20 on 1Wire

Problem: The new raspbian kernel does not detect the DS18b20 sensor over the 1wire bus. This is due to the Device Tree that was added to Kernel 3.18.8 What hardware used: Raspberry Pi 3b+ Kernel: 4....
2
votes
2answers
3k views

DS18B20 Sensor not detecting

I've got a DS18B20 Temperature Probe connected to my Pi but it can't seem to detect it. I run: sudo modprobe w1-gpio sudo modprobe w1-therm and then go to cd /sys/bus/w1/devices and do ls and it ...
2
votes
1answer
127 views

Pi can't find 5th DS18B20

I am new in raspberry pi. In my research project, I would like to monitor ground temperature at 60 points. My team decided to set a monitoring system using raspberry pi. As a preliminary test, I ...
4
votes
5answers
4k views

DS18B20 w1-gpio Device Tree gpiopin NOT = 4

I have a HAT which blocks GPIO4 so I cannot use the default pin for the temperature sensor, but I just cannot get it to work on another pin! I just get lots of 00- instead of 28- in /sys/bus/w1/...
3
votes
1answer
369 views

Does select/multithreading make sense when dealing with multiple DS18B20 and GPIO reads simultaneously?

As you may know, DS18B20 is not the quickest sensor and answers after around 750ms delay but, afaik, 1-wire is a relatively quick bus. I have multiple sensors connected to the board, which means if I ...
2
votes
1answer
3k views

Dallas 1-wire temperature sensor not working

I've connected a temperature sensor (DS18B20) to my Pi and want to read it using 1-wire, but it doesn't work. I have loaded the w1-gpio and w1-therm modules, added them to /etc/modules and rebooted a ...
2
votes
4answers
5k views

What is the maximum number of DS18B20 probes that can attached to one input port?

I initially asked this as an 'answer' to an existing thread on DS18B20 temperature probes as it seemed the obvious way to ask a question of people who were connecting the probes to various hardware. ...
2
votes
2answers
4k views

IndexError DS18B20 Temperature sensor

I have this temperature sensor (DS18B20). I've followed the tutorial on Adafruit (here). First I had to setup some modules by doing: sudo modprobe w1-gpio sudo modprobe w1-therm Then I check the ...
1
vote
1answer
2k views

Raspberry PI 2 Model B Not Detecting ds18b20 Sensor (Tested with Multiple Sensors)

I just wanted to ask some advices. I have tried everything I could find, including : /boot/config.txt add Line dtoverlay=w1-gpio,gpiopin=4 Update and Upgrade Updating firmware Buying new Sensors. ...