-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Worked on Samsung TV Remote. Troubles with A/C #1
Comments
Without any details I can only suggest to test harder... and try to localize the problem. |
Hi Maxim, I'm trying to reproduce an IR command of a Toyotomi A/C.
Then I used the following code to transmit the IR code using a Wemos D1 mini:
Having two Wemos D1 mini, I has able to send IR commands on one board and capture the command using the second board at the same time. Here is a picture of the setup in action. The raw dumper captured the following:
One quick observation has to do with the size. While the IR code sent by the original remote gave a size of 139 , the IR code reproduced by your library was captured as 137. Then I tried to compare the IR Codes using a program called AnalysIR. Here is the result: The yellow pulses come from the original remote while the green comes from the WemosD1 mini. |
Oh, thank you for detailed description. I've seen internal timer that is used to time pulses having issues with delays >= 10000, it will somehow consume the next pulse. When I first found it, I decided not to deal with it assuming protocols should not have such long pulses/silences. But it might be worth investigating in depth. Can you try this: replace -20000 you have with two values of -9999 (absolute value should be less than 10000) and see if it helps. |
Thanks Maxim! I'll try and let you know! |
Maxim! Problem solved! Many Thanks!!!!!! |
I will probably implement a workaround for that to internally split long pulses into multiple timer calls until I figure out what is the root cause. Feels like there is a bug in esp-open-rtos using FRC1 timer with 256 divider. |
Hi Maxim, did you have time to check the issue with values greater than 9999 ? |
@maximkulkin hi Maxim, I hope you are doing well . Do you plan a fix for the above issue? |
Hi Maxim,
today I found some time to test your library. The IR Dumper example worked out of the box.
The IR Send code found in the repo's start page needed a small modification:
static int16_t[] command1 =.... >> static int16_t command1[] =....
As mentioned, I was successful testing Samsung TV IR commands, but I wasn't successful testing A/C IR commands.
If you have any advice on how to troubleshoot or tinker it, it would be greatly appreciated.
Many Thanks!!!
The text was updated successfully, but these errors were encountered: