Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F

Infrared proximity sensor made by Sharp. Part # GP2D120XJ00F has an analog output that varies from 3.1V at 3cm to 0.3V at 30cm with a supply voltage between 4.5 and 5.5VDC. The sensor has a Japanese Solderless Terminal (JST) Connector. We recommend purchasing the related pigtail below or soldering wires directly to the back of the module.

Documents****:

Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F Product Help and Resources

Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

2 Programming

Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

1 Electrical Prototyping

Skill Level: Noob - You don't need to reference a datasheet, but you will need to know basic power requirements.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Engineer04915 / about 14 years ago / 2

    Careful using these on real projects there obsolete!

    • Member #374026 / about 12 years ago / 2

      Just saying that is not very helpful. How about helping the novice out by suggesting alternatives?

  • GvB / about 15 years ago / 2

    this sensor's range is not 3 to 40 cm
    but 4 to 30 cm....
    at least, according to it's datasheet.

  • Member #625227 / about 10 years ago / 1

    I need to use a sensor to measure the linear position variation of a metallic beam moving in a frequency up to 60Hz (16ms). Then I will plot a graph. How many measuring does this sensor do in 16 ms? Is it indicated for that application?

    Thanks

  • Member #506394 / about 11 years ago / 1

    D

  • Member #506394 / about 11 years ago / 1

    Dear engineers

    Is this good for gasoline (benzine) level detection in tank? Or water?

  • Member #469089 / about 11 years ago / 1

    What are the advantages/disadvantage to using an infrared sensor compared to a ultrasonic sensor for range finding

  • Member #395906 / about 12 years ago / 1

    Pretty happy with this so far.

    For reference, I came up with the following function to convert its Vout to distance (cm): distancecm = (12.285/(voltage-0.097))-.42

  • Member #281885 / about 12 years ago / 1

    What's the story with future availability? I see notes from 2 years ago that the parts are obsolete. But they're still available? I have a project that might need a couple of dozen of them. But I'm not ready to try to buy that many right now. Am I at risk of them not being available if/when I get around to ordering?

  • Mahtayo / about 13 years ago / 1

    I am building wooden boxes and designing scenes on the inside of them. It will be a closed box with an LED to light the inside and a fisheye peephole to look through to the inside. I am thinking about purchasing this Sensor so that when people go to put their eye to the peep hole the light on the inside turns on, hands free. How could i go about connecting this sensor to a coincell battery source and the LED itself? Thanks

  • Bryne / about 13 years ago / 1

    I was wondering if anyone has experience with what materials you can hide these sensors behind and still get a reading through? Any tips would be appreciated!

    • brendanclarke / about 12 years ago / 1

      I have used these behind standard plexiglass. It tends to make the signal slightly more noisy, but detection works and helps protect the sensors which are quite sensitive to dirt and scratches.

  • Toucan / about 14 years ago / 1

    Not such a great sensor for obstacle avoidance on an AV.
    When range get belows its valid range ( < ~4 cm), the sensor will read just about anything.
    Looks like if the signal is blocked, the sensor thinks the distance is so great that the signal dissipated before it could return and be read.
    Makes sense.
    But not so great if your AV turns into something. :^)
    Looks like the more expensive ultra sonic sensor is smart enough to interpret a blocked signal as its minimum distance. (conform anyone?)

  • WheelerSounds / about 14 years ago / 1

    Used this on a musical control surface as input to Max/MSP through Arduino, works really well!

  • N.Poole / about 14 years ago / 1

    I may use one of these as a controller for an 'Auduino'-based "theremin."

  • pre / about 14 years ago / 1

    Does anyone have a simple (and fast) distance function to convert the voltage into a simple distance value? That would be super helpful. :)

  • smonkey / about 14 years ago / 1

    the data sheet above is not so usefull.
    here's a link to a good one at sharp
    http://www.sharpsma.com/Page.aspx/americas/en/part/GP2D120/

  • ARMinator / about 15 years ago / 1

    Has anybody hooked up a scope to the output of this sensor? I have 2 here and I have to say the output on these units is extremely noisy. There's a 1KHz clock that shows up in the output, at a fairly high amplitude.

    • MikeGrusin / about 15 years ago / 1

      Thanks for the comment, we'll take a look and see if some low-pass filtering helps.

      • ASBryan / about 11 years ago / 1

        Hi guys, just wondering whether you've implemented the 100Hz LP on these devices. I purchased a few of these and just want to know whether I have to do the filtering or if its done already.

      • ARMinator / about 14 years ago / 1

        A 100Hz or lower low pass RC filter works very well. I've also implemented digital filters with these and it works great too.

  • rfordh / about 15 years ago / 1

    I was able to run this at 3.3V and it appears to be working fine. Maybe the response curve will not be as smooth or something but for simple detecting it definitely works.

Customer Reviews

No reviews yet.