> > From: Wan Hasmi
>
> > does anyone has a sample of project that involve sharp 3
> > pins IR module(40KHz) interfacing with PIC16F84/PIC16C84?
> >a simple project is more than enough, at least I have the idea of
> >how to decode the incoming data
>
> You can treat the data coming from the IR module just like
> data coming down a wire except that it will have been inverted
> by the IR module. As there is no clock line to go with the data,
> ie it is a 1-wire system, you must sample the data stream to
> get the bit values. You should have some knowledge of what
> to expect, such as baud rate, synch patterns etc, if you want
> the software to be reasonably simple. For example, with a
> known baud rate you can sample at least three times per bit
> length to ensure you have its value. Something like a remote
> control may have a synch pattern pre-amble. If you're making
> your own serial data with eg another PIC then it will be very
> easy as you know the exact timing
>
> --
>
http://www.piclist.com hint: The PICList is archived three different
> ways. See
http://www.piclist.com/#archives for details.
>
>