It is fun to know that Arduino boards has voltmeter & thermometer but that knowledge has not much use. Arduino hidden voltmeter & thermometer are features of AVR chips for the chips themselves. Not all Arduino AVR chips will have the thermometer. With hardware and software updates, old codes to demonstrate may not work at all. The thermometer has entry on official Arduino website with list of AVR chips which have that internal temperature sensor:
1 | https://playground.arduino.cc/Main/InternalTemperatureSensor |
In short, ATmega168A, ATmega168P, ATmega328, ATmega328P, ATmega32U4 have it.
Arduino Hidden Voltmeter & Thermometer
Back in 2012, these things went quite popular, peoples did lot of research around these. Atmega documentation says that the voltage sensitivity is ~ 1 mV/°C and the accuracy of the temperature measurement is +/- 10°C. That measured temperature is sum of ambient temperature and chip’s TDP. So it will rise up for few minutes after the chip is powered and on load.
---
In other words – you can not really use that Thermometer for measuring room temperature, Voltmeter is for practical reason for debugging input voltage. If you have good a multimeter and at least a DIY bench power supply made from old desktop ATX computer power supply, you actually have more information than the chip. Here is almost academic research quality article with all codes :
1 | http://www.semifluid.com/2012/09/09/arduino-fio-internal-voltmeter-and-thermometer/ |
Peoples tested by placing ice too :
1 | http://www.avdweb.nl/arduino/hardware-interfacing/temperature-measurement.html |
Here is a Hackaday project :
1 | http://hackaday.com/2014/02/01/atmega-attiny-core-temperature-sensors/ |
Some other older blogs which were important at that time (2011-12) :
1 2 | http://www.netquote.it/nqmain/arduino-nano-v3-internal-temperature-sensor/ https://provideyourown.com/2012/secret-arduino-voltmeter-measure-battery-voltage/ |
You’ll get something on Google code too :
1 | https://code.google.com/archive/p/tinkerit/wikis/SecretVoltmeter.wiki |
The old codes does not worked for newer hardware, there was some update on 2014 :
1 | https://forum.mysensors.org/topic/186/new-library-to-read-arduino-vcc-supply-level-without-resistors-for-battery-powered-sensor-nodes-that-do-not-use-a-voltage-regulator-but-connect-directly-to-the-batteries |
These days I do not hear much about those voltmeter & thermometer anymore. Practically with time cheaper, easy ways discovered which made more creative stuffs. However these two will remain among important craziness. Arduino went towards hatred by core electronics community for the basic reason – selling some hardware to the innocent fools is not electronics. Some peoples made huge money by reselling $1 stuff at $5. But the fools got some real innocent fun too. With time, really with 1 LED display many projects possibly to realise, it impossible to directly code in C. Credit of giving fun at cheap of course is of China.
Tagged With arduino hidden , arduino secret termometer , arduino secret thermometer , arduino secret voltmete , http://provideyourown com/2012/secret-arduino-voltmeter-measure-battery-voltage/ , Secret Arduino Voltmeter , SecretThermometer in the Arduino 328