The H-RTK F9P Ultralight by Holybro is a high-precision Global Positioning System (GPS) module designed to provide accurate location and time information. This module leverages satellite-based navigation to deliver reliable data in all weather conditions, making it an essential component for various applications.
Specification | Value |
---|---|
Manufacturer | Holybro |
Part ID | H-RTK F9P Ultralight |
Voltage Range | 3.3V - 5V |
Current Consumption | 120mA (typical) |
Position Accuracy | Horizontal: 10mm, Vertical: 20mm |
Update Rate | Up to 10 Hz |
Communication | UART, I2C, SPI |
Operating Temperature | -40°C to +85°C |
Dimensions | 50mm x 50mm x 15mm |
Weight | 20g |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 5V) |
2 | GND | Ground |
3 | TX | UART Transmit |
4 | RX | UART Receive |
5 | SCL | I2C Clock |
6 | SDA | I2C Data |
7 | SPI_CS | SPI Chip Select |
8 | SPI_MOSI | SPI Master Out Slave In |
9 | SPI_MISO | SPI Master In Slave Out |
10 | SPI_SCK | SPI Clock |
#include <SoftwareSerial.h>
#include <TinyGPS++.h>
// Create a SoftwareSerial object for GPS communication
SoftwareSerial ss(4, 3); // RX, TX
// Create a TinyGPS++ object
TinyGPSPlus gps;
void setup() {
Serial.begin(9600); // Initialize serial communication with the PC
ss.begin(9600); // Initialize serial communication with the GPS module
Serial.println("GPS Module Test");
}
void loop() {
while (ss.available() > 0) {
gps.encode(ss.read()); // Decode the data from the GPS module
if (gps.location.isUpdated()) {
// Print the latitude and longitude
Serial.print("Latitude: ");
Serial.println(gps.location.lat(), 6);
Serial.print("Longitude: ");
Serial.println(gps.location.lng(), 6);
}
}
}
No GPS Fix:
Incorrect Data:
Intermittent Signal:
By following this documentation, users can effectively integrate and utilize the H-RTK F9P Ultralight GPS module in their projects, ensuring accurate and reliable location data.