Posted: Tue Mar 08, 2016 1:04 pm
OK, uploaded at https://www.hifi-remote.com/forums/dload ... e_id=13980 I'll leave it to you to edit the PID.
To use our regular terminology, we refer to "IR activity" as ON times, and "quiet times" as OFF times. So positive numbers are ON times, and negative numbers are OFF times.vickyg2003 wrote:The RC-6-28 has a complicated structure.
It is a bi-phase signal, which means that a 1 is represented by a +450, -450 timing pair and a 0 is -450+450 timing pair, where + timings mean that there is IR activity, and – times represent quiet times.
The +900 or -900 thing is the result of two +450 or -450 times coming back to back, except for that one "double wide" pair, where you will see "-900 +900", which is common to all the RC6 family of protocols.vickyg2003 wrote:But the RC-6 family of signals also have some structural timings inside the signal as well. So if you are looking at this on a graph, some of the bumps are 450 wide, others are 900 wide, but if you were to divide this up there are places where there are that around the 4th bit where its neither a zero, nor a 1. That is a structural timing.
Yes, the reason I call it IR activity, was because trying to come to terms with how all the words + - and frequency came together, I was so extremely confused as to what a signal was.The Robman wrote:To use our regular terminology, we refer to "IR activity" as ON times, and "quiet times" as OFF times. So positive numbers are ON times, and negative numbers are OFF times.
But just for the record, I'm very glad I did!vickyg2003 wrote:Rob, if you could have been in my head and saw what I thought was going on here, you would have never have wasted your time training me. lol.
Code: Select all
[RC6-6-28]
PID=01 FF
DevParms=Device=0,Sub Device=0
DeviceTranslator=Translator(0,8,4) Translator(1,12,12)
FixedData=E0 00 00
CmdParms=OBC
CmdTranslator=Translator(0)
DefaultCmd=00
CmdIndex=0
Code.S3C80=40 9A 31 8B 0D 00 05 35 01 A8 00 DC 00 00 00 00 00 C3 1C 12 F6 01 4C 38 03 F6 FF 52 F6 FF 3F 38 03 F0 C3 F6 FF 52 6C 01 87 36 03 F6 FF 56 6E 37 64 F6 C6 F8 E3 8A F6 01 58 F6 01 0A 7B D4 AF F6 FF 4D F6 FF 4D F6 FF 48 1C 16 8D 01 4C 1C 1A 8D 01 4C 4C 04 8B 02 4C 08 37 3F 08 F6 FF 4D F6 FF 48 8B 06 F6 FF 48 F6 FF 4D 90 C3 4A EB AF
[RC6-6-28]
PID=01 FF
DevParms=Device:8=0,Sub Device:12=0
DeviceTranslator=BitDoubler(0,8,16) \
BitDoubler(1,12,32)
FixedData=CA 93 55 55 55 55 55
CmdParms=OBC
CmdTranslator=Translator(0,1,0,7) Translator(0,1,1,7,comp) \
Translator(0,1,2,6) Translator(0,1,3,6,comp) \
Translator(0,1,4,5) Translator(0,1,5,5,comp) \
Translator(0,1,6,4) Translator(0,1,7,4,comp) \
Translator(0,1,8,3) Translator(0,1,9,3,comp) \
Translator(0,1,10,2) Translator(0,1,11,2,comp) \
Translator(0,1,12,1) Translator(0,1,13,1,comp) \
Translator(0,1,14,0) Translator(0,1,15,0,comp)
DefaultCmd=55 55
CmdIndex=0
Code.HCS08=20 15 24 4B 72 8F 05 08 08 00 DD 00 00 00 00 00 DE E0 9C 03 84 00 00 CC FF 5F
Spoken like a true teacher, break the problem down to a managable task and feed it to the student. lol.The Robman wrote:But Vicky, I have challenge for you, could you use the HCS08 version of the RC6-6-32 exec to add logic to your RC6-6-28 exec so that it doubles the command byte in the exec?
Code: Select all
[RC6-6-28]
PID=01 FF
DevParms=Device=0,Sub Device=0
DeviceTranslator=Translator(0,8,4) Translator(1,12,12)
FixedData=E0 00 00
CmdParms=OBC
CmdTranslator=Translator(0)
DefaultCmd=00
CmdIndex=0
Code.S3C80=40 9A 31 8B 0D 00 05 35 01 A8 00 DC 00 00 00 00 00 C3 1C 12 F6 01 4C 38 03 F6 FF 52 F6 FF 3F 38 03 F0 C3 F6 FF 52 6C 01 87 36 03 F6 FF 56 6E 37 64 F6 C6 F8 E3 8A F6 01 58 F6 01 0A 7B D4 AF F6 FF 4D F6 FF 4D F6 FF 48 1C 16 8D 01 4C 1C 1A 8D 01 4C 4C 04 8B 02 4C 08 37 3F 08 F6 FF 4D F6 FF 48 8B 06 F6 FF 48 F6 FF 4D 90 C3 4A EB AF
[RC6-6-28]
PID=01 FF
DevParms=Device:8=0,Sub Device:12=0
DeviceTranslator=BitDoubler(0,8,16) \
BitDoubler(1,12,32)
FixedData=CA 93 55 55 55 55 55
CmdParms=OBC
CmdTranslator=Translator(0)
DefaultCmd=00
CmdIndex=0
Code.HCS08=20 15 24 4B 71 8F 05 08 08 00 DD 00 00 00 00 00 DE E0 9C 03 84 00 00 B6 67 AE 08 CD FF 8C BF 67 B7 68 6E 02 AA CC FF 5FCode: Select all
[RC6-M-28n]
PID=02 40
CmdTranslator=Translator()
CmdParms=OBC=0
DevParms=Device:8=0, Sub-Device:12=2074, M:3=6, Freq:36KHz|33.5KHz=0
DeviceTranslator=BitDoubler(0,8,16) \
BitExpander(1,4,32,8,2,01,02) \
BitExpander(1,8,40,0,2,01,02) \
BitDoubler(2,3,2) \
Translator(comp,3,1,15)
FixedData=A9 30 55 55 95 56 99
FixedDataMask=FF 00 FF FF FF FF FF
Code.S3C80=40 9A 71 8B 07 00 05 35 01 A8 00 DC 08 04 37 00 0D E6 0E 4D E6 0F A0 F6 01 55 0C 08 18 0A 04 0B 0B 10 0A 10 C1 10 0B 20 0B 10 0A 0A F1 1C 12 F6 01 4C C6 F8 00 C8 1C 16 4C 00 F6 FF 58 F6 FF 54 5C 07 F6 FF 58 5A FB C6 F8 E3 8A F6 01 58 F6 01 0A 7B DA AF 6C 04 8B 02 6C 08 87 24 03 10 C2 7B 05 F6 01 58 8B 05 1C 16 F6 01 64 6A F0 4E AF
#Code.HCS08=
Code.MAXQ610=35 6F 41 0E 10 00 00 00 00 00 10 00 11 0F 60 00 20 00 00 86 00 00 00 00 41 F0 04 50 D5 D4 D6 62 50 06 70 31 72 73 75 76