NST1001 Arduino Driver – Digital Temperature Sensor Interface

The NST1001 Arduino Driver is an open-source Arduino library developed to provide a simple interface for the NOVOSENSE NST1001 digital temperature sensor. It is an Arduino implementation of an earlier AVR driver and handles the sensor’s unusual pulse-counting output using the microcontroller’s Timer/Counter 1 hardware.

Unlike conventional analogue temperature sensors, the NST1001 communicates temperature information as a series of digital pulses. The driver handles the timing and pulse measurement internally, allowing an application to retrieve the measured temperature through a straightforward getTemp() interface.

The library supports several operating configurations, including a single sensor, multiple sensors using a multicast-style configuration, and a free-running single-sensor mode that does not require an additional GPIO for enabling the device. Temperature values can be returned in Celsius, Fahrenheit or Kelvin.

Development of the driver also involved handling practical timing limitations of the pulse-based interface. Fault detection and minimum measurement intervals are used to improve stability and prevent incorrect readings when measurements are requested too rapidly or when timing accuracy is compromised.

The project demonstrates low-level embedded C++ development, hardware timer use, pulse measurement and sensor-driver design, while presenting the resulting functionality through a simple Arduino-compatible API.

The NST1001 Arduino Driver is open source and available on GitHub.

 

Scroll to Top