Ks0253 keyestudio GPS Shield: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
==keyestudio GPS Shield==
 
<br>[[File:ks0184.png|500px|frameless|thumb]]<br>
[[image:KS0253.png|thumb|700px|right|keyestudio GPS Shield]]
<br>


==Introduction==
==Introduction==
It is based on the NEO - 6 u blox 6 GPS module, and its pins are compatible with Arduino/MEGA board. Regular GPS pins (RX, TX) can be connected to Arduino D0-D7. Several GPS receivers are easily installed on the expansion board and you can find your exact position within a few meters. At the same time, GPS also provides a very accurate time for you! It is applied to automobile navigation, personal positioning, team management, navigation and so on.
In life, it is becoming more and more popular to use GPS positioning. As for arduino MCU DIY experiments, is there a GPS positioning shield that can be compatible with the Arduino MCU? <br>
Well, use this keyestudio GPS shield. It is based on the NEO-6M-0-001 module, and those pins are also compatible with UNO R3 and MEGA 2560 control board. <br>
Regular GPS pins (RX, TX) is connected to Arduino D0-D7, and you are able to set the connection pin via the jumper cap.<br>
An active antenna is mounted on the GPS shield, allowing you to find your exact location within a few meters. Meanwhile, GPS also provides you with very accurate time! <br>
It can be used in car navigation, personal positioning, fleet management, navigation and navigation. <br>
In particular, this expansion board can only be positioned outdoors and cannot be used for indoor positioning.
 
<br>
== You can check out these features ==
* 1.Using an active GPS antenna
* 2.Connecting TxD and RxD to Arduino pins (D0-D8 optional) with jumper, and the default jumper caps are D7<-->RX and D6<-->TX.
* 3.Onboard comes with a SD card socket
* 4.Comes with an ICSP pin
* 5.Comes with a reset button to reset the Arduino control board
 
<br>
==Technical Details==
* GPS shield dimensions: 54mm*53mm*24mm
* Antenna dimensions: 28mm*28mm*7mm
* Antenna lead length: 142mm
* Weight: 32g
<br>[[File:图片1- ks0253.png|700px|frameless|thumb]]<br>


==Performance Parameters==
<br>
* Compatible with main controller on the market,such as UNO R3 and MEGA2560
* Using 6-channel LED indicator to show the working condition of program for modulating program conveniently 
* Switching functions with 3-channel keyswitch
* One reset button
* Using revolving potentiometer to do analog input
* Alarming and making sound by passive buzzer module
* Using 4 bit LED Segment Displays to display data


==Sample Code==
==PINOUT==
<br>[[File:KS0253 PINOUT.png|800px|frameless|thumb]]<br>
 
<br>
==Test Code==
Below is an example code. [https://drive.google.com/open?id=1Zi0dbaTVlz9NeqnC9ONWQMZIKYv3eFes  Click here ] to download the code. Or you can directly copy and paste the code below to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE]. <br>
Before compile the code, do remember to add the necessary libraries inside the libraries directory of Arduino IDE. Download the libraries from below link: <br>
https://drive.google.com/open?id=1qPOHQXRwEcDpo6ycJRWay1QbZ6QxHfyu
 
<pre>
/*
/*
   Demo code for GPS Shield
   Demo code for GPS Shield
   It records the GPS information onto the TF card,  
   It records the GPS information onto the TF card,  
   and display on serial monitor as well.
   and display on serial monitor as well.
 
   http://makerstudio.cc
   http://makerstudio.cc
*/
*/
Line 25: Line 49:
#include <SPI.h>
#include <SPI.h>
#include <SoftwareSerial.h>
#include <SoftwareSerial.h>
const int chipSelect = 10;
const int chipSelect = 10;
 
SoftwareSerial mySerial(6,7);//(RX,TX), (6->GPS_TX,7->GPS_RX)
SoftwareSerial mySerial(6,7);//(RX,TX), (7->GPS_TX,6->GPS_RX)
 
void setup()
void setup()
{
{
Line 36: Line 57:
    
    
   pinMode(10, OUTPUT);
   pinMode(10, OUTPUT);
   if (!SD.begin(chipSelect)) {
   if (!SD.begin(chipSelect)) {
 
     return;
     return;
   }
   }  
}
}


Line 48: Line 67:
   char index = 0;
   char index = 0;
   char temp = 0;
   char temp = 0;
   String dataString = "";
   String dataString = "";  
 
   // open the file. note that only one file can be open at a time,
   // open the file. note that only one file can be open at a time,
   // so you have to close this one before opening another.
   // so you have to close this one before opening another.
Line 71: Line 89:
Serial.println("Open file failed");
Serial.println("Open file failed");
   }
   }
}
}  
</pre>
 
<br>
==Example Use==
* 1) Upload the test code to keyestudio UNO R3 board.
* 2) Connect the jumpers on the shield, connect GPS_RX to D7, GPS_TX to D6, insert the SD card and plug in the antenna.
* 3) Stack the shield onto UNO R3 board. then connect them to computer using a USB cable.  If you are indoor, please move the board outside.
* 4) Open the serial monitor, and set the baud rate to 9600, wait for a moment, displaying as the figure 1 shown.
* 5) Close the monitor, open the [https://drive.google.com/open?id=1tufjM42WegNL3w_D4rUy9jkDwQS7cLgb  serial port assistant ](figure 2), set the COM port and baud rate to 9600, then open the monitor again, wait for a moment for positioning, it will show the map, longitude, latitude, etc.(figure 3)
<br>
Download the serial port assistant from the link: <br>
https://drive.google.com/open?id=1tufjM42WegNL3w_D4rUy9jkDwQS7cLgb
 
<br>[[File:Ks0253.jpg|600px|frameless|thumb]]<br>
 
<br>
 
==Package Includes==
* Keyestudio GPS Shield *1pcs
* Antenna line *1pcs
<br>[[File:KS0253 GPS Shield (9).jpg|600px|frameless|thumb]]<br>
 
<br>
 
==Resources ==
 
'''Download the code,libraries and serial port assistant:'''<br>
 
https://fs.keyestudio.com/KS0253
 
 
<br>


==Get One Now ==
==Get One Now ==
*[https://www.keyestudio.com/keyestudio-gps-shield-with-sd-slot-antenna-for-arduino-uno-r3-p0341.html    '''Official Website''']
*[https://www.amazon.com/dp/B07B2C2HX4  '''Shop on Amazon''']
*[https://www.aliexpress.com/store/product/keyestudio-GPS-shield-with-SD-slot-Antenna-for-Arduino-UNO-R3/1452162_32822936967.html?spm=2114.12010612.8148356.65.fe24276fJdd6t6  '''Shop on Aliexpress''']
*[https://www.ebay.com/itm/Keyestudio-NEO-6M-APM-Module-GPS-Shield-Board-for-Arduino-UNO-Mega-R3/132546469206?hash=item1edc629d56:g:zOYAAOSwFilasf9Z  '''Shop on eBay''']


http://www.keyestudio.com/catalogsearch/result/?q=ks0253


[[Category: shield]]
[[Category: Shield]]

Latest revision as of 14:11, 6 January 2021

keyestudio GPS Shield


Introduction

In life, it is becoming more and more popular to use GPS positioning. As for arduino MCU DIY experiments, is there a GPS positioning shield that can be compatible with the Arduino MCU?
Well, use this keyestudio GPS shield. It is based on the NEO-6M-0-001 module, and those pins are also compatible with UNO R3 and MEGA 2560 control board.
Regular GPS pins (RX, TX) is connected to Arduino D0-D7, and you are able to set the connection pin via the jumper cap.
An active antenna is mounted on the GPS shield, allowing you to find your exact location within a few meters. Meanwhile, GPS also provides you with very accurate time!
It can be used in car navigation, personal positioning, fleet management, navigation and navigation.
In particular, this expansion board can only be positioned outdoors and cannot be used for indoor positioning.


You can check out these features

  • 1.Using an active GPS antenna
  • 2.Connecting TxD and RxD to Arduino pins (D0-D8 optional) with jumper, and the default jumper caps are D7<-->RX and D6<-->TX.
  • 3.Onboard comes with a SD card socket
  • 4.Comes with an ICSP pin
  • 5.Comes with a reset button to reset the Arduino control board


Technical Details

  • GPS shield dimensions: 54mm*53mm*24mm
  • Antenna dimensions: 28mm*28mm*7mm
  • Antenna lead length: 142mm
  • Weight: 32g


thumb


PINOUT


thumb


Test Code

Below is an example code. Click here to download the code. Or you can directly copy and paste the code below to Arduino IDE.
Before compile the code, do remember to add the necessary libraries inside the libraries directory of Arduino IDE. Download the libraries from below link:
https://drive.google.com/open?id=1qPOHQXRwEcDpo6ycJRWay1QbZ6QxHfyu

/*
  Demo code for GPS Shield
  It records the GPS information onto the TF card, 
  and display on serial monitor as well.
  
  http://makerstudio.cc
*/
#include <SD.h>
#include <SPI.h>
#include <SoftwareSerial.h>
const int chipSelect = 10;
SoftwareSerial mySerial(6,7);//(RX,TX), (6->GPS_TX,7->GPS_RX)
void setup()
{
  Serial.begin(9600);
  mySerial.begin(9600);
  
  pinMode(10, OUTPUT);
  if (!SD.begin(chipSelect)) {  
    return;
  } 
}

void loop()
{
  // make a string for assembling the data to log:
  char index = 0;
  char temp = 0;
  String dataString = ""; 
  // open the file. note that only one file can be open at a time,
  // so you have to close this one before opening another.
  File dataFile = SD.open("datalog.txt", FILE_WRITE);
  if(dataFile)
  {
	while(mySerial.available())
	{
		temp = mySerial.read();
		Serial.print(temp);
		dataString += String(temp);
		index++;
		if(index>200)
			break;
	}
	dataFile.print(dataString);
	
	dataFile.close();
  }else
  {
	Serial.println("Open file failed");
  }
} 


Example Use

  • 1) Upload the test code to keyestudio UNO R3 board.
  • 2) Connect the jumpers on the shield, connect GPS_RX to D7, GPS_TX to D6, insert the SD card and plug in the antenna.
  • 3) Stack the shield onto UNO R3 board. then connect them to computer using a USB cable. If you are indoor, please move the board outside.
  • 4) Open the serial monitor, and set the baud rate to 9600, wait for a moment, displaying as the figure 1 shown.
  • 5) Close the monitor, open the serial port assistant (figure 2), set the COM port and baud rate to 9600, then open the monitor again, wait for a moment for positioning, it will show the map, longitude, latitude, etc.(figure 3)


Download the serial port assistant from the link:
https://drive.google.com/open?id=1tufjM42WegNL3w_D4rUy9jkDwQS7cLgb


thumb


Package Includes

  • Keyestudio GPS Shield *1pcs
  • Antenna line *1pcs


thumb


Resources

Download the code,libraries and serial port assistant:

https://fs.keyestudio.com/KS0253



Get One Now