Difference between revisions of "L76X GPS Module"

From Waveshare Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 4 users not shown)
Line 13: Line 13:
 
}}
 
}}
 
= Introduction =
 
= Introduction =
UART GPS Module, supports GPS, BDS and QZSS.
+
UART GPS Module supports GPS, BDS, and QZSS.
 
{{Amazon|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
{{Amazon|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|More = [https://www.waveshare.com/l76x-gps-module.htm More]}}
 
|More = [https://www.waveshare.com/l76x-gps-module.htm More]}}
 
= Resources =
 
= Resources =
*[https://www.waveshare.com/w/upload/5/5b/L76X_GPS_Module_user_manual_en.pdf User Manual]
+
*[https://files.waveshare.com/upload/5/5b/L76X_GPS_Module_user_manual_en.pdf User Manual]
*[https://www.waveshare.com/w/upload/d/df/L76X_GPS_Module_SchDoc.pdf Schematic]
+
*[https://files.waveshare.com/upload/d/df/L76X_GPS_Module_SchDoc.pdf Schematic]
[[:File:l76x_gps_module.zip|3D Drawings]]
+
*[https://files.waveshare.com/upload/f/f9/L76x_gps_module.zip 3D Drawings]
 
==Demo code==
 
==Demo code==
*[[:File:L76X_GPS_HAT_code.7z|Code]]
+
*[https://files.waveshare.com/upload/c/cb/L76X_GPS_HAT_code.7z Code]
 
*[https://github.com/waveshare/L76X-GPS-Module Github]
 
*[https://github.com/waveshare/L76X-GPS-Module Github]
 
==Datasheet==
 
==Datasheet==
 
{{L76X_GPS_datasheet}}
 
{{L76X_GPS_datasheet}}
 
{{GPS_Software}}
 
{{GPS_Software}}
{{Service00}}
+
 
 +
=FAQ=
 +
{{FAQ|Why is the location not accurate?
 +
|The positioning accuracy is related to the environment in which it is located. First, it is rainy due to weather and there is a lot of moisture in the air, which affects the transmission of signals. This is also the reason why the mobile phone signal is weaker in summer. It is rainy and humid in summer, coupled with high-temperature evaporation, which increases the moisture in the air, thus affecting the transmission of satellite signals. Due to the factor of two high-rise buildings, it is easy to cause poor satellite signals or signal offset problems next to some high-rise buildings. In low-rise buildings or underground buildings, such as underground parking lots, underground shopping malls, subways, tunnels, etc., due to the occlusion of walls, indoor signal attenuation is very large, which forms a weak signal coverage, so the positioning is inaccurate, the error is large, etc., and it is also easy to cause the positioning to be inaccurate under the obstruction of some mountains. The third is the number of satellites. The number of satellites placed over rural and remote areas is small, resulting in large position deviations. Four satellite signals will be affected by factors such as atmospheric ionosphere, ground buildings, forests, water surfaces, etc., resulting in deviations in calculations.
 +
||}}
 +
{{FAQ|Why am I still not receiving data when I'm outdoors?
 +
|Please check whether the antenna is connected well, and the side with words should face down, and the receiving side of the antenna is on the side without words.
 +
}}
 +
{{FAQ|Why is it inconsistent with the location of the mobile phone?
 +
|This module positioning only relies on satellite positioning alone, and mobile phone positioning not only relies on satellite positioning but also relies on the combination of various positioning systems such as AGPS (Assisted Global Satellite Positioning System), and LBS base station positioning, Wifi positioning, Bluetooth positioning, etc. The positioning has a faster positioning speed, and the accuracy is different in different environments, and the multiple satellite systems supported by the GPS signal of the mobile phone are inconsistent with the multiple satellite systems supported by the module. Therefore, there is a certain difference between the data of the module and the mobile phone positioning.
 +
||}}
 +
{{FAQ|Why the module baud rate have not been changed after sending the change command?
 +
|First, ensure that the baud rate of the command sent is the same as the baud rate output by the serial port. When the module searches for a large number of satellites, the baud rate setting from high to low may not be able to be modified, because the baud rate is too low. To send all data, consider using the SET_NMEA_OUTPUT command to reduce the output data field, and then modify the baud rate.
 +
||}}
 +
 
 +
{{FAQ|How to parse the obtained positioning information?
 +
|The following takes GNRMC as an example to parse the obtained positioning information, as shown below:<br/>
 +
[[File:L76X GPS HAT FAQ 006.png]]<br/>
 +
[[File:L76X GPS HAT FAQ 007.png]]<br/>
 +
||}}
 +
 
 +
{{FAQ|Why does running the sample program not print location information, nor does opening minicom?
 +
|
 +
It is because the hardware serial port is not enabled.
 +
===Enable UART Port===
 +
Open the terminal of the Raspberry Pi, and input the following commands to enter the configuration interface:
 +
sudo raspi-config
 +
Choose Interfacing Options -> Serial, close Shell visit, and enable hardware UART port:<br>
 +
[[File: L76X GPS Module rpi serial.png]]<br/>
 +
The baud rate should adopts 9600.
 +
sudo minicom -D /dev/ttyS0 -b 9600
 +
||}}
 +
{{FAQ|How to connect the pps output. How do I do that?
 +
|
 +
L76X GPS Hat 1PPS GPIO pin<br>
 +
Solder a wire from pin 4 on Q1 to GPIO 4 on the Raspberry Pi.<br>
 +
[[File:L76X GPS Module FAQ3.png]]<br>
 +
[[File:L76X GPS Module FAQ2.png]]<br>
 +
||}}
 +
 
 +
=Support=
 +
{{Servicebox1}}

Latest revision as of 10:31, 20 February 2024

L76X GPS Module
L76X GPS HAT

UART GPS Module, supports GPS, BDS and QZSS
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

UART GPS Module supports GPS, BDS, and QZSS.

More

Resources

Demo code

Datasheet

Software

FAQ

 Answer:
The positioning accuracy is related to the environment in which it is located. First, it is rainy due to weather and there is a lot of moisture in the air, which affects the transmission of signals. This is also the reason why the mobile phone signal is weaker in summer. It is rainy and humid in summer, coupled with high-temperature evaporation, which increases the moisture in the air, thus affecting the transmission of satellite signals. Due to the factor of two high-rise buildings, it is easy to cause poor satellite signals or signal offset problems next to some high-rise buildings. In low-rise buildings or underground buildings, such as underground parking lots, underground shopping malls, subways, tunnels, etc., due to the occlusion of walls, indoor signal attenuation is very large, which forms a weak signal coverage, so the positioning is inaccurate, the error is large, etc., and it is also easy to cause the positioning to be inaccurate under the obstruction of some mountains. The third is the number of satellites. The number of satellites placed over rural and remote areas is small, resulting in large position deviations. Four satellite signals will be affected by factors such as atmospheric ionosphere, ground buildings, forests, water surfaces, etc., resulting in deviations in calculations.

{{{5}}}


 Answer:
Please check whether the antenna is connected well, and the side with words should face down, and the receiving side of the antenna is on the side without words.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
This module positioning only relies on satellite positioning alone, and mobile phone positioning not only relies on satellite positioning but also relies on the combination of various positioning systems such as AGPS (Assisted Global Satellite Positioning System), and LBS base station positioning, Wifi positioning, Bluetooth positioning, etc. The positioning has a faster positioning speed, and the accuracy is different in different environments, and the multiple satellite systems supported by the GPS signal of the mobile phone are inconsistent with the multiple satellite systems supported by the module. Therefore, there is a certain difference between the data of the module and the mobile phone positioning.

{{{5}}}


 Answer:
First, ensure that the baud rate of the command sent is the same as the baud rate output by the serial port. When the module searches for a large number of satellites, the baud rate setting from high to low may not be able to be modified, because the baud rate is too low. To send all data, consider using the SET_NMEA_OUTPUT command to reduce the output data field, and then modify the baud rate.

{{{5}}}


 Answer:
The following takes GNRMC as an example to parse the obtained positioning information, as shown below:

L76X GPS HAT FAQ 006.png
L76X GPS HAT FAQ 007.png

{{{5}}}


 Answer:

It is because the hardware serial port is not enabled.

Enable UART Port

Open the terminal of the Raspberry Pi, and input the following commands to enter the configuration interface:

sudo raspi-config

Choose Interfacing Options -> Serial, close Shell visit, and enable hardware UART port:
L76X GPS Module rpi serial.png
The baud rate should adopts 9600.

sudo minicom -D /dev/ttyS0 -b 9600

{{{5}}}


 Answer:

L76X GPS Hat 1PPS GPIO pin
Solder a wire from pin 4 on Q1 to GPIO 4 on the Raspberry Pi.
L76X GPS Module FAQ3.png
L76X GPS Module FAQ2.png

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 AM GMT+8 (Monday to Friday)