problems sending raw code with ESP32
-
- Posts: 12
- Joined: Fri Apr 06, 2018 2:54 pm
problems sending raw code with ESP32
I can not use the Arduino IRRemote library for raw codes with ESP32, because this microcontroller uses a different method in native form, to handle reception and IR transmission, in native form (RMT).
How can I avoid the problem?
How can I avoid the problem?
Re: problems sending raw code with ESP32
As you have an A.IR Shield ESP32 Shield....you would have received an email with firmware which can send and receive IR signals, with AnalysiR.
It should be easy to adjust that to send RAW signals.
As it happens, I will be doing some testing with the ESP32 this afternoon, so if you want to send me your test signals, I can use them for my tests & provide you with the firmware.
It should be easy to adjust that to send RAW signals.
As it happens, I will be doing some testing with the ESP32 this afternoon, so if you want to send me your test signals, I can use them for my tests & provide you with the firmware.
-
- Posts: 12
- Joined: Fri Apr 06, 2018 2:54 pm
Re: problems sending raw code with ESP32
I intend to create a database of raw ir codes, of various brands, even long ones like Hitachi.
in which format do I have to export raw codes, so that it can be used with AIRShield?
I hypothesize exporting for airshield, correct me if I'm wrong.
I have attached a file with four codes from two different remote controls (Toshiba on / off and Hitachi on / off).
in which format do I have to export raw codes, so that it can be used with AIRShield?
I hypothesize exporting for airshield, correct me if I'm wrong.
I have attached a file with four codes from two different remote controls (Toshiba on / off and Hitachi on / off).
You do not have the required permissions to view the files attached to this post.
Re: problems sending raw code with ESP32
You can write firmware for the A.IR Shield to send IR in any format.
However, the firmware supplied with the Shield uses A.IR Format, which can be exported from AnalysIR. AnalysIR can also export in most industry formats. The A.IR format is essentially a RAW format with he carrier frequency included.
Thanks for the upoad I will test it out in the next couple of hours, once I have things set up.
PS: The signals you posted are in AIR format, and should work as is with the firmware we emailed to you for the Shield.
However, the firmware supplied with the Shield uses A.IR Format, which can be exported from AnalysIR. AnalysIR can also export in most industry formats. The A.IR format is essentially a RAW format with he carrier frequency included.
Code: Select all
eg $38:4502,4420,592,1596,.......
PS: The signals you posted are in AIR format, and should work as is with the firmware we emailed to you for the Shield.
-
- Posts: 12
- Joined: Fri Apr 06, 2018 2:54 pm
Re: problems sending raw code with ESP32
unfortunately the sketch you sent me, I think it is not compatible with ESP32 (is older, year 2014).
During compilation there is a blocking error: 'PIND' was not declared in this scope
Please send me the correct one
Thank you
During compilation there is a blocking error: 'PIND' was not declared in this scope
Please send me the correct one
Thank you
Re: problems sending raw code with ESP32
You are probably referencing the wrong sketch, I will re-send it later.
Re: problems sending raw code with ESP32
I have just re-emailed the firmware again.
If you want to write your own 'simpler' sketch, you just need to use the function AIR_sendRAW (and include everything it references).
Initially, you should use the firmware as is, with AnalysIR to verify everything is OK. (Links to instrictions & documentation are in the email)
Once you are happy with that, you can then start customising hte sketch or parts of it to your own needs.
If you want to write your own 'simpler' sketch, you just need to use the function AIR_sendRAW (and include everything it references).
Initially, you should use the firmware as is, with AnalysIR to verify everything is OK. (Links to instrictions & documentation are in the email)
Once you are happy with that, you can then start customising hte sketch or parts of it to your own needs.
-
- Posts: 12
- Joined: Fri Apr 06, 2018 2:54 pm
Re: problems sending raw code with ESP32
i don't receive the mail, please resend-me.
Thanks
Thanks
Re: problems sending raw code with ESP32
I have sent it twice now, please cheack your spam/junk folder
-
- Posts: 12
- Joined: Fri Apr 06, 2018 2:54 pm
Re: problems sending raw code with ESP32
Hi Chris,
I can not invulge it anywhere, maybe the internet provider's mail server blocks it.
Please, compress it in zip or rar format and send it to us, if we do not even manage it, we can transfer it via TeamViewer or Skype.
Thank you
I can not invulge it anywhere, maybe the internet provider's mail server blocks it.
Please, compress it in zip or rar format and send it to us, if we do not even manage it, we can transfer it via TeamViewer or Skype.
Thank you