Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ds18b20]

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

0
votes
0answers
22 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
26 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
36 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 ...
0
votes
2answers
57 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. ...
1
vote
1answer
447 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 ...
0
votes
1answer
38 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-...
1
vote
1answer
1k 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
418 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
230 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 ...
1
vote
0answers
132 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
1answer
273 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
37 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
42 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
2k 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/...
0
votes
1answer
348 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 ...
0
votes
1answer
818 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) ...
1
vote
0answers
460 views

Temperature Sensor (DS18B20) doesn't work

I am having trouble getting to run my temperature sensor. If I execute the following script to check if the PIN 7 gives me an output, it returns 1 (as it ought to). import re, os, urllib2 import ...
0
votes
0answers
128 views

1-wire on Raspberry: ds18b20 bouncing read errors

I've got a very strange situation: On my Raspberry PI i've got 4 1wire temperature sensors DS18B20, and from time to time I've got read errors. Sometimes it can't read only one sensor, sometime it can'...
2
votes
1answer
366 views

Can I pick any other GPIO in my scenario?

I have a setup with a pi 3 and a breadboard. I am using a DS18B20 temperature sensor. This is my setup (notice wrong resistor in this sketch): As far as I can see it the sensor's second pin is the ...
2
votes
1answer
2k views

Usage of python-ow One Wire File System Python Package for reading 1-wire DS18B20 data

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 ...
0
votes
1answer
907 views

w1-gpio (Dallas 1-wire) not working on Raspberry Pi 2 Model B

I am using a setup with three DS18B20 temperature sensors in a 3-wire setup (using a pullup resistor of 4.7 kOhm from data to 5v) on a raspi prototype shield. This works fine with a Raspi model B+ V1....
1
vote
1answer
182 views

Sunfounder DS18B20 disable light

I've got a problem: I have a Sunfounder DS18B20 Module for measuring the Temperature, but this Module has a little Led which i wont to turn off. Is this possible and how? Thanks
1
vote
2answers
748 views

need 1 Wire read / write functions

I would like to send some simple read and write commands to the Pis 1wire port. For example to be able to configure the resolution of the ds1820 Temperature sensor. The kernal modules used to access ...
1
vote
0answers
190 views

Using several sensors at the same time, e.g. 1wire and regular GPIO input

I'm doing my first Raspberry Pi project, in which I want to get input from several sensors at the same time. I bought a DS18B20 temperature sensor, which is 1wire, and am able to get input with the ...
-1
votes
0answers
156 views

DS18B20 sensor detected, but unable to read

Situation: wiring should be ok since it did not change since the last time it worked without problem. Python's w1thermsensor library is used to read the sensor, but this is likely not the issue ...
2
votes
4answers
2k 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 ...
0
votes
0answers
1k views

DS18B20 shows 00-xx0000

I am using a DS18B20 to measure water temperature for about a year now, but changed the sensor about two weeks ago (for the exact same model). and that was running perfectly fine. Just yersterday it ...
1
vote
1answer
592 views

Raspberry pi 2 B won't detect temp sensor DS18B20

I have a rasp pi 2 b+ and a temperature sensor DS18B20. I can't get my ls /sys/bus/w1/devices command to show anything other than w1_bus_master1. I suspect it is a problem with my set up but I've ...
1
vote
0answers
105 views

Thermometer no longer working

I am running the below lines to try to load my two therms. sudo modprobe w1-gpio sudo modprobe w1-therm ls /sys/bus/w1/devices All I am getting is 00- instead of 28- I have checked wiring, works ...
0
votes
0answers
312 views

Performant way to dump DS18B20 data to Mongo

I've worked with DS18B20 sensors before and have written and used scripts to access their data and make it available to a webserver using Flask and javascript. Now however I'm looking for a way to ...
0
votes
0answers
33 views

How can I remove a one wire temperature sensor [duplicate]

I've just connected several waterproof DS18B20 sensors to my Raspberry Pi B+ V1.2 running Jessie Lite. I get the list of sensors attached by ls /sys/bus/w1/devices and I can see all the devices. I ...
4
votes
1answer
1k views

DS18B20 temperature sensor not working on Raspberry Pi 2 Model B

I am using a Raspberry Pi 2 Model B and trying to hook up a DS18B20 temperature sensor to it. Current Running Raspbian Jesse which was installed onto SD card about a month ago. Running uname -a ...
1
vote
1answer
489 views

Interfacing DS18B20 sensor to Raspberry pi in long distance

I have a Raspberry Pi connected with two ds18b20 temperature sensors. -sensor1 is fixed on the outside of my garage (distance 20m from raspberry Pi) -sensor2 is just connected in a breadboard near the ...
1
vote
1answer
1k 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 ...
5
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/...
0
votes
1answer
184 views

DS18B20 Temp Sensor Stops Working While Streaming Video

I have two DS18B120 1-Wire temperature sensors connected to my PI and working. I then also start a Flask server to stream video using this code. Everything works fine individually but if I try to ...
0
votes
1answer
2k views

Troubles WebIOPi get values from sensor DS18B20 without modify config file

I have a question, I'm working in a project where are a necessary getting of values from a DS18B20 I had read this posts from WebIOPi forum: https://groups.google.com/forum/#!msg/webiopi/KPOGcDwAODE/...
6
votes
4answers
8k 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 ...
2
votes
1answer
437 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?
2
votes
2answers
298 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
2answers
4k views

Java and DS18B20

I want to read temperature from DS18B20 sensors. Sensors are connected and works fine. How can I read temperature using Pi4J? Is there API for this?
5
votes
1answer
3k views

conflicting dtoverlays

I'm using a GPIO connected display 1 which requires a patched kernel and dtoverlay=4dpi-3x in /boot/config.txt I would like to use a DS18B20 temperature sensor which requires dtoverlay=w1-gpio to show ...
1
vote
1answer
5k views

Writing a measurement to a file using python

I'm new to Raspberry so I need a bit of help. I have a DS18B20 temperature sensor, which I want to write the measurements into a file. I have a script running, making measurement printing to screen ...
3
votes
1answer
7k views

DS18B20 not detected by Raspberry Pi

I'm trying to have a DS18B20 working with my Raspberry Pi Model B Revision 1.0, and it doesn't work. No matter what I try I still see nothing in /sys/bus/w1/devices/ besides: pi@raspberrypi ~ $ ls /...
2
votes
1answer
4k views

Change GPIO pin for DS18B20+ One Wire Digital Temperature Sensor

First question on this SE site so please be gentle. Trying to get the above mentioned temp sensor working on the RPi but with a touch screen installed. When I run the following steps nothing ...
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
6k 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
7k 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
160 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
600 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 ...