Because of my lazy nature I am building a ESP32 based IR-remote to turn off my monitor (yes, it has a IR remote) when I am not in the room. For the latter I want to use a presence sensor but I am already struggling with the IR transmitter - feels really annoying.
It has a GND, VCC and DATA connector and a test with a multimeter (diode mode) shows it is working. A camera phone test also shows a purple light inside the diode.
I connected the IR transmitter to the ESP32-C super mini and played the previously recorded pulses from the remote using MicroPython and the RMT library:
The builtin SMD LED is blinking red for a short moment but the monitor does not turn off.
While checking the IR diode with my phone camera I barely can see the purple light, probably the GPIO pin is not providing enough current? But why this board has a VCC and GND connector? At the moment I don't have any other IR diode otherwise I would try to add a transistor to it maybe.
Anyone knows how to use this board? I only can find it connected directly to the GPIO without transistor.
Thanks!
#ESP32 #MicroPython #InfraRed