imani9009
Newbie level 5
I have interfaced an atmel 89c51 with ADC0808. Vrf+ 5v.Vref- 0v.Given the clock through uC.
I have also interfaced it with max232. Done the programming so that the ADC has three inputs and uC initiates the ADC0808 and sends the outputs to serial port. Input values are converted into Decimal and then ASCII (to display on hyperterminal). While I give 0 volts to all inputs.
The output is
000,000,000
When I give 5 volt to 1st input. The output appears as
255,000,000
But when i give input value between 0-5 volt.e.g 2.5 volt. the ouptut is still
000,000,000
I could not understand what could be the problem.
I have uploaded the proteus.simlulation file,c and hex code
I have also interfaced it with max232. Done the programming so that the ADC has three inputs and uC initiates the ADC0808 and sends the outputs to serial port. Input values are converted into Decimal and then ASCII (to display on hyperterminal). While I give 0 volts to all inputs.
The output is
000,000,000
When I give 5 volt to 1st input. The output appears as
255,000,000
But when i give input value between 0-5 volt.e.g 2.5 volt. the ouptut is still
000,000,000
I could not understand what could be the problem.
I have uploaded the proteus.simlulation file,c and hex code