Temperature Sensor Module LM75
-
RM6.00
- Product Code: LM75 Module
- Availability: In Stock
The LM75 temperature sensor includes a delta-sigma analog-to-digital converter, and a digital overtemperature detector. The host can query the LM75 through its I²C interface to read temperature at any time. The open-drain overtemperature output (OS) sinks current when the programmable temperature limit is exceeded.
The OS output operates in either of two modes, comparator or interrupt. The host controls the temperature at which the alarm is asserted (TOS) and the hysteresis temperature below which the alarm condition is not valid (THYST).
Features
Specification
Package Include
Reference: https://github.com/jlz3008/lm75
#include <inttypes.h> #include <Wire.h> #include <lm75.h> TempI2C_LM75 termo = TempI2C_LM75(0x48,TempI2C_LM75::nine_bits); void setup() { Serial.begin(9600); Serial.println("Start"); Serial.print("Actual temp "); Serial.print(termo.getTemp()); Serial.println(" oC"); delay(2000); } void loop() { Serial.print(termo.getTemp()); Serial.println(" oC"); delay(5000); }