dyvardana / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Adafruit MCP9808 Temperature Sensor #135

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.
...

WebIOPi version used?
=> 0.7.0

Python version used?
=> 3

Distro used? (WebIOPi has only been tested on Raspbian Wheezy)
=>Raspbian Wheezy

Raspberry Pi board revision? (1 or 2)
=> B+

For Javascript side bugs, Browser?
=>

Please provide any additional information below.

Has anyone used an Adafruit MCP9808 Temperature Sensor board with WebIOPi? How 
would I setup WebIOPi to use the MCP9808?

Original issue reported on code.google.com by ro...@roddysimpson.com on 8 Feb 2015 at 1:14

GoogleCodeExporter commented 9 years ago
Currently WebIOPi has no driver for this chip.

Original comment by andreas....@googlemail.com on 9 Feb 2015 at 1:52

GoogleCodeExporter commented 9 years ago
Hi Andreas

Many thanks for you're quick reply! :)

I see that you have written several drivers for sensor devices... How difficult 
would it be to create a driver for the MCP9808?  If I were to create my own 
driver, what steps would I have to take?

Original comment by ro...@roddysimpson.com on 10 Feb 2015 at 10:02

GoogleCodeExporter commented 9 years ago
https://github.com/adafruit/Adafruit_Python_MCP9808/blob/master/Adafruit_MCP9808
/MCP9808.py

this should do everything you need

Original comment by ajwitmer...@frostburg.edu on 4 Mar 2015 at 7:11