I want to increase GPIO pins on the OpenMV H7 plus board

Hello,
I am developing a project, for which I require more GPIO pins, 9 pins are not enough for me because I am using a display and controlling multiple dc motors and buttons. Thus, I want to increase the GPIO pins, so is there any way to solve my issue.

Yes, use an I2C GPIO expander. SparkFun sells dev boards for this type of stuff.

1 Like

I noticed that many pins of STM32 in the schematic diagram are not in use. Can I initialize these pins in the program to implement simple GPIO input or output functions? If possible, could you briefly explain which codes are used to implement it? Thank you!

Hi, we do not offer GPIO support for pins that aren’t used on the OpenMV Cam. If you want to try to use them you can solder wires onto the chip pins. You then need to enable them in Micro Python: micropython/ports/stm32/boards/OPENMV4P/pins.csv at a428432b0914a677e107c71d5f75459e21b20608 · openmv/micropython · GitHub

After which, recompile the firmware and then flash with OpenMV IDE using Tool->Load Custom Firmware.