I'm looking for a way to modify an ESP32-CAM board, specifically its built-in flashlight LED.

I want desolder the white LED and replace it with an IR LED. Is that possible?

Also, what should I notice before I start modifying?

esp32cam dev board

  • \$\begingroup\$ Most probably yes. The Vf will be lower on an IR LED so you might want to increase the series resistance (if any) to compensate. Do you have schematic? \$\endgroup\$
    – winny
    Aug 28, 2022 at 10:53
  • \$\begingroup\$ @winny I don't have schematic but I have picture of esp32cam development board. It's common board in market. That board is my plan to modify. I updated my question to insert picture. \$\endgroup\$ Aug 28, 2022 at 10:58
  • \$\begingroup\$ I still didn't find SMD version of infrared LED in market, is that thing really exist? \$\endgroup\$ Aug 28, 2022 at 11:13
  • 3
    \$\begingroup\$ Camera sensor may have IR filter so the modification may be useless. \$\endgroup\$
    – user263983
    Aug 28, 2022 at 13:12
  • \$\begingroup\$ More than 1000 to choose from on Digikey: digikey.com/en/products/filter/led-emitters-infrared-uv-visible/… \$\endgroup\$
    – winny
    Aug 28, 2022 at 13:31

1 Answer 1


Yes, it's possible.

The schematic of the ESP32-CAM can be found here and here. The last link also has the PCB design.

This is the bit that shows the flash LED's connections:

Flash LED connection Source: see links above.

If you replace the LED with another one, you will have to change this part of the circuit to accommodate the new LED's Vf and current.

Make sure you pick an IR LED that can be powered by this (modified) circuit (voltage, current, thermal), and that doesn't have a wavelength that is blocked by the camera's IR filter (if any).

Note that several version of this camera board may exist, so YMMV.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.