ESP32-Cam - Best Port Expander

stevon
Posts: 7
Joined: Fri Mar 11, 2022 11:04 am

ESP32-Cam - Best Port Expander

Postby stevon » Fri Mar 11, 2022 11:34 am

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

alanesq
Posts: 86
Joined: Thu Dec 14, 2017 8:38 pm

Re: ESP32-Cam - Best Port Expander

Postby alanesq » Fri Mar 11, 2022 6:02 pm

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

stevon
Posts: 7
Joined: Fri Mar 11, 2022 11:04 am

Re: ESP32-Cam - Best Port Expander

Postby stevon » Fri Mar 11, 2022 6:06 pm

thanks, i will look this.

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

steve

stevon
Posts: 7
Joined: Fri Mar 11, 2022 11:04 am

Re: ESP32-Cam - Best Port Expander

Postby stevon » Thu Apr 14, 2022 10:21 am

oh yes it does !
:D

Who is online

Users browsing this forum: No registered users and 62 guests