Page 1 of 1

ESP32 PICO DevKit maximum usable pins for IO

Posted: Tue Sep 03, 2024 8:14 pm
by pink0D
Hi!
I need to control some motor drivers (2 or 3 if possible) with a single ESP32 controller. I'm planning to use ESP32 PICO Kit (DevKitM-2 or V4 which pinouts look same).

I've read both documentation for GPIO API and datasheets for devkits/modules, which describe quite lot of pin usage limitations (SPI/FLASH/PSRAM/Strapping pins an so on...), so now I'm in doubt and can't figure out exactly how many pins can be configured for PWM output in my application. Not mentioning that some pins are just not present in DevKit headers (GPIO18 as an example...)

Is there a kind of simple answer which pins of ESP32 PICO KIT can be used for PWM output without disrupting devkit's behaviour during boot / flashing / and other stuff ?

Re: ESP32 PICO DevKit maximum usable pins for IO

Posted: Sun Sep 15, 2024 3:50 pm
by aliarifat794
You can safely use GPIOs 4, 5, 16, 17, 25, 26, and 27 for PWM without disrupting the boot/flash process. Avoid bootstrapping and flash-related pins, and your motor control application should work smoothly. Certain GPIO pins are used for bootstrapping, and using them incorrectly can cause boot issues.
Pins such as GPIO0, GPIO2, GPIO12, and GPIO15 are involved in bootstrapping and should be avoided for PWM.
Here is the pin description that will always be helpful: https://docs.espressif.com/projects/esp ... scriptions
If you need more insight on motor and motor controllers, you can check this out: https://www.jakelectronics.com/blog/get ... ontrollers