Hello all,ive been using the sketch from random nerd tutorials to basically interface 4 gpio pins that are available for the esp32 cam i would really like to have more pins for cool stuff than just 4,is anyone aware if there are ways i can add multiplexing or any kind of IO expansion to the board? I know that there are alot of pins used by the sd card and the camera itself etc,thanks in advance for any answers
Hi,
I believe the main io pins available for general use are 13 and 12 (12 must not be high at boot). Note: if using sd-card it needs to be in 1-bit mode for this(I understand there may be issues reading files but writing I have tested ok)
14, 2 & 15 should also be available if you are not using the SD Card.
You can also use pins 1 and 3 if you do not use Serial.
You can use a MCP23017 io expander chip on pins 12 and 13 to give you 16 general purpose gpio pins
I have a sketch here which may be handy for experimenting with all this: GitHub - alanesq/esp32cam-demo: esp32cam module demo / shows how you can easily use the esp32cam including reading raw rgb data, streaming, displaying the image etc.(ArduinoIDE or PlatformIO)
You rock thanks so much!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.