Comments on: ESP32-CAM Camera Boards: Pin and GPIOs Assignment Guide https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 19 Jun 2025 04:56:18 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Algues https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-1058995 Thu, 19 Jun 2025 04:56:18 +0000 https://randomnerdtutorials.com/?p=94921#comment-1058995 Hi everyone,
I want to ask how I can connect the ESP32-CAM and ESP32-WROOM. The concept behind it is to use the ESP32-WROOM as the main microcontroller, and the ESP32-CAM will be used as a slave to transfer the recorded or captured images to the ESP32-WROOM.

]]>
By: abdulrahman https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-912257 Fri, 03 May 2024 13:23:06 +0000 https://randomnerdtutorials.com/?p=94921#comment-912257 In reply to Paul D.

Hey i am using the esp32-s cam version how do i make it work with this code how where do is ee my pin assignments?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-845517 Thu, 06 Jul 2023 09:27:10 +0000 https://randomnerdtutorials.com/?p=94921#comment-845517 In reply to Donald.

Hi Donald.
Thank you so much for providing such detailed information.
I’m sure this will be useful for our readers.
Regards,
Sara

]]>
By: Donald https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-845289 Wed, 05 Jul 2023 09:28:41 +0000 https://randomnerdtutorials.com/?p=94921#comment-845289 These RandomNerdTutorial ESP guides are excellent, they are my ‘go to’ reference about which pins to use. I have spent some time with various memory issues with generic AIThinker clone ESP32Cam boards, learning how to set up jtag debugging to understand why and I have now got to the root cause of my problems: I was using GPIO16 as an input pin for a PIR sensor. On the AIThinker boards, and I assume other ESPCam boards, GPIO 16 is used to communicate with the external PSRAM chip on the board. It can’t be used as an input for your own purposes, if PSRAM is to be used. The standard example ESP32 cam project does use PSRAM, as the camera code needs to assign large buffers in memory to process the incoming frame information. RandomNerdTutorials does have an example of using a PIR sensor with an ESP32Cam board, which uses GPIO13. However I have a JTAG connector for debugging attached to that GPIO13, so GPIO16 seemed to me like the best remaining pin to use. It would be good to call out in this article that GPIO16 is used for PSRAM access on some/many ESP32Cam boards and should be avoided.

]]>
By: maaref brahim https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-835269 Thu, 18 May 2023 21:33:50 +0000 https://randomnerdtutorials.com/?p=94921#comment-835269 salut,
je veux ajouter un bouton poussoir pour mon ESP 32 CAM dont le but est pour capter une image et le visualiser sur mon écran de l’ordinateur

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-820969 Thu, 23 Feb 2023 10:21:53 +0000 https://randomnerdtutorials.com/?p=94921#comment-820969 In reply to AJ.

Hi.
GPIO 0 is a strapping pin.
You can use it after uploading the code to the board. You must disconnect all peripherals connected to that GPIO at the time of uploading.
Regards,
Sara

]]>
By: AJ https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-820747 Wed, 22 Feb 2023 09:54:55 +0000 https://randomnerdtutorials.com/?p=94921#comment-820747 With the ESP32-Cam AI-Thinker, can GPIO 0 be used as an output pin?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-814627 Wed, 01 Feb 2023 18:16:27 +0000 https://randomnerdtutorials.com/?p=94921#comment-814627 In reply to Paul D.

Hi.
Most examples should work by reassigning the GPIOs in the code.
Regards,
Sara

]]>
By: Paul D https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-814518 Wed, 01 Feb 2023 10:41:38 +0000 https://randomnerdtutorials.com/?p=94921#comment-814518 I have an ESP32-S (original ESP32CAM based board) which I’m swapping over to an ESP32-S3. Are there any restrictions on which pins are assigned to the camera? It will be my PCB layout but it seems any examples I’ve found of the S3 use totally different pinouts to the original – I’d like to keep the board layout mostly the same, so can I just assign them back to the old version in the sketch, with the new module? I’m worried that the peripherals have all rearranged and just assigning them back won’t work! Thanks, Paul.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cam-camera-pin-gpios/#comment-644721 Mon, 12 Jul 2021 10:10:49 +0000 https://randomnerdtutorials.com/?p=94921#comment-644721 In reply to Kevin Y.

Hi.
I’m sorry, but I didn’t understand your question.
Regards,
Sara

]]>