crankyoldgit / IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
GNU Lesser General Public License v2.1
2.98k stars 832 forks source link

ESP8266 NodeMCU Backdoor uPWM hack for IR signals wit UART #32

Closed AnalysIR closed 8 years ago

AnalysIR commented 8 years ago

FYI: we have just published an article on our blog, with examples, showing how to accurately generate hardware based PWM for IR carrier signals on the ESP8266 NodeMCU, using our uPWM method. (hardware based PWM on the ESP8266 is supported from 100Hz to 1kHz (AFAIK). The method we published supports all common IR frequencies & a good selection of duty cycles. Previously all implemetations on this platform relied on software loops to generate the PWM. For anyone with the time available, there is no reason it couldn't be incorporated into the main IRremote repository. Let us know if you find it useful. ESP8266 NodeMCU Backdoor uPWM hack for IR signals wit UART

markszabo commented 8 years ago

Wow, great job, thank you for the info. Unfortunately currently I don't have time to incorporate it to the library, and as I understood it works only on one UART pin, so it won't work on smaller ESP8266 models without UART. Nevertheless I really like your approach to the problem and your solution. Cheers :)