IRScrutinizer INI frequency - now need help with rest of IR

If you're not a JP1 user, but would like help from the JP1 experts, post your question here.

Moderator: Moderators

The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

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!
J-P NYC
Posts: 9
Joined: Fri Sep 22, 2017 6:56 am

Post by J-P NYC »

Everything appears to be working.
Thanks again Robman and Barf for all of your help
The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

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!
J-P NYC
Posts: 9
Joined: Fri Sep 22, 2017 6:56 am

Post by J-P NYC »

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
The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

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!
Barf
Expert
Posts: 1533
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Nice that you/we got it to work :D

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. :wink:

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.
Post Reply