Matthew's Portfolio
mcp9808.py File Reference

Class for MCP9808 temperature sensor. More...

Classes

class  mcp9808.mcp9808
 

Detailed Description

Class for MCP9808 temperature sensor.

This class contains various methods such as checking for a proper connection with the sensor, getting the current temperature in celsius or fahrenheit, and collecting data for a user-determined time interval/rate. Data is sent to and from the MCP sensor using I2C communication lines. More specifically, temperature measurements are sent through two bytes, with four of the bits representing various flags, and the remaining 12 bits containing temperature data.


See source code here: MCP Class Source Code

Author
Ryan McLaughlin
Matt Frost
Date
Originally created on 05/06/21
Last modified on 05/11/21