WLED icon indicating copy to clipboard operation
WLED copied to clipboard

Add ESP32-CAM board support

Open darranwil opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. Would like to see ESP32-CAM board added to supported boards.

Describe the solution you'd like Ability to compile and install on ESP32-CAM boards. Cheapest ESP32 I found with external antenna connector. Remove camera module and SD support since really not needed.

Describe alternatives you've considered Tried with esp32dev, flashed fine but no wifi AP or serial output.

Additional context Add any other context or screenshots about the feature request here.

Thank you for your ideas for making WLED better!

darranwil avatar Oct 17 '21 07:10 darranwil

Added to platform.ini and recompiled/flashed. Saw AP for once for a second and then nothing.

[env:esp32cam] platform = [email protected] ; platform = espressif32 board = esp32cam ; board = esp32dev ; change microcontroller board_build.mcu = esp32 ; change MCU frequency board_build.f_cpu = 240000000L build_unflags = ${common.build_unflags} build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32 #-D WLED_DISABLE_BROWNOUT_DET lib_deps = ${esp32.lib_deps}

darranwil avatar Oct 17 '21 08:10 darranwil

I found 0.13.0-B4 built without complaint, flashed and runs fine so far. Like yourself, I built the ENV straight from the spec.

AnjinMeili avatar Oct 24 '21 10:10 AnjinMeili

Oh, that's interesting !

I had cheap cam modules with faulty hardware. There was not a genuine Espressif Chip on mine and some functions only worked after replacing the module on the cam board with a "real" esp32-wroom (i.m.c.) module. Could you check your hardware, and compare with a known working module ?

specs32 avatar Nov 01 '21 12:11 specs32

Hi guys, any news about this? I have a esp32-cam and flashed with wled, but my lets don't turn on. Any idea?

daniboyghub avatar Jun 20 '22 17:06 daniboyghub

ESP32-CAM should work when compiling with esp32dev. However the problem is the strange pinout - all pins are connected to builtin CAM, SDCard or Serial interface.

ESP32-CAM-pinout-mischianti

Pink means "wired to onboard hardware". It might be tricky to find a pin that can drive the LED strip. Maybe it would work using a pin that is an "input" from CAM or SD, pull-down or floating. So WLED might be able to utilize that "CAM-related input" as output to control your LED stripe.

softhack007 avatar Jul 02 '22 11:07 softhack007