I have a few DS18B20 temperature sensors. These are normally used in Arduino but I don't see why not to use them in a Pi. There is a software called DigiTemp that seems to drive the device and I have compiled and installed it in the Pi. The not so clear thing is, how do I connect them? Directly to the UART?
|
Adafruit has released a distro called occidentalis which has 1-wire support built in.
This will allow you to read the temperature with commands like
I don't know if digitemp can be made to work with those, but it should be fairly straightforward to write a munin plugin if you just want to get the temperature graphs |
|||||||||||
|
|
I think the secret sauce is the last line on this page It links to DS9097U which does the UART to 1-wire conversion I have previously use the "pic arbiter" with these devices. It works in a similar role getting the data from the 1-wire devices and making it suitable for consumption by the UART It's also possible to connect I2C devices such as the MCP9804 directly to GPIO pins. The downside is that you need 4 wires |
||||
|