open-eio / Open-Pipe-Kit-Project

Documentation and planning for the Open Pipe Kit. An OPK is a device that pipes data from sensors to anywhere you want, no programming required.
8 stars 0 forks source link

1wire temperature sensor #19

Open rjcorwin opened 9 years ago

rjcorwin commented 9 years ago
chrowe commented 9 years ago

I have a couple of these running directly off the GPIO on a pi http://www.adafruit.com/products/374

These are the links I have in my notes but not sure which one/s I ended up using.

I can share the script when I get home

Also, for some examples of non temperature sensors see

chrowe commented 9 years ago

Here is an example I had running for a while https://gist.github.com/chrowe/905a53060ec08882a9bb

Also just ran across http://www.dreamgreenhouse.com/designs/automation/1wire/index.php which seems to have some good concrete suggestions.

chrowe commented 9 years ago

I am starting to mess around with this and trying things based on https://github.com/openpipekit/opk-temper1-cli https://github.com/timofurrer/w1thermsensor https://learn.adafruit.com/downloads/pdf/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing.pdf

My work is in https://github.com/chrowe/opk-1-wire-cli

chrowe commented 9 years ago

Ok, its basically working. You have to manually add one of the sensor addresses to the pull driver for now.

chrowe commented 9 years ago

This could probably be cleaned up but it is now working with both sensor path and temperature scale as arguments