go away spammer

Author Topic: Wiring for this Infrared sensor?  (Read 8249 times)

0 Members and 1 Guest are viewing this topic.

Offline SeagullOneTopic starter

  • Robot Overlord
  • ****
  • Posts: 248
  • Helpful? 0
  • Humans and Robots working together for our future.
    • Loren John Presley - Author, Artist, Roboteer
Wiring for this Infrared sensor?
« on: October 13, 2008, 12:47:57 PM »
Okay, I'm planning to use this infrared sensor in my robot's gripper mechanism, sort of like a near-object sensor for  detecting when an object is within its grasp.

http://www.trossenrobotics.com/store/p/5444-QRB1134-IR-Photoreflector.aspx

My problem is, I'm not sure how to wire it to a power supply and microcontroller.  ??? I think I understand what the wires do, but I'm not 100% sure where to hook them up. I've searched online and can't find any example wiring diagrams...

Loren
I think the chauffeur did it.

.......

He did.

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Re: Wiring for this Infrared sensor?
« Reply #1 on: October 13, 2008, 01:01:26 PM »
I've never done this, but I like to learn.

It looks like there is two connections here..

One is your Photoresister wiring, like it says in the schematic in the data sheet.

I'm not sure how to wire up the emitter/collector. I'm assuming some sort of pulse output.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Wiring for this Infrared sensor?
« Reply #2 on: October 13, 2008, 03:21:17 PM »
I've used that one before as a line following sensor. Its fairly simple to use but don't expect to get ranging with it.

Follow the wiring here:http://www.superdroidrobots.com/product_info/qrb1134.htm
Then just do an A2D to get an analog reading or use a comparator to get a digital signal from the sensor.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline SeagullOneTopic starter

  • Robot Overlord
  • ****
  • Posts: 248
  • Helpful? 0
  • Humans and Robots working together for our future.
    • Loren John Presley - Author, Artist, Roboteer
Re: Wiring for this Infrared sensor?
« Reply #3 on: October 14, 2008, 10:16:10 PM »
I see, so it works best as a line follower, (or an encoder), but probably not too suitable for a near-object sensor, even so really short ranges (such as in the gasping range of a gripper). For example, if there's a black soda can its not going to sense it.

Anyone have any ideas on what sensor would be suitable for that? A sharp IR's too far a rang. I need something that's best in really short range. Maybe like this one?
http://www.trossenrobotics.com/store/p/5446-QRD1114-IR-Photoreflector-Leads-small-Square.aspx

Or is that short of the same thing as my previous idea?
I think the chauffeur did it.

.......

He did.

Offline Trumpkin

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Robots are awesome!

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Wiring for this Infrared sensor?
« Reply #5 on: October 15, 2008, 05:31:21 PM »
It will be OK for very short ranges ( around 2-3") but you wont be able to get perfect accuracy depending on the color of the soda can.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline SeagullOneTopic starter

  • Robot Overlord
  • ****
  • Posts: 248
  • Helpful? 0
  • Humans and Robots working together for our future.
    • Loren John Presley - Author, Artist, Roboteer
Re: Wiring for this Infrared sensor?
« Reply #6 on: October 15, 2008, 08:28:00 PM »
I see. All right, then, I'll buy one and experiment with it a bit. If it doesn't work, I'll try a different approach.

Thanks everybody!

Loren
I think the chauffeur did it.

.......

He did.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots

Offline SeagullOneTopic starter

  • Robot Overlord
  • ****
  • Posts: 248
  • Helpful? 0
  • Humans and Robots working together for our future.
    • Loren John Presley - Author, Artist, Roboteer
Re: Wiring for this Infrared sensor?
« Reply #8 on: October 16, 2008, 10:06:31 PM »
 ;D

Yeah, I've read that tutorial. Great stuff. I wanted something I could just buy pre-made though, but I guess building an IR sensor like that wouldn't be too difficult either...

It might also give me a little practice with soldering (I've never soldered before, but I've been planning to teach myself soon anyway.)
I think the chauffeur did it.

.......

He did.

 


Get Your Ad Here