ir obstacle detection
Archiver
Posts: 46,084
I'm having trouble getting my IR obstacle detector working. I'm using
the circuit and code from the BOEBOT manual. At 38500 khz, the IR
detector always reads low, it's picking up the IR signal. I've covered
up the IR LED with heat shrink plastic, but I can't get any where. Any
ideas?
chris in napa
the circuit and code from the BOEBOT manual. At 38500 khz, the IR
detector always reads low, it's picking up the IR signal. I've covered
up the IR LED with heat shrink plastic, but I can't get any where. Any
ideas?
chris in napa
Comments
to be "human error"!
1. Make sure that you have the IR Detector wired properly (you could
have the first and third pins wired backwards).
2. Are you using a resistor with the IR LED? Is it the correct
value?
3. Is the LED wired correctly? It matters which one connects to the
Pin and which one connects to ground.
3. Check your program to make sure that the IR LED pin is the one
with the "freqout" command, and that the IR Detector is the one with
the "InX" command.
4. Are you using a left and right set up? If you can get one pair
to work and not the other, you can switch components to make sure
that they are not defective.
Hope this helps (although you are probably thinking that you tried
all these things, check them again, or have someone else check them.
Sometimes it is difficult to see your own "stupid" mistakes!
Steve
--- In basicstamps@yahoogroups.com, chris burns <mwalimu@s...> wrote:
> I'm having trouble getting my IR obstacle detector working. I'm
using
> the circuit and code from the BOEBOT manual. At 38500 khz, the IR
> detector always reads low, it's picking up the IR signal. I've
covered
> up the IR LED with heat shrink plastic, but I can't get any where.
Any
> ideas?
>
> chris in napa
10k resistor the circuit works beautifully. I'm not sure why there is
such a disparity between the Parallax resistor values and mine, it must
be the IR LEDs I'm using. Maybe mine are super bright?
chris in napa
sjoblin001 wrote:
>I have had some trouble in the past with this. It always turns out
>to be "human error"!
>
>1. Make sure that you have the IR Detector wired properly (you could
>have the first and third pins wired backwards).
>
>2. Are you using a resistor with the IR LED? Is it the correct
>value?
>
>3. Is the LED wired correctly? It matters which one connects to the
>Pin and which one connects to ground.
>
>3. Check your program to make sure that the IR LED pin is the one
>with the "freqout" command, and that the IR Detector is the one with
>the "InX" command.
>
>4. Are you using a left and right set up? If you can get one pair
>to work and not the other, you can switch components to make sure
>that they are not defective.
>
>Hope this helps (although you are probably thinking that you tried
>all these things, check them again, or have someone else check them.
>Sometimes it is difficult to see your own "stupid" mistakes!
>
>Steve
>
>--- In basicstamps@yahoogroups.com, chris burns <mwalimu@s...> wrote:
>
>
>>I'm having trouble getting my IR obstacle detector working. I'm
>>
>>
>using
>
>
>>the circuit and code from the BOEBOT manual. At 38500 khz, the IR
>>detector always reads low, it's picking up the IR signal. I've
>>
>>
>covered
>
>
>>up the IR LED with heat shrink plastic, but I can't get any where.
>>
>>
>Any
>
>
>>ideas?
>>
>>chris in napa
>>
>>
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
[noparse][[/noparse]Non-text portions of this message have been removed]