The clock frequency can be from 10KHz to 1200KHz, the interfacing depends on wheter you leave the ADC free-running or start it for each conversion(I prefer free-running). The clock freq is abt 10 higher than the sample rate (memory) and the EOC end of conversion output is used as an interrupt. I still have one of these around somewhere.
**broken link removed** is a link to a site with ADC0804 code. Think of a 0808 as a 0804 with multiplexing. Search on 0804 & 8051 that generates lots of hits.
do any one have the code plz send it to me
as a free runninf ADC I am using the ckt from the link below plz check and let me know if it is the correct one
the Vref at 5V seems high and what signal are you using a varying DC? and the circuit still needs a clock of some sort. **broken link removed** has code for 0808 **broken link removed** if you like C
Yes the spec shows anything between 10KHz 1200KHZ is OK, and for a test circuit like this, the input should be a DC voltage as an AC input would light most of the LEDs at some point. The idea of this circuit is to prove the 0808 is working, that's all.
ok I tested this circuit but some times all the outputs become high(logic 1) and somtimes some of them but i am not getting the correct result, any ideas
another ckt that i want to test is of a IR proximity sensor I actually want to have a distance of atleast 1m or 2m from the obstacle anyone having the idea plz help me