GPIO available to drive robo car

mehra.anurag
Posts: 1
Joined: Sun Jun 14, 2020 5:50 am

GPIO available to drive robo car

Postby mehra.anurag » Wed Jun 17, 2020 5:59 pm

I am trying to build a robo car along with camera using ESP32 cam. I used the camera server example code and made changes to add the motor drive control code. But i am not able to find the right GPIO pins i can use along with the camera to control the car. Can anyone please suggest the 4 GPIO which are available. I am using ESP32 AI Thinker, single core board.

PeterR
Posts: 621
Joined: Mon Jun 04, 2018 2:47 pm

Re: GPIO available to drive robo car

Postby PeterR » Thu Jun 18, 2020 9:56 pm

You will have to map out your pin usage. What is left is what you have to choise from (I/O direction excluded!).
Hopefully you will find someone who has done this already but suspect you're knowing audience will be quite a small.

My crude approach would be to search your drivers for 'GPIO_NUM_' and that will tell you what is used. Markup a spreadsheet. I know it sounds painful but its 4 hrs effort & the best that I know.
Your's is a useful thought though. A tool which shows/makes device/pin allocation.
Would be neat.
& I also believe that IDF CAN should be fixed.

Who is online

Users browsing this forum: No registered users and 68 guests