Skip to content

support for external lighting #197

Closed Answered by easytarget
bartgrefte asked this question in Q&A
Discussion options

You must be logged in to vote

As @founfabug says; the onboard illumination LED is on GPIO4, which is also brought out on one of the Module pins.

  • This is the low power side of the pin; you will still need an external arduino->led mosfet drive circuit to drive LED strips, panels etc.

The onboard LED (which has it's own onboard mosfet) will still light; you can either 'desolder'(*) it from the board or:

  • override the value from 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
  • This will let you use a different pin, since we do not use the SD card all of the pins for that are available. Make sure…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by easytarget
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #179 on December 17, 2021 11:46.