![]() |
|
|
DPRG
Events
Shoptalk
Search DPRG Web Site
Member Login
Support the DPRG
Make a tax deductable donation to the DPRG through PayPal.
Website design and hosting by NCC |
IR Proximity Detector ProjectAugust 1998, by Jeff Koenig Project Summary
Every robot needs sensors of some type to interact with the world around it. Infrared LEDs and Infrared photo detectors are one way to detect objects, but they are easily foiled by surrounding ambient light. One way to improve the detection is to modulate the IR signal and then verify that the signal detected is also modulated. Theory of OperationThe PIC 12C509 generates a 38 KHz square wave which delivers current alternately to a left and right infrared LED. The IR energy is then reflected off any nearby obstacle and is detected by the Sharp IR receiver. Because the left and right LEDs are alternated, the PIC can determine whether the reflection was caused by an object to the right or left of the sensor. The program cycles through the following steps:
PCB Layout and Parts Placement
Above: A bottom view of the PCB Board
-----------------------------------------------
| ---------- |
| IR LED | | IR LED |
| - + | Sharp | + - |
| O O | Module | O O |
| | | |
| -OOO------ |
| |
| RED LED O O O O O O RED LED |
| O - O 8 5 O O - |
| O + O 1 4 O O + |
| POT O O O O POT |
| PIC12C509 |
| |
| ---------- ---------- |
| O| 330 R |O O| 330 R |O |
| ---------- ---------- |
| ----------- |
| | O O O O O | |
| -1-------5- |
-----------------------------------------------
Component List
The Details
Related Links
Copyright © 1998 Dallas Person Robotics Group |
Copyright © 1984 - 2008 Dallas Personal Robotics Group. All rights reserved.