Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/03/05 13:58
Read: times


 
#94294 - A software method!
Responding to: ???'s previous message
You can use some software method to solving this error
One is averaging,
You can read 256 times temperature value and accumulate it(in hex value)
for example 27+28+29+28+....
then divide the accumulator(for example: R1 R0) to 256
It is very easy,Just mask lower byte of accumulator (here it is R0)
So the current temparature is R1
This method decrease temperature's reading error vastly
Also try to read temperature value with some moment of delay
Good Luck
Mehdi

List of 3 messages in thread
TopicAuthorDate
temperature sensor using 89c2051            01/01/70 00:00      
   Is it ground bounce.            01/01/70 00:00      
   A software method!            01/01/70 00:00      

Back to Subject List