ESP32

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
rafaeltgross
Posts: 7
Joined: Wed Apr 21, 2021 8:37 am

ESP32

Post by rafaeltgross »

I'm trying to program my ESP32-WROOM but, unfortunately, is not working.
Here is my board
https://forum.fritzing.org/t/esp32s-hil ... plate/5357

The pins does not match the ones on FC9.

Can anyone please help me?
Thanks
Rafael

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: ESP32

Post by LeighM »

Hi Rafael,
Even if the pin mapping on the board is different,
you should still be able to select IO via the GPIO/pin numbers,
e.g. GPIO6 is PORTA6

rafaeltgross
Posts: 7
Joined: Wed Apr 21, 2021 8:37 am

Re: ESP32

Post by rafaeltgross »

Hi LeighM,

Thanks for your reply, I will try.
When is PortB. Where I can find a better description about these Ports?

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: ESP32

Post by LeighM »

Each PORT represents 32 pins.
So PORTA 0 to 31 is GPIO0 to GPIO31
PORTB 0 is GPIO32 etc...

rafaeltgross
Posts: 7
Joined: Wed Apr 21, 2021 8:37 am

Re: ESP32

Post by rafaeltgross »

So here is my test report
the right side is working GIOP23 to GIOP15 (so from pin 23 to 37)
the left side GIOP13 to GIOP32 (from pin 7 to 15)

before I was testing all the non working pins such as GIOP-6, 7, 8, 9, 10, 11, 34, 35, 36, 39.
So is there any reason why these ports are not working?

Can I use UART0 ,1 and 2 in this board with FC9?

many thanks
Rafael

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: ESP32

Post by LeighM »

UART0 is best avoided as this is the debug channel.
Do you have another unit to test?

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: ESP32

Post by medelec35 »

Hi, Rafael
I believe IO34 to IO39 are inputs only.
That can easily catch people out.
Martin

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: ESP32

Post by LeighM »


rafaeltgross
Posts: 7
Joined: Wed Apr 21, 2021 8:37 am

Re: ESP32

Post by rafaeltgross »

Hey,

Thanks for everything.

cheers dudes
Raf

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: ESP32

Post by medelec35 »

You're welcome Leigh & Raf.
Good link you have posted, Leigh. :)
Martin

Post Reply