Comments on: ESP32 with NEO-6M GPS Module (Arduino IDE) https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 26 Aug 2024 19:04:13 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: JB https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-951678 Mon, 26 Aug 2024 19:04:13 +0000 https://randomnerdtutorials.com/?p=160038#comment-951678 In reply to Floyd Geouge.

Hi Floyd.
5m deviation, I wouldn’t expect better than that.
I use the Esp32 C3 mini module with the gps module.
I have added a button.
every time the button changes position
a log point is saved in a file in the LittleFs file system.
I also added wifi,
so it is possible to download the log file.
You can see an image and code in the link below
if you should be interested.
drive.google.com/drive/folders/1yZrISHWsS-RxwEnvy-fmbnBvmO1kIYpH?usp=sharing

]]>
By: Floyd Geouge https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-951655 Mon, 26 Aug 2024 16:30:42 +0000 https://randomnerdtutorials.com/?p=160038#comment-951655 In reply to JB.

Agreed.
Even though the M8N is capable of reception from the Russian and Chinese satellites it seems to rely primarily on the GPS system. Since I posted earlier I have improved my setup by moving the antenna out and away from the house so there is a fairly clear and unobstructed view of the East, 0-180 degrees. Signal strength increased almost twofold with a corresponding improvement in the C/NO. The house still obstructs the view to the West but just this one improvement seems to have cut the deviation to half or better. It will need to run for several more hours to get a better comparison to last night’s run but so far it’s holding to within 5m.
It all comes down to quality of reception.

]]>
By: JB https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-951651 Mon, 26 Aug 2024 16:05:15 +0000 https://randomnerdtutorials.com/?p=160038#comment-951651 In reply to Floyd Geouge.

Hi Floyd.
Thanks info.
the advantage of the M8 is that it should be able to see more than US satellites, I think.
Although the Neo-6M is a rather old module, I think it works quite well.
Maybe it’s consuming too much power.

]]>
By: Floyd Geouge https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-951571 Mon, 26 Aug 2024 12:45:57 +0000 https://randomnerdtutorials.com/?p=160038#comment-951571 In reply to JB.

Hi JB,
Yesterday I decided to run my own evaluation to see how it stacked up against Andreas Spiess’s work. I put U-Center to work and ran the deviation map for a 12 hour period overnight. My M8N is connected using a DSD Tech SH-U06B USB to TTL Serial Adapter and a Bingfu antenna affixed to the inside of a window in my house which faces E/NE (not ideal but adequate for this initial experiment). While the receiver was seeing multiple satellites, those with the strongest and best C/NO signals were located in the East-North quadrant. No surprise there. I was seeing an average of 18 satellites at any given time with an almost even mix of GPS and GLONASS. There were no BeiDou but I think that is an option I can enable in the M8. I will have to look into that further. With U-Center it is easier to see and begin to understand why the excursions in readings take place. Back to the results though…
This morning I was pleasantly surprised to see my 12 hour evaluation using my less than ideal setup showed average position was within 10m radius (99%) and the remaining were within 15m.
I will try to get my antenna set up in a better location and run this test again at some later date.

]]>
By: JB https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-950746 Sat, 24 Aug 2024 11:50:51 +0000 https://randomnerdtutorials.com/?p=160038#comment-950746 In reply to Floyd Geouge.

Hi Floyd.
I thank you for your reply.

]]>
By: Floyd Geouge https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-950738 Sat, 24 Aug 2024 11:16:02 +0000 https://randomnerdtutorials.com/?p=160038#comment-950738 Thanks JB. I have also noted the altitude anomaly in these receivers and attributed it to orbital variation and / or atmospheric disturbances. It can vary 10’s of meters over a very short period.
Another good reference I have found is on MIT App Inventor – Exploring with LocationSensor in AI2.

]]>
By: JB https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-950689 Sat, 24 Aug 2024 07:53:49 +0000 https://randomnerdtutorials.com/?p=160038#comment-950689 In reply to Floyd Geouge.

Here is a link to Andreas Spiess’s YouTube channel.
Comparison of precision between Neo-M8N and Neo-6M Modules.
youtube.com/watch?v=FmdG66kTfsI

]]>
By: JB https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-950422 Fri, 23 Aug 2024 09:43:44 +0000 https://randomnerdtutorials.com/?p=160038#comment-950422 hi Rui and Sara
Is this supposed to be a one second delay,
between each reading.

void loop() {
// This sketch displays information every time a new sentence is correctly encoded.
unsigned long start = millis();

while (millis() – start < 1000) {
while (gpsSerial.available() > 0) {
gps.encode(gpsSerial.read());
}
if (gps.location.isUpdated()) {

]]>
By: JB https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-949300 Mon, 19 Aug 2024 19:06:19 +0000 https://randomnerdtutorials.com/?p=160038#comment-949300 hi Sara
of course it has to be
if (millis() – start < 1000) {
if it is a one second delay.

]]>
By: JB https://randomnerdtutorials.com/esp32-neo-6m-gps-module-arduino/#comment-949299 Mon, 19 Aug 2024 18:40:56 +0000 https://randomnerdtutorials.com/?p=160038#comment-949299 Hi Sarah
In the sketch where you use TinyGPS++
should unsigned long start = millis()
not be in setup, instead of being in the main loop.

and then use the if else statement.
if (millis() – start < 200) {

}
else{
while (gpsSerial.available() > 0) {

and then
start = millis();
after the last serial.println

]]>