1Sheeld GPS Shield Vs. SparkFun GPS Shield

Making a tracking system is something that most of us wanted to have in our projects, and with all that modern technology offering us, it can be made very simply with our beloved board “Arduino” and a GPS shield. Today I will make a detailed comparison between our 1Sheeld GPS shield and the SparkFun GPS shield.

Arduino GPS shield

GPS stands for “Global Positioning System”, it was created by the US Department of Defense “DoD” in 1960 and got to public use in 1995 with orders from president “Clinton”.

The idea of GPS is to launch many satellites with 12000km altitude from the earth and with receiver units on the ground start capturing the signals comes from those satellites.

There are more than 24 satellites orbiting around Earth right now just to get your position, and to make the ground unit to work, it must capture at least 4 satellites and depending on the satellites readings it can get your location, date, time and even your speed, so can you imagine how much work made for you just to call for an Uber ride 🙂

Back to our Arduino shields, I compared between both and wrote detailed instructions on how to use them, the comparison will be long so let me summarise it first in the table below:

 P.O.C SparkFun GPS shield 1Sheeld
 Preassembled No Yes
Reserved pins 6 2
Price $45 $55
Code lines  194 47
 Code Size  22k 6k
No. of used libraries 4 1
File name has a limit  Yes (8.3 DOS format) i.e. only 8 characters  No
Get Longitude Yes Yes
Get Latitude Yes Yes
Get Date Yes Yes
Get Speed Yes No
Get Course Yes No
Get Altitude Yes No
Get No. of satellites Yes No
Display data while operating Complex “must use a laptop” Simple “display it easily on smartphone”
Accuracy Good Very good

Now, let’s take a step by step tutorial for both shields and at the end of this comparison you can easily make a tracking system from your school to your home and display your tracking data on Google Earth. So, let’s get started!

1- SparkFun GPS Shield

This amazing shield released by SparkFun is giving you the chance to get your location using GP3906-TLP GPS Module and it is also supported with an SD card module to save the GPS data on an SD card then start logging this data in a .csv file.

Arduino GPS shield

The Shield is a 1.0 shield and comes unsoldered so you must get stackable headers like these and also an SD card to log your data in like this.
The GPS is consuming high power so it’s supported with a 12mm cell battery pack, it is highly recommended to use but you can work without it (Will explain in the below steps).

And now after getting all the needed materials we can go with our step by step tutorial.

Step 1: Adjust the shield

As I said before that the shield comes unsoldered so you should get a soldering iron and solder like these to solder the stackable headers to the shield.
Arduino GPS shield


N.B: If you don’t want to get a 12mm battery, you should short the 3.3v Batt jumper like in this photo from SparkFun to keep the GPS module functional.Arduino GPS shield

Step 2: Mount the shield over the Arduino board

Putting the shield over the Arduino board is a very simple operation just be careful not to bend any header while mounting it.

Arduino GPS shield

The shield has 6 reserved pins that you can’t work on. The pins are (0, 1, 10, 11, 12 and 13).

0 and 1 are for the UART port as it’s the way the GPS is communicating with the board so it will be banned to use the PC terminal to display the data as the PC also uses the UART port to communicate with the Arduino board, and here comes an extra feature on this board is that it supports the use of Software serial library which gives you the chance to use the pins (8 and 9) to work as a UART port with the GPS and leaves the port on pins (0 and 1) to work freely with the PC.

And for the (10, 11, 12 and 13) pins, they are used for the SPI port that the SD card needs to communicate with the Arduino board, so you have 6 banned pins if you are using this shield so be careful not to connect any hardware to those pins.

Step 3: Get an SD card


Get an SD card like we mentioned above and format it in any FAT format, it’s default for the SD cards to be formatted in FAT format, but just in case format it again to make sure it works properly with the GPS module.


Step 4: Download the libraries

The shield needs 4 main libraries to run which are:

  1. SPI: It’s the library used to configure the SPI port of the Arduino to communicate with the SD card module and it also embedded in the Arduino IDE.
  2. SD: This library is used to configure the SD card module itself and you can find it in your Arduino IDE.
  3. SoftwareSerial: This library used to configure another port to work as a UART instead of the main UART port in the Arduino.
  4. TingGPS++: This library is the most important library which is used to configure the GPS shield. It is a very simple library and it gives you the chance to extract a lot of information from the GPS module like longitude, latitude, altitude, speed and course.

Arduino GPS shield


You can manage any libraries from Arduino’s IDE, just click Sketch >> Include library >> Manage libraries >> type “The library name” >> then click install and you are good to go.

Step 5: Write the code

This is a code written by Jim Lindblom from SparkFun, it reads the GPS data like Longitude, Latitude, Speed, Course and Altitude and then logs it in a .csv file created on the SD card

Step 6: Build the hardware

Only add a 9v battery to power up the whole system, this schematic is for the SparkFun GPS shield, not the GPS logger shield cause its fritzing part is not available, it’s the same but only the SD card interface is missing.

Arduino GPS shield
Now you are ready to go out and gather the locations and we will do that just after setting the 1Sheeld system up.

2- 1Sheeld GPS Shield

And now it’s time to talk about our GPS shield1sheeld-board-and-app

For anyone who does not know about 1Sheeld, it is a board that connects your smartphone’s sensors and peripherals to the Arduino, allowing your smartphone to control Arduino and Arduino to control anything on your phone.

The most important thing in 1Sheeld is that you can make a lot of amazing things with only 1 line of code!
So, here we are going to use the GPS and data logger shields to log the GPS data in an excel sheet on your smartphone everyday.

You can get your 1Sheeld on Amazon.

You will find two versions of it, the 1Sheeld for Android phones and the 1Sheeld+  for iOS and Android phones from 4.3 and above.

Now, let’s get started with the 1Sheeld!

Step 1: Adjust 1Sheeld

1Warning! If you have an Arduino that works on 3.3V then you must make your 1Sheeld to work on the 3.3V mode since it may damage your board.

Step 2: Mount the 1Sheeld over the Arduino board


In this tutorial I’m using the Arduino UNO board but if you have a different shield you can check how to mount 1Sheeld to different Arduino board from this tutorial.


Step 3: Install Arduino library


Download the 1Sheeld library from here and after unzipping it, copy the folder to your libraries directory.
Or you can manage any libraries from Arduino’s IDE .. just click Sketch >> Include library >> Manage libraries >> type “The library name” >> then click install and you are good to go.

Step 4: Get the mobile app


Download the 1Sheeld mobile app from the website or you can visit Apple play store or Google play store to get the app.

Step 5: Write and upload your sketch

This code simply is logging the GPS longitudes and latitudes in an excel sheet using the data logger shield. In the beginning, I opened a new folder named GPS locations then I created two columns one to log the longitude and the other is the latitude.
It logs the data every 5 seconds and for 17250 times so it can log the data in 1 file for an entire day.

After writing the code, make sure to set 1Sheeld UART switch to the upload mode before you upload your code on Arduino.


After uploading the code, the 1Sheeld is not ready to work until you switch it back to the operating mode.

Operating mode is turned on when the UART switch is pushed towards 1Sheeld logo.


Step 6: Use the 1Sheeld application

Arduino GPS shield

Open 1Sheeld application on your Android phone or iOS device.
The application will first scan over Bluetooth for your 1Sheeld, it will take a few seconds and the phone will find it.
Once it appears on your screen as 1Sheeld #xxxx, you will be required to enter the pairing code (the default pairing code is 1234) and connect to 1Sheeld via Bluetooth.

Step 7: Access the shield

Once you have chosen the GPS shield the app will ask you to activate the GPS in your smartphone.

Arduino GPS shield

Press Ok so you can open the shield successfully.

Arduino GPS shield
And as you see you can display all the data logged inside your smartphone in the same time it had been logged in the excel sheet, you can find lots of Arduino projects on the 1Sheelds’ website and here is a project for a quadcopter which uses the GPS shield of 1Sheeld in gathering data.

Step 8: Setup the hardware

Arduino GPS shield

The hardware is simple, just a 9v battery connected to the system to power it up and the smartphone connected to it through Bluetooth.


Now let’s go for a ride and compare between both shields after gathering their logged data.

Step 1: Get out to the street

Arduino GPS shield
After putting the SD card in the SparkFun shield and connecting the smartphone to the 1Sheeld now we are ready to go, I tried a lot to get any readings from the SparkFun shield at home but all I get is null and that was because this GPS shield doesn’t work indoors and I must go out for a ride and test in an open sky.
On the other side, the smartphone can get the locations from any place even when it’s in my pocket or in my home as it appears in this photo so I decide to put the whole system in a box while am on my way from home to work and see what we get after reaching my destination.

On my way to work, I wasn’t able to get the SparkFun shield data cause I don’t have a laptop in the street but I can see the 1Sheeld data as it can be displayed on my smartphone.

Step 2: Check the files after the journey

After reaching my work it’s the time to see what the files have, and what I get on the SD card of the SparkFun shield was a file of the same name as written in the code, I found the file in a .csv format as i write in the code containing all the readings I asked for.
Arduino GPS shield
What impresses me is the no. of satellites detected cause it can be a sign of what is the most covered locations and what not, but what bothers me is both the time it gets and the altitude! The time was unresonable and the altitude gives so wrong altitudes as it gives me a positive and negative values on the same road which is impossible.

Now is the time to check the 1Sheeld fileArduino GPS shield
it’s only displaying the Longitude and the Latitude with the time and it was so accurate in the timing  as you see in the above table.

Step 3: Turn your .csv file to google earth

Arduino GPS shield

I found a great tool named GPS Visualizer which can convert the .csv file readings into a .Kml file which is the files google earth can deal with so I can see the track I moved through very clearly on a real map.

Just open the GPS visualizer website and click on browse then choose the file you got from the SD card and choose to turn it into a .Kml file, it gives you the chance also to color your track so I chose to make it green as you see in this image.

Arduino GPS shield
Then I made the same operation with the file in the smartphone but I made the line in red color and here is what I get.

Arduino GPS shield

And when I open the both files in the same time I can see the both tracks in the time to check the accuracy but I found that sometimes the SparkFun GPS shield is not the same accuracy as the smartphone connected to 1Sheeld.

Arduino GPS shield
Like the line here in the beginning of my journey.
Arduino GPS shield

In the end of this comparison, I want to say that it was so interesting to operate those shields in this awesome experiment to get the tracking locations from my home to work.

I hope I have covered all the needed points and of course if you have any comments it’s my pleasure to leave it just under the blog :).

Check out my other comparisons:

Related Blogs

Arduino Robotics

Arduino Robotics Series, from a car to a robot arm

Arduino keeps standing out from the crowd of all-around development boards due too its ease of use and budget price. As a result, this has enabled almost anyone to get his own idea into life no matter how crazy or even useless to the whole world it was, except for its maker! Also, it has …

Arduino Robot Arm

How to build an Arduino Robot Arm placed on RC Car

Arduino robots are always funny and definitely more enjoyable when combined with robotic arm! And today, I will walk you through the making of a simple Arduino Robot Arm that’s made of cardboard and how you can attach it over your Arduino Bluetooth RC Car / Robot that you have made so far through this series. …

Arduino Line Following Robot

How to build an Arduino Line Following Robot using Cardboard

Arduino Line Following Robot is one of the easiest and most well-known projects that anyone can make to learn the basics of programming, electronics, and mechanics all in one project. It’s known that this project is common for most of the makers and tech students and today I am going to give it a revisit …

Arduino Obstacle Avoiding Robot

How to build an Arduino Obstacle Avoiding Robot using Cardboard

Back again with another Arduino Bluetooth RC Car tutorial but with an advanced feature that makes your car autonomous by adding ultrasonic sensors to the RC Car you have made before!. Yeah, I know that you may have seen other tutorials using ultrasonic to make the car/robot avoid obstacles ahead, but I am going to …

Arduino Bluetooth RC car

How to make an Arduino Bluetooth RC Car using Cardboard

  Cardboard crafts are one of the most popular and easy to make DIY stuff. Mixing this with the unmatchable enjoyment of RC Cars and the ease of using Arduino, I am going to show you how to make a Cardboard Arduino Bluetooth RC car that you can control via Bluetooth from your smartphone.  …

Arduino Security Camera

Arduino Security Camera System (Arduino Home Hacks #4)

Arduino Security Camera Have you ever wanted to check your home in real time? Afraid that maybe someone has stormed in, don’t remember if you shut the door or not or maybe wanna check if your Hyper-energetic dog has broken any of your dishes AGAIN!! 🙂 Then this is the perfect place for you cause today …