1-Wire is a bus-system commonly used for temperature sensors. However, there are many more 1-wire devices than just temperature sensors.owfs has been my Linux software of choice for accessing this bus for many years now. As you might have guessed I mainly use it for my brewing software.
While Raspberry Pi does not have a native 1-wire Interface it is still quite easy to connect 1-wire devices to your Pi.
AFAIK, there are 4 methods for connecting 1-wire devices to Raspberry Pi, here are they with their pros and cons.
| Method | pros | cons | notes | 
| 1. w1-gpio kernel driver | 
  | 
  | to make this work on a standard raspbian kernel manually apply this patch. The following stable kernels already include the fix: ≥ 3.0.70 ≥3.2.41 ≥3.4.37 ≥ 3.8.4 ≥ 3.9.0 University of Cambridge Computer Laboratory has a nice tutorial on the non-owfs related part.  | 
| 2. I2C Busmaster (DS2482-X, DS2483) | 
  | 
  | I only tested the DS2483, which is a 3.3V/5V device. If the owfs-version from Raspbian wheezy is used, the --no_PPM option is needed.Schematics including the ADUM1250 I2C-isolator are available at my RaspIO Webpage.  | 
| 3. DS2480B Busmaster on serial port | 
  | ||
| 4. DS9490R/DS2490 USB Busmaster | 
  | 
  | 
I tend to recommend the I2C solution if more than just a temperature sensor with a short wire is required.
Neueste Kommentare