Table of Contents(5)
The ESP32 and ESP32-S3 development boards come with three hardware serial ports, namely UART0, UART1, and UART2. UART0 is used for communication with the USB-to-serial converter for uploading programs and serial monitoring with the Arduino IDE. We can use UART1 and UART2 for communication with external hardware. Unlike Arduino, any GPIO can be used as transmit (TX) and receive (RX) pins for UART1 and UART2.
Components and Supplies
|5V or 3.3V
Please take the GPS module to an open outdoor area with the antenna facing the sky. The first time you use the GPS module, it needs to download the almanac data (i.e., the orbital information of the satellites) from the satellites, which can take 5 to 30 minutes. Cloud cover can significantly affect the time required.
We open the Arduino IDE serial monitor, set the monitor’s rate to 9600bps, and observe the results: