

The DfRobot Gravity: GNSS GPS is a high-precision Global Navigation Satellite System (GNSS) module designed to provide accurate positioning and timing information. This module supports multiple satellite navigation systems, including GPS, GLONASS, Galileo, and BeiDou, ensuring reliable and precise location data. Its compact design and compatibility with the DfRobot Gravity series make it an excellent choice for robotics, IoT projects, drones, and other applications requiring real-time geolocation.








The following table outlines the key technical details of the DfRobot Gravity: GNSS GPS module:
| Parameter | Specification |
|---|---|
| Operating Voltage | 3.3V - 5.0V |
| Operating Current | 30mA (typical) |
| Positioning Accuracy | 2.5m CEP (Circular Error Probable) |
| Satellite Systems | GPS, GLONASS, Galileo, BeiDou |
| Communication Interface | UART (default baud rate: 9600 bps) |
| Update Rate | 1Hz (default), configurable up to 10Hz |
| Operating Temperature | -40°C to +85°C |
| Dimensions | 30mm x 20mm |
| Weight | 5g |
The DfRobot Gravity: GNSS GPS module features a 4-pin interface for easy connection. The pinout is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V - 5.0V) |
| 2 | GND | Ground |
| 3 | TX | UART Transmit pin (sends data to the microcontroller) |
| 4 | RX | UART Receive pin (receives data from the microcontroller) |
VCC pin to a 3.3V or 5.0V power source and the GND pin to ground.TX pin of the module to the RX pin of your microcontroller.RX pin of the module to the TX pin of your microcontroller.Below is an example code snippet to interface the DfRobot Gravity: GNSS GPS module with an Arduino UNO:
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial gpsSerial(4, 3); // RX = Pin 4, TX = Pin 3
void setup() {
Serial.begin(9600); // Initialize Serial Monitor at 9600 bps
gpsSerial.begin(9600); // Initialize GPS module at 9600 bps
Serial.println("Initializing GNSS GPS module...");
}
void loop() {
// Check if data is available from the GPS module
while (gpsSerial.available()) {
char gpsData = gpsSerial.read(); // Read one character from GPS module
Serial.print(gpsData); // Print the character to Serial Monitor
}
}
4 and 3 in SoftwareSerial gpsSerial(4, 3) with the desired pins on your Arduino UNO.No Data Output on Serial Monitor
TX and RX connections and ensure the baud rate is set to 9600 bps.Poor Satellite Signal
Module Not Powering On
Data Corruption in Serial Output
Q1: Can the update rate be increased beyond 1Hz?
Yes, the update rate can be configured up to 10Hz using specific commands sent to the module. Refer to the manufacturer's advanced configuration guide for details.
Q2: Does the module support indoor positioning?
The module is primarily designed for outdoor use. Indoor performance may be limited due to weak satellite signals.
Q3: Can I use this module with a Raspberry Pi?
Yes, the module can be connected to a Raspberry Pi via its UART interface. Ensure the Raspberry Pi's UART pins are properly configured.
Q4: What type of antenna is required?
The module typically comes with a ceramic patch antenna. For best results, use the included antenna or a compatible GNSS antenna with a clear view of the sky.