Number of UARTs in ESP32

Posts: 1
Joined: Fri Jun 28, 2019 6:48 am

Number of UARTs in ESP32

Postby Piaceni » Fri Jun 28, 2019 11:24 am

Hi All

I am working on an IoT project using ESP32. The datasheet for ESP32 says that it has three UARTs, however some pinout images show only two UARTs. Does the ESP32 have three UARTs or are the GPIOs used for the other two UARTs apart from the main one? I am new to this board so kindly ignore my lack of technical knowledge.

Thanks. :D

And one more off topic question. Ok so I'm looking to buy my first electric guitar in the summer. I've been playing acoustic and borrowing electrics.

Anyway I need something really versatile. That I can play metal, Lamb of God and other thrashy stuff, some post hardcore, Emarosa or Pierce the Veil style and even pop punk Blink-182, the maine, mayday parade.

I've seen a few that I like : Ibanez Art 320, PRS Tremonti SE, Schecter Tempest Standard and the Jackson Mark Morton Dominion D2. But I'm looking to narrow it down and maybe add some i didn't look at to the list.

All opinions appreciated!
Last edited by Piaceni on Fri Dec 27, 2019 1:07 pm, edited 2 times in total.

Posts: 2951
Joined: Tue Dec 01, 2015 7:35 am

Re: Number of UARTs in ESP32

Postby WiFive » Fri Jun 28, 2019 5:10 pm ... /uart.html

The first rule of ESP32 is use any pin you want! (Sort of)

Posts: 40
Joined: Fri Apr 12, 2019 4:25 pm
Location: Canada

Re: Number of UARTs in ESP32

Postby bonmotwang » Fri Jun 28, 2019 6:33 pm

Nice rule, I like it.
I was in the same boat and had the prototype made with the impression that I can only use 2 UARTs.
I just into programming about 2 weeks. Got LCD driver working, keypad driver working. ESP32 platform is really good!

Back to UART story.
In my design, I used TXD0 and RXD0 for my RS485 communication. IO22 and IO23 (Plan to be UART1) for talking to the XBEE module.
Because UART0 was used for firmware upgrading and monitoring (I didn't know!), I cannot use it as my RS485 port anymore.

But now according to your rule and the datasheet, it seems like I have UART3 for my RS485 channel?
I can just fly wire the RS485 to any two free GPIO's.

It seems to be too good for me. LOL

Who is online

Users browsing this forum: No registered users and 28 guests