Electronic Circuits and Projects Forum


Sharp GP2D12 IR Distance Sensors Noise

Results 1 to 2 of 2
Reply to Thread
  1. #1
    Dalaran
    Dalaran is offline

    Default Sharp GP2D12 IR Distance Sensors Noise

    I am using 2 of these sensors to judge the difference in distance on the two sides. These are then to be read by the ADC of a PIC and compared internally.

    As a first practice with this sensor I hooked it up 5V and GND and had the analogue out pin connected directly to a scope. Originally I was seeing large (500mV) spikes multiple times a second. I placed a resistor (1k) and cap (100nF) from the analogue out pin to ground which seemed to clear it up quite well. However I am seeing close to 50mV of random noise no matter what I do. I didn't see anything in the datasheet but is this expected from these sensors? I was under the impression they would be a little more accurate than 50mV, but I could be wrong.

    Anyone used these with similar experiences?

    Thanks.

  2. #2
    Mr RB
    Mr RB is offline
    Did you place a 10uF tantalum cap on the power pins of the sensor close to the sensor? I'm sure that's in the datasheet.
    Roman Black - PICs and electronics. Author of BTc PIC-sound encoder, Shift1-LCD project, the TalkBotBrain talking PIC controller, LiniStepper open-source microstepping motor driver, the Black Regulator 2-transistor SMPS, and probably some other stuff; www.RomanBlack.com

Reply to Thread

Similar Threads

  1. How does the CCD Array in the sharp GP2D12 infrared sensor calculate angles/distance?
    By fantabulous68 in Electronic Projects Design/Ideas/Reviews
    Replies: 9
    Latest: 16th November 2009, 04:08 PM
  2. GP2D12 IR Ranger
    By MaJellin in General Electronics Chat
    Replies: 1
    Latest: 5th November 2009, 11:08 PM
  3. Convert analogue voltage to distance value(GP2D12 sensor)??
    By hweontey in Robotics & Mechatronics
    Replies: 1
    Latest: 9th June 2008, 10:47 PM
  4. Sharp Distance sensor
    By Electronics4you in General Electronics Chat
    Replies: 9
    Latest: 5th September 2005, 01:23 PM
  5. min. distance in ultrasonic distance meter
    By Maryam in Microcontrollers
    Replies: 2
    Latest: 9th August 2004, 10:18 AM