Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 2 of 3
Topic:
How Can I Convert This Waveform?
This thread has 35 replies. Displaying posts 16 through 30.
Post 16 made on Tuesday July 17, 2007 at 16:39
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On July 17, 2007 at 16:01, schalliol said...
If you would be willing to generate the .irp to
generate codes 1-7, I think that would help quite a bit.

I think the .irp I already posted was correct except that I assumed this was a repeating signal. Apparently it isn't. Non repeating is specified by removing the ; on the Form line, so the corrected .irp file is:

Device=240
Function=0..255
Frequency=38462
Zero=-1m,1m
One=-1m,2m
Form=4m,D:8,-2m,4500u,F:8,-33m


If the delay between parts of commands (i.e. 1 to 1)
is an issue, I can mess with that a bit

I don't understand that aspect of it.

There is a command for '1'. Are you saying that same command is used to select 1 as an input or as an output, and the timing relative to other commands determines the meaning?

On the second page of the pdf file, there were VOL commands. How do they fit in?

What do the commands above 20 do? (UNIT, SHIFT, ALL, etc.)?

With that modified .irp file, command 1 through 7 are:

Device Code: 240 Function: 1
0000 006C 0012 0000 009A 0026 0026 0027 0026 0027 0026 0027 0026 0027 004D 0026 004D 0026 004D 0026 004D 004D 00AD 0026 004D 0026 0026 0027 0026 0027 0026 0027 0026 0027 0026 0027 0026 0027 0026 04F3
Device Code: 240 Function: 2
0000 006C 0012 0000 009A 0026 0026 0027 0026 0027 0026 0027 0026 0027 004D 0026 004D 0026 004D 0026 004D 004D 00AD 0026 0026 0027 004D 0026 0026 0027 0026 0027 0026 0027 0026 0027 0026 0027 0026 04F3
Device Code: 240 Function: 3
0000 006C 0012 0000 009A 0026 0026 0027 0026 0027 0026 0027 0026 0027 004D 0026 004D 0026 004D 0026 004D 004D 00AD 0026 004D 0026 004D 0026 0026 0027 0026 0027 0026 0027 0026 0027 0026 0027 0026 04F3
Device Code: 240 Function: 4
0000 006C 0012 0000 009A 0026 0026 0027 0026 0027 0026 0027 0026 0027 004D 0026 004D 0026 004D 0026 004D 004D 00AD 0026 0026 0027 0026 0027 004D 0026 0026 0027 0026 0027 0026 0027 0026 0027 0026 04F3
Device Code: 240 Function: 5
0000 006C 0012 0000 009A 0026 0026 0027 0026 0027 0026 0027 0026 0027 004D 0026 004D 0026 004D 0026 004D 004D 00AD 0026 004D 0026 0026 0027 004D 0026 0026 0027 0026 0027 0026 0027 0026 0027 0026 04F3
Device Code: 240 Function: 6
0000 006C 0012 0000 009A 0026 0026 0027 0026 0027 0026 0027 0026 0027 004D 0026 004D 0026 004D 0026 004D 004D 00AD 0026 0026 0027 004D 0026 004D 0026 0026 0027 0026 0027 0026 0027 0026 0027 0026 04F3
Device Code: 240 Function: 7
0000 006C 0012 0000 009A 0026 0026 0027 0026 0027 0026 0027 0026 0027 004D 0026 004D 0026 004D 0026 004D 004D 00AD 0026 004D 0026 004D 0026 004D 0026 0026 0027 0026 0027 0026 0027 0026 0027 0026 04F3
OP | Post 17 made on Tuesday July 17, 2007 at 21:33
schalliol
Founding Member
Joined:
Posts:
August 2001
209
This is great, I'll put in the new codes tonight and check it out at the office tomorrow.

On July 17, 2007 at 16:39, johnsfine said...
There is a command for '1'. Are you saying that same
command is used to select 1 as an input or as an output,
and the timing relative to other commands determines the
meaning?

Yes, that's correct. You select an output and then select an input to associate with it. An ideal case would be discrete controls like output 1 displaying input 1. When the matrix receives the first part of the command, in this case "1" for output. A red light comes on solid. When I send the same command ("1") for the input, the switch is made and the light goes out. I think sometimes I might have pressed the second command too early because I saw the light on as a sign. This is the timing I will try to finesse. Unfortunately, I can't just do the same commands over and over, as I might get them in reverse order. i.e. 1414141414 might yield 41 instead of 14.

On the second page of the pdf file, there were VOL commands.
How do they fit in?

They don't. I guess these remotes work for other devices too.

What do the commands above 20 do? (UNIT, SHIFT, ALL,
etc.)?

I think all those are functional commands the unit will receive. As an example, ALL will make all outputs go to one input and OFF will turn off the outputs. There are some other more sophisticated functions too, which I will examine, but only after I can get it to work the way I need. Thanks again, and I'll report back!
Post 18 made on Wednesday July 18, 2007 at 10:58
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
After asking the designerguy, he sent me the newer sheet.

Does this one answer all questions:?

[Link: arago4.tnw.utwente.nl]

Btw I do appreciate all your help so far - thanks!
Post 19 made on Wednesday July 18, 2007 at 11:52
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On July 18, 2007 at 10:58, puntloos said...
After asking the designerguy, he sent me the newer sheet.

Does this one answer all questions:?

So far as I can tell, that does not give more details for the IR signals documented by the previous file. Instead it gives info (I'm not sure if complete enough) on a different (more complicated) IR system.

Which system do you have?

BTW, in that new file in two places it has the formula
Checksum = (R + IDH + CMD) ^ IDH

I'm pretty sure that is a typo and they meant
Checksum = (R + IDL + CMD) ^ IDH

But I'm not completely sure. Can you ask them that.

Also, that file mention "repeated transmission" but doesn't give either a rate or an interval, so I wouldn't know what value to use for repeat.
OP | Post 20 made on Thursday July 19, 2007 at 09:24
schalliol
Founding Member
Joined:
Posts:
August 2001
209
Unfortunately, it doesn't seem those new codes work, but thanks for generating them for me! I'm going to try a lot of different variations of button presses and distances to learn the codes. If that doesn't work, I might look into RS-232 options, sigh.
Post 21 made on Friday July 20, 2007 at 11:07
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
On July 18, 2007 at 11:52, johnsfine said...
So far as I can tell, that does not give more details
for the IR signals documented by the previous file. Instead
it gives info (I'm not sure if complete enough) on a different
(more complicated) IR system.

Which system do you have?

Well the difference is firmware. I currently have the old 'Mini IR' firmware but would plan to upgrade.

BTW, in that new file in two places it has the formula
Checksum = (R + IDH + CMD) ^ IDH

I'm pretty sure that is a typo and they meant
Checksum = (R + IDL + CMD) ^ IDH

But I'm not completely sure. Can you ask them that.

Asked, (R + IDL + CMD) ^ IDH is correct, you were right.

Also, that file mention "repeated transmission" but doesn't
give either a rate or an interval, so I wouldn't know
what value to use for repeat.

Response:
Repeat rate is not important. It is controlled by the firmware and depends
of the type of function. The multi-device remote deadband is 2mS (minimum
time between transmissions). This could be longer to preserve battery power,
but is a trade-off against error transmission, and UI response. I would need
to look at the firmware to determine the actual figure. I believe it is
~100mS for repeatable buttons (such as volume), and 2 seconds for single
function buttons.
Post 22 made on Wednesday August 1, 2007 at 10:55
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
Any new insights on this Johnsfine? Or is more info needed?
Post 23 made on Wednesday August 1, 2007 at 12:48
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
Sorry I forgot to follow up.

On July 20, 2007 at 11:07, puntloos said...
I currently have the
old 'Mini IR' firmware but would plan to upgrade.

Does that mean you need Pronto Hex just for the new (better documented) code set?
Post 24 made on Wednesday August 8, 2007 at 07:14
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
Sadly the new and updated codeset is not out yet, firmware update I do plan to get, but hasn't been released yet. So in the end, yes, the new set would be better, and else both. Heh ;)

Pronto CCF IR files, yessir.
Post 25 made on Wednesday August 15, 2007 at 06:08
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
Sorry to 'bump' this thread, but I couldn't find a 'how to' or 'faq' on this subject so for now you're my only hope johnsfine. :D
Post 26 made on Saturday August 18, 2007 at 10:35
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
Best guess at the various things that were unclear in your DAC3.xls (older codeset) file, here are the first 24 functions in Pronto Hex:

Device Code: 03 Function: 00
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 01
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 02
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 03
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 04
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 05
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 06
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 07
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 08
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 09
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 0A
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 0B
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 0C
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 0D
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 0E
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 0F
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 003C 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 10
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 0014 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 11
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 0014 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 12
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 13
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 003C 0014 0014 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 14
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 15
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 0014 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 16
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 17
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 003C 0014 003C 0014 003C 0014 0014 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
Device Code: 03 Function: 18
0000 006D 0013 0000 013F 00A0 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 00B4 0014 0014 0014 0014 0014 0014 0014 003C 0014 003C 0014 0014 0014 0014 0014 0014 0014 07B9
OP | Post 27 made on Sunday August 19, 2007 at 08:28
schalliol
Founding Member
Joined:
Posts:
August 2001
209
I installed the IRS232A from Xantech, and it works perfectly. It would've been nice to get the IR to work properly, although the "press input then press output" to yield a single command would've been a pain.
Post 28 made on Wednesday August 29, 2007 at 09:23
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
Hi johnsfine,

Thanks a ton for you work.. I haven't been able to verify it yet, Im insanely swamped with work deadlines etc etc.. and next up (tomorrow) a trip to India.. so I just wanted to let you know for now I really appreciate it, and will test it right after I get back.
Post 29 made on Wednesday October 17, 2007 at 19:50
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
Hi all, johnsfine,

OK back from India and I'm trying to make sense of the world. :D

First off, sadly, Im pretty sure the codes Johnsfine made for me don't work. But - it's not his fault, after some close examination I simply found out that the DAC3.XLS file was wrong. I believe the customer code is not '03' but (for the old device) - '4F'. (the marking of which bit is the LSB and which is MSB was inverted.. woops? hey I didnt make the file)

Instead, DAC4.xls ([Link: arago4.tnw.utwente.nl]) is accurate I believe, with the exception of the Checksum Calculation which should be (R + IDL + CMD) ^ IDH .

Now I'm getting a bit closer to figuring out how to make these CSF files myself, however the theory of how to convert 'timings' to 'Hex' still escapes me, and I still can't find a tutorial anywhere on this site, nor a tool that allows me to enter (say) AGCLow=7000us, AGCHigh=2800us, RLow=500us, RHigh=1000us, IDL, CMD, CHecksum.. that type of stuff.

So until I figure that out (or someone points me to a resource (tool, manual, whatever)) Im still at your mercy..

Looking at the above excel sheet, the top part ('BelCanto IR MIni Remote') and lower part ('Belcanto IR Multi-Device..') have exactly the same timings, the only difference is that the customer code is 4F for the Mini Remote, and 1A for the Multi-Device.

So.. any suggestions here how to proceed? Could someone show me for example the mini remote codes, and one example of a corresponding Multi-Device remote? With some luck I should be able to extrapolate the rest.

Or, as said, tell me how to encode Hz'es, uSes etc into Hex.

Thanks again for the patience!
Post 30 made on Wednesday October 17, 2007 at 19:58
puntloos
Long Time Member
Joined:
Posts:
July 2007
12
Addendum:

I found this program 'HIP' ([Link: byremote.com.au]) which is capable of listening to an USB infrared eye (which I have) and then play back the signal later.

With this, I have captured the Mini Remote's 'volume up' (and volume down) codes. Sadly this program seems to use its own internal format, but anyway, what it has written down for 'volume up' is:

FC 37 89 14 88 14 89 0A 89 13 89 14 89 0A 88 0B
89 0A 89 0A 89 13 89 14 88 14 89 13 89 14 88 14
88 0B 88 0B 89 13 89 0A 89 14 88 0B 88 14 89 14
88 0B 88 0A 89 7F 7F 7F 7F 7F 7F 7F 7F 7F 38 FB
38 87 0C 88 14 89 0B 87 15 88 14 88 0B 88 0B 88
0B 89 0B 87 15 88 14 88 15 87 15 88 14 88 15 87
0B 89 0B 87 15 88 0B 88 14 88 0B 88 15 87 15 88
0B 88 0B 88 7F 7F 7F 7F 7F 7F 7F 7F 7F 38 FA 39
88 0B 88 15 87 0B 89 14 88 14 88 0B 88 0B 88 0B
88 0B 89 14 88 14 88 15 87 15 88 14 88 14 88 0B
88 0B 88 15 88 0B 87 16 87 0B 88 15 87 15 88 0B
88 0B 88 7F 7F 7F 7F 7F 7F 7F 7F 7F 38 FB 39 86
0C 88 15 87 0C 87 15 87 16 87 0B 88 0B 88 0B 88
0C 87 15 87 16 87 15 87 15 87 16 87 15 87 0B 88
0C 87 15 87 0C 88 15 87 0B 88 15 87 16 86 0C 88
0B 88 7F 7F 7F 7F 7F 7F 7F 7F 7F 38 FB 38 87 0C
88 15 87 0B 89 14 88 15 87 0B 88 0B 88 0C 87 0B
89 14 88 15 87 15 87 15 88 14 88 15 87 0C 87 0B
88 15 88 0B 88 15 87 0B 88 15 88 14 88 0B 88 0B
88 7F 7F 7F 7F 7F 7F 7F 7F 7F 39 FA 39 86 0C 88
15 88 0B 87 16 87 15 87 0B 88 0C 87 0C 88 0B 87
16 87 15 87 15 87 16 87 15 87 15 87 0C 87 0C 87
16 87 0B 88 15 87 0C 87 16 86 16 87 0B 88 0C 87
7F 7F 7F 7F 7F 7F 7F 7F 7F 39 FA 39 87 0C 87 15
87 0C 88 15 87 15 87 0C 87 0C 88 0B 87 0C 88 15
87 15 87 15 88 15 87 15 87 15 87 0C 87 0C 88 14
88 0B 88 15 87 0C 87 15 88 15 87 0B 88 0B 88 7F
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 5F

Does this help anyone anything? I suppose this is an approximation, and also there seems to be a bit of repetition.

From the DAC4.xls datasheet, this should be '4F 03 53' somehow. When played back this code does cause my DAC to volume up...
Page 2 of 3


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse