There is nothing magic about the IR board provided in the KoP. You can order a similar device from:
http://www.tauntek.com/tinyir2-learning-ir-remote-control-receiver.htm
If you have the capacity to program a PIC microcontroller and make your own circuit board you can also build a very simple IR receiver.
Unfortunately our custom built board is stuck on the robot, in a shipping crate, on its way home, and I don’t have a good photo of it so I can’t show you exactly what we built. But it is pretty simple and I can describe it (see attached images).
One image is the circuit board pattern that we printed out and transfered on to a printed circuit board using a direct transfer process. (http://www.pulsarprofx.com/PCB/a_Pages/1_Menu/overview.html)
The other image shows what each trace does. With the header strips soldered in to the board, this should press down directly on to the Digital Inputs of the RC. It is powered by the +5 supply from the digital I/O pins of the RC. The board will be “upside down” in this position, with the solder traces facing upward, the PIC and headers facing down. There is room to mount two different IR receivers… we used the PNA4602m (available from Digikey) because we had a bunch around for our Mini-sumo robots, but the Vishay receivers on the IR board might work, too. I believe that both receivers provide a logical “0” output when they detect a 38khz modulated IR signal, and a “1” when they do NOT receive the signal. Rather than solder the IR receivers directly on to the board, we used a length of servo cable for each one so we could mount them to the outside of the robot.
This was a very simple, compact solution, with little chance of hooking the power up the wrong way around or having a wire come loose. The only catch is that it eats up some of your digital inputs, as when you press the headers down onto the digital inputs, the circuit board covers up the neighbouring RC inputs as well. In most cases, this is not a problem.
Software… right… software… we took the easy way out and programmed the PIC16f627a using PIC Basic Pro (www.melabs.com) Rather than make it a learning receiver we hard coded in the signals that we wanted it to read. We set it up to use the SONY IR protocol (google SIRCS for more info) and so that Channel UP, Channel DOWN, Volume UP and Volume DOWN were our four commands.
We also solderd an LED on to the back of the circuit board from PORTA.2 to ground, I believe, to allow the PIC to signal when it was receiving a valid IR signal.
The exact software we used is at school… which doesn’t open until Wednesday. If you are planning to build this circuit and need something ASAP, please PM me and I’ll see if I can re-create the code at home. It is not difficult, PIC Basic Pro makes it easy.
Hope that helps…
Jason
1346 IR receiver 150dpi.bmp (8.32 KB)

1346 IR receiver 150dpi.bmp (8.32 KB)
