"Noel Henson" <> wrote in message
news:jlcYb.27040$. net...
> Jim,
>
> This stuff easily fits into 12C508. I do it quite a bit for a client.
> Because of this, I can't give you the software. You can buy cheap chips
> (12cxxx and 16cxxx based) from him if you need a quick solution. You can
> get them from www.infraredremote.com. Done properly you can even get by
> with the internal 4.0MHz RC oscillator.
>
> Other than that, you will want to download the datasheet from a TSOP1238
> from Vishay. You'll need to compensate for the pulse stretching and pulse
> width distortions cause by modern IR receiver internal AGC and filter
> circuits.
>
> Noel
>
> Jim wrote:
Many thanks for the info, Noel. In fact I need to use a PIC12F629 as it's
got other work to do as well as the decoding. It's a great chip for our
application - internal 8MHz oscillator with +/-1% accuracy or so and runs ok
from 3.3V. I don't think it costs much more than the gold ol' 12C508.
In fact, I've already got an IR receiver module (actually a Hero Electronics
HIM702HM, as it was easier and cheaper to get hod of than a Vishay for me at
the time). The output from it looks fine after some crude distance/obstacle
testing, so I'm ready to start coding. Just didn't want to rewrite the wheel
if someone has already done it and it's available.
Thanks too for the head-up re pulse stretching and distortions. That's
exactly the kind of thing I'm worried I'll miss if I write the code myself.
If I do my own code, I'll build in some slack for those possibilities.
Jim