Skip to content
David Conran edited this page Mar 14, 2023 · 9 revisions

Welcome to the IRremoteESP8266 wiki!

⚠️ Warning ⚠️

You use these circuits at your own risk. They are not perfect or even pretend to be. They are a quick and dirty examples. They are an absolute barebones way to get something up and running as quickly and cheaply as possible. They are not reference circuits or designs. You should do your own circuit design research including the manufacturors reference designs. e.g. There are no smoothing or filtering capacitors, and no resistors used in these circuits because they depend on the components used and the implementation. If you fry your ESP, IR-LED, or IR Demodulator that's completely your problem. While hundreds of people have used these circuits in testing environments successfully, they may not work for you. You would be foolish to design something long term or a significant hardware solution or project based soley on these.

If someone with an Electrical Engineering background wants to design better circuits, please submit them. They are welcome.

IR Receiving

If you are using the (Serial) RX pin to connect to the IR receiver module, make sure to add the following line in the setup() function. Serial.begin(115200,SERIAL_8N1,SERIAL_TX_ONLY); That should limit in-bound serial communications from interfering on the ESP8266.

[Fritzing/Diagram] NodeMCU v1.0 with ESP-12E and IR Reciever NodeMCU v1.0

ESP-01 module receiver circuit is here.

IR Sending

[Fritzing/Diagram] NodeMCU with a 940nm IR LED and NPN transistor (e.g a 2N3904).
IR Sending Circuit

Similarly as with Receiving, if you are using the RX pin to drive the IR LED/transmitter, make sure to add the following line in the setup() function. Serial.begin(115200,SERIAL_8N1,SERIAL_TX_ONLY); That should limit in-bound serial communications from interfering on the ESP8266.

ESP-01 module sender circuit is here.