Re: interfacing lm35 with 8051 using adc0804 to display temp. in 2 seven segment disp
Hi,
still we don´t have much chance to help, because you didn´t provide useful informations.
Give useful descriptions:
there is no change in the adc0804 output
--> so please tell us what´s the ADC_ouptut.
there is no correct display in the 7 segments.
--> tell us what the display shows.
--> If you use a simulator, it should be easy for you to find out where the problem lies:
Just follow the signal flow:
* microcontroller generates the signals for the ADC --> ADC sends back conversion results --> microcontroller reads in conversion results --> microcontroller processes conversion results --> microcontroller generates the display signals --> microcontroller outputs the display signals --> display shows the result.
Work from left to right and check step by step if the values are as expected. (don´t go the the next step until the one before works as desired)
On the first mismatch try to debug it, if you don´t have success in debugging, then give us useful informations (Your debugging test: generated signals, expected signals, wrong signals).
Mind: We can only help you if you give use useful informations.
Klaus