VK2828U7G5LF TTL Ublox GPS module with antenna View larger

VK2828U7G5LF TTL Ublox GPS module with antenna

New

3 Items

19.00 JD

VK2828U7G5LF TTL Ublox GPS module with antenna

This board is embedding GPS module and antenna in a small foot-print module. You can wire it to an Arduino or Raspberry Pi to retrieve geographic coordinates (latitude and longitude, altitude), speed, heading and GMT time. Just plug it in and USB to Serial Adapter, open a Serial Monitor, and it’ll start sending coordinates to the computer! The update rate is an important performance index of a GPS receiver. Most GPS in mobile phones provide an update rate of 1Hz, which means, only one set of data can be retrieved in one second. For GPS receivers with 1~10Hz, the data interval is reduced and thus can be used for more demanding applications (e.g. on fast-moving vehicles).

Specification

  • 1Hz(default) ~ 10Hz output
  • 9600bps(default) [support:4800 ,9600 ,19200 ,38400 ,57600 ,115200 ,230400 ,460800,921600] TTL serial interface
  • 5v @ 30mA (support 3.3~5v)
  • 56-Channel receiver
  • Extremely high sensitivity: -161dBm
  • Accuracy: 2.5m (Autonomous) / <2m[SBAS]
  • Operating temperature: -40°C to 85°C
  • Hot Start : 1s
  • Warm Start : 28s
  • Cold Start : 29s
  • Module Size 28*28*8.6mm
  • LED indicator
  • Comes with cable connector

This program (found on web) uses a VK2828U7G5LF module to receive GPS signals. Program receives GPS signals, decodes them through some functions offered by the TinyGPS library and exposés  latitude and longitude in decimal degrees, on an LCD display.

#include <TinyGPS.h>
#include <Wire.h> 
#include <LiquidCrystal_I2C.h> 

LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
long lat;
long lon;
unsigned long fix_age;
int DEG;
int MIN1;
int MIN2;
int c;
void LAT()
{
DEG = lat / 1000000;
MIN1 = (lat / 10000) % 100;
MIN2 = lat % 10000;
lcd.setCursor (0,0);
lcd.print("LAT:");
lcd.print(DEG);
lcd.write(0xDF);
lcd.print(MIN1);
lcd.print(".");
lcd.print(MIN2);
lcd.print("' ");
}

void LON()
{
DEG = lon / 1000000;
MIN1 = (lon / 10000) % 100;
MIN2 = lon % 10000;
lcd.setCursor(0, 1);
lcd.print("LON:");
lcd.print(DEG);
lcd.write(0xDF);
lcd.print(MIN1);
lcd.print(".");
lcd.print(MIN2);
lcd.print("' ");
}
//
//
void setup()
{
Serial.begin(9600);
lcd.begin(16, 2); 
pinMode (13, OUTPUT); 

lcd.setCursor(0, 0); 
lcd.print(" benvenuto");
lcd.setCursor (0, 1); 
lcd.print(" uso GPS");
delay(3000);
}
//
//
void loop()
{
while (Serial.available())
{
digitalWrite (13, HIGH);
c = Serial.read();
if (gps.encode(c)) 
{

}
}
digitalWrite (13, LOW);
gps.get_position(&lat, &lon, &fix_age); 
LAT(); /
LON();
}

Download

  • Comments ()