Page 1 of 1

Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 11:53
by Wiki
I recently replaced my Neo 6 module by a Neo-7M (This one: https://www.ebay.de/itm/NEO-7M-GPS-Sate ... 2676131887). The Neo-7M is attached by using the existing wires used for the Neo 6.

Looking on the USB-side of the Neo-7M module it gets pretty quick a fix and sends reliable data.

My Wemos D1 doesn't show up with any data. Do I have to modfy something?
MurphyGPSmodul.JPG
MurphyGPSmodul.JPG (43.98 KiB) Viewed 18842 times
MurphyGPSmodulUSB.JPG
MurphyGPSmodulUSB.JPG (90.93 KiB) Viewed 18841 times

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 13:22
by TD-er
What baud rate is the module using?
It looks like ESPEasy is either not receiving anything, or it is rejecting all strings.
You're using Serial0, so make sure "Enable Serial" is unchecked in the Tools->Advanced page or else all will be considered ESPEasy commands.

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 13:37
by Wiki
Module is set to 9600 baud, enable serial is unchecked.

I doublechecked the settings of the two modules using u-blox u-center, can't find any difference. Now I will connect the serial port of Neo-7M to a FTDI232 and will report...

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 14:03
by Wiki
Neo 7M attached with the serial connections using a FTDI232, 9600 baud, delivers the data as expected.

Reattached to Wemos D1 -> no data in GPS task.

?

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 14:34
by Ath
Does the log you showed have the same format as the previous GPS unit? The code does recognition for the data type on &term[2], meaning that it might be an off-by-N issue, if the new unit has a different length data prefix.

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 14:55
by Wiki
Yes, it does.

Now I've tried Neo TX -> Wemos D4, Neo RX -> none, Neo PPS -> Wemos D6, software serial. Using this configuration ESPEasy shows data.

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 14:58
by Wiki
MurphyGPSmodulD4.JPG
MurphyGPSmodulD4.JPG (43.57 KiB) Viewed 18820 times

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 15:04
by Ath
Wiki wrote: 10 Apr 2021, 14:55 [..]Using this configuration ESPEasy shows data.
Yay! Success :D

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 15:08
by Wiki
Naah, 100% success should look different
MurphyGPSmodulD4Error.JPG
MurphyGPSmodulD4Error.JPG (15.98 KiB) Viewed 18817 times

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 15:38
by TD-er
SW serial is not really reliable with such 'chatty' devices like a GPS
I wonder why it doesn't work on HW serial.
Maybe if you place it on "Serial0_swapped" ?
Just make it so that you can disconnect it at boot as GPIO-15 must be at a specific state during boot.
But maybe the USB to serial chip does something to the signal?
Or the new one needs to have the line pulled up ?

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 16:03
by Wiki
TD-er wrote: 10 Apr 2021, 15:38 SW serial is not really reliable with such 'chatty' devices like a GPS
...
I know, just tried a different way to check if there is any communication
TD-er wrote: 10 Apr 2021, 15:38 ...
Just make it so that you can disconnect it at boot as GPIO-15 must be at a specific state during boot.
...
No way, the device is placed far away from me
TD-er wrote: 10 Apr 2021, 15:38 ...
Or the new one needs to have the line pulled up ?
For me it seems so. Any suggestions of wiring a pull up (5V-1kOhm-TX Neo 7M)?

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 16:17
by TD-er
It is working on GPIO-2 so it seems, so I guess you may need to use a 10k (not that critical, NodeMCU uses 12k) pull-up on the RX of the ESP (TX on GPS) to 3v3.

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 17:38
by Wiki
Tried:
3.3V - 10.7kOhm - RX (GPIO-3 (D9)) Wemos D1 - TX Neo 7M

still no data.....

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 19:33
by TD-er
Are you sure the TX of the GPS is connected to the RX of the ESP?
For example if you can read the GPS NMEA strings over the USB serial port, you know you have connected them to the wrong pins and have to swap it.

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 21:52
by Wiki
Yes, I am sure that the connection TX Neo -> RX Wemos is (was) correct - as it was before using the Neo 6M. I didn't change anything, just desoldered the Neo 6M and nsoldered the Neo 7M.

At least now I've flashed a new Wemos D1, soldered the same wires, no pull up, put on the existing config and finally I can see some data - waiting for the Neo to get a fix.

The only difference: the first (up to now used) device is a Wemos D1 V3 (the one without metal shield), the one now connected to the Neo is a Wemos D1 V2.

??????

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 21:58
by Wiki
Ah, and btw. as I noticed now: the Neo-7M sends the data in parallel to UART1 and USB at the same time. So its no indicator of miswiring.

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 22:05
by TD-er
The USB to serial chip on the Wemos has its RX connected to the TX of the ESP.
So if you see the GPS data on the USB to serial port (when connecting to it from your PC) then you know the GPS TX is connected to the RX of the USB to serial and thus not connected to the RX of the ESP.

Re: Neo-7M replacement for Neo-6

Posted: 10 Apr 2021, 22:28
by Wiki
OK, clarified, we both are talking about two different things - me about the USB connection directly to the GPS device and reading its data (it has a seperate USB plug), you about the USB connection to the Wemos.

Re: Neo-7M replacement for Neo-6

Posted: 12 Apr 2021, 18:57
by Wiki
And this is the Neo-7M with an active antenna and working serial connection:
MurphyGPSmodulactiveAntenna.JPG
MurphyGPSmodulactiveAntenna.JPG (53.27 KiB) Viewed 18707 times
Yeah, that's what we are talking about.

Re: Neo-7M replacement for Neo-6

Posted: 12 Apr 2021, 20:38
by TD-er
What was the fix for the HW serial port?
Using pull-up resistors?

Re: Neo-7M replacement for Neo-6

Posted: 13 Apr 2021, 15:34
by Wiki
Wiki wrote: 10 Apr 2021, 21:52 [....]
At least now I've flashed a new Wemos D1, soldered the same wires, no pull up, put on the existing config and finally I can see some data - waiting for the Neo to get a fix.

The only difference: the first (up to now used) device is a Wemos D1 V3 (the one without metal shield), the one now connected to the Neo is a Wemos D1 V2.

??????

Re: Neo-7M replacement for Neo-6

Posted: 13 Apr 2021, 15:44
by TD-er
Ah OK, missed that part somehow....

Re: Neo-7M replacement for Neo-6

Posted: 13 Apr 2021, 19:00
by Wiki
For those who are interested:

The Neo-7M which I've linked in the opening post is equipped with a ceramic antenna. I can tell, that the ceramic antenna is a kind of fake - no fix at no place.

What I can tell: The device is delivered with a SMA connection for an active antenna. I ordered This one: https://www.amazon.de/gp/product/B002FA76QY . You have to solder the SMA plug by yourself.

And then it works like a charme. Even indoor fix in 5-10 secs after power on, stable tracking of around 15-17 satellites, no fix loss. Recommendation!

Re: Neo-7M replacement for Neo-6

Posted: 13 Apr 2021, 23:11
by TD-er
Ah good to know.
I also have some GPS units here which hardly get a time fix, let alone a position fix.
I will try to use a different antenna on them.

Re: Neo-7M replacement for Neo-6

Posted: 27 Mar 2022, 11:04
by linggm
Hi all,

I am new here and I do not find the GPS devices in the device list. What are I doing wrong?

I am using ESP_Easy_mega_20211224_normal_ESP8266_4M1M Dec 24 2021

Thanks,
Martin

Re: Neo-7M replacement for Neo-6

Posted: 27 Mar 2022, 13:24
by Ath
To be able to use the GPS plugin, you will need to flash any of the TEST builds (A..E doesn't matter, as it is included in all TEST builds), as can be found in this overview of plugins