Page 1 of 1

How to decode IR remote control signals with your PICkit 2

Posted: Tue Jan 22, 2013 10:33 am
by Rksk
Recently I wanted to use a TV IR remote controller with a MCU. I read more & more on the topic. But there was no a way to find the REAL data of my IR remote controller. But I was lucky, PICkit2 saved me. I'm going to describe, how I analyzed the data of my TV IR remote controller.

Firstly I connected an IR sensor to PICkit2 using following circuit. The transistor is not essential, but it gave me clear wave forms.
diagram.JPG
diagram.JPG (22.88 KiB) Viewed 10233 times
Then I connected the PICkit2 to computer.
Note: If you are using a PICkit2 clone which has a ZIF socket, be sure to keep the ZIF socket free. Don't put any MCU in it. And opend PICkit2, then Tools > Logic tool...
0.JPG
0.JPG (53.66 KiB) Viewed 10233 times
Then configured it as shown below.
1.JPG
1.JPG (63.37 KiB) Viewed 10233 times
Then clicked Run. Now I got following message.
2.JPG
2.JPG (18.99 KiB) Viewed 10233 times
Then I pressed a button of my TV IR remote controller.
Yes, it was successful. It gave me a good result.

Below is some results I got for my Remote controller (Sony RM-873).
POWER.JPG
POWER.JPG (23.03 KiB) Viewed 10231 times
V+.JPG
V+.JPG (23.05 KiB) Viewed 10231 times
V-.JPG
V-.JPG (22.96 KiB) Viewed 10231 times
Also you can read more about PICkit2 Logic tool from Help > Logic tool user guide.

I'll tell you, "how I used those results for my project" in my next post.

Re: How to decode IR remote control signals with your PICkit 2

Posted: Tue Jan 22, 2013 4:33 pm
by Nandika
Nice Work Rksk ... :biggrin: :biggrin: :biggrin:

Waiting for next post :)

Re: How to decode IR remote control signals with your PICkit 2

Posted: Tue Jan 22, 2013 4:44 pm
by Neo
Very well done Rksk!!! Brilliant!!! :yahoo:

Re: How to decode IR remote control signals with your PICkit 2

Posted: Wed Jan 23, 2013 4:47 pm
by Rksk
Thanks Nandika & Neo.

my nex post is here

[ Post made via Mobile Device ] Image

Re: How to decode IR remote control signals with your PICkit 2

Posted: Wed Jan 23, 2013 7:42 pm
by tmadushan
Good Work Bro!! :clap: Keep it up :biggrin: