Esp32 cam pins not enough

I want to make a smart vacuum cleaner robot.I have distance sensor,esp32 cam,servo motor,a vacuum motor with relay,in1,in2,in3,in4 from l298n motor driver(i won't use ENA,and ENB because pins not enough).I need 8 gpio pins for these.Which pins i can use? Can i use all gpio pins without getting hot or smth.
gpio pins:0(boot),2,4,12,13,14,15,16
rx tx pins
gpio16 pin is also secon rx pin
5v,gnd,3v3,vcc

pins that i should use:trig,echo,in1,in2,in3,in4,relay pin,servo pin

please help me on that

have a look at esp32-cam-pinout-reference
note GPIO 1 and GPIO 3: Serial pins are used to upload code to the board and for the serial monitor

I2C and SPI are available - for more pins try a web search for ESP32 GPIO extender

On ESP32CAM;

GPIO 4 is used by White LED
GPIO16 is the PSRAM select
GPIO12 needs to be left floating during reset
GPIO2, GPIO14, GPIO15 are used by the SD card.

Might be easier to use one of the ESP32S3 Dev boards that has a camera interface, SD card holder and a heap of spare GPIO pins, maybe 16.

so i can't use them as gpio pins for my project.What if i use arduino uno for all modules(relay,servo motor,distance sensor,in1,in2,in3,in4)? Then i make a UART connection between arduino uno and esp32 cam after then esp32cam create a web server

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.