Instantaneous analog input to a pic

Discussion in 'The Projects Forum' started by addleme, Mar 12, 2011.

  1. addleme

    Thread Starter New Member

    Dec 16, 2008
    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.

  2. beenthere

    Retired Moderator

    Apr 20, 2004
    Can you tell us more about the analog signal? What information does it carry?
  3. John P

    AAC Fanatic!

    Oct 14, 2008
    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.