-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
IR Remote Control interface on esp8266 #2899
Comments
It's the documentation of ESP8266EX no ESP8266. ESP8266EX is a development board with an ESP8266 and IR Remote integrated. http://tech.scargill.net/wp-content/uploads/2015/04/ESP8266-Development-Board.jpg Close this issue. Regards. |
It's certainly fully implemented on the dev board, but I think the original
post is still valid, particularly in terms of the 38kHz...
|
Try this lib... You can use any PWM pin (0 to 15). And read... |
IRremoteESP8266, and every other IR lib for ESP ive seen, just uses software bit banging/delayMicrosecond to generate a 38khz signal. That's all well and good, but I was hoping the ESP had a way in hardware to generate the signal, either via PWM or using a Timer etc. So im wondering what functionality is referenced by the manual in that section. |
Is is referenced in RTOS technical , but not in SDK. I am not sure if that just means there is no SDK implementation or GPIO function for MTMS https://github.com/espressif/esp8266-rtos-sample-code/tree/master/02Peripheral/Infrared https://espressif.com/sites/default/files/documentation/esp8266-technical_reference_en.pdf
|
Theres a sigma_delta_gen_38k , but this sdk has a sigma delta unused, not sure what the deal is with that or wnat that even means. |
The other option in rtos (according to example), was to use iis clock or dma since sdk now has i2s registers, i wonder if we can use i2s_set_rate 38k for carrier.. |
For anybody else who finds this issue, you can generate a 38 kHz signal in hardware by configuring the MTMS pin as the I2S clock signal and setting the frequency appropriately. I have a code example here: https://github.com/hotplot/BlastIR/blob/master/src/ir_send.cpp |
This type of question and discussion is best held at a community forum. |
In the ESP8266 datasheet (https://espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf) it mentions an IR Remote Control Interface (section 4.8, page 16) on the MTMS (IO14) and GPIO5 (IO5) pins.
Is this an actual 38khz signal generated by hardware we can use, or is it just a software-implemented? Has anyone used this interface before?
The text was updated successfully, but these errors were encountered: