Files
2021-02-19 19:34:06 +08:00

134 lines
4.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Module GPS
<el-tag effect="plain">SKU:M003</el-tag>
<div class="product_pic"><img src="assets/img/product_pics/module/gps/module_gps_01.webp"></div>
## 描述
**GPS** 是M5Stack堆叠模块系列中的一款,卫星定位模块.基于NEO-M8N模组开发,配备有源天线.
NEO-M8能够做到花费少量的时间,进行高灵敏度采集,并且保持系统低功耗.
NEO-M8N 集成了 72 通道的 [u-blox](https://www.u-blox.com) M8 GNSS 引擎,支持多个 GNSS 系统:北斗, Galileo, GLONASS, GPS / QZSS,允许同时接收 3 个 GNSS 系统的数据.
M5Core与GPS模块之间使用UART通信协议,通过连接引脚**UART2 (GPIO16, GPIO17)**实现通讯.
如果你想要更改串口波特率,请点击 ( [u-center-just-for-Windows](https://www.u-blox.com/en/product/u-center-windows) )查看.
*注意: 为了使 GPS 模块获得良好信号,请在使用时将模块放置在室外.*
*UART协议:波特率(默认为9600bps),数据位(8位),起始位(1位),停止位(1位),校验位(无)*
<img src="assets/img/product_pics/module/gps/module_gps_note01.webp" width="100%">
?>**M5Stack Fire** 中的 GPIO 16 / 17 默认与PSRAM连接,这使得GPS模块的TXD / RXDGPIO16GPIO17)与其产生冲突.因此,当你使用 M5Stack Fire 去驱动 GPS 模块时,你需要将 GPS 模块的 TXD 与 RXD 切断,然后通过飞线引至另一组 UART 引脚.
## 产品特性
- 工作电压:2.7 ~ 3.6
- 工作温度:-40 ~ 80°C
- 天线类型:内置陶瓷天线和外置天线
- 外部天线端口:SMA
- 可以同时从3个GNSS系统接收数据
- 水平位置精度:最小 2.5m
- GPS 模组 (NEO-M8N) 内置闪存, 通过[u-center-just-for-Windows](https://www.u-blox.com/en/product/u-center-windows)升级固件
- 支持协议: NMEA, UBX, RTCM
- 行业领先的 -167dBm 灵敏度
- 与 NEO‑7 和 NEO‑6 系列向后兼容
## 包含
- 1x M5Stack GPS 模块
- 1x 外置天线(长度: 1 m)
## 应用
- 基于 GPS 的物流跟踪管理
- 无人驾驶汽车定位
## 规格参数
<table>
<tr style="font-weight:bold">
<td>规格</td>
<td>参数</td>
</tr>
<tr>
<td>净重</td>
<td>43g</td>
</tr>
<tr>
<td>毛重</td>
<td>73g</td>
</tr>
<tr>
<td>产品尺寸</td>
<td>54*54*13mm</td>
</tr>
<tr>
<td>包装尺寸</td>
<td>125*68*23mm</td>
</tr>
</table>
## 相关链接
- **[GPS Info](https://www.u-blox.com/zh/product/neo-m8-series)** (GPS)
- **[TinyGPS++库官网](http://arduiniana.org/libraries/tinygpsplus/)**
- **datasheet** - [NEO-M8N](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/NEO-M8-FW3_DataSheet_en.pdf)
- **[u-blox Protocol Manual](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/u-blox8-M8_ReceiverDescrProtSpec_en.pdf)**
## EasyLoader
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Module/EasyLoader_GPS_Raw.exe"><el-button type="primary">点击下载EasyLoader</el-button></a>
>1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序,通过简单步骤将其烧录至主控,能够进行一系列的功能验证.
>2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录
?>3.EasyLoader烧录前需要安装有CP210XUSB驱动程序),[点击此处查看驱动安装教程](zh_CN/related_documents/M5Burner#安装串口驱动)
## 案例程序
### 1. Arduino
[点击这里下载Arduino示例](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/GPS_NEO_M8N)
**注意: 为了使 GPS 模块获得良好信号,请在使用时将模块放置在室外.**
<img src="assets/img/product_pics/module/module_example/GPS/example_module_gps_01.webp">
**协议规范:**
请参考 [u-blox 8 / u-blox M8 Receiver Description - Manual](https://www.u-blox.com/sites/default/files/products/documents/u-blox8-M8_ReceiverDescrProtSpec_%28UBX-13003221%29_Public.pdf)了解更多信息, 下表是NMEA协议中xxRMC消息的指令.
<img src="assets/img/product_pics/module/module_example/GPS/example_module_gps_02.webp">
## 原理图
<img src="assets/img/product_pics/module/gps_sch.webp">
## MBUS引脚定义
<img src="assets\img\product_pics\module\module_bus.webp"/>
<script>
var purchase_link = 'https://m5stack.com/collections/m5-module/products/gps-module';
anchor_search(purchase_link);
scrollFunc();
</script>