IR detectors how they work?
BoeKid from PR
Posts: 8
····· Bought the Parallax Boe Bot (USB) and finished all the projects except for the IR related ones. I could not figure out why didint they work.· I also tried the troubleshoting in the Robotics with the Boe Bot. Any sugestions? Any help would be apreciated.
Comments
·· I tried the first project from lesson 7. The program was suppose to DEBUG a "0" if no object was detected with in a certain range, or a "1" if an object was present. It always displayed a "0" no mater what I did. Then·I·followed the trouble shooting in the book and nothing, I·even tried placing it in front of the mirror and still nothing. I also ruled out that the IR did work because with a camera I saw that the LED turn on and·also I tried the IR Reciver because I could control the Boe Bot using a· IR remote control.
Thanks, anything else you need please let me know.
Boe Kid from PR...
Something else to consider ... The detector responds to IR at the right frequency by producing a low output. This might also be produced if there's no connection to the detector (an "open" circuit).
Post Edited (Mike Green) : 3/25/2007 3:24:32 AM GMT
You stated:
"The program was suppose to DEBUG a "0" if no object was detected with in a certain range, or a "1" if an object was present."
Actually, according to the "Activity #1" in Chapter 7, the opposite is true. But, even so, it appears that you were getting no change in signal regardless of how you manipulated the IR reflector in front of the IR pair.
Check the code. Check the circuit. ...again, as Mike suggested.
PAR
···· I'll try your suggestions. I'll check the circuit and check the program if still it dosen't work I'll attach the code and a image of the circuit.
Thanks again.
I cheked everything you guys said, the wiring, the code, and the FREQOUT command and it work! Thanks for all your help. If any need help just let me know. Thanks again.
Boe Kid from PR...