View previous topic :: View next topic |
Author |
Message |
|Alex|
Joined: 08 May 2012 Posts: 17
|
Posted: Thu May 10, 2012 3:16 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Thu May 10, 2012 5:43 pm Post subject: |
|
|
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/viewtopic.php?p=103331#103331 _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
|Alex|
Joined: 08 May 2012 Posts: 17
|
Posted: Thu May 10, 2012 6:27 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Thu May 10, 2012 7:20 pm Post subject: |
|
|
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. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
|Alex|
Joined: 08 May 2012 Posts: 17
|
Posted: Fri May 11, 2012 6:16 am Post subject: |
|
|
It didnt work. I posted the code in the other topic. |
|
Back to top |
|
|
|