Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
This item is a GNSS (Global Navigation Satellite System) module that supports multiple satellite systems including GPS, BeiDou (BDS), GLONASS, and QZSS, offering both multi-system joint positioning and single-system independent positioning. It supports A-GNSS functionality, features an internal low-noise amplifier and surface acoustic wave filter, and provides users with a fast, accurate, and high-performance positioning experience as a Raspberry Pi GNSS expansion board.
Specification Item | Specification | |
---|---|---|
GNSS System | Supported systems | GPS / GLONASS / BDS / QZSS |
Chip platform | AT6558R | |
L1 receiver | Channels | 32 tracking / 72 capturing |
SBAS | Not supported | |
A-GNSS | Supported | |
Sensitivity | Auto-aquisition | -148dBm |
Re-acquisition | -160dBm | |
Tracking | -162dBm | |
TTFF (Time to First Fix) | Cold start | 30s (Autonomous) 5.5s (With A-GNSS) |
Warm start | 2s | |
Accuracy metrics | Position accuracy | 2.0m CEP |
Velocity accuracy | 0.1m/s | |
Acceleration accuracy | 0.1m/s² | |
Timing accuracy | 30ns | |
Other items | Communication interface | UART |
Serial baud rate | 4800bps~115200bps (Default 9600bps) | |
Data update frequency | 1Hz (default) 5Hz (max) | |
Supply voltage | 5V | |
Total current | <55mA @5V (Continue mode) | |
Communication protocol | NMEA 0183 CASIC proprietary protocol | |
Operating temperature | -40℃ ~ 85℃ | |
Product dimensions | 65.00mm×30.50mm |
Item | Description |
---|---|
① L76K module | Main chip, supports GPS, Beidou (BDS), GLONASS, and QZSS multiple satellite systems |
② CP2102 | USB to UART chip |
③ CAT24C32 | EEPROM storage chip Provides ID EEPROM for Raspberry Pi (including vendor information, GPIO mapping, and valid device tree information). This was added because of the micro-HAT (uHAT) specification introduced by the Raspberry Pi (see for details). This is to ensure consistency and compatibility with future Raspberry Pi add-on boards and provide a better user experience. Note: We did not use this, so you can ignore it. |
④ RT9193-33 | Power chip |
⑤ Galaxy configuration button | Defaults to GPS + GLONASS combination; Press Force ON button and restart the module with a GPS + BDS combination |
⑥ Standby mode switch | Standby mode: Setting the STANDBY switch to ON allows the module to enter Standby mode, which is a low-power mode. In this mode, the module stops satellite search and navigation, and no positioning information (NMEA messages) is output, but it can still be accessed via commands or any other data. |
⑦ Status indicator | RXD/TXD: Serial port receive/transmit indicator; PPS: GPS status indicator; PWR: Power indicator |
⑧ Raspberry Pi GPIO interface | Convenient for connecting to Raspberry Pi |
⑨ USB TO UART interface | Convenient for connecting to PC and other hosts |
⑩ GNSS antenna interface | Connect GNSS antenna to be placed under visible sky |
⑪ ML1220 battery holder | Can connect to ML1220 rechargeable battery for power failure data preservation and warm start |
⑫ UART selection jumper cap | A: USB to serial port control L76K B: Raspberry Pi control L76K C: USB to serial port access Raspberry Pi |
Note: 1. Due to unstable GPS signal acquisition indoors, please place the module or antenna on the balcony or next to the window, or conduct the experiment directly outdoors.
2. For the first module positioning (cold start), under normal conditions (outdoors, good weather, no large building obstruction), it takes 35 seconds to successfully locate. Please be patient. If the weather conditions are poor, it may require a longer positioning time, or even fail to position.
Note: Due to GPS static drift, the results seen in Google Earth may differ from actual conditions. The Baidu coordinate error calculated using the demo is particularly small.
Raspberry Pi provides control through C and Python demos
Open the Raspberry Pi terminal and enter the following command to enter the configuration interface
sudo raspi-config Select Interfacing Options -> Serial, disable shell access, and enable the hardware serial port
pip3 install pyserial pip3 install pynmea2 pip3 install pynmeagps
#Open the Raspberry Pi terminal and run the following commands: wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz tar zxvf bcm2835-1.71.tar.gz cd bcm2835-1.71/ sudo ./configure && sudo make && sudo make check && sudo make install # For more information, please refer to the official website: http://www.airspayce.com/mikem/bcm2835/
#Open the Raspberry Pi terminal and run the following commands: cd sudo apt-get install wiringpi #For Raspberry Pi systems after May 2019 (those earlier may not require execution), an upgrade may be necessary: wget https://files.waveshare.com/wiki/common/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb gpio -v # Run gpio -v and version 2.52 will appear. If it does not appear, there is an installation error #Bullseye branch system uses the following command: sudo git clone https://github.com/WiringPi/WiringPi cd WiringPi sudo ./build gpio -v # Run gpio -v and version 2.70 will appear. If it does not appear, there is an installation error
sudo su wget https://github.com/joan2937/lg/archive/master.zip unzip master.zip cd lg-master sudo make install # For more information, please refer to the official website: https://github.com/gpiozero/lg
sudo apt-get install minicom # For Raspberry Pi 5\ZERO\2B sudo minicom -D /dev/ttyAMA0 -b 9600 # For Raspberry Pi 4B\3B+\3B sudo minicom -D /dev/ttyS0 -b 9600
The default baud rate is 115200. To set the baud rate to 9600, add the parameter -b 9600. -D represents the port, /dev/ttyS0 is similar to COM1 in Windows. The following image is a test using the serial port ttyS0 on Raspberry Pi 4B:
Exit: Ctrl+A then press X, YES, Enter
sudo apt-get install cutecom
cutecom
wget https://files.waveshare.com/wiki/L76K-GPS-HAT/Demo/L76K_GPS_HAT_Code.zip unzip L76K_GPS_HAT_Code.zip sudo chmod 777 -R L76K_GPS_HAT_Code cd L76K_GPS_HAT_Code/RaspberryPi
cd wiringPi make clean make sudo ./main
cd python python3 main.py
The initial positioning of the module requires a waiting time of 35 seconds.
The first part is the raw data output by the module.
Time is the time output by L76X.
Latitude and longitude are the output latitude and longitude directions.
The converted map coordinates can be entered into Bing Map to search for the location, for example:
114.08331567625963,22.53857879961489
python3 nmea.py
Use the terminal and run the following commands to install the libraries:
pip3 install pyserial pip3 install pynmea2 pip3 install pynmeagps
sudo apt-get install minicom sudo minicom -D /dev/ttyS3 -b 9600
Exit: Ctrl+A then press X, YES, Enter
Use the terminal and run the following commands to install the libraries:
pip3 install pyserial pip3 install pynmea2 pip3 install pynmeagps
sudo apt-get install minicom
sudo minicom -D /dev/ttyTHS1 -b 9600
sudo minicom -D /dev/ttyUSB0 -b 9600
Exit: Ctrl+A then press X, YES, Enter
wget https://files.waveshare.com/wiki/L76K-GPS-HAT/Demo/L76K_GPS_HAT_Code.zip unzip L76K_GPS_HAT_Code.zip sudo chmod 777 -R L76K_GPS_HAT_Code cd L76K_GPS_HAT_Code/Jetson
sudo python3 nmea.py
Place the antenna in an open outdoor area with the text side down. Effective positioning data will be received 45 seconds after turning it on
$PMTK251,115200*1F<CR><LF>
$PMTK251,9600*17<CR><LF>
As shown in the figure below, make sure to choose No in the first step to avoid outputting the login shell information of the Raspberry Pi to the serial port, which could cause a serial port conflict. Then choose Yes in the second step.
If the above phenomenon occurs when in use, please check the Raspberry Pi config.txt configuration by running `sudo nano /boot/config.txt`. Please comment out the following statement, as it is the temperature sensor occupying the serial communication line;
It is standby mode, please put it to OFF, otherwise it will be standby when it is turned on, and there is no GPS output
In the main.py of the Python program, the update rate is modified on line 12, which defaults to 400ms. You can find the corresponding macro definition in L76X.py and replace it as needed
Check if the STANDBY switch is in the OFF position, then press the FORCE_ON button for about 1 second and observe if there is any data output on the serial port. If there is still no data output, check if the TXD and RXD pins are connected correctly
The function of the jumper cap is to switch the serial port device. When the jumper cap is connected to A, L76B will connect to the USB interface; when connected to B, L76B connects to the Raspberry Pi; when connected to C, the Raspberry Pi connects to the USB (at this time, the module can can be used as a USB to TTL module)
Testing in an open and clear weather environment, the error is within 2.5 meters.
The following takes GNRMC as an example to parse the obtained positioning information, as follows:
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com