The GY-NEO-7M Gps device is a GPS Navigation module that supports the Serial communication protocol and it has an active antenna. This module can be easily combined with any microcontroller. This module has a battery pack and can also be attached to a PC via a USB to TTL converter. This device can obtain data and then measure the geographic location with high precision and reliability. the module supports g BeiDou, Galileo, GLONASS, GPS / QZSS, and more the device has internal storage for saving configurations
AED 87.00
Description
The GY-NEO-7M Gps device is a GPS Navigation module that supports the Serial communication protocol and it has an active antenna. This module can be easily combined with any microcontroller. This module has a battery pack and can also be attached to a PC via a USB to TTL converter. This device can obtain data and then measure the geographic location with high precision and reliability. the module supports g BeiDou, Galileo, GLONASS, GPS / QZSS, and more the device has internal storage for saving configurations.
Specifications:
- Part Number:51 single-chip microcomputer STM32 NEO7M
- RF Family/Standard:802.15.4
- Protocol:LoRa
- Modulation:FSK, GFSK, GMSK, MSK, OOK
- Frequency:137MHz - 525MHz
- Data Rate (Max):300kbps
- Sensitivity:-148dBm
To Read the datasheet Click Here
NEO-7M GPS Pinout
This Module has 4 pins:
- VIN: Module power supply – 5 V
- GND: Ground
- RX: Receive data via serial protocol
- TX: Sending data via serial protocol
Connecting NEO-7M GPS With Arduino:
attach the Vin to VCC 5V of the Arduino
attach the GND to GND on Arduino
attach the RX to Pin Number 4 on Arduino
attach the TX to Pin Number 3 on Arduino
Now, After you connected everything and before giving you the code you need to download and add the next library to Arduino IDE:
Navigate to Sketch > Include Library > Add.ZIP Library in the Arduino IDE. Select the option to "Add. ZIP Library" at the top of the drop-down list.
You will be prompted to choose the library to which you want to add it. Open the.zip file by navigating to its location.
Upload the Code:
#include#include /* This example sketch shows how to use a TinyGPS++ (TinyGPSPlus) object normally. It necessitates the use of SoftwareSerial and assumes a 9600-baud serial GPS device is connected to pins 4(rx) and 3. (tx). */ static const int RXPin = 4, TXPin = 3; static const uint32_t GPSBaud = 9600; // The TinyGPS++ object TinyGPSPlus gps; // The serial connection to the GPS device SoftwareSerial ss(RXPin, TXPin); void setup() { Serial.begin(115200); ss.begin(GPSBaud); Serial.println(F("DeviceExample.ino")); Serial.println(F("A simple demonstration of TinyGPS++ with an attached GPS module")); Serial.print(F("Testing TinyGPS++ library v. ")); Serial.println(TinyGPSPlus::libraryVersion()); Serial.println(F("by Mikal Hart")); Serial.println(); } void loop() { // This sketch displays information every time a new sentence is correctly encoded. while (ss.available() > 0) if (gps.encode(ss.read())) displayInfo(); if (millis() > 5000 && gps.charsProcessed() < 10) { Serial.println(F("No GPS detected: check wiring.")); while(true); } } void displayInfo() { Serial.print(F("Location: ")); if (gps.location.isValid()) { Serial.print(gps.location.lat(), 6); Serial.print(F(",")); Serial.print(gps.location.lng(), 6); } else { Serial.print(F("INVALID")); } Serial.print(F(" Date/Time: ")); if (gps.date.isValid()) { Serial.print(gps.date.month()); Serial.print(F("/")); Serial.print(gps.date.day()); Serial.print(F("/")); Serial.print(gps.date.year()); } else { Serial.print(F("INVALID")); } Serial.print(F(" ")); if (gps.time.isValid()) { if (gps.time.hour() < 10) Serial.print(F("0")); Serial.print(gps.time.hour()); Serial.print(F(":")); if (gps.time.minute() < 10) Serial.print(F("0")); Serial.print(gps.time.minute()); Serial.print(F(":")); if (gps.time.second() < 10) Serial.print(F("0")); Serial.print(gps.time.second()); Serial.print(F(".")); if (gps.time.centisecond() < 10) Serial.print(F("0")); Serial.print(gps.time.centisecond()); } else { Serial.print(F("INVALID")); } Serial.println(); }
After uploading the code, you can see the output in the serial monitor.