Skip to content
David Conran edited this page Mar 30, 2017 · 9 revisions

Welcome to the IRremoteESP8266 wiki!

Notes:

IR Receiving

If ESP8266 interrupt pin is attached to a LED then make sure to add the following line in setup. Serial.begin(115200,SERIAL_8N1,SERIAL_TX_ONLY);

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

NodeMCU v1.0

IR Sending

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

IR Sending Circuit

FAQ

Sending Sony IR Codes

Sony devices need to see an IR code sent at least 3 times in order to act on it. More than 3 times simulates the button on the remote being held for longer. To simulate a button press the minimum required is:

  sendSony(code, bitLength, 2);  // Code + 2 repeats.