|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Tue Sep 26, 2017 9:06 am Post subject: |
|
|
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! |
|
Back to top |
|
|
J-P NYC
Joined: 22 Sep 2017 Posts: 9
|
Posted: Tue Sep 26, 2017 7:23 pm Post subject: |
|
|
Everything appears to be working.
Thanks again Robman and Barf for all of your help |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Tue Sep 26, 2017 7:32 pm Post subject: |
|
|
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! |
|
Back to top |
|
|
J-P NYC
Joined: 22 Sep 2017 Posts: 9
|
Posted: Wed Sep 27, 2017 6:21 am Post subject: |
|
|
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 |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Wed Sep 27, 2017 7:33 am Post subject: |
|
|
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 _________________ 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 |
|
|
Barf Expert
Joined: 24 Oct 2008 Posts: 1415 Location: Munich, Germany |
Posted: Wed Sep 27, 2017 8:07 am Post subject: |
|
|
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. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|