JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Trouble with identifying IR Code Types

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Beginners
View previous topic :: View next topic  
Author Message
innflickstech



Joined: 17 Apr 2013
Posts: 1

                    
PostPosted: Wed Apr 17, 2013 1:12 pm    Post subject: Trouble with identifying IR Code Types Reply with quote

I am trying to use a learning remote, Celadon USB Programmable Remote, to learn and teach other learning remotes discrete IR commands. However I am having a hard time understanding some of the key elements of this process. For example: I have the Hex Code from Panasonic for Power On/Off. And I need to convert it to the Code below. Is there a way to take the HEX code and convert it to the code type below? Any insight on this would do me a world of good.

Power On - Hex Code (Panasonic TV)

0000 0071 0000 0032 0080 0040 0010 0010 0010 0031 0010 0010 0010 0010 0010 0010 0010 0010
0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0031 0010 0010
0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0031
0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0031
0010 0010 0010 0031 0010 0031 0010 0031 0010 0031 0010 0010 0010 0010 0010 0031 0010 0010
0010 0031 0010 0031 0010 0031 0010 0031 0010 0010 0010 0031 0010 0A9E

What is this Code ?
0313 02 20 80 00 3D BD
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3367

                    
PostPosted: Wed Apr 17, 2013 2:01 pm    Post subject: Reply with quote

This Pronto Hex decodes using either IRScope or IrMaster to Panasonic device 128, Subdevice 0, Function 61, written in decimal notation. In hexadecimal notation that is D = 80, S = 0, and F = 3D:
0313 02 20 80 00 3D BD
Panasonic is a particular example of the Kaseikyo IR protocol:
{37k,432}<1,-1|1,-3>(8,-4,2:8,32:8,D:8,S:8,F:8,(D^S^F):8,1,-173)+ where 2 and 32 are the OEM codes for Panasonic written in decimal notation. In hexadecimal, these are 02 and 20:
0313 02 20 80 00 3D BD
(D^S^F) means the XOR of D, S, and F, and 80^00^3D is BD:
0313 02 20 80 00 3D BD

0313 presumably carries the information about framing-the frequency, definition of 0 and 1, and the lead in and lead out times.

So you should be able to convert any Panasonic IR signal by finding the device, subdevice, and function numbers in hexadecimal notation, compute the XOR of these, and prepend with 0313 02 20. For example Panasonic device 160, subdevice 194, and function 41 (A0, C2, 29, which XORs to 4B) would be written
0313 02 20 A0 C2 29 4B
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Beginners All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control