GPS Shield

From MakerFabsWiki
Jump to: navigation, search

Introduction

The GPS Shield based on the SIM28 GPS module. It is a cost-efficient and field-programmable gadget. 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.

Model: OAS028SIM
GPS Shield.jpg

Features

  • Receiver type 22 tracking / 66 acquisitionchannel
                           GPS receiver
                           GPS L1 C/A Code
  • Max. update rate 10Hz
  • Sensitivity
   Tracking:              -167 dBm
   Reacquisition:         -160 dBm
   Cold starts:           -147 dBm
  • Time-To-First-Fix
   Cold starts with EASY: 13s
   Warm starts with EASY: 1~2s
   Cold starts:           32s
   Cold starts with
        EPO Assist:       12.5s 
   Hot starts:            <1s
  • Accuracy
   Automatic Position:    2.5m CEP
   Speed:                 0.1m/s
   Timing:                10ns
  • Operation temperature: -40℃~+85 ℃

Interface Function

GPS Shield 3.JPG GPS Shield 5.JPG

Assembly

Attaching Antennas: GPS Aantenna is required to use the GPS module(Place it at outdoor, very important).
GPS Shield ANT.jpg
Plug to Arduino or Maduino, connect the USB to the PC.
GPS Shield USB.jpg

Load Demo

SIM800F TCP Test

Open up File: Get GPS.ino and upload to your Arduino wired up to the module.

//at 9600 bps 8-N-1
//Computer is connected to Hardware UART
//SoftSerial Shield is connected to the Software UART:D2&D3
 
#include <SoftwareSerial.h>
 
SoftwareSerial SoftSerial(2,3);
unsigned char buffer[64];                   // buffer array for data receive over serial port
int count=0;                                // counter for buffer array
void clearBufferArray();   
void setup()
{
    SoftSerial.begin(9600);                 // the SoftSerial baud rate
    Serial.begin(9600);                     // the Serial port of Arduino baud rate.
}
 
void loop()
{
    if (SoftSerial.available())                     // if date is coming from software serial port ==> data is coming from SoftSerial shield
    {
        while(SoftSerial.available())               // reading data into char array
        {
            buffer[count++]=SoftSerial.read();      // writing data into array
            if(count == 64)break;
        }
        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.read());        // write it to the SoftSerial shield
}
 
void clearBufferArray()                     // function to clear buffer array
{
    for (int i=0; i<count;i++)
    { buffer[i]=NULL;}                      // clear all index of array with command NULL
}

Once uploaded to your Arduino, open up the u-center_v8.22 software(Maybe you need to install before):
GPS Shield RESULT.jpg

FAQ

You can list you question here or contact with support@makerfabs.com for technology support.

Resources