http://www.engineersgarage.co | Microcontroller › 8051 › Object(cement bags) Counter by using 8051 › http://www.engineersgarage.co May 14, 2011 at 1:48 pm #6201 SaLMAN Ahmed KhanParticipant http://www.engineersgarage.com/microcontroller/8051projects/distance-measure-IR-ADC0804-AT89C51-circuit#tabset-tab-3 check this link it may help to you to take an overview using ADC 0804