Shop OBEX P1 Docs P2 Docs Learn Events
Problems with IR Detectors and recievers — Parallax Forums

Problems with IR Detectors and recievers

ArchiverArchiver Posts: 46,084
edited 2000-04-12 00:20 in General Discussion
Hello,

I was wondering if any body could help me with a problem with my
IR Sensors. I have built a robot using the basic stamp 2SX and the
board of education and also made it run with two servos. My object is
to get it to not run into walls and detect and turnaround when it
finds them. The problem that I am facing is that it only detects
every once and a while? When ever it wants to, and from no certain
area or distance. Why is this? I have every thing set up correcty,
(acording to the book I got this out of, I think it was the board of
education experiment book) and I adjust the pot to see if I can "fine
tune" the "POT" and controll the detection area but it still just
works when ever it wants to. I am also sure it is not a loose
connection also. Can any body help me? I would appreciate it very
much. Thanks, Alex

PS- I would gladly accept any information on IR sensors at all.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-04-11 05:20
    Alex,

    Did you connect the 555 back to the Stamp to center the frequency
    at 38000? You can "kind of" adjust the detection range by adjusting
    this center frequency, but its not linear. I have built two of the
    BoEBots which use two Panasonic 4602 detectors and those little IR
    LEDs they work like a champ. What exactly have you done, I can
    suggest what to try next. I have worked with this type of circuit
    a LOT.

    DLC

    ajb_robotics@h... wrote:
    >
    > Hello,
    >
    > I was wondering if any body could help me with a problem with my
    > IR Sensors. I have built a robot using the basic stamp 2SX and the
    > board of education and also made it run with two servos. My object is
    > to get it to not run into walls and detect and turnaround when it
    > finds them. The problem that I am facing is that it only detects
    > every once and a while? When ever it wants to, and from no certain
    > area or distance. Why is this? I have every thing set up correcty,
    > (acording to the book I got this out of, I think it was the board of
    > education experiment book) and I adjust the pot to see if I can "fine
    > tune" the "POT" and controll the detection area but it still just
    > works when ever it wants to. I am also sure it is not a loose
    > connection also. Can any body help me? I would appreciate it very
    > much. Thanks, Alex
    >
    > PS- I would gladly accept any information on IR sensors at all.
    >

    --
    Dennis Clark http://www.verinet.com/~dlc
    dlc@v...
  • ArchiverArchiver Posts: 46,084
    edited 2000-04-11 16:17
    Hi: I use the IR circuit with my robot,and see reliable operation.Did you
    connect your servo power directly to your battery pack? I originally had my
    servo power connected to the board of educations power and things were
    unreliable.Do you have too low an ohm resistor on your IR leds? I use a 2200
    ohm resistor. I found using a standard 220-330 ohm was over driving the IR
    led output.This gives me a wall detection range of around 4 inchs. Are your
    IR detectors well seperated from the IR leds? I use a 1/4" thick board with
    my LED underneith and the detector on top of the board. This way the wood
    board acts as a barrior for the IR. LED and Detector facing foward of course.
    have you checked the voltage at the stamp,while your servos are running?
    maybe it is dropping below 5 volts?
    did you place a 3300 mfd capacitor on your board of education,to provide
    power for the servos? (this is not needed if drawing power directly from the
    battery pack for the servos)
    I myself have used the radio shlock IR led;s and the tin can detector
    module they sell.
    I have all 3 led's connected to the same 555 output,and use a seperate
    detector for right,left and forward. I did use 2 detectors and checked state
    of left and right together for forward,but was missing chair legs and such
    this way.
    I also wound up resorting to a fwd bumper for the odd chair leg that slips
    past detection.
    I also found out that black walls will not give any IR feedback,some counter
    tops have the lower kickplate painted black.This was a killer for my poor robot.
    1 last thing,there is an application note from parallax noting that some
    board of educations have an inferior 5 volt regulator,they will replace it
    with an upgraded higher amperage output version for free. I do not have the
    app note handy,or the regulators part number. You may wish to check this as
    well.

    I hope some of this helps.




    At 01:49 AM 4/11/2000 -0000, you wrote:
    >Hello,
    >
    > I was wondering if any body could help me with a problem with my
    >IR Sensors. I have built a robot using the basic stamp 2SX and the
    >board of education and also made it run with two servos. My object is
    >to get it to not run into walls and detect and turnaround when it
    >finds them. The problem that I am facing is that it only detects
    >every once and a while? When ever it wants to, and from no certain
    >area or distance. Why is this? I have every thing set up correcty,
    >(acording to the book I got this out of, I think it was the board of
    >education experiment book) and I adjust the pot to see if I can "fine
    >tune" the "POT" and controll the detection area but it still just
    >works when ever it wants to. I am also sure it is not a loose
    >connection also. Can any body help me? I would appreciate it very
    >much. Thanks, Alex
    >
    >PS- I would gladly accept any information on IR sensors at all.
    >
    >
    >
    >
    >
    >
    >
    Sincerely
    Kerry
    Admin@M...
    WWW server hosting
    [url=Http://mntnweb.com]Http://mntnweb.com[/url]
    Binghamton online Webcam [url=Http://MntnWeb.Com/bing.htm]Http://MntnWeb.Com/bing.htm[/url]
    CHRISTMAS Web Page [url=Http://mntnweb.com/xmas.htm]Http://mntnweb.com/xmas.htm[/url]
  • ArchiverArchiver Posts: 46,084
    edited 2000-04-11 22:06
    Alex I'm not a robot man but I bought several of the FIRESTICK kits and can
    tell you they are fantastic!! Simple to build and the range is phenominal.
    You would have to throttle the transmitter down by changing the serial led
    resistor and slip a directional tube of some sort over it also. Without a
    directional tube and at full throttal it will reflect off walls and even
    around corners. Just a thought. ==Mac==

    At 01:49 AM 4/11/00 -0000, you wrote:
    >Hello,
    >
    > I was wondering if any body could help me with a problem with my
    >IR Sensors. I have built a robot using the basic stamp 2SX and the
    >board of education and also made it run with two servos. My object is
    >to get it to not run into walls and detect and turnaround when it
    >finds them. The problem that I am facing is that it only detects
    >every once and a while? When ever it wants to, and from no certain
    >area or distance. Why is this? I have every thing set up correcty,
    >(acording to the book I got this out of, I think it was the board of
    >education experiment book) and I adjust the pot to see if I can "fine
    >tune" the "POT" and controll the detection area but it still just
    >works when ever it wants to. I am also sure it is not a loose
    >connection also. Can any body help me? I would appreciate it very
    >much. Thanks, Alex
    >
    >PS- I would gladly accept any information on IR sensors at all.
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-04-12 00:20
    The Fire-Stick was designed primarily for applications that
    don't require the additional range, and the added expense
    of RF remote control units.

    When using the high-power option, the Fire-Stick is incredibly
    powerful, and literally floods an entire room with infrared energy.

    The Fire-Stick infrared remote control system is ideal when you
    don't want to aim the transmitter [noparse][[/noparse]directly] at the receiver as with
    most commercially available infrared remote control systems.

    You can simply change the current limiting resistor for the Fire-Stick,
    and shorten the overall operating distance to what ever you need.

    Each kit comes with instructions that explain how to increase or
    decrease the operating distance, and make it very easy to implement
    the Fire-Stick in any IR sensing or remote control application.

    For a peek at the Fire-Stick infrared remote control systems, visit
    our web site at: http://www.rentron.com

    Regards,

    Bruce Reynolds
    http://www.rentron.com

    Original Message
    From: "Robert McAtee" <w5tnj@c...>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, April 11, 2000 3:06 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Problems with IR Detectors and recievers


    >
    > Alex I'm not a robot man but I bought several of the FIRESTICK kits and
    can
    > tell you they are fantastic!! Simple to build and the range is phenominal.
    > You would have to throttle the transmitter down by changing the serial led
    > resistor and slip a directional tube of some sort over it also. Without a
    > directional tube and at full throttal it will reflect off walls and even
    > around corners. Just a thought. ==Mac==
    >
    > At 01:49 AM 4/11/00 -0000, you wrote:
    > >Hello,
    > >
    > > I was wondering if any body could help me with a problem with my
    > >IR Sensors. I have built a robot using the basic stamp 2SX and the
    > >board of education and also made it run with two servos. My object is
    > >to get it to not run into walls and detect and turnaround when it
    > >finds them. The problem that I am facing is that it only detects
    > >every once and a while? When ever it wants to, and from no certain
    > >area or distance. Why is this? I have every thing set up correcty,
    > >(acording to the book I got this out of, I think it was the board of
    > >education experiment book) and I adjust the pot to see if I can "fine
    > >tune" the "POT" and controll the detection area but it still just
    > >works when ever it wants to. I am also sure it is not a loose
    > >connection also. Can any body help me? I would appreciate it very
    > >much. Thanks, Alex
    > >
    > >PS- I would gladly accept any information on IR sensors at all.
    > >
    > >
    > >
    > >
    > >
    > >
    >
    >
    >
    >
Sign In or Register to comment.