How to decode IR remote control signals with your PICkit 2

Embedded Systems Topics
Post Reply
User avatar
Rksk
Major
Major
Posts: 730
Joined: Thu Jan 07, 2010 4:19 pm
Location: Rathnapura, Sri Lanka

How to decode IR remote control signals with your PICkit 2

Post by Rksk » Tue Jan 22, 2013 10:33 am

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 8041 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 8041 times
Then configured it as shown below.
1.JPG
1.JPG (63.37 KiB) Viewed 8041 times
Then clicked Run. Now I got following message.
2.JPG
2.JPG (18.99 KiB) Viewed 8041 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 8039 times
V+.JPG
V+.JPG (23.05 KiB) Viewed 8039 times
V-.JPG
V-.JPG (22.96 KiB) Viewed 8039 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.
User avatar
Nandika
Captain
Captain
Posts: 247
Joined: Sat Oct 15, 2011 11:40 am
Location: Galle-Sri Lanka

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

Post by Nandika » Tue Jan 22, 2013 4:33 pm

Nice Work Rksk ... :biggrin: :biggrin: :biggrin:

Waiting for next post :)
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

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

Post by Neo » Tue Jan 22, 2013 4:44 pm

Very well done Rksk!!! Brilliant!!! :yahoo:
User avatar
Rksk
Major
Major
Posts: 730
Joined: Thu Jan 07, 2010 4:19 pm
Location: Rathnapura, Sri Lanka

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

Post by Rksk » Wed Jan 23, 2013 4:47 pm

Thanks Nandika & Neo.

my nex post is here

[ Post made via Mobile Device ] Image
User avatar
tmadushan
Sergeant
Sergeant
Posts: 25
Joined: Wed Sep 26, 2012 8:57 am
Location: Kurunegala
Contact:

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

Post by tmadushan » Wed Jan 23, 2013 7:42 pm

Good Work Bro!! :clap: Keep it up :biggrin:
Post Reply

Return to “Embedded Systems”