barbudor_tmp75¶
CircuitPython driver for the Texas Instruments TMP75 I2C temperature sensor.
- Author : Barbudor (Jean-Michel Mercier)
Implementation Notes¶
Memory usage (tested with CircuitPython 4.0.0beta7 on CircuitPlayground Express):
- from barbudor_tmp75 import TMP75 –> 3184 bytes
- tmp75 = TMP75(i2c_bus) –> 96 bytes
Hardware:
- Device: TMP75 Temperature Sensor with I2C SMBus Interface in Industry Standard LM75 Form Factor & Pinout
- Available breakouts: none known
Software and Dependencies:
- Adafruit CircuitPython firmware (3.1+): https://github.com/adafruit/circuitpython/releases
- Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
-
class
barbudor_tmp75.TMP75(i2c_bus, i2c_addr=72)¶ Driver class for Texas Instruments TMP75 temperature sensor
-
alarm_high_threshold¶ Read/write the alarm high temperature threshold (in C)
-
alarm_low_threshold¶ Read/write the alarm low temperature threshold (in C)
-
config¶ Read/Write the configuration register
-
temperature_in_C¶ Return’s the temperature in C
-
temperature_in_F¶ Return’s the temperature in F
-