Newsgroups: comp.robotics
Path: brunix!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!strohm
From: strohm@mksol.dseg.ti.com (john r strohm)
Subject: Re: IR BEACONS
Message-ID: <1993Aug27.224254.25581@mksol.dseg.ti.com>
Organization: Texas Instruments, Inc
References: <25lfq1$4p6@male.EBay.Sun.COM>
Date: Fri, 27 Aug 1993 22:42:54 GMT
Lines: 21

In article <25lfq1$4p6@male.EBay.Sun.COM> andrewb@europe.EBay.Sun.COM writes:
>
>
>Hello world,
>
>My task is simple, but I don't know the most efficient way to build
>such a device.  I need to build a small IR beacon that can send a
>fixed 16 bit code, or a number between 0 to 65536.  I know, I can use
>Hayes protocol to send this 2 byte word over and over, or code this 16
>bits in 65536 different frequencies. What is the best method ?. I
>need to keep this small board simple, I am looking for ONE CHIP
>SOLUTION.  Note: I don't have a cpu on this IR beacon. My CPU is
>located on the receiver.

Use a single-chip microcontroller like a PIC on the transmit end and do
a bit-banging serial port (i.e., shift register in software to an output
pin).  Send the data as three bytes, with the sixteen data bits "spread out"
among the three bytes, and flag bits in the rest to make synchronization
easier.  If you can get a single-chip microcontroller with an onboard
serial port, that makes it even easier, as you don't have to write the
bit-banging routines yourself.
