Questions tagged [1-wire]

A serial communication protocol providing data communication and power transmission over a single line.

1-Wire is a device communications bus system designed by Dallas Semiconductor Corp. that provides low-speed data, signaling, and power over a single signal.

44 questions
8
votes
2 answers

How to change the Pin used for the 1-wire Bus

By default the header Pin Nr. 7 us used by the 1-wire kernel module. I would like to change it to a one of the 4 new GPIO Pins of an Rev 2 Pi.
HSK
  • 81
  • 1
  • 2
8
votes
1 answer

Raspbian /sys/bus/w1/devices/ is empty when having multiple 1-wire DS18B20 temperature sensors

I have a RasPi model B rev. 2.0 and two DS18B20 1-wire temperature sensors and they are working individually fine. I know I should be able to connect multiple 1-wire sensors in parallel but I can't detect any sensors when connecting more than one at…
Beauvais
  • 285
  • 5
  • 11
7
votes
2 answers

DS18B20 and RPi Pico

I will be getting my Raspberry pi pico here in a few days and want to connect a DS18B20 and use MicroPython. I have a project the uses RPi zero w and Python3.9. Since obviously, the pico does not use an os, is there a way to read a 1-wire device? Or…
Kelby Criswell
  • 320
  • 2
  • 9
6
votes
3 answers

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 4 is not working. I've tried connecting the…
Antero Duarte
  • 171
  • 1
  • 2
  • 12
4
votes
1 answer

Problems with OWFS over the w1 kernel module

I have a Series 2 Raspberry Pi. Running the 3.18 (wheezy) kernel. I got the w1 module (allows one-wire over gpio using bitbanging) to work, with both attached temperature probes showing up in /sys/bus/w1/devices. I installed owfs (one wire file…
jgalak
  • 141
  • 1
  • 4
3
votes
1 answer

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 the DS2482-800 IC with 8 individual 1-wire…
Fabs
  • 83
  • 2
  • 9
3
votes
1 answer

How to set up a water leak sensor?

I'd like to set up a few water leak sensors in/under my house to avoid the kinds of plumbers' bills that I got recently! I had been hoping somebody had built such a thing with 1-wire or I2C ready to use, and I'd just have to string some wires and…
Johannes Ernst
  • 233
  • 1
  • 7
3
votes
1 answer

How to pulse DS28E04 with owserver?

I want to pulse a LED using parasitic power on a ow network using owserver. If you send the correct command the pin will pulse for between 250 ms and 1000 ms. The datasheet pulse access example sequence is CCh A5h FEh 01h to pulse P0. Using i = C…
skvery
  • 186
  • 6
3
votes
2 answers

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 connected 4 DS18B20 sensors to my pi; it can find…
Sang Inn Woo
  • 39
  • 1
  • 3
2
votes
1 answer

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.14.98-v7 + DS18b20 intact tested on Arduino The…
mrTall
  • 23
  • 1
  • 5
2
votes
2 answers

How to reinstall 1wire support

While trying to configure my Pi0 for read-only mode I deleted my /sys/bus/w1 folder. Now the 1wire bus is not working anymore. How can I reinstall the module?
Domme
  • 375
  • 2
  • 11
2
votes
1 answer

w1-gpio issue with Waveshare 5" LCD touchscreen and Pi 2

I've got huge trouble solving the following problem: I attached a Waveshare 5" LCD touchscreen to a Pi 2 Model B (components and setup listed below), prepared a new SDcard with Raspbian Jessie (not NOOBS), did the normal raspbian-update stuff,…
Markus
  • 141
  • 8
2
votes
1 answer

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 random) few hours of continuous pooling, I observe…
sanyi
  • 201
  • 1
  • 4
2
votes
2 answers

9 One-Wire Temperature Sensors - Intermittent Response

I'm using the raspberry pi (model B) with the DS18B20 to read temperature. I connected 9 sensors through the 1wire (port 4), however I'm having a few sensors with a weird problem. The sensors disappear and come back in a few minutes, also I have…
Canela
  • 21
  • 3
2
votes
1 answer

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 bunch of times. This is the contents of…
fiskeben
  • 221
  • 4
  • 9
1
2 3