Dear all, I am trying to convert analog signal to digital signal using AT89S53. But that chip seem haven't any A/D converter. My question is, can I convert analog signal to digital signal only using AT89S53 or I need to change to another chip? If I can use AT89S53 for A/D conversion, how can I write the program code in C? Thanks
You are quite right, that chip does not contain an Analog to Digital Converter (regardless of what language you program, it in). More data can be viewed at http://www.keil.com/dd/chip/2985.htm. You can either use an external ADC chip (most conveniently connected via the SPI port), or change to another device which does incorporate an ADC.
Using an external A/D has the advantage of mking it a lot easier to minimize digital noise in the analog part. Erik