Neo-7M replacement for Neo-6

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Neo-7M replacement for Neo-6

#1 Post by Wiki » 10 Apr 2021, 11:53

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 18463 times
MurphyGPSmodulUSB.JPG
MurphyGPSmodulUSB.JPG (90.93 KiB) Viewed 18462 times

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#2 Post by TD-er » 10 Apr 2021, 13:22

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.

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#3 Post by Wiki » 10 Apr 2021, 13:37

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...

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#4 Post by Wiki » 10 Apr 2021, 14:03

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.

?

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Neo-7M replacement for Neo-6

#5 Post by Ath » 10 Apr 2021, 14:34

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.
/Ton (PayPal.me)

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#6 Post by Wiki » 10 Apr 2021, 14:55

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.

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#7 Post by Wiki » 10 Apr 2021, 14:58

MurphyGPSmodulD4.JPG
MurphyGPSmodulD4.JPG (43.57 KiB) Viewed 18441 times

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Neo-7M replacement for Neo-6

#8 Post by Ath » 10 Apr 2021, 15:04

Wiki wrote: 10 Apr 2021, 14:55 [..]Using this configuration ESPEasy shows data.
Yay! Success :D
/Ton (PayPal.me)

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#9 Post by Wiki » 10 Apr 2021, 15:08

Naah, 100% success should look different
MurphyGPSmodulD4Error.JPG
MurphyGPSmodulD4Error.JPG (15.98 KiB) Viewed 18438 times

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#10 Post by TD-er » 10 Apr 2021, 15:38

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 ?

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#11 Post by Wiki » 10 Apr 2021, 16:03

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)?

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#12 Post by TD-er » 10 Apr 2021, 16:17

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.

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#13 Post by Wiki » 10 Apr 2021, 17:38

Tried:
3.3V - 10.7kOhm - RX (GPIO-3 (D9)) Wemos D1 - TX Neo 7M

still no data.....

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#14 Post by TD-er » 10 Apr 2021, 19:33

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.

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#15 Post by Wiki » 10 Apr 2021, 21:52

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.

??????

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#16 Post by Wiki » 10 Apr 2021, 21:58

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.

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#17 Post by TD-er » 10 Apr 2021, 22:05

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.

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#18 Post by Wiki » 10 Apr 2021, 22:28

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.

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#19 Post by Wiki » 12 Apr 2021, 18:57

And this is the Neo-7M with an active antenna and working serial connection:
MurphyGPSmodulactiveAntenna.JPG
MurphyGPSmodulactiveAntenna.JPG (53.27 KiB) Viewed 18328 times
Yeah, that's what we are talking about.

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#20 Post by TD-er » 12 Apr 2021, 20:38

What was the fix for the HW serial port?
Using pull-up resistors?

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#21 Post by Wiki » 13 Apr 2021, 15:34

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.

??????

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#22 Post by TD-er » 13 Apr 2021, 15:44

Ah OK, missed that part somehow....

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Neo-7M replacement for Neo-6

#23 Post by Wiki » 13 Apr 2021, 19:00

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!

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Neo-7M replacement for Neo-6

#24 Post by TD-er » 13 Apr 2021, 23:11

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.

linggm
New user
Posts: 1
Joined: 27 Mar 2022, 10:56

Re: Neo-7M replacement for Neo-6

#25 Post by linggm » 27 Mar 2022, 11:04

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

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Neo-7M replacement for Neo-6

#26 Post by Ath » 27 Mar 2022, 13:24

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
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 23 guests