Fév 232014

Reading the atmel 328 spec, one can see that its ADC (analog digital converter) has an internal temperature sensor.
Note that this applies to the atmel 168 too.

Although not as accurate as a dedicated temperature sensor (like the DS18B20), it can be useful to keep track of the arduino temp for an few extra bytes.

Note that it will be probably be higher to your environemental temperature : you may have to adjust.
Also, note that it is depending on the voltage / arduino activity : you may have to adjust again.

Here attached how to read the internal temp (rename to ino or pde) : internal_temp
(this was taken from a thread on avrfreaks).

 Posted by at 15 h 40 min

Poster un Commentaire

1 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
1 Comment authors
Delphine Recent comment authors
plus récents plus anciens
Me notifier des

C’est ton 100ème post il me semble…