GPS模块需要到室外才能定位。没定位收到:
c$GNGGA,,,,,,0,00,25.5,,,,,,*64
$GNGLL,,,,,,V,M*79
$GPGSA,A,1,,,,,,,,,,,,,25.5,25.5,25.5*02
$BDGSA,A,1,,,,,,,,,,,,,25.5,25.5,25.5*13
$GPGSV,1,1,00*79
$BDGSV,1,1,00*68
$GNRMC,,V,,,,,,,,,,M*4E
$GNVTG,,,,,,,,,M*2D
$GNZDA,,,,,,*56
$GPTXT,01,01,01,ANTENNA OK*35
定位成功后收到:
c$GNGGA,092941.000,3957.08224,N,11617.98920,E,1,06,2.2,70.5,M,0.0,M,,*4F
$GNGLL,3957.08224,N,11617.98920,E,092941.000,A,A*4E
$GPGSA,A,3,17,19,21,24,28,,,,,,,,2.9,2.2,1.9*30
$BDGSA,A,3,29,,,,,,,,,,,,2.9,2.2,1.9*2B
$GPGSV,3,1,12,01,29,049,23,03,48,086,,06,36,242,,11,,,32*49
$GPGSV,3,2,12,14,63,177,,17,67,342,27,19,48,305,39,21,10,056,32*75
$GPGSV,3,3,12,22,32,056,23,24,10,307,26,28,72,185,21,30,05,200,*7A
$BDGSV,1,1,03,26,,,32,29,60,307,37,30,,,26*54
$GNRMC,092941.000,A,3957.08224,N,11617.98920,E,0.00,338.65,050421,,,A*70
$GNVTG,338.65,T,,M,0.00,N,0.00,K,A*28
$GNZDA,092941.000,05,04,2021,00,00*4F
$GPTXT,01,01,01,ANTENNA OK*35
信息含义:
cGPGSV:可见卫星信息 GPGLL:地理定位信息 GPRMC:推荐最小定位信息 GPVTG:地面速度信息 GPGGA:GPS定位信息 GPGSA:当前卫星信息
参考这里:https://blog.csdn.net/jwq2011/article/details/53674125
正点原子程序:
本文作者:Dong
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC。本作品采用《知识共享署名-非商业性使用 4.0 国际许可协议》进行许可。您可以在非商业用途下自由转载和修改,但必须注明出处并提供原作者链接。 许可协议。转载请注明出处!