The PIC Kit 2 is a brilliant tool that can be used as a programmer, debugger, serial receiver and for signal capture. In many ways it is more versatile than the PIC Kit 3. One of my projects required IR capture to duplicate remote codes. I decided to create this small module that plugs directly on the PIC Kit 2 and can be used to capture IR codes for almost any IR remote available today. The software supplied from Microchip also allows to approximately measure the timing which makes it quite handy.
The circuit is pretty simple and can be wired in 5-10 minutes

Pic Kit signal capture window:
Captured wave form saved by the software:





September 26th, 2011 on 6:25 pm
Why the inverting transistor?
September 26th, 2011 on 10:29 pm
Great technique; in fact, you can use a higher sampling rate to even see the individual modulation pulses, enabling you to determine the precise modulation frequency used.
Regards,
Anand Dhuru
September 28th, 2011 on 4:25 pm
Wery cool .
Could this also be used with radio modules like 433MHz , and then burn the code into PIC to duplicatea the remote ?
And how ?
Thanx
September 29th, 2011 on 9:51 am
Yeah it works with rf receivers too, ive tried it. You might need to change the sampling rate for best results.
Most modern rf remotes use code hopping, if they do then they can not be duplicated without a key.
September 29th, 2011 on 9:55 am
Anand, that might just not be possible with this set up. You will need a bare photo sensor with a small amplifier to do that. This receiver demodulates the signal which effectively removes the carrier.
September 29th, 2011 on 9:58 am
Bogdan, It makes visualization easier. A high signal represents ir received. it will however work without the transistor, in that case a low line would mean ir reception.
September 29th, 2011 on 6:15 pm
Thank you for that information .
Well I tried to copy the code with mic input on the computer back in the old days
It actually worked (fixed code)
The problem is that I do not know how to program that code into PIC .
Do you have any example ?
Thanx
November 17th, 2011 on 5:49 pm
Hi, great work!
Do you know if is possible obtain similar result also with an ICD2 clone ?
Which software I need ? (MPLAB perhaps?)
November 17th, 2011 on 8:18 pm
If you mean PIC Kit 2 clone? yes this is a PIC Kit 2 clone I bought from sure electronics.
You will need the PIC Kit 2 utility from Microchip.
November 17th, 2011 on 8:29 pm
Hi again. No, I mean exactly an ICD2 clone, not PicKit2 clone. I use it with MPLAB as in circuit debugger OR as programmer. It has the same case of pickit2 but it is different, has an 18F4550 and a 16f877 inside.
I bought it from Sureelectronics
November 17th, 2011 on 9:40 pm
it will most likely not work with the ICD2 because PICkit2 has a modified firmware developed for this purpose. also the PICKit 2 is based on the 18F2550.
January 12th, 2012 on 2:54 am
Hi to all,
Adding a 10nF cap between GND and PGD will improve stability and wil give you more smooth results. Best regards
February 27th, 2012 on 7:30 pm
it’s posible to save logic resulta to another format?
bitmap to txt bin or scv ?
or use an other soft ?
March 9th, 2012 on 11:38 am
You can save the result as image files yes.
July 18th, 2012 on 2:38 pm
Very clever idea. Is it possible to use this to determine what type of remote transmitter is in use, say RC5 or RC6?
July 18th, 2012 on 5:02 pm
Not really, the only way is to visually analyse the protocol.