internal oscillatorthermometer
BADHABIT
Posts: 138
Is it possible to get temp readings bytaking a baseline measurement of the internal osc and measuring its variation during operation?
BH
Post Edited (BADHABIT) : 6/1/2009 2:23:33 AM GMT
BH
Post Edited (BADHABIT) : 6/1/2009 2:23:33 AM GMT
Comments
The LM73 (and the LM75) is a nice little thermometer that uses I2C for its interface. You could attach this to the same I/O pins used for the EEPROM as long as you have pullups on both SCL and SDA. Any of the existing I2C drivers could be used to access it.
Could you hang an extern R and C on a pin and count the ticks in a crystal clock, and then switch to intern RCslow and RC fast and measure them compared to the Crystal.
BADHABIT
You couldn't test the temperature very accurately with an external RC because it would vary also. Which brings us back to another question. How do you "ring" a crystal with propeller pins.
Thanks,
Doug
Counting it's ticks and comparing them to cnt could give you the frequency of the RC clock you are running on(rcfast or rcslow) .
Then you could experimentally subject your propeller to the whole range of temperatures and come up with a graph of temp/clock.