Grove - GPS Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/Grove_-_GPS Bazaar: http://www.seeedstudio.com/depot/Grove-GPS-p-959.
Document Revision History Revision Date Author Description 1.0 Sep 21, 2015 Victor.
Contents Document Revision History ···································································································2 1. Introduction ···················································································································2 2. Features··························································································································3 3.
Disclaimer For physical injuries and possessions loss caused by those reasons which are not related to product quality, such as operating without following manual guide, natural disasters or force majeure, we take no responsibility for that. Under the supervision of Seeed Technology Inc., this manual has been compiled and published which covered the latest product description and specification. The content of this manual is subject to change without notice.
1. Introduction This Grove - GPS module is a cost-efficient and field-programmable gadget armed with a SIM28 (U-blox 6 is old version) and serial communication configuration. It features 22 tracking / 66 acquisition channel GPS receiver. The sensitivity of tracking and acquisition both reach up to 160dBm, making it a great choice for personal navigation projects and location services, as well as an outstanding one among products of the same price class.
2. Features Input Voltage: 3.3/5V BaudRate: 4800 - 57600( u-blox version) BaudRate: 9600 - 115200(SIM28 version) Default BaudRate: 9600 Supports NMEA and U-Blox 6 protocols.
3. Usage 3.1 With Arduino This sample simply reads from the GPS using software serial and sends it back out on the serial port. Connect the Grove-GPS to Digital I/O 2 on the Grove - Base Shield using a Grove Universal 4 pin cable. Upload the code below. Please click here if you do not know how to upload.
Serial.write(buffer,count); // if no data transmission ends, write buffer to hardware serial port clearBufferArray(); // call clearBufferArray function to clear the stored data from the array count = 0; // set counter of while loop to zero } if (Serial.available()) // if data is available on hardware serial port ==> data is coming from PC or notebook SoftSerial.write(Serial.
To View data in Google Earth: 1) Click File -> Database Export -> Google Earth KML 2) This Should launch Google Earth with the history that was captured by u-center. 3) Alternatively, data can be recorded by pressing the red circle on the toolbar which will then ask you where you want to save the record. 4) When you have captured enough data, click the black square to stop recording. 5) You can then convert the .ubx file generated to KML by using uploading the ubx file to GPSVisualizer 3.
import serial, time import smbus import math import RPi.GPIO as GPIO import struct import sys ser = serial.Serial('/dev/ttyAMA0', 9600, timeout = 0) #Open the serial port at 9600 baud ser.flush() class GPS: #The GPS module used is a Grove GPS module http://www.seeedstudio.com/depot/Grove-GPS-p-959.html inp=[] # Refer to SIM28 NMEA spec file http://www.seeedstudio.com/wiki/images/a/a0/SIM28_DATA_File.zip GGA=[] #Read data from the GPS def read(self): while True: GPS.inp=ser.readline() if GPS.
lat_ns=GPS.GGA[3] long=GPS.GGA[4] long_ew=GPS.GGA[5] fix=GPS.GGA[6] sats=GPS.GGA[7] alt=GPS.GGA[9] return [time,fix,sats,alt,lat,lat_ns,long,long_ew] g=GPS() f=open("gps_data.csv",'w') #Open file to log the data f.write("name,latitude,longitude\n") #Write the header to the top of the file ind=0 while True: try: x=g.read() #Read from GPS [t,fix,sats,alt,lat,lat_ns,long,long_ew]=g.
9
4. SIM28 module Note: 1. GPS Bee has change the module as SIM28 which the same footprint as origin version. 2. You should use "SIMCom GPS DEMO" tools to receive SIM28 module data. 3. Open SIMCom_GPS_DEMO tools, go to Module->properties->module->select SIM28. 4. Open SIMCom_GPS_DEMO tools, go to Module->connect. Select the serial port which the GPS module used.
11
5. Version Tracker Revision Descriptions Release GPS Bee kit (with Mini Embedded Antenna) - origin v1.
6. Resources GPS Eagle File GPS Schematic(PDF) E-1612-UB Datasheet U-Blox6 Receiver Description Protocol Spec U-Blox u-center GPS evaluation software SIM28_DATA_File SIMCom_GPS_DEMO_V1.