ESP32-Cam and SD Card

Posts: 31
Joined: Thu Aug 09, 2018 9:56 pm

Re: ESP32-Cam and SD Card

Postby Pcborges » Thu Sep 26, 2019 11:31 am

@ mozgy-eu

But what gpio pins are freed by initializing the SD Card this way?

Posts: 4
Joined: Mon Dec 16, 2019 12:35 pm

Re: ESP32-Cam and SD Card

Postby LBLBLBLB » Wed Dec 18, 2019 12:55 pm

I can not seem to be able to use IO0 for my servo-how did you redeclare it after it is configured for camera?

Also for the example about freeing up pins which pins are they?

Posts: 10
Joined: Thu Dec 14, 2017 8:38 pm

Re: ESP32-Cam and SD Card

Postby alanesq » Sun Feb 23, 2020 12:54 pm


Just wanted to confirm that if you start the sd card in "1 wire" mode with: SD_MMC.begin("/sdcard", true)
you can then still have full control of the illumination LED :-)

I have also included "pinMode(2, INPUT_PULLUP);" - I have not yet tested if this is actually needed on this board?

I have just implemented it in my security camera sketch and it works great.
see full code here:

Thanks for the tip :-)

May be of interest: ... alk_to_an/

Who is online

Users browsing this forum: No registered users and 11 guests