Shop OBEX P1 Docs P2 Docs Learn Events
Getting BASIC Stamp to read IR trigger — Parallax Forums

Getting BASIC Stamp to read IR trigger

Armored CarsArmored Cars Posts: 172
edited 2004-11-19 20:29 in BASIC Stamp
Does anyone know how to get the BS2 to read this trigger-

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-19 20:29
    The sensor seems to be designed to trigger when an object is within 40 cm -- for use with automatic toilet flushers and things like that. The output is high (no object) or low (object detected). If you're wanting to know the distance between the sensor and the object, this is not the device to use.

    You might want to use the GP2D12; then you can change the trigger point is code instead of external hardware.· This article might help: http://www.parallax.com/dl/docs/cols/nv/vol5/col/nv114.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office


    Post Edited (Jon Williams) : 11/19/2004 8:50:38 PM GMT
Sign In or Register to comment.