Help in reduce in noise by improving sensor

Discussion in 'The Projects Forum' started by woon_h88, May 22, 2009.

  1. woon_h88

    Thread Starter Active Member

    Mar 25, 2009
    46
    2
  2. bertus

    Administrator

    Apr 5, 2008
    15,638
    2,343
    Hello,

    As far as I can see the sensor has 3 pins.
    Power, ground and output.
    The output signal is updated each ± 40 mSec.
    To reduce noise you must have a longer RC time than 200 mSec.
    (this is also dependend on how fast you must react on the signal).
    This will avarage about 5 samples.

    Here are also links how others use the sensor:
    http://www.oopic.com/gp2d12.htm
    http://www.kronosrobotics.com/an120/DAN120.htm

    Greetings,
    Bertus
     
    Last edited: May 22, 2009
  3. Søren

    Senior Member

    Sep 2, 2006
    472
    28
    Hi,

    First off, your drawing is very wrong, look in the datasheet for how to use it.
    Remember a capacitor (10..20µF is optimal) directly over the supply terminals on the device, or it will be very "noisy".
     
Loading...