IRScrutinizer INI frequency - now need help with rest of IR
Moderator: Moderators
-
The Robman
- Site Owner
- Posts: 22056
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Could you post a copy of the input Pronto string, and the resulting output string please, I'm curious to see what adjustments made it work.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
The Robman
- Site Owner
- Posts: 22056
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Could you post a copy of the input Pronto string, and the resulting output string please, I'm curious to see what adjustments made it work.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
so this was the original string
0000 006C 0000 000C 0027 0016 0016 002D 0016 0017 0016 0022 0016 002D 0016 0017 0016 0017 0016 0022 0016 002D 0016 002D 0016 0017 0016 01DA
and this was what was recorded when it came out of the RF module
0000 006B 0000 000C 002B 0015 0019 002B 0019 0015 0019 0021 0019 002B 0019 0015 0019 0015 0019 0021 0019 002B 0019 002B 0019 0015 0019 01DF
I wrote a little program that calculated the difference between each byte:
0,1,0,0,-4,1,-3,2,-3,2,-3,1,-3,2,-3,2,-3,2,-3,1,-3,2,-3,2,-3,2,-3,-5
and then read through the original file and applied the differences
final string that worked
0000 006D 0000 000C 0023 0017 0013 002F 0013 0019 0013 0023 0013 002F 0013 0019 0013 0019 0013 0018 0013 0019 0013 003A 0013 002F 0013 01D4
0000 006C 0000 000C 0027 0016 0016 002D 0016 0017 0016 0022 0016 002D 0016 0017 0016 0017 0016 0022 0016 002D 0016 002D 0016 0017 0016 01DA
and this was what was recorded when it came out of the RF module
0000 006B 0000 000C 002B 0015 0019 002B 0019 0015 0019 0021 0019 002B 0019 0015 0019 0015 0019 0021 0019 002B 0019 002B 0019 0015 0019 01DF
I wrote a little program that calculated the difference between each byte:
0,1,0,0,-4,1,-3,2,-3,2,-3,1,-3,2,-3,2,-3,2,-3,1,-3,2,-3,2,-3,2,-3,-5
and then read through the original file and applied the differences
final string that worked
0000 006D 0000 000C 0023 0017 0013 002F 0013 0019 0013 0023 0013 002F 0013 0019 0013 0019 0013 0018 0013 0019 0013 003A 0013 002F 0013 01D4
-
The Robman
- Site Owner
- Posts: 22056
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Very cool. The reason I asked is that this isn't the first time that somebody has raised this sort of question, so now we know what to tell them.
Thanks
Thanks
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Nice that you/we got it to work 
Your solution is actually very close to what I suggested in my first post: subtracting an amount to the on-durations and adding the same amount to the off-durations. (There I proposed manipulating the IRP and then re-generating the signals, which would have saved typing and programming).
Even more interesting would be if you instead made 10 (say) measurements of the diff, and compute the average. A little bit more scientific.
This is a well known phenomena when decoding IR signals on the Arduino (and or course similar platforms), see Arduino-IRremote and my own Infrared4Arduino. It is there a variable called markExcess, typically having a value like 100 microseconds.
Your solution is actually very close to what I suggested in my first post: subtracting an amount to the on-durations and adding the same amount to the off-durations. (There I proposed manipulating the IRP and then re-generating the signals, which would have saved typing and programming).
Even more interesting would be if you instead made 10 (say) measurements of the diff, and compute the average. A little bit more scientific.
This is a well known phenomena when decoding IR signals on the Arduino (and or course similar platforms), see Arduino-IRremote and my own Infrared4Arduino. It is there a variable called markExcess, typically having a value like 100 microseconds.