go away spammer

Author Topic: Sharp IR proximity detector vs. DIY emitter/detector/ADC setup?  (Read 5975 times)

0 Members and 1 Guest are viewing this topic.

Offline groovy9Topic starter

  • Jr. Member
  • **
  • Posts: 17
  • Helpful? 0
Sharp IR proximity detector vs. DIY emitter/detector/ADC setup?
« on: January 29, 2007, 09:28:16 AM »

New to robotics, and thought I'd ask about the practicality of building your own IR proximity detector.  Since an IR LED/detector pair can be had for a buck, what's the drawback to rolling your own?

First thing to mind is ensuring that the detector doesn't have line-of-sight to the emitter.  Second is that it'll take some experimenting to map ranges to ADC readings.

Both of those seem pretty minor obstacles.  What am I missing?

Offline groovy9Topic starter

  • Jr. Member
  • **
  • Posts: 17
  • Helpful? 0
Re: Sharp IR proximity detector vs. DIY emitter/detector/ADC setup?
« Reply #1 on: January 29, 2007, 09:36:26 AM »
Oh, duh.  I guess the big one would be the Sharp model does all the emitting and detecting automatically, and you just have to read the ADC pin.

If I roll my own, I'll have to do the emitting in code.  And I suppose it probably uses some sort of signal modulation to prevent intererence with other IR sources...  $10 is starting to sound pretty good.

Offline JonHylands

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 562
  • Helpful? 3
  • Robot Builder/ Software Developer
    • Jon's Place
Re: Sharp IR proximity detector vs. DIY emitter/detector/ADC setup?
« Reply #2 on: January 29, 2007, 10:15:44 AM »
The other big win for the Sharp modules is they are very limited in terms of line of sight, so they are for the most part not affected by typical indoor light sources, including cameras at competitions.

- Jon

Offline Steve Joblin

  • Supreme Robot
  • *****
  • Posts: 405
  • Helpful? 2
    • Roebotz
Re: Sharp IR proximity detector vs. DIY emitter/detector/ADC setup?
« Reply #3 on: January 29, 2007, 10:28:57 AM »
You can build your own IR Emmitter/Detector pretty cheap... you only need three components... an IR LED, an IR Detector, and a Microcontroller... If you want to use a Parallax Basic Stamp, check out page 235 in the Robotics with the Boe-Bot manual which you can download here...(http://www.parallax.com/dl/docs/books/edu/Roboticsv2_2.pdf)

The attached provides a small circuit that only uses one Stamp pin!

 


Get Your Ad Here