JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

IRScrutinizer INI frequency - now need help with rest of IR
Goto page Previous  1, 2
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> Non-JP1
View previous topic :: View next topic  
Author Message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Tue Sep 26, 2017 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
J-P NYC



Joined: 22 Sep 2017
Posts: 9

                    
PostPosted: Tue Sep 26, 2017 7:23 pm    Post subject: Reply with quote

Everything appears to be working.
Thanks again Robman and Barf for all of your help
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Tue Sep 26, 2017 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
J-P NYC



Joined: 22 Sep 2017
Posts: 9

                    
PostPosted: Wed Sep 27, 2017 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed Sep 27, 2017 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Wed Sep 27, 2017 8:07 am    Post subject: Reply with quote

Nice that you/we got it to work Very Happy

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> Non-JP1 All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control