Shop OBEX P1 Docs P2 Docs Learn Events
Schematic for "Beam Break" IR sensor for Stamp? — Parallax Forums

Schematic for "Beam Break" IR sensor for Stamp?

Vern GranerVern Graner Posts: 337
edited 2005-08-04 13:59 in BASIC Stamp
Does anyone have a quick link to a schematic and part numbers to use for creating an IR "beam break" style sensor for a pin on the stamp? I've been digging around and most of the stuff I come across is designed to detect modulated IR.

I just need to span about 8-12 inch gap and detect when something obscures the beam. I tried using this phototransistor mounted at the end of a black tube (part of a ball point pen cap) to act as a "hood" and used this "high output" IR LED and was not able to get consistent switching using the schematic attached. If someone has a schematic and a part # and a value for the resistor handy, I'd appreciate it!

smile.gif

Vern

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
Senior Systems Engineer    | obviously incompetent so why are we
Texas Information Services | paying you? Of course,if the network
http://www.txis.com        | is up, then we obviously don't need
Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG


Post Edited (Vern) : 8/1/2005 11:25:40 PM GMT
440 x 459 - 3K

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-08-01 23:36
    You may not be getting a lot of conduction on your transistor due the current flowing through the IR LED.· You could bump that up, or increase the size of your pull-up so that the junction voltage drops when the phototransistor conducts.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Vern GranerVern Graner Posts: 337
    edited 2005-08-02 03:14

    Thanx! I bought some new parts today at Rat Shack and will rebuild this circuit using those values and see what I get. COuld just be the parts I had on hand were old/damaged.. We'll see.

    smile.gif

    Vern

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
    Senior Systems Engineer    | obviously incompetent so why are we
    Texas Information Services | paying you? Of course,if the network
    http://www.txis.com        | is up, then we obviously don't need
    Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG
    
    
  • Beau SchwabeBeau Schwabe Posts: 6,557
    edited 2005-08-02 04:25
    Here is a circuit that might be helpful to you that I used for a light pen design.
    The idea of this circuit was to amplify the weak peripheral signals. In your case,
    just a basic IR amplifier.

    ... I don't think you will need the last stage of this circuit using the 74HC14.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
    895 x 563 - 12K
  • Vern GranerVern Graner Posts: 337
    edited 2005-08-02 20:00
    Short said...
    Me again I misdrew the first drawing, This circuit is sensitive and doent care about ambeant light levels. It might be just what you need
    Short

    Wow! Thats above and beyond! Thanx! smile.gif

    Vern

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
    Senior Systems Engineer    | obviously incompetent so why are we
    Texas Information Services | paying you? Of course,if the network
    http://www.txis.com        | is up, then we obviously don't need
    Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG
    
    
  • Beau SchwabeBeau Schwabe Posts: 6,557
    edited 2005-08-03 04:00
    Short,

    Just an FYI.... You can edit your own posts by clicking on the symbol (upper right) that looks like a pencil.
    Likewise you can also 'delete' your own posts by clicking on the "X" symbol.

    In Edit mode you can update schematics, text, etc.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Don BuczynskiDon Buczynski Posts: 31
    edited 2005-08-03 14:40
    I use a curcuit similar to the initial one described in my projects. It works well over short distances and moderate light conditions. But the emitter LED throws a broad beam like a flash light and it is a challange to get the components lined up properly for optimum distance. A lens on the emitter would help.·Radio Shack sells a small plastic card with an IR sensitive patch that glows when in the IR beam.

    I came across·this·circuit http://home.cogeco.ca/~rpaisley4/DccBODvt5.html·while investigating ways to improve the performance of the IR circuits I·use in my projects. My thought is to replace transistors Q1 and Q2 with the IR detector transistor. The added benefit of this circuit is that it helps to eliminate signal bounce on the input pin·of the BS2. Currently,·the "one shot" functionality has to be implemented in my BS2 code. I have not yet built this circuit with my intended modification.

    This last thought is beyond your requirements statement but·what comes to mind is using garage door opener sensors. http://www.genie-garage-door-openers.com/genie_safe.htm·. My garage has a double wide door and the sensors work flawlessly even when in direct sunlight. Not sure what the output of the receiver looks like but it might be interesting to investigate.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don Buczynski

    http://www.buczynski.com
  • ShortShort Posts: 26
    edited 2005-08-04 13:59
    · Last drawing ,·This circuit works at a great distance and is ok in some light you should be able to use it.

    Short
    800 x 600 - 16K
Sign In or Register to comment.