Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Maayan M
#28581 Hi,
I recently started to create a Wifi IR remote using the ESP8266-12 and IR LED based on library that was posted here: viewtopic.php?f=11&t=3035&hilit=ir

I got everything to work, and i'm able to send raw code though the ESP8266.

the problem is that it only work in a VERY short range (about 10-20cm from the receiver), i tried using few different resistors such as 330ohm, 100Ohm, 220Ohm between the IR led and the ESP8266 GPIO pin, and also using a 2N222A transistor. and i'm still getting the same short range :( .

anybody have any idea how to solve this issue and increase the range ?
User avatar
By Hendrik4.10
#28934 Hey,
my experience with IR LED's is, that they need more than 3.3V.
I had a Project with an Arduino running at 5V and I connected the LED without a resistor, which worked perfect.
Maybe you should try to use a transisor, but use a higher voltage for the LED.

Hope I could help
Hendrik
User avatar
By SoC
#28949 ir sensor and ir emitter used by the thread starter are 2 diff things.

@thread starter
make sure your transistor driver is correct.
try using higher vcc for your ir transmitter.
try to use diff ir emitter.