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
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