Shop OBEX P1 Docs P2 Docs Learn Events
Can i get an IR sensor which detects an object which is at a distance of 5cm?i — Parallax Forums

Can i get an IR sensor which detects an object which is at a distance of 5cm?i

jaijai Posts: 2
edited 2008-07-25 15:05 in General Discussion
· i· need a circuit diagram of an IR sensor which detects an object ,

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-07-25 02:16
    The Robotics with the BoeBot tutorial which is downloadable from Parallax (go to their main web page, select the Resources tab, then choose Downloads, then Stamps in Class Downloads) has a chapter on using modulated IR for distance detection. This includes circuit diagrams and sample code. The use is different, but the technique is usable at shorter range. By using a larger resistor value for the IR LED, you can reduce the amount of power used, thus the range of the IR beam. I can't give you a specific value. You'll need to experiment with the effective range for different amounts of LED current.

    Depending on your circumstances, you may want a baffle on the IR detector to limit its range of view (like the opaque tube that comes with the IR LED shown in the tutorial.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-07-25 13:41
    This thread is being moved from the Completed Projects Forum to the Sandbox Forum as it is off topic in the original forum which is for Completed Projects only.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • LilDiLilDi Posts: 229
    edited 2008-07-25 15:05
    There is a sonic sensor that will detect objects within the 5cm range.

    http://www.maxbotix.com/
Sign In or Register to comment.