Difference: UART (1 vs. 2)

Revision 22020-05-09 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

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
Changed:
<
<
The ESP32 has 3 UARTs of which however UART1 is reserved for used
>
>
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

<--/commentPlugin-->
\ No newline at end of file
Added:
>
>
META FILEATTACHMENT attachment="ESP32.ods" attr="" comment="" date="1589052774" name="ESP32.ods" path="ESP32.ods" size="21897" user="UliRaich" version="1"

Revision 12020-05-09 - TWikiAdminUser

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

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 used

-- Uli Raich - 2020-05-09

Comments

<--/commentPlugin-->
 
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