circuit setup and LG air conditioner IR send example please. #1432
-
Can any kind heart confirm me the connection diagram of IR Led with 2n222a transistor and required resistor and specific pin of esp8266. Can not find what should be the resistor value in any tutorial. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
It all depends on your circuit and the specifications of the IR Led you're using.
If another board can still detect it, and real devices can't, it probably because your LED signal/circuit is not powerful enough. That is, the IR led is not getting enough current.
I assume you mean a 2n2222a transistor, as it is an NPN transistor, the following should work.
Try modifying https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/TurnOnArgoAC/TurnOnArgoAC.ino or https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/CommonAcControl/CommonAcControl.ino |
Beta Was this translation helpful? Give feedback.
It all depends on your circuit and the specifications of the IR Led you're using.
I suggest you watch a video on how to design a circuit/choose a correct resistor value for an LED circuit such as: https://youtu.be/7d4ymjU9NqM
If another board can still detect it, and real devices can't, it probably because your LED signal/circuit is not powerful enough. That is, the IR led is not getting enough current.