Page 3 of 3

Posted: Thu May 10, 2012 2:16 pm
by |Alex|
Now I realized I did a mistake. I just checked the program and it really worked with my own sequence with some changes. The code I found had different sequence pairs and lead-in/lead-out values so I replaced them with the samples I found in Pioneer custom install website.
This is the first line from the code I found:
0000 0069 0044 0000 0155 00ac 001e 003f 001e 003f 001e 001c 001e 001c 001e 001c

This is a sample of some random code in Pioneer's website:
0000 0068 0000 0044 0168 00b4 0016 0043 0016 0016 0016 0016 0016 0016 0016 0016

As you see, the lead-in and sequence pairs are slightly different.
So I changed my code using the same frequency he used in his program and adapted the code using the same pairs and lead-in/lead-out of Pioneers.

I really don't know if all this was necessary, since I did it by trial and error, I'm not sure what exactly I did to make it work.
I'll try to replicate and keep you informed.

Posted: Thu May 10, 2012 4:43 pm
by The Robman
From the first string, "0000 0069 0044 0000" tells me that the data is sent once, whereas the second string "0000 0068 0000 0044" tells me that the data repeats when the button is held.

The burst pairs were the same in each string, but the binary code in the snippet is different. From the first "0155 00ac" is the leadin pair and "001e 003f 001e 003f 001e 001c 001e 001c 001e 001c" becomes 11000 in binary. From the second "0168 00b4" is the leadin pair (and it's virtually the same as the first string) and "0016 0043 0016 0016 0016 0016 0016 0016 0016 0016" becomes 10000 in binary.

Btw, we have another method to create WAV files, take a look here:
http://www.hifi-remote.com/forums/viewt ... 331#103331

Posted: Thu May 10, 2012 5:27 pm
by |Alex|
Oh, now I got it. There was a flaw in his program that was preventing the sequence 2 pairs to be processed. That's why my code didnt work at first, it has only sequence 2 pairs.
And wow, those tools are much more resourceful.
Rob, thank you for all your help. If you need anything just contact me.
Alex

Posted: Thu May 10, 2012 6:20 pm
by The Robman
Alex, I don't have a way of testing these WAV files (as my IR blaster cables have mono plugs, but I will probably make the stereo thing soon) so could you try using IrMaster to create a WAV file and then verify that it works.

Posted: Fri May 11, 2012 5:16 am
by |Alex|
It didnt work. I posted the code in the other topic.