Instantaneous analog input to a pic

Thread Starter

addleme

Joined Dec 16, 2008
4
Hello guys,

I have a question about my term project. In the project, we have an instantaneous analog output coming from a sensor such that the sensor senses the distance of a passing ball which stays in the range of the sensor for very short time. The question is that; can we transfer this instantaneous output to a microprocessor (atmega1280) and can the processor sense this output properly or do we have an extra circuitry to achieve this goal.

Thanks.
 

John P

Joined Oct 14, 2008
2,025
I think "instantaneous" as it applies to your ball will be pretty leisurely as seen by a microprocessor.

For instance, you could run the A/D converter at 10000 samples per second, and look for a rising output (assuming close target means high level) that then starts to fall, and hold onto the peak output and time at which it occurred.
 
Top