IR.exe: Translating learned codes in button device codes ?

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

IR.exe: Translating learned codes in button device codes ?

Post by kokalarobia »

Hello,
This :
23 20 1F 00 D2 05 00 9D AE 06 01 3B 01 3B 01 3B
00 9D 00 9D 01 3B 00 9D 00 9E 8D 34 23 41 14 41
23 00
is the contents of learned functions windows, all this is just one button function of the original remote ! It is nearly the same lenght as a whole device definition in the upgrade device windows !
Is it possible to translate them, ie to put these bytes in an upgrade device windows, as a few bytes ? Learned codes space is limited.
I wish my question is correct enough.
Help :)
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

That signal looks similar to the one here for the T-Home.
kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

Translating 7552 learned IR shape ?

Post by kokalarobia »

Binky123, You are right.
Unfortunately I don't have a signal analyser. (Even if I had, could I ?) I think it can sense an IR signal. So I could have the signal shape, and therefore delays, and different bits, and at the end, the hexadecimal protocol code and function code.
I think the only thing to do for me is telling that my learning remote is a URC-7552. Maybe telling this information and giving the learned IR, someone could tell any shorter hexadecimal upgrade.
I think learned IR codes are somehow "digital shape" of the IR learned signal. May be function codes are translated to this shape prior to be emitted.

Could someone have enough experience in translating 7552 IR "shapes" ? :)
.
Mark Pierson
Expert
Posts: 3017
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Re: Translating 7552 learned IR shape ?

Post by Mark Pierson »

kokalarobia wrote:I think the only thing to do for me is telling that my learning remote is a URC-7552. Maybe telling this information and giving the learned IR, someone could tell any shorter hexadecimal upgrade.
Does the IR program show any details in the Learned Signals tab? If it displays a protocol, device code, EFC, etc, you have the necessary information to create an upgrade in either KM or RM.
Mark
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

I'm confused. I pasted your learned data into IR.exe and the signals seem to match the T-Home signal listed in the post I pointed you to. That thread also has an upgrade protocol you can use. Your remote(URC-7552) is a S3C8 remote. Your signal looks to be OBC:22 and HEX:16. The bits listed by DecodeIR is 19 bits, MSB value = 10011001 01 00010110 0.

I used File->Summary and decoded the signals:

Code: Select all

LEARNED SIGNALS:
#	Device 	Key		OBC	Hex	
1	VCR	A		22	16	
2	VCR	1		02	02	
3	VCR	2		06	06	
4	VCR	3		10	0A	
5	VCR	4		14	0E	
6	VCR	5		18	12	
7	VCR	6		62	3E	
8	VCR	7		46	2E	
9	VCR	8		49	31	
10	VCR	9		50	32	
11	VCR	+10{-/--}	53	35	
12	VCR	0		54	36	
13	VCR	AV{Exit_20}	57	39	
14	VCR	CH+{Bright+}	41	29	
15	VCR	CH-{Bright-}	45	2D	
16	VCR	VOL-{Color-}	42	2A	
17	VCR	VOL+{Color+}	38	26	
18	VCR	REW{TextOn}	66	42	
19	VCR	PLAY{TextOff}	69	45	
20	VCR	PAUSE{Hold}	70	46	
21	VCR	FFWD{Expand}	73	49	
22	VCR	LEFT		29	1D	
23	VCR	RIGHT		33	21	
24	VCR	DOWN		26	1A	
25	VCR	UP		25	19	
26	VCR	MUTE{Select}	30	1E

Upgrade protocol 0 = 01 A2 (HCS08) Custom Protocol for T-Home 300T
 20 17 23 46 21 86 81 10 08 08 00 9D 00 9D 00 9D
 00 9D AD D4 FF FF FF FF 02 CC FF 5F
End

Upgrade protocol 0 = 01 A2 (S3C8+) Custom Protocol for T-Home 300T
 43 8B 21 8B 14 86 81 10 08 08 00 9D 00 89 00 9D
 00 89 AD D4 FF FF FF FF 02 8D 01 46
End

Upgrade Code 0 = 0C 2C (CBL/1068) Test T-Home
A2 00 61 99 40 02 05 06 09 5A
End 
Last edited by binky123 on Sat May 31, 2008 8:33 am, edited 2 times in total.
kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

Post by kokalarobia »

Hello, Binky123,
Hi, Mark Pierson,

Here is all what IR Learned Signals windows shows as Signal Description:
. DecodeIR version 2.36
. Phase encoded (RC-Type),
. 19 bits,
. MSB Value= 100 1100 1010 0010 1100
. Frequency = 38095,
. Bi-Phase = No
Thank you for your help, I will use your informations as soon as possible. :)
kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

From learned signal, how to add a new device ?

Post by kokalarobia »

Hi, Folks,
I opened IR.exe
I suppose I have to add a new device, Here are some questions, How to determine these values:
- What to put into Upgrade Device Window
- What to put into Device Button restriction
- What device type ( =dvd for me but maybe VCR also)
- What Device Setup Code ?
- What protocol ?
- What fixed data ?
- What maximal variable size
Pardon me, english is not my mother tong, but I try to do my best to afford your help. :)
kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

Post by kokalarobia »

Hi, Folks,
I made URC-7552 learning 32 functions, from 2 original remotes.

The IR learned area is nearly full of data ! only 13 bytes remaining. And learning operation doesn't success any more. Only 7 bytes remaining in Upgrade.

In raw display :
From the address "0000" to "002F", there are data, no "FF".
From the address "0030" to "00FE" : free : (only "FF").
From the address "00FF" to the end, there are data (no "FF").

I think learning operation use much more space than upgrade operation.
Is it possible to use the "0030" to "00FE" area ? I think it is for Key moves codes.

For DVD remote, IR shows OBC and Hex CMD, and protocol, but not device code, nor subdevice code.

For Numeric TV decoder, there are no OBC, no Hex Cmd, no protocol.

Here is the post learning IR file:
https://www.hifi-remote.com/forums/dload ... le_id=5577

If someone can analyze these data, I will be able to build upgrade. :)
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

You are correct that Learned signals use far more memory than device upgrades. That said, there is no simple way to re-allocate memory from one purpose to another.

The four learned keys on the CD device are perfectly good decodes. Build a device upgrade using NEC1 protocol, Device=0, Subdevice and Parm=<blank> and use the OBCs from your decodes.

On the other hand, all of the VCR device learned signals require an expert to build a custom protocol executor for you - hopefully one of them will step in shortly.

As to memory allocation in IR:

First, you have far too many device upgrades. I presume that these were downloaded via wav from the internet. Since you are only using ONE of those device upgrades (VCR:0665), you can delete all of the others to make more room available in your upgrade area. (If you think you may have cause to use any of them in the future, save this IR file under a new name and create a new one using only the upgrade you are using)

Then you will have plenty of room in the upgrade area for any upgrades you generate.

Unfortunately, there is no method to make more memory available for learning. However, if your UPGRADE memory is full, IR.exe can place overflow data from Device or Protocol upgrades in either Keymove or Learning memory areas. This happens automatically (with a pop-up alert asking you if you want this to happen), and then the affected memory allocation is highlighted in YELLOW rather than black.

So even if you keep all of those upgrades in the upgrade memory area, and create a new upgrade for the CD learned signals, you can add that upgrade and it will simply overflow into the Keymove memory area.

This use of other memory by "overflowing" is ONLY available for device and protocol upgrades, and does not work for increasing Learning and/or Keymove/Macro memory.
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

Post by kokalarobia »

Hi, Capn Trips,
Capn Trips wrote:The four learned keys on the CD device are perfectly good decodes. Build a device upgrade using NEC1 protocol, Device=0, Subdevice and Parm=<blank> and use the OBCs from your decodes.
I am not at home for now, I am in my office. I remember there were many plus characters ("+") within the codes. I do not know the reason. May be DecodeIR found codes was incorrect, it could not find an hexadecimal ? But I will apply your advice.
As to memory allocation in IR: First, you have far too many device upgrades. I presume that these were downloaded via wav from the internet. Since you are only using ONE of those device upgrades (VCR:0665), you can delete all of the others to make more room available in your upgrade area.
Ok I will erase it. I have already backup up.

One more question: Can learned functions be included in macros ? :)
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

kokalarobia wrote: Hi, Capn Trips,
Capn Trips wrote:The four learned keys on the CD device are perfectly good decodes. Build a device upgrade using NEC1 protocol, Device=0, Subdevice and Parm=<blank> and use the OBCs from your decodes.
I am not at home for now, I am in my office. I remember there were many plus characters ("+") within the codes. I do not know the reason. May be DecodeIR found codes was incorrect, it could not find an hexadecimal ?
When I open your file in IR, the decodes for the four functions learned to the CD device are:
Protocol=NEC1
Device=0
Subdevice=<blank>
UP: OBC=13
B:OBC=1
PLAY:OBC=89
REW:OBC=90
I see no + signs except in the Raw Signal area, which does not matter to you at this point. There is nothing wrong with those decodes. Use them.
kokalarobia wrote: One more question: Can learned functions be included in macros ? :)
Yes.

Another little-known factoid: In IR, you can re-assign a learned function to another button (For example the "EXIT" button on many UEIC remotes cannot be learned to, but you could learn the "Exit" function from an OEM remote to ANOTHER button and then use IR to re-assign it to the "Exit" button!). To do this, just select the desired learned signal and click on "Edit".
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

Post by kokalarobia »

Capn Trips,
I tried to build a device upgrade for the last four CD lines. I could not bet what device code number to use, as learned IR does not give it. I will think of it later. For now I think I will have to try many values ; First those who are "standard". Have you an advice ? :)
Mark Pierson
Expert
Posts: 3017
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

kokalarobia wrote:I could not bet what device code number to use, as learned IR does not give it.
Capn Trips wrote:Protocol=NEC1
Device=0
Subdevice=<blank>
Mark
kupakai
Posts: 283
Joined: Fri Sep 29, 2006 1:09 pm
Location: New York

Post by kupakai »

Mark Pierson wrote:
kokalarobia wrote:I could not bet what device code number to use, as learned IR does not give it.
Capn Trips wrote:Protocol=NEC1
Device=0
Subdevice=<blank>
I also thought you were talking about the device number, but maybe you are referring the the setup code in RM? In that case, it can be any 4 digit number up to 2047 as long as it does not conflict with any other ones you are actually using.
kokalarobia
Posts: 32
Joined: Fri Apr 25, 2008 2:08 pm

Post by kokalarobia »

kupakai wrote:You are referring to the setup code in RM ? In that case, it can be any 4 digit number up to 2047 as long as it does not conflict with any other ones you are actually using.
Yes, that is it.
Pardon me, Capn Trips.
I think I shall have to test many "credible" setup code values, those who are in DVD code tables. :)
Post Reply