This GPS module from Ublox is backward compatible with the popular Neo-6 and Neo-7 Modules GPS Module Micro USB NEO8M Module for Arduino, PC / ESP8266 ESP32 An easy-to-use GPS with a built-in antenna and USB port, as well as classic TTL TX and RX pins to be used with the Arduino and ESP8266 ESP32. The NEO-8 series of standalone GNSS modules is based on the u-blox 8 GNSS (GPS, GLONASS, QZSS, and SBAS) engine's exceptional performance. The NEO-8 series provides high sensitivity with short acquisition times.
AED 130.20
Description
This GPS module from Ublox is backward compatible with the popular Neo-6 and Neo-7 Modules GPS Module Micro USB NEO8M Module for Arduino, PC / ESP8266 ESP32 An easy-to-use GPS with a built-in antenna and USB port, as well as classic TTL TX and RX pins to be used with the Arduino and ESP8266 ESP32. The NEO-8 series of standalone GNSS modules is based on the u-blox 8 GNSS (GPS, GLONASS, QZSS, and SBAS) engine's exceptional performance. The NEO-8 series provides high sensitivity with short acquisition times.
Specifications:
parameters can be set via serial port and saved in EEPROM
with the SMA interface, you can connect a variety of antennae, strong adaptability
compatible with 3.3 V / 5 V level for easy connection to a variety of microprocessor systems
the backup rechargeable battery on board
with micro USB, no need for USB-TTL tools
with TTL interface
an onboard ceramic antenna attached to the rear of the module
supply voltage: 3.3 to 5 VDC (or by USB cable)
connections: VCC (+5 V), GND (ground), TX, RX, PPS (time pulse)
default baud rate: 9600 baud
NEO-8M GPS Module 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-8M 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 "TinyGPS++.h" #include "SoftwareSerial.h" /* 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.