Tags:
create new tag
view all tags

Using a second UART

On the ESP32 UART0 is normally reserved for interactive use with REPL. Sometimes we need a UART to communicate with external devices. Typical examples are:

  • fingerprint readers using a serial communication protocol
  • GPS modules
The ESP32 has 3 UARTs of which however UART1 is reserved for use with flash memory. However UART2 is free.

Connect the USB to Serial adapter to the ESP32 as shown in the table below

USB to Serial adapter ESP32 GPIO
Tx 16
Rx 17
Gnd Gnd

-- Uli Raich - 2020-05-09

Comments

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatods ESP32.ods r1 manage 21.4 K 2020-05-09 - 19:32 UliRaich  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2020-05-09 - UliRaich
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback