Help with IR GP2D15 sensor.

 comp.robotics.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Help with IR GP2D15 sensor. amr 12-10-2005
Posted by amr on December 10, 2005, 1:20 pm
Please log in for more thread options
I am using a SHARP Infrared proximity detector GP2D15 which gives a
digital output. Reading the PDF I thought, if I give Vcc (5V) and
connect the ground I should get the output on the third pin.
Unfortunately, I m not getting any output even when the sensor seems to
be so easy to use. Is there something that I am missing out on? Does'nt
the sensor give a HI (Vcc-0.3 V) output when there is any object within
24 cm of the sensor?

Any information on this will be of great help.
Thank you,

Priti


Posted by blueeyedpop on December 10, 2005, 2:38 pm
Please log in for more thread options
It has an open collector output. Attach a 10k resistor to the output pin,
and connect the other side to the + voltage driving the sensor. Read the
output on the output pin, it should function correctly.


> I am using a SHARP Infrared proximity detector GP2D15 which gives a
> digital output. Reading the PDF I thought, if I give Vcc (5V) and
> connect the ground I should get the output on the third pin.
> Unfortunately, I m not getting any output even when the sensor seems to
> be so easy to use. Is there something that I am missing out on? Does'nt
> the sensor give a HI (Vcc-0.3 V) output when there is any object within
> 24 cm of the sensor?
>
> Any information on this will be of great help.
> Thank you,
>
> Priti
>



Posted by amr on December 10, 2005, 5:06 pm
Please log in for more thread options
Thanks a lot, the 10K resistor did solve me purpose.
I really appreciate the information.


Similar ThreadsPosted
Zilog with the Sharpd GP2D15 sensor. December 10, 2005, 5:19 pm
1-25 m range sensor September 11, 2005, 4:27 am
temperature sensor September 30, 2005, 12:31 am
Line sensor October 29, 2005, 2:36 pm
Help with a distance sensor... January 22, 2006, 12:08 pm
Proximity sensor March 16, 2006, 4:47 am
IR Sensor Issues July 31, 2006, 12:13 pm
CCD Linear Sensor October 6, 2006, 3:47 am
Pressure sensor help October 25, 2006, 3:00 pm
looking for an ultrasonic sensor January 13, 2007, 7:28 pm

The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy