On July 16, 2007 at 20:50, puntloos said...
I have
an exotic device (a Bel Canto DAC3) for which I would
love to have .CCF files.
What would you do with a CCF file? I assume you don't have a Pronto. If you had one, I expect you would be using its learning, since you seem to have an original remote to learn from.
I will provide (below) Pronto Hex generated by MakeHex, as well as instructions for using MakeHex yourself to try other combinations. You can use IrPanels.exe or Hex2CCF.exe to convert the output of MakeHex to a CCF file. You should get these programs and read their instructions:
[Link: john.fine.home.comcast.net][Link: remotecentral.com][Link: remotecentral.com]Here is the datasheet I have:
DAC3That gives frequency and timing and details of the signal structure. It is just fails to tell us the value of the Customer Code. But since it is totally inconsistent with the signal you captured by HIP, it isn't actually relevent to your current task.
On July 18, 2007 at 10:58, puntloos said...
After asking the designerguy, he sent me the newer sheet.
[Link: arago4.tnw.utwente.nl]That one seems to tell us everything but frequency and repeat rate. That one is consistent with the signal captured by HIP. But since the timing isn't the same between DAC3 and DAC4, it is questionable whether the frequency is the same.
On October 17, 2007 at 19:50, puntloos said...
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)
I'm a bit curious how you came to all those conclusions. But anyway, I don't think you can conclude anything in the DAC3 file is wrong. Just that your signals are the type described by DAC4, not DAC3. DAC3 describes LSB/MSB the opposite of DAC4 and your signals have that feature matching DAC4. But the signals described by DAC3 likely match the DAC3 documentation.
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.
The easiest way to do all of that is using the MakeHex program (see details below).
Looking more closely at the HIP timing, we see the value you call AGCLow is about 124 units. The value you call AGCHigh is about 56 units. A '1' bit (1000uS) is about 19 units. A '0' bit (1500uS) is about 29 units. The gap between frames (which is not specified by DAC4.xls) is about 1200 units.
If we assume the XLS is correct about timing and HIP measured things roughly correct, we can guess a HIP unit is 50uS, so we see AGCHigh was measured seriously short 6200uS instead of 7000. AGCLow is perfect, and '0' and '1' bits are slightly short. Alternately we might guess units at 53uS each, so '0' and '1' bits are near perfect, AGCHigh is a little closer and AGCLow is too long. Most likely the device receiving the signal doesn't care about that level of accuracy.
Using 50uS as a unit, the HIP data gives us a gap between frames of 60 milliseconds (info we didn't have from any other source).
I put all that together into a .irp file for use with MakeHex:
Device=79
Function=0..255
Frequency=38000
Zero=500,-1000
One=500,-500
define X=(D+F)^1
define Y=(1+D+F)^1
First Bit=MSB
Form=7000,-2800,0:1,D:8,F:8,X:8,500,-60m;7000,-2800,1:1,D:8,F:8,Y:8,500,-60m
You can copy that block of text into a file (which ought to be named DAC4.irp) and drag/drop it onto MakeHex.exe to get a .hex file generated with a full set of codes.
Here is the meaning of the individual parts of that .irp file:
Device=79
I'm using the IDL value (4F hex is 79 decimal) as the device number.
Function=0..255
Tells MakeHex to generate all 256 possible functions
Frequency=38000
Just a wild guess. You may need to try other values.
Zero=500,-1000
A '0' bit is encoded as 500uS of signal followed by 1000uS of quiet.
One=500,-500
Similar for a '1' bit
define X=(D+F)^1
Compute the checksum for the first frame (where R is 0)
define Y=(1+D+F)^1
Compute the checksum for the rest of the frames (where R is 1)
First Bit=MSB
Tell MakeHex the bit sequence
7000,-2800,0:1,D:8,F:8,X:8,500,-60m
The first frame is 7000uS of signal, followed by 2800uS of Quiet, followed by a '0' encoded in one bit, followed by the device number encoded in 8 bits, etc., ending with 60 milliseconds of quiet
;7000,-2800,1:1,D:8,F:8,Y:8,500,-60m
All repeat frames are like the first frame except that R is now 1 instead of 0 and we use the checksum Y instead of X.
You should be able to run that .irp through MakeHex yourself and get Pronto Hex. You may need to if you need to test multiple possible changes (frequency, etc.) to the .irp file. But to get you off to a faster start, I ran that through MakeHex myself and these are the first few signals generated:
Device Code: 79 Function: 0
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0026 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0026 0013 0013 0013 08EA
Device Code: 79 Function: 1
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0026 0013 0013 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 08EA
Device Code: 79 Function: 2
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 08EA
Device Code: 79 Function: 3
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0026 0013 08EA
Device Code: 79 Function: 4
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0026 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 08EA
Device Code: 79 Function: 5
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 08EA
Device Code: 79 Function: 6
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0013 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0013 0013 0026 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0013 0013 0013 0013 08EA
Device Code: 79 Function: 7
0000 006D 001B 001B 010A 006B 0013 0026 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0013 0013 0013 0013 08EA 010A 006B 0013 0013 0013 0026 0013 0013 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0013 0013 0026 0013 0026 0013 0026 0013 0026 0013 0026 0013 0013 0013 0013 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0026 0013 0013 0013 0013 0013 0026 0013 08EA
On October 18, 2007 at 08:59, puntloos said...
if you wish you can send me a few CCF files
with a few different frequencies but identical else> and I can see what changes in the resulting configfiles..
I'd prefer if you learned how to make CCF files yourself with MakeHex and either IrPanels or Hex2CCF. Then you can edit the frequency in the .irp file and make a new CCF file and know that only the frequency changed.
BTW, you might want to take the .irp and/or hex I gave above and import into HIP format and see how it compares to the the data captured from the original remote.
Last edited by johnsfine
on October 18, 2007 11:21.