The ATMega328P microcontroller chip used in development boards like Arduino Uno and Arduino Nano have an internal temperature sensor wired to the 8th channel of the inbuilt Analog to digital convertor (ADC) on the chip.
This library enables the user to obtain measurements from the internal temperature sensor of the chip using a single function. There are two functions that can be used:
ReadTempinC()
is used to get temperature reading in ℃ReadTempinF()
is used to get temperature reading in ℉
- Temperature readings are wrong when using
analogRead()
function.
This repository is licensed under the MIT Licence