Page 1 of 1

ESP32-Cam - Best Port Expander

Posted: Fri Mar 11, 2022 11:34 am
by stevon
Hi
Can anyone suggest the best gpio port expander to use with an esp32-cam

i found 3 but not sure if there are any implications to use one or the other.
https://thepihut.com/products/mcp23017- ... 1449094339
https://thepihut.com/products/sparkfun- ... out-sx1509
Wemos D1 Mini - I2C Sensor Interface Board - VEML6070

Software question:
As i am using both the camera and sd card the only useful pins left are the pins used for programming and debugging GPIO1 + GPIO3
Would using these for the i2c communication mean i would lose the ability to print to the serial monitor window ?
i am using the Arduino ide

Your help is appreciated.

regards
steve

Re: ESP32-Cam - Best Port Expander

Posted: Fri Mar 11, 2022 6:02 pm
by alanesq
Hi,
I have a sketch here where I use the MCP23017 chip on pins 12 and 13 (using sd card in 1-bit mode)
https://github.com/alanesq/esp32cam-demo

Re: ESP32-Cam - Best Port Expander

Posted: Fri Mar 11, 2022 6:06 pm
by stevon
thanks, i will look this.

Does making the sd card 1-bit make the saving images really slow ?

steve

Re: ESP32-Cam - Best Port Expander

Posted: Thu Apr 14, 2022 10:21 am
by stevon
oh yes it does !
:D