Header banner
Revain logoHome Page
Ken Hamdan photo
1 Level
1281 Review
29 Karma

Review on πŸ›°οΈ High Sensitivity GPS Module NEO-6M for Navigation Satellite Positioning - Compatible with STM32 Arduino UNO R3 & 51 Microcontroller, Drone Receiver with IPEX Antenna by Ken Hamdan

Revainrating 4 out of 5

Everything is OK.

The code I used worked: /* Read/write SD card This example shows how to read and write data to and from an SD card file Schematic: An SD card is created as follows with connected to the SPI bus ** MOSI - pin 11 ** MISO - pin 12 ** CLK - pin 13 ** CS - pin 4 (for MKRZero SD: SDCARD_SS_PIN) created November 2010 by David A. Mellis and modified November 9, 2010. April 2012 by Tom Egoe. public domain.*/#include <SPI.h>#include <SD.h>//chipSelect = 53 for ArduinoMega//const int chipSelect = 53;const int chipSelect = 10;File myFile;void setup() { / / Open the serial communication and wait for the port to open: Serial.begin(9600); while (! serial) { ; // wait for serial port connection. Only required for native USB port } Serial.print("Initialize SD card."); if (!SD.begin(chipSelect)) {Serial.println("Initialization failed!"); during (1); } Serial.println("Initialization complete."); // Open file. Note that only one file can be open at a time, // so you must close that file before opening another. myFile = SD.open("test.txt", FILE_WRITE); // If the file opened normally, write in it: if (myFile) { Serial.print ("Write to test.txt."); myFile.println("test 4, 5, 6."); myFile.println("Sent via Arduino Mega."); // close file: myFile.close(); Serial.println("Done."); } Else { // If the file didn't open, print an error: Serial.println ("failed to open test.txt"); } // Open file again for reading: myFile = SD.open("test.txt"); if (myfile) {Serial.println("test.txt"); // read from the file until there is nothing left: while (myFile.available()) { Serial.write(myFile.read()); } // close file: myFile.close(); } Else { // If the file didn't open, print an error: Serial.println ("failed to open test.txt"); }}void loop() { // nothing happens after installation} Make sure you import data from GPS++ from their github and not from Arduino libraries. It also takes some time to actually get the location data. I had to be outside in low cloud to get the data and it took a few minutes. It also seems to be getting a fairly accurate altitude, but I'm not sure how accurate it is or why it's taking about 10 minutes to get the altitude even though it's getting longitude and latitude data.

Pros
  • Best
Cons
  • Ugly packaging