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
1
vote
0answers
68 views

Raspberry pi 2 B + and DS18B20 [duplicate]

I'm new in Raspberry... I have a problem, I'm trying to connect a DS18B20 temperature sensor to a Raspberry but I can't see anything start with 28-... in /sys/bus/w1/devices I've run sudo modprobe ...
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 ...
1
vote
2answers
8k views

How many sensors I can connect to one breadboard ? (raspberry pi 2)

I'm a new user of raspberry pi 2. I'm preparing a school project and I wonder how many sensors I can plug in to my raspberry pi. I would like to connect 3 sensors: PIR sensor DHT22 DS18B20 Will ...
1
vote
1answer
198 views

DS18B20 not visible

I can't make visible ds18b20 :/ w1-gpio w1-therm Are running and in /etc/modules Have added to config dtoverlay=w1-gpio,gpiopin=4 I've got some data like 00-580000000000 00-980000000000 00-...
1
vote
0answers
645 views

DS18B20 way too high temperature values

I am using 2 DS18B20 temperature sensors connected to my raspi. They are connected to a 5 meter long cable together with a DHT11 humidity sensor, do they share plus and minus. The problem I have is ...
4
votes
3answers
7k views

Simple temperature monitor Raspberry Pi 2 + GPIOs with DS18B20 on WIndows 10 Universal App

Can somebody give me simple example code for Microsoft Windows 10 Core for IoT - Windows Universal App project C# , for having Raspberry Pi 2 with Windows 10 and reading temperature from GPIO with ...
1
vote
1answer
117 views

OS is hanging after a cat of a file (DS18B20 probe) — How can Python break out of the hang? [closed]

A python script on my RPi reads the temperature from a DS18B20 probe located at /sys/bus/w1/devices/<probe id>/w1_slave. Right now the program is hanging at the line to read the file: with ...
0
votes
2answers
2k views

Is this possible to read internal CPU temp sensor directly from cpp code?

I am working on the kind of RPi platform to collect some external sensors data or control relays (using the remote tools like web or sms). Next problem I am tring to solve now is to get the direct ...
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. ...
1
vote
2answers
2k views

Unable to see Temp sensors at /sys/bus/w1/devices which was working until SD card got corrupted

I have several DS18B20 sensors wired to my Raspberry Pi and wrote a python script to read them all. I've had the script running for months without a problem. Last week I performed an update and an ...
1
vote
2answers
334 views

Is it bad for the PowerSwitch Tail 2 to turn on and off frequently?

I am using my Raspberry Pi with a PowerSwitch Tail 2 to control the temperature of homebrewed beer. Whenever the temperature goes above a certain range, the PST2 shuts off, and turns on when the ...
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 ...
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. ...
1
vote
1answer
155 views

Is it possible to break a DS18B20 temperature probe via a software bug?

After using the same code for over a year, I made some changes to my code a month ago, and now it appears that one of my DS18B20 temperature probes is broken. My program reads anywhere from 2 to 4 ...
2
votes
1answer
411 views

One wire temperature sensor DS18B20 sudden precission drop

I wired 10 DS18B20 to the raspberry pi, in the normal powered mode. I am using the Raspbian's built in w1-gpio and w1-therm. I am able to read all the 10 sensor values. Problem is, after (seemingly ...
6
votes
3answers
6k views

What is a failproof method for testing a GPIO pin?

So, basically, I've been trying to get my raspberry pi to get the room temperature from a DS18B20 1-wire temperature sensor. I've read only GPIO 4 is capable of this, and I think for some reason GPIO ...
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. ...
0
votes
2answers
854 views

One Wire Temperature auto setup while booting

I have temperature sensor (DS18B20), also known as a 'one-wire sensor'. I've connected it to pin 4. I am using this code that someone wrote (source). #!/usr/bin/env python import time DS18B20="/sys/...
2
votes
1answer
2k views

I2Cs for temperature senors and multiple PWM outs

EDIT: Rewrite, this is why you don't write questions after not sleeping for two days (wait what day is it?) I have a whole bunch of 12V 4 pin (pwr, grnd, tach, pwm) fans I'd like to manually control, ...
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 ...
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 ...
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
1k views

How to Make the DS18B20 Temperature Probes Plug into a Bread Board Easier

I use a RPi with waterproof DS18B20 temperature probes to measure the temperature of my homebrew. Every time I brew a batch I must sanitize the probe and insert them through the airlock into the brew, ...