support for external lighting #197
-
"Control of on-board lamps" I haven't found any mention of this, but is there support for external (not on ESP32-board soldered) lighting? Let's say one or more WS2812B LED's for example. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
GPIO4 controls the onboard "flash" LED. You can use this pin to drive an appropriate external LED circuit, and it will mirror the operation of the onboard LED. |
Beta Was this translation helpful? Give feedback.
-
As @founfabug says; the onboard illumination LED is on GPIO4, which is also brought out on one of the Module pins.
The onboard LED (which has it's own onboard mosfet) will still light; you can either 'desolder'(*) it from the board or:
(*) If you don't have a soldering iron, you can (carefully) break it off the board. Make sure the contacts underneath are not shorting to anything afterwards. |
Beta Was this translation helpful? Give feedback.
-
I'm moving this to discussions since it is a general topic that may interest others. |
Beta Was this translation helpful? Give feedback.
As @founfabug says; the onboard illumination LED is on GPIO4, which is also brought out on one of the Module pins.
The onboard LED (which has it's own onboard mosfet) will still light; you can either 'desolder'(*) it from the board or:
camera_pins.h
by adding the line:#define LAMP_PIN <NEW_PIN_NUMBER> // LED FloodLamp.
immediately after including the pins config, currently line#53 in
esp32-cam-webserver.ino