-
Notifications
You must be signed in to change notification settings - Fork 833
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
[ESP32] Cannot use IRSend along with BLE #1031
Comments
FYI, there is no Re: Bluetooth So here are some things to try:
Also, can you provide me with What I think is happening ... I think Bluetooth is interfering with the timing routines used by IRremoteES8266's send functions. |
For reference, the quick research was some Googling which led me to: nkolban/esp32-snippets#937 |
Excellent. I'm glad you solved it. Care to give a snippet of example code so I can add it to an FAQ so someone else can find it? |
|
@playrobotics-alex Many thanks. It's now in the FAQ. |
Device used:
ESP32 (nodemcu-32s) with Arduino framework
Version/revision of the library used
v2.7.2
I can send IR codes from my ESP32 very reliably using this code:
it works very good with all the following libraries imported:
IRsend is defined in my code as a global variable:
IRsend irsend(18);
(using pin D18)and my
setup()
method looks like this [relevant code only...]this code (with the BLEDevice::init commented out) runs perfectly without any issues.
as soon as I un-comment this line, I cannot seem to send my IR codes in a reliable fashion. (meaning that on average about 5-10% of the times the code is sent correctly, but most of the times garbage values are seems to be sent.)
To check myself for receiving the correct codes, I use multiple Arduinos and ESP32 with several types of receivers (all work on 38 KHz).
The text was updated successfully, but these errors were encountered: