-
Infrared x PIC
Hi there,
I'm almost a newbie, so be patiente with me, ok?
I'm working on an infrared device to avoid my 'bot' colision. I'm using a Vishay TSOP1240 as a receiver, and a LM556 to generate 40Khz pulses.
The project has a size constraint and I was wondering if it is feasible to use a PIC12F675 with INTOSC to generate pulses of 40 Khz and perhaps increment some protocol to distinguish between external noise and my pulse.
-
The 12F683 might be a better choice as it has PWM Mode.
-
On second thought, search for RoboSapien_IR.bas. Bruce wrote it for a 12F683 using the internal oscillator at 4MHz and using ASM to generate 40kHz IR. You can probably adapt it for the 12F675.
-