- Notifications
You must be signed in to change notification settings - Fork0
This is an example of using the minmea library with the involvement of the STM32
License
FT9R/STM32_GPS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
There are at least 2 common GPS receivers on the market: NEO-6M and E108 GN02D. Current project deal with both. Let's see the default frames from these receivers:
- NEO-6M default frame
$GPRMC,,V,,,,,,,,,,N53
$GPVTG,,,,,,,,,N30
$GPGGA,,,,,,0,00,99.99,,,,,,48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.9930
$GPGSV,1,1,0079
$GPGLL,,,,,,V,N64
- E108 GN02D default frame
$GNGGA,014652.271,,,,,0,00,99.99,,,,,,48
$GNGLL,,,,,,V,N7A
$GNGSA,A,1,,,,,,,,,,,,,,,,99.99,99.99,99.99,11F
$GNGSA,A,1,,,,,,,,,,,,,,,,99.99,99.99,99.99,41A
$GPGSV,1,1,00,065
$BDGSV,1,1,00,074
$GNRMC,014652.271,V,,,,,0.000,,,,,N,V07
$GNVTG,,,,,,,,,N2E
So you can see that the frames are different. In addition, the sentences inside the frame go one after the other without time delays. And then, after ~1sec, another frame follows.Theminmea
library is capable of taking a single sentence and parsing it. But in the UART RX buffer, the sentences are arranged sequentially.The task of this project is to pull the necessary sentence from the UART RX buffer and transfer it to minmea routines