??? 11/26/09 10:41 Read: times |
#171190 - Working! But with errors... Responding to: ???'s previous message |
I changed the ADC and it's working now!I guess the ADC chip was already damaged when I bought it. Or maybe I'd blown it up in my initial tests.But since the ADC was sending me an INTR signal,I believed it must be working and was apprehensive about changing it (also because the cost of the ADC was pretty high!)
The output of the ADC is changing with temperature. However, the LCD shows 43 degrees celcius when the actual temperature here in Mumbai is 30 degrees. Is this error allowed? Also, how do I adjust the circuit or the code to make the temperature error-free? Another problem I was having with my ADC 0804 was displaying the temperature as a floating point number and not an integer. How do I achieve this in the ADC 0848? I am very very thankful to Per, and Kai for helping me out with this one! Thanks a ton for answering every query and rechecking and correcting my code. Thanks a lot! P.S Can you suggest some other 8 channel ADC which wouldn't be so heavy on the wallet? |
Topic | Author | Date |
Receiving output from ADC0848. | 01/01/70 00:00 | |
Don't feed other pins without VCC | 01/01/70 00:00 | |
CS and RD working. | 01/01/70 00:00 | |
Wrong understanding of ADC! | 01/01/70 00:00 | |
But according to Mazidi... | 01/01/70 00:00 | |
No, you don't! | 01/01/70 00:00 | |
Sorry! | 01/01/70 00:00 | |
How do you see that? | 01/01/70 00:00 | |
The LCD shows a 255. | 01/01/70 00:00 | |
But this can have zillions of reasons... | 01/01/70 00:00 | |
Never retype source code when posting | 01/01/70 00:00 | |
Working! But with errors... | 01/01/70 00:00 | |
You must convert raw ADC reading into temperature | 01/01/70 00:00 | |
Self-heating?![]() | 01/01/70 00:00 | |
Configured as push-pull? | 01/01/70 00:00 | |
It's a P89v51RD2 | 01/01/70 00:00 | |
Difference only noticeable if contention | 01/01/70 00:00 | |
then STOP what you are doing | 01/01/70 00:00 |