??? 01/03/06 12:08 Read: times |
#106408 - Problem With ADC Code Responding to: ???'s previous message |
Hi Everyone,
just previous talk on Humdity now im facing is a to d convershion with 89C51 i have texas instrument tl0831 8bit adc conver data sheet is find here http://focus.ti.com/lit/ds/symlink/tlv0831.pdf my code written in franklin compiler example i test the code is not working i think there some mistake hope someone got this point and notisfy me wat to do because this code is not working i think my programm confuse in this routine in some where here is my adc reading routine ; ********************************************************** ; SUB ROUTINE TO READ ADC DATA ; ********************************************************** READ_ADC: CLR CS SETB CLK CLR CLK NO_DATA: SETB CLK CLR CLK MOV C,ADCDO RLC A DJNZ TEMP,NO_DATA MOV TEMP,#08H SETB CS RET after ret i call write bcd routine and display the input data on lcd but not working hope someone help me. best regards Athar |
Topic | Author | Date |
Problem Humidity Project | 01/01/70 00:00 | |
Which humidity sensor? | 01/01/70 00:00 | |
Problem Humidity Project | 01/01/70 00:00 | |
Datasheet? | 01/01/70 00:00 | |
Problem Humidity Project | 01/01/70 00:00 | |
2-byte character | 01/01/70 00:00 | |
Finding %RH | 01/01/70 00:00 | |
Temperature compensation needed? | 01/01/70 00:00 | |
Surely | 01/01/70 00:00 | |
Why bother? | 01/01/70 00:00 | |
Why bother? | 01/01/70 00:00 | |
Problem Humidity Project | 01/01/70 00:00 | |
Problem Humidity Project | 01/01/70 00:00 | |
Comment your code! | 01/01/70 00:00 | |
Problem With ADC Code | 01/01/70 00:00 | |
Where are the comments?? | 01/01/70 00:00 | |
Problem With ADC Code | 01/01/70 00:00 | |
Try this | 01/01/70 00:00 | |
Mixing 3V and 5V chips | 01/01/70 00:00 | |
3.3v sensor, 5v chip | 01/01/70 00:00 | |
The problem is... | 01/01/70 00:00 | |
but then![]() | 01/01/70 00:00 |