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
0
votes
2answers
3k 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
0answers
28 views

DS18B20 stopped recently

I have read a few posts here on my issue, notably DS18B20 not detected by Raspberry Pi, but unfortunately none of the suggestions worked for my issue. I am seeking advice on additional troubleshooting ...
2
votes
1answer
784 views

Rpi3B+ Python DS2482 I2C to 1-Wire Bridge Connecting 10+ DS18B20 Temperature Sensors Using 30 Metres Long CAT5e Cables

I'm about to build a heating control with DS18B20 1Wire-sensors and the Raspberry Pi 3 Model B+. For the 1Wire-interface I'm using the DS2482-800 multi-channel busmaster (more precisely this pre-...
3
votes
5answers
6k 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/...
4
votes
1answer
1k views

DS18B20 Temperature Sensor - Rpi 3/4 Driver, Wiring, Detection, and Python Programming

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 ...
1
vote
1answer
57 views

How to reduce the polling frequency of the w1-gpio module on an Raspberry Pi?

I would like to know how to influence the polling frequency of a device on the w1-gpio module. The reason is because I have a DS18B20 temperature sensor on a Raspi that reads too hot. The first thing ...
0
votes
0answers
43 views

DS18B20 does not have a unique adress in /sys/bus/w1/devices

The problem: I am trying to use a RW1820 (DS18B20), to display the temperature. yet it does not show up in devices. Only w1_bus_master 1 appears. Setup: Raspberry Pi 4 1-Wire Temperature Sensor ...
10
votes
4answers
13k views

max length of wire w/ 3.3v or other issue

I have a raspberry pi connected to a DS18B20 temperature sensor shown in the diagram below. The one-wire software is installed and I am able to successfully read the temperature from the devices ...
7
votes
2answers
8k 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 ...
3
votes
1answer
3k views

Rpi Python 1-Wire File System to read DS2482 I2C to 1-Wire bridge connected DS18B20 Temperature Sensors

I'm currently working on the project with a lot of DS18B20 Digital Thermometer Sensors. For a better performance I decided to use this Raspberry Pi compatible 1-wire master board, which is based on ...
1
vote
2answers
2k views

unable to install 1-wire temperature sensor

I am trying to figure out why I cannot get temperature sensors working connected to my RPi2. I have followed almost every possible guide on the internets without luck and the answers* provided here ...
1
vote
3answers
236 views

DS18B20 Temperature Sensor's Power Supply and Rpi's Pull-Down-GPIO-Pin Sinking Current Requirements

I have a RPi zero W and am reading four ds18b20 temperature sensors (with a 10K ohm resistor between the data and vcc line). Now and then I keep getting "SensorNotReadyError" from the sensors. My ...
0
votes
0answers
196 views

DS18B20 / onewire stopped working after dist-upgrade

I recently did apt-get update + apt-get dist-upgrade and after reboot my DS18B20 stopped working. ls /sys/bus/w1/devices/ results in: w1_bus_master1 But previously I had dirs for my two sensors ...
2
votes
2answers
2k views

No w1_slave on DS18B20 on Raspberry Pi 3 B+

In any of these cases the red status LED on the sensor lights up. The Sensor DS18B20 is connected to the Raspberry Pi 3 B+ to the 5v on the GPIO pins. Using the 3.3v pin makes the light of the sensor ...
3
votes
1answer
59 views

ds18b20 + USB serial adapter

I have this "QinHeng Electronics HL-340 USB-Serial adapter" and a couple of DS18B20 temperature/humidity sensor but I can't get to read data using digitemp. Also tried with this #include <stdio.h&...
0
votes
0answers
257 views

Rock Pi and temperature sensor

I have Rock Pi 4 B 4GB. Kernel for now is: Linux rock 4.4.154-95-rockchip-gd2ab1f26e1b3 #1 SMP Mon Oct 21 06:42:35 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux I also have DS18B20 temperature sensor ...
0
votes
0answers
31 views

node-w1temp fails at getSensor() for DS18B20 temp sensor

I'm having some trouble getting my nodejs program to find my DS18B20 temp sensor. While the pi4's pins aren't shown this is the gist of the wiring. I have a 4.7K ohm jumper resistor between my ...
1
vote
0answers
80 views

DS18b20 not detected on Linux raspberrypi 4.19.75-v7

We did following steps: Installed Linux version 4.19.75-v7+ on SD card. Have two DS18B20 connected to the pi (via terminal block). We are using 3v3 ground and GPIO 4.Enabled 1 wire 4.7K Ohm resistor ...
0
votes
0answers
37 views

W1 works on one pi but not the other

I have recently purchased a Raspberry Pi Zero w and soldered the GPIO pins. I set up a DS18B20 and everything worked fine. I used some other pins as inputs and went back to check the sensor but the pi ...
1
vote
1answer
41 views

Why don’t GPIO lines work for DS18B20 Sensor?

Recently, I bought a DS18B20 temp sensor to monitor my fermentation temp of my beer and assumed I could just hook up the power, ground and data to their respective pins on the Pi but I could never get ...
0
votes
0answers
35 views

Name of the board for DS18B20s

I was referred in another post with a picture of a board that looks like attached picture. What is the name of the board. Also if I require step up resistors would there be a place I could add that to ...
1
vote
1answer
155 views

DS18B20 Temperature Sensor RJ-x

I am looking to create a complete temperature humidity sensor system with 72 DS18B20 sensors. I am aware that each sensor receives it's own unique identifier and you are able to daisy chain them ...
1
vote
1answer
61 views

Can't get multiple DS18B20 to work. What am I doing wrong? [closed]

I am really struggling with this one. I want to attach multiple (5 or so would be nice) DS18B20 sensors (3 meter cable), but I can't get more than two to function. Two will show up in the devices ...
3
votes
2answers
395 views

Raspberry Pi B won't recognise DS18B20 sensor

I have wired up my Raspberry Pi (RPI-0007) to the pins as outlined by http://www.modmypi.com/blog/ds18b20-one-wire-digital-temperature-sensor-and-the-raspberry-pi. However, when I change directory to /...
2
votes
1answer
1k 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....
1
vote
0answers
87 views

DS18B20 temp sensor works on Pi 3B+ but not Zero W

I have a breadboard prototype working with a cabled (waterproof and regular temp) DS18B20 sensor and a AM2302 sensor on a 3B+. All is well with it recording at a set interval from each sensor. I'd ...
2
votes
0answers
43 views

DS18B20 reading double after long use

I installed two DS18B20s on a pi almost a year ago. They have worked great until the last couple months. I am doing a bit of a stress test on them and have been polling them every second for almost a ...
1
vote
1answer
654 views

DS18B20 temperature sensor not found in devices folder

I am trying to setup DS18B20 for Raspberry Pi. I have followed the instructions from Adafruit Lesson 11 updated RBPI kernal to 4.19 setup wiring (see below) with 10k resistor verified signal (yellow ...
3
votes
4answers
4k views

DS18b20 sensor disappearing and turning into “00-00..”

I've read so many issues similar to mine, but haven't found any clear answers, hopefully someone will know. I have a DS18b20 installed on pin 4 with a 4.7k resistor, all settings appear to be correct ...
1
vote
1answer
933 views

Can the DS18B20 be parasite powered without external pullup?

I have a DS18B20 temperature sensor which I am trying to use in parasite power mode with only two wires (data line and ground) with my Raspberry Pi Zero W. I've connected it to the RPi in the ...
1
vote
1answer
261 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-...
0
votes
0answers
39 views

DS18B20 & Pi 3+

I'm not getting a w1_slave, and all I'm getting is 00-xx0000 when the DS18B20 isn't burning my fingertip. I went for green for ground, which is on the top right plug from this perspective. I spliced ...
0
votes
1answer
80 views

DS18B20 device not showing

Things I've tried: Replacing the DS18B20 twice (First one was a different brand than the other 2) Using: modprobe -r -a w1 w1-therm modprobe w1 pullup=1 modprobe w1-therm strong_pullup=1 Checking ...
1
vote
1answer
49 views

Conflict or some other issue with “usual” ds18b20 vs waterproof version of this sensor

I have 5 normal ds18b20 sensors and one ds18b20 waterproof sensor and YL-10 adapter (with 4k7 resistor) to connect these sensors to Raspberry Pi. Problem is, that when I connect my "usual" sensors to ...
2
votes
1answer
749 views

DS18b20 address finding

Can anyone help me how to find the address of DS18b20 temp sensor automatically and display the temperature using a simple python code?
0
votes
2answers
107 views

Picademy Parts Kit Immersible Temperature Probe Pinout

I have a Picademy parts kit (12 of them, actually) from Newark/Element 14. These kits have an immersible temperature probe that I conjecture is based on a DS18B20. However, there's no documentation. ...
0
votes
1answer
43 views

Cannot connect 18B20+ to raspberry pi 3

I will try connect 18B20+ termomether to raspberry pi 3. It's how i do that: In /boot/config.txt i add: dtoverlay=w1-gpio After reboot in console, as root, I modprobe w1-gpio modprobe w1-therm ...
1
vote
1answer
2k views

How to use DS18B20 in parasite power mode?

The datasheet for the DS18B20 says: To assure that the DS18B20 has sufficient supply current, it is necessary to provide a strong pullup on the 1-Wire bus whenever temperature conversions ...
2
votes
0answers
745 views

PI Zero W, Running NodeJS and reading sensors - bad performance [closed]

I am doing a little project for my pet snake and that is a Terrarium controller with my Raspberry PI Zero W. Just for fun I created it using NodeJS since I am a bit familiar with it. A friend of mine ...
3
votes
1answer
549 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
4answers
7k 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. ...
1
vote
0answers
224 views

w1thermsensor is not detected

I am using DS18B20 Temperature sensor on Raspberry Pi. For that I installed w1thermsensor library on my Raspberry Pi. My code is given below. import time from w1thermsensor import W1ThermSensor ...
1
vote
2answers
345 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 ...
1
vote
1answer
480 views

DS18b20 w1_slave file stamp doesn't change

So this is going to sound strange, but I don't see the date stamp of w1_slave files change as the contents (and temperature changes). I think it's set as the boot time and doesn't change. Ever pi@...
0
votes
2answers
40 views

New to Pi 3 and hardware -Connecting Pi 3 to a sensor

I bought the following items: Raspberri pi 3: Breadboard: Jumper wires: Temperature sensor DS18B20: 4.7k resistors: My question - I never learned electronic or hardware and I'm simply trying to ...
1
vote
0answers
53 views

wifi comes up but then disappears when temp sensors connected to GPIO

I have a headless PiZero with a wifi dongle using a RPI PSU (and it's running Domoticz). It boots fine and is all OK until I boot it with my long (20m?) wire of DS18B20s connected. With that plugged ...
2
votes
2answers
3k views

DS18B20 Temperature sensor

Currently I can read the temperature reading from a file for both sensor. import os import time os.system('modprobe w1-gpio') os.system('modprobe w1-therm') temp_sensor = '/sys/bus/w1/...
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, ...
0
votes
1answer
521 views

How to get full 12-bit resolution of ds18b20 from w1_therm

The ds18b20 reports temperature in sixteenths of a degree; however, the w1_therm driver reports temperature in millidegrees, as a truncated integer. It takes half-millidegrees to accurately represent ...
2
votes
1answer
1k views

how to set precision of DS18B20 via w1-therm?

According to the documentation for w1-therm: Writing a value between 9 and 12 to the sysfs w1_slave file will change the precision of the sensor for the next readings. This value is in (volatile) ...