Shop OBEX P1 Docs P2 Docs Learn Events
IR RS-232 Link for a BS2P — Parallax Forums

IR RS-232 Link for a BS2P

ArchiverArchiver Posts: 46,084
edited 2002-05-21 02:30 in General Discussion
Does anyone know how to make an IR RS-232 Link for a BS2P? What baud
rates could be expected? Are there any available off the shelf?

Regards,
Chris Dundorf


________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-05-21 02:30
    THe IR module Parallax uses with the BeoBOT is a nice IR pickup for
    serial comms. Also, radio shack carries one (look for TV Remote
    pickup). These devices are tone decoders for IR. When a signal is
    absent they output 5V. When a 38KHZ (depending on module) is present
    they output a low.

    In this fashion you can send IR data. Choose a pin, such as P5 and
    use the serout command for it. From pin 5 go into an AND gate with
    the 38KHz carrier frequency on the other input (from a 555 timer).
    Ths output goes to an IR Emitter. This will place the data on a
    38KHz carrier.

    On the receiving side, connect the output of the IR module to a pin
    and use the SERIN instruction.

    Don't expect baud rates about 300 to work. These modules have very
    slow response times. Also, to increase your distance, from the AND
    gate, feed to a high current driver, a transistor or ULN2003.

    With about 50% duty cycle, the IR emitters can handle up to about 0.2
    Amps + . at 100% duty (on all the time), about 100mA.

    With out a driver (straight from TTL AND gate), distance is about 10
    feet. With a high current driver we've gone about 50 feet.

    Hope this help,
    Martin Hebel
    Electronic Systems Technologies.
    Southern Illinois University
    http://www.siu.edu/~imsasa/est

    --- In basicstamps@y..., Christopher C Dundorf <cdundorf@j...> wrote:
    > Does anyone know how to make an IR RS-232 Link for a BS2P? What
    baud
    > rates could be expected? Are there any available off the shelf?
    >
    > Regards,
    > Chris Dundorf
    >
    >
    > ________________________________________________________________
    > GET INTERNET ACCESS FROM JUNO!
    > Juno offers FREE or PREMIUM Internet access for less!
    > Join Juno today! For your FREE software, visit:
    > http://dl.www.juno.com/get/web/.
Sign In or Register to comment.