Analog Comparator Vs Adc. Propagation delay on the analog comparator is 500ns 4v while the adc takes at least 65us to do a conversion well if you can live with less bits you can work at 1mhz adc clock and so you have around 13us but nevertheless it s still more than 20 times slower than the analog comparator. When nothing s happening both inputs on the pic will.
I have never worked with the adcs on these chips but they may hold the answer. Yet an analog comparator plus d a converter dac along with digital processing capability form the core of a successive approximation adc. Figure 2 depicts block diagram of parallel comparator adc or 2 bit flash adc.
One opto uses two input pins.
One opto uses two input pins. The adc the chip has however can take input from almost every pin on the 20 pin chip. Most engineers are not aware of an alternative and the price performance ratios for adcs are falling all the time. I have never worked with the adcs on these chips but they may hold the answer.
