This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ADC 0808 interfacing to 8051

Hello there,

I am using a AT89C52 microcontroller and a ADC0808 Analog to digital converter. Could anyone tell me where i can find the code for interfacing the two.

Also the code to generate 38khz frequency on any 4 pins of the microcontroller.

Thanks in advance.

Parents
  • Hi Rohit,

    I got a suggestion for U, why dont u try using AT90s8535, this IC has on chip ADC. So you wouldnt have to worry about the clock freqency at all.

    As far as reading adc0808 is concerned, better read the data sheet. That should be the best help.

    For generating frequencies, try using data sheets for the Mc you are using. Internal clocking system must give you some kind of solution.

    Jinen

Reply
  • Hi Rohit,

    I got a suggestion for U, why dont u try using AT90s8535, this IC has on chip ADC. So you wouldnt have to worry about the clock freqency at all.

    As far as reading adc0808 is concerned, better read the data sheet. That should be the best help.

    For generating frequencies, try using data sheets for the Mc you are using. Internal clocking system must give you some kind of solution.

    Jinen

Children
  • I got a suggestion for U, why dont u try using AT90s8535

    This is insulting beyond measure. first he is insusting Rohit by calling him 'micro', then he suggest an AVR chip.

    If Rohit were to use a chip with "on chip ADC" there are tons of '51 derivatives, so were Rohit to switch he could use one such

    Erik

  • Thankyou guys for all the help.

    Special thanks to you Mr.Erik.

    I was able to find the error in my circuit and it turned out to be a component failure.

    I finished my project successfully and it turned out to be great.

    thankyou once again,

    Bye,
    Regards,
    Rohit Menon