# ESP32_PlatformIO_ATGM336H **Repository Path**: orange2348/ESP32_PlatformIO_ATGM336H ## Basic Information - **Project Name**: ESP32_PlatformIO_ATGM336H - **Description**: No description available - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 物理连接: RX->G17(ESP32 TX) TX->G16(ESP32 RX) VCC->5V GND->GND **注:** 1. 查找引脚定义可以使用:doitESP32devkitV1下的pins_arduino.h 1. Serial1 和 Serial2 的使用需要注意下,在代码(https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/HardwareSerial.cpp) 中可以看到 arduino-esp32 中定义了 Serial,Serial1,Serial2 三个对象,并且指定了对应的引脚, Serial的TX是GPIO1,RX是GPIO3, Serial1的TX是GPIO10,RX是GPIO9,Serial2的TX是GPIO17,RX是GPIO16。 在ESP32芯片默认配置情况下6-12GPIO配置为FLASH的接口,不能被其他程序使用,所以默认Serial1是无法正常使用的,Serial和Serial2可以正常使用,因此我们这里直接使用Serial2即可 ### 坐标查询: http://www.toolzl.com/tools/gps.html