GP2D05 distance sensor

Hello,

i just got the GP2D05 distance sensor from my university to work with. The datasheet does not really help me how to get this ting working.

datasheet: http://pdf.datasheetcatalog.com/datasheet/Sharp/mXyzztxw.pdf

penguin

The datasheet link does not work either…

Try google: arduino gpd2 and you will find similar sensors and code

penguin257: Hello,

i just got the GP2D05 distance sensor from my university to work with. The datasheet does not really help me how to get this ting working.

datasheet: http://pdf.datasheetcatalog.com/datasheet/Sharp/mXyzztxw.pdf

penguin

Take a look here http://www.robotshop.com/blog/en/arduino-5-minute-tutorials-lesson-4-ir-distance-sensor-push-button-2-3637

The wiring is simple and the code too, from then on it depends what you want to do..

i got 4 ports not 3 like in the given example. google doesnt help aswell.

penguin257: i got 4 ports not 3 like in the given example. google doesnt help aswell.

Use only those 3 ports and see what happens..

I found something here :http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/s2001/dmc47/home.htm There is a schematic that shows exactly the wiring, you have Vcc, Vout, Vin and Gnd pins.. Vin has a diode as you can see..