Send SMS and read GPS on Quectel EG800/EC800 Series
How to send SMS and turn on GPS
Pin Assignment on Module:
| Module SIM | ESP32 (Power) |
| Vin | 5V USB /external source |
| GND | GND |
| TX | GPIO 16 (UART2 RX MCU) |
| RX | GPIO 17 (MCU UART2 TX) |
| EN (Pull low for shut down module, default pulled up) | Floating (Depends on hardware), |
Note: Vin prioritizes 5-12V external power supply (SIM module). (connect to 5V of ESP32 must ensure the USB port has enough current)
The GND pin of the ESP32 and the SIM module must be connected together to communicate with UART.
Connection Diagram:


Reference code: https://github.com/tdlogy-source/QUECTEL_EC800K/tree/main/EC800K_GPS_SMS
Serial monitor screen after successfully loading the code:

How to read the locator location
Translate the received locator string in the following format:

Received Chain: 123052.00,1051.1151N,10647.0193E,1.09,12.4,3,,0.040,0.022,040924,27
Latitude: 1051.1151N
- dd: 10 (Latitude)
- mm.mmmm: 51.1151 (Minutes latitude)
- N/S: N (North)
=> 10° 51.1151′ N (10° 51.1151’N)
Longitude: 10647.0193E
- DDD: 106 (Longitude)
- mm.mmmm: 47.0193 (Minute Longitude)
- E/W: E (East)
=> 106° 47.0193′E (106° 47.0193′E)
Using the AT command tool:
USB UART Connection Diagram

Downloading and starting the AT command tool of Thu Duc components (download the whole git folder including the DLL file, extract and run): https://github.com/TDLOGY/SW_ATCommand_Test
Connect the corresponding Uart USB port, select connect.
Click Read All Info to check the information as well as check the signal of the module

You can then switch to SMS-Call to send SMS

The phone received the message

GPS Reading:
Click GPS Location and proceed to translate the sequence as shown in the section on how to read the location location. (For GPS, it is necessary to wait for a period of time after start-up to receive the signal), the antenna must be placed outdoors, unusable indoors, and with obstructions above.

Or press GPS NMEA RMC to quickly check the function of the module.
Then get the RMC data --> copy paste it to the https://rl.se/gprmc page.
As shown in the picture below, we have tested the store positioning module.
The store is located at 7A Tan Hoa 2 Street
After pasting the NMEA string into the decoded link, the coordinates are relatively accurate as shown below.

2.2 How to Connect PPP
Connect the hardware as shown in the diagram in section 2.1
Reference code: https://github.com/tdlogy-source/QUECTEL_EC800K/tree/main/EC800K_ppp
Results after successfully loading the code:

Serial monitor

AT command tool screen
