2

Author Topic: Wiring a Sharp IR Sensor GP2Y0D810Z0F  (Read 3560 times)

0 Members and 1 Guest are viewing this topic.

Offline GertlexTopic starter

  • Supreme Robot
  • *****
  • Posts: 746
  • Helpful? 23
  • Nuclear Engineer · Roboticist
Wiring a Sharp IR Sensor GP2Y0D810Z0F
« on: November 17, 2009, 07:08:02 PM »
I bought this sensor more than a year ago and am finally getting around to playing with and using it.

The data sheet is here:
http://document.sharpsma.com/files/gp2y0d810z_e.pdf

I've tried doing the following test with an Axon for power, and a Multimeter for measurements:

GND (4) to Axon ground pin (E.g. A2 pin trio)
Vcc(11) to Axon center row pins (again, A2 trio)
Then Multimeter to GND and Vo(13)

All measurements end up being in the 0 to +- 5mv range.

I'm pretty sure that I'm doing the wiring wrong for this sort of sensor.  Someone with a better knowledge of reading data sheets know what to do here?

Thanks.
I

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Wiring a Sharp IR Sensor GP2Y0D810Z0F
« Reply #1 on: November 17, 2009, 07:15:33 PM »
Pololu makes a very convienient breakout board for that sensor. They also give examples on using it.

Definately a good place to help you get started with it.

http://www.pololu.com/catalog/product/1133
Kurt

Offline GertlexTopic starter

  • Supreme Robot
  • *****
  • Posts: 746
  • Helpful? 23
  • Nuclear Engineer · Roboticist
Re: Wiring a Sharp IR Sensor GP2Y0D810Z0F
« Reply #2 on: November 17, 2009, 07:30:41 PM »
Thanks for that!

Probably going to need to order some x_x
I

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Wiring a Sharp IR Sensor GP2Y0D810Z0F
« Reply #3 on: November 17, 2009, 07:46:34 PM »
Hi,

GND (4) to Axon ground pin (E.g. A2 pin trio)
Vcc(11) to Axon center row pins (again, A2 trio)
Then Multimeter to GND and Vo(13)
It's all in page 2 of the datasheet.
- Vcc to pins 11 AND 14
- Gnd to pin 4
- 100nF between pins 4 and 11
- 100nF between pins 4 and 7
- Shunt pins 1 and 3
- 4.3 Ohm resistor between pins 2 and 4 (to set LED current)
- Pin 12 to pin 11 to activate (pin 12 to pin 4 for Stand By)

Output is now on pin 13, low when object is detected (2..10 cm in front of it), otherwise high
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,663
  • Helpful? 169
    • Society of Robots
Re: Wiring a Sharp IR Sensor GP2Y0D810Z0F
« Reply #4 on: November 17, 2009, 08:24:36 PM »
Quote
Vcc(11) to Axon center row pins (again, A2 trio)
A2 is an unregulated pin on the Axon, and your sensor can't safely handle above 6.2V.

Just making sure you are aware of that ;D

Offline GertlexTopic starter

  • Supreme Robot
  • *****
  • Posts: 746
  • Helpful? 23
  • Nuclear Engineer · Roboticist
Re: Wiring a Sharp IR Sensor GP2Y0D810Z0F
« Reply #5 on: November 17, 2009, 11:59:47 PM »
@Admin:

I knew my battery was ~6V (5* AA rechargeables)

But ya.  I was rusty and finally went and looked at the schematic of the Axon again.  (But before I read your post, so hah! ;) )

And Thanks :)

@Soeren:

Thanks for translating that for me x)

I figured that'd probably tell me what I needed to know, but was hoping for a simpler solution.  Considering that I don't have a good supply of basic electronic components lying around, I need to either buy such, or just go with the breakout board.

Probably will do both, of course :)
I

 


Get Your Ad Here