Stufin
Home Quick Cart Profile

SKG13 GPS Module

Buy Now

GPS Receiver

MediTek MT3339

Frequency

L1 band (1575.42 MHz)

Sensitivity

-165 dBm

Accuracy

2.5m CEP (Circular Error Probable)

Update Rate

1 Hz to 10 Hz

Power Consumption

20mA @ 3.3V

Operating Voltage

3.0V to 3.6V

Interface

UART (TTL) and I2C

Baud Rate

Up to 115200 bps (UART)

Pinout and Dimensions

The SKG13 GPS Module has a 12-pin interface, with the following pinout
Pin 1VCC (Power Supply)
Pin 2GND (Ground)
Pin 3TX (UART Transmit)
Pin 4RX (UART Receive)
Pin 5SDA (I2C Data)
Pin 6SCL (I2C Clock)
Pin 7PPS (Pulse Per Second)
Pin 8ANT (Antenna Connection)
Pin 9NC (Not Connected)
Pin 10NC (Not Connected)
Pin 11NC (Not Connected)
Pin 12NC (Not Connected)

The module's dimensions are 16mm x 12.2mm x 4.5mm.

Applications and Use Cases

The SKG13 GPS Module is suitable for a wide range of IoT applications, including

Vehicle tracking and navigation systems

Asset tracking and monitoring systems

Wearable devices and fitness trackers

Autonomous systems and robotics

IoT devices requiring location-based services

Conclusion

The SKG13 GPS Module is a compact, high-performance GPS module designed for various IoT applications. Its compact size, low power consumption, and high-sensitivity GPS receiver make it an ideal choice for developers and engineers seeking to integrate accurate location-based services into their designs.

Pin Configuration

  • SKG13 GPS Module Pinout and Connection Guide
  • The SKG13 GPS module is a compact, high-performance GPS receiver module that provides accurate location information and timing signals. The module has a total of 12 pins, which are explained below:
  • Pinout:
  • 1. VCC (Pin 1):
  • Function: Power supply pin
  • Description: Connect to a 3.3V power source (typically from a microcontroller or a power supply unit)
  • Recommended voltage range: 3.0V to 3.6V
  • 2. GND (Pin 2):
  • Function: Ground pin
  • Description: Connect to the ground of the system (typically from a microcontroller or a power supply unit)
  • 3. RX (Pin 3):
  • Function: Receive data pin (UART input)
  • Description: Connect to the transmit pin (TX) of a microcontroller or a serial communication device
  • 4. TX (Pin 4):
  • Function: Transmit data pin (UART output)
  • Description: Connect to the receive pin (RX) of a microcontroller or a serial communication device
  • 5. PPS (Pin 5):
  • Function: Pulse Per Second (PPS) output pin
  • Description: Outputs a 1PPS signal, which can be used as a timing reference
  • 6. GPRMC (Pin 6):
  • Function: NMEA (National Marine Electronics Association) sentence output pin
  • Description: Outputs GPS data in NMEA format, such as latitude, longitude, altitude, and velocity
  • 7. ANT (Pin 7):
  • Function: GPS antenna connection pin
  • Description: Connect to a GPS antenna to receive satellite signals
  • 8. RST (Pin 8):
  • Function: Reset pin
  • Description: Active-low reset input; pulls low to reset the module
  • 9. NC (Pin 9):
  • Function: No connection pin
  • Description: No internal connection; can be left unconnected
  • 10. NC (Pin 10):
  • Function: No connection pin
  • Description: No internal connection; can be left unconnected
  • 11. EN (Pin 11):
  • Function: Enable pin
  • Description: Active-high enable input; pulls high to enable the module
  • 12. NC (Pin 12):
  • Function: No connection pin
  • Description: No internal connection; can be left unconnected
  • Connection Structure:
  • To connect the SKG13 GPS module to a microcontroller or a serial communication device, follow these steps:
  • 1. Connect the VCC pin (Pin 1) to a 3.3V power source.
  • 2. Connect the GND pin (Pin 2) to the ground of the system.
  • 3. Connect the RX pin (Pin 3) to the TX pin of the microcontroller or serial communication device.
  • 4. Connect the TX pin (Pin 4) to the RX pin of the microcontroller or serial communication device.
  • 5. Connect the PPS pin (Pin 5) to a timing reference input (if required).
  • 6. Connect the GPRMC pin (Pin 6) to a data input pin of the microcontroller or serial communication device (if required).
  • 7. Connect the ANT pin (Pin 7) to a GPS antenna.
  • 8. Connect the RST pin (Pin 8) to a reset input pin of the microcontroller or serial communication device (if required).
  • 9. Leave the NC pins (Pins 9, 10, and 12) unconnected.
  • 10. Connect the EN pin (Pin 11) to a digital output pin of the microcontroller or serial communication device (if required).
  • Note:
  • Ensure that the power supply voltage and current ratings meet the module's requirements.
  • Use a suitable GPS antenna to ensure optimal satellite signal reception.
  • Refer to the module's datasheet and application notes for specific usage guidelines and recommended connections.

Code Examples

SKG13 GPS Module Documentation
Overview
The SKG13 GPS Module is a compact, high-accuracy GPS receiver module designed for various IoT applications, such as navigation, tracking, and location-based services. This module supports multiple GNSS systems, including GPS, GLONASS, Galileo, and BeiDou, providing accurate positioning and velocity data.
Technical Specifications
Frequency: L1, 1575.42 MHz
 Sensitivity: -165 dBm
 Accuracy: 2.5m CEP (Circular Error Probable)
 Velocity Accuracy: 0.1m/s
 Update Rate: 1-10 Hz
 Interface: UART, TTL
Code Examples
### Example 1: Arduino Code for GPS Location Tracking
This example demonstrates how to use the SKG13 GPS Module with an Arduino board to track the device's location and display the coordinates on the serial monitor.
```c++
#include <SoftwareSerial.h>
#define RX_PIN 2
#define TX_PIN 3
SoftwareSerial gpsSerial(RX_PIN, TX_PIN);
void setup() {
  Serial.begin(9600);
  gpsSerial.begin(9600);
}
void loop() {
  if (gpsSerial.available() > 0) {
    String gpsData = gpsSerial.readStringUntil('
');
    if (gpsData.startsWith("$GPRMC,")) {
      int commaIndex = gpsData.indexOf(',');
      String lat = gpsData.substring(commaIndex + 1, commaIndex + 11);
      commaIndex = gpsData.indexOf(',', commaIndex + 1);
      String lon = gpsData.substring(commaIndex + 1, commaIndex + 12);
      Serial.print("Latitude: ");
      Serial.println(lat);
      Serial.print("Longitude: ");
      Serial.println(lon);
    }
  }
  delay(1000);
}
```
### Example 2: Python Code for GPS Velocity and Time Tracking using PySerial
This example demonstrates how to use the SKG13 GPS Module with a Python script to track the device's velocity and time using the PySerial library.
```python
import serial
import time
# Open the serial connection
ser = serial.Serial('COM3', 9600, timeout=1)
while True:
    try:
        # Read a line from the GPS module
        gps_data = ser.readline().decode('utf-8')
# Parse the GPS data
        if gps_data.startswith('$GPRMC'):
            data = gps_data.split(',')
            if len(data) > 7:
                velocity = float(data[7])  # Velocity in knots
                time_utc = data[1]  # Time in UTC format (HHMMSS.SSS)
                print(f"Velocity: {velocity} knots, Time: {time_utc}")
        time.sleep(1)
    except serial.SerialException as e:
        print(f"Error: {e}")
        break
```
### Example 3: MicroPython Code for GPS Positioning using UART
This example demonstrates how to use the SKG13 GPS Module with a MicroPython script to track the device's position using the UART interface.
```python
import machine
import utime
# Initialize the UART interface
uart = machine.UART(0, 9600)
while True:
    try:
        # Read a line from the GPS module
        gps_data = uart.readline().decode('utf-8')
# Parse the GPS data
        if gps_data.startswith('$GPGGA'):
            data = gps_data.split(',')
            if len(data) > 6:
                lat = float(data[2])  # Latitude in decimal degrees
                lon = float(data[4])  # Longitude in decimal degrees
                print(f"Latitude: {lat:.6f}, Longitude: {lon:.6f}")
        utime.sleep(1)
    except Exception as e:
        print(f"Error: {e}")
        break
```
Note: In all examples, make sure to adjust the serial port, baud rate, and pin configurations according to your system's requirements.