How to Interface the LMT01 Temperature Sensor with Arduino
The LMT01 is a high-accuracy, 2-pin temperature sensor with an easy-to-use pulse count current loop interface, which makes it suitable for onboard and offboard applications in automotive, industrial, and consumer markets. The device is guaranteed to have an accuracy of 0.7C (max) from -50C to 150C and is available in the TO-92 and WSON packages. The low pin-count and low power consumption make the LMT01 suitable for a number of applications such as digital output wired probes, white goods, and IoT.This tutorial includes a general overview of the LMT01 sensor, discussing its features and its unique digital pulse train output. We will cover the capabilities and configuration of the comparator included with the MCU on the Arduino Uno and will talk about how to use Interrupts and Interrupt Service Routines to count the pulses being output by the LMT01. A working demonstration of the LMT01 and the LCD display will be provided, and we will go step-by-step through the code so that you can reproduce these results with the LMT01 on your own.