Pages: [1]   Go Down
Author Topic: Reading Atmel on chip temp sensor  (Read 1056 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would like to read the chip temp to be aware of overheating when it is used in a remote location.  In the Atmel manual it has this reference on page 252:

24.8 Temperature Measurement
The temperature measurement is based on an on-chip temperature sensor that is coupled to a single ended ADC8
channel. Selecting the ADC8 channel by writing the MUX3...0 bits in ADMUX register to "1000" enables the temperature
sensor. The internal 1.1V voltage reference must also be selected for the ADC voltage reference source
in the temperature sensor measurement. When the temperature sensor is enabled, the ADC converter can be
used in single conversion mode to measure the voltage over the temperature sensor.
The measured voltage has a linear relationship to the temperature as described in Table 24-2. The voltage sensitivity
is approximately 1 mV/°C and the accuracy of the temperature measurement is +/- 10°C.
The values described in Table 24-2 are typical values. However, due to the process variation the temperature sensor
output voltage varies from one chip to another.

Does anyone know how to do this?
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 209
Posts: 13027
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Have you searched the forum for examples?

Have you searched the internet at large for examples?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have searched but am not sure I am describing the issue properly to find anything.  I didn't find anything.  I guess it could be coded in assembler and it would be nice to not to have to reinvent the wheel.

As I wrote this response it occurred to me to look for a forum for the Atmel Studio users.  It would be nice to know if Arduino ever accessed it.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 209
Posts: 13027
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Try this...
https://www.google.com/search?q=internal+temperature+sensor+site:arduino.cc%2Fforum+-wap2
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like lots of stuff, thanks.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 222
Posts: 13862
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

used that sensor to seed random one time long ago but it was not really random enough.
There should be some thread in the archives of arduino.cc (somewhere in the cellar smiley-wink
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: