Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 668 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 668 Bytes

LM75 - Digital Temperature Sensor

The LM75 is a temperature sensor, Delta-Sigma analog-to-digital converter, and digital over-temperature detector with I2C interface.

Sensor Image

Usage

I2cConnectionSettings settings = new I2cConnectionSettings(1, Lm75.DefaultI2cAddress);
// get I2cDevice (in Linux)
UnixI2cDevice device = new UnixI2cDevice(settings);
// get I2cDevice (in Win10)
//Windows10I2cDevice device = new Windows10I2cDevice(settings);

using(Lm75 sensor = new Lm75(device))
{
    double temperature = sensor.Temperature.Celsius;
}

References

https://cdn.datasheetspdf.com/pdf-down/L/M/7/LM75_NationalSemiconductor.pdf