Library for accessing the MCP9808 precision temperature sensor on a Raspberry Pi or Beaglebone Black.
Project description
DEPRECATED LIBRARY Adafruit Python MCP9808
This library has been deprecated!
we are now only using our circuitpython sensor libraries in python
we are leaving the code up for historical/research purposes but archiving the repository.
check out this guide for using the mcp9808 with python! https://learn.adafruit.com/adafruit-mcp9808-precision-i2c-temperature-sensor-guide
Python library for accessing the MCP9808 precision temperature sensor on a Raspberry Pi or Beaglebone Black.
Designed specifically to work with the Adafruit MCP9808 sensor ----> https://www.adafruit.com/product/1782
To install, first make sure some dependencies are available by running the following commands (on a Raspbian or Beaglebone Black Debian install):
sudo apt-get update
sudo apt-get install build-essential python-dev python-smbus
Then download the library by clicking the download zip link to the right and unzip the archive somewhere on your Raspberry Pi or Beaglebone Black. Then execute the following command in the directory of the library:
sudo python setup.py install
Make sure you have internet access on the device so it can download the required dependencies.
See examples of usage in the examples folder.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Tony DiCola for Adafruit Industries. MIT license, all text above must be included in any redistribution
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Adafruit_MCP9808-1.5.6.tar.gz
.
File metadata
- Download URL: Adafruit_MCP9808-1.5.6.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e6efab234e068b834668c253d696eacb13b53de592c8f9e1751ac8878ae6b67 |
|
MD5 | 32730b44494daf79601e43cbc26f6e9a |
|
BLAKE2b-256 | 01e8e9caa8203d9a20fab2a7a5e5fbedf8b36f7363e89182cb314b4b82d02f29 |