mustafaxfe
Posts: 10
Joined: Thu Mar 09, 2017 3:24 pm

Connecting GY-NEO6MV2 GPS module with raspberry pi 3

Fri Dec 08, 2017 1:38 pm

Hi,
I have bought a gps module which is "GY-NEO6MV2". I have followed this tutorial https://www.instructables.com/id/Raspbe ... eo-6M-GPS/...
I couldn't figure out how to make it work this gps module with raspberry pi.
While searching forums, I met some suggestions like giving 5V to vcc.
viewtopic.php?f=44&t=51788&start=25#p1191522
What will you suggest? Should I try to give 5V to vcc(currently I connected to 3.3V).
Thanks in advance...

User avatar
topguy
Posts: 4864
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Connecting GY-NEO6MV2 GPS module with raspberry pi 3

Fri Dec 08, 2017 3:38 pm

The wiring diagram in that guide is probably the only thing that is still valid.

This tutorial is slightly better : https://www.xarg.org/2016/06/neo6mv2-gp ... pberry-pi/
..but not completely correct anymore either. You have probably have to replace "ttyAMA0" with "serial0"

mustafaxfe
Posts: 10
Joined: Thu Mar 09, 2017 3:24 pm

Re: Connecting GY-NEO6MV2 GPS module with raspberry pi 3

Sun Dec 10, 2017 12:29 pm

Hi topguy,
I have followed tutorial which you gave...
I have already disabled serial inreface.
I don't have "/dev/ttyAMA0". But result of "ls -l /dev" gives:

Code: Select all

lrwxrwxrwx 1 root root           5 Dec  7 02:16 serial1 -> ttyS0
crw-rw---- 1 root disk     21,   0 Dec  7 02:16 sg0
drwxrwxrwt 2 root root          40 Nov  3  2016 shm
drwxr-xr-x 2 root root          80 Dec  7 02:16 snd
crw-rw---- 1 root spi     153,   0 Dec  7 02:16 spidev0.0
crw-rw---- 1 root spi     153,   1 Dec  7 02:16 spidev0.1
lrwxrwxrwx 1 root root          15 Nov  3  2016 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root          15 Nov  3  2016 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root          15 Nov  3  2016 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty       5,   0 Dec  7 02:16 tty
crw--w---- 1 root tty       4,   0 Dec  7 02:16 tty0
crw------- 1 pi   tty       4,   1 Dec  7 02:18 tty1
crw--w---- 1 root tty       4,  10 Dec  7 02:16 tty10
crw--w---- 1 root tty       4,  11 Dec  7 02:16 tty11
crw--w---- 1 root tty       4,  12 Dec  7 02:16 tty12
crw--w---- 1 root tty       4,  13 Dec  7 02:16 tty13
crw--w---- 1 root tty       4,  14 Dec  7 02:16 tty14
crw--w---- 1 root tty       4,  15 Dec  7 02:16 tty15
crw--w---- 1 root tty       4,  16 Dec  7 02:16 tty16
crw--w---- 1 root tty       4,  17 Dec  7 02:16 tty17
crw--w---- 1 root tty       4,  18 Dec  7 02:16 tty18
crw--w---- 1 root tty       4,  19 Dec  7 02:16 tty19
crw--w---- 1 root tty       4,   2 Dec  7 02:16 tty2
crw--w---- 1 root tty       4,  20 Dec  7 02:16 tty20
crw--w---- 1 root tty       4,  21 Dec  7 02:16 tty21
crw--w---- 1 root tty       4,  22 Dec  7 02:16 tty22
crw--w---- 1 root tty       4,  23 Dec  7 02:16 tty23
crw--w---- 1 root tty       4,  24 Dec  7 02:16 tty24
crw--w---- 1 root tty       4,  25 Dec  7 02:16 tty25
crw--w---- 1 root tty       4,  26 Dec  7 02:16 tty26
crw--w---- 1 root tty       4,  27 Dec  7 02:16 tty27
crw--w---- 1 root tty       4,  28 Dec  7 02:16 tty28
crw--w---- 1 root tty       4,  29 Dec  7 02:16 tty29
crw--w---- 1 root tty       4,   3 Dec  7 02:16 tty3
crw--w---- 1 root tty       4,  30 Dec  7 02:16 tty30
crw--w---- 1 root tty       4,  31 Dec  7 02:16 tty31
crw--w---- 1 root tty       4,  32 Dec  7 02:16 tty32
crw--w---- 1 root tty       4,  33 Dec  7 02:16 tty33
crw--w---- 1 root tty       4,  34 Dec  7 02:16 tty34
crw--w---- 1 root tty       4,  35 Dec  7 02:16 tty35
crw--w---- 1 root tty       4,  36 Dec  7 02:16 tty36
crw--w---- 1 root tty       4,  37 Dec  7 02:16 tty37
crw--w---- 1 root tty       4,  38 Dec  7 02:16 tty38
crw--w---- 1 root tty       4,  39 Dec  7 02:16 tty39
crw--w---- 1 root tty       4,   4 Dec  7 02:16 tty4
crw--w---- 1 root tty       4,  40 Dec  7 02:16 tty40
crw--w---- 1 root tty       4,  41 Dec  7 02:16 tty41
crw--w---- 1 root tty       4,  42 Dec  7 02:16 tty42
crw--w---- 1 root tty       4,  43 Dec  7 02:16 tty43
crw--w---- 1 root tty       4,  44 Dec  7 02:16 tty44
crw--w---- 1 root tty       4,  45 Dec  7 02:16 tty45
crw--w---- 1 root tty       4,  46 Dec  7 02:16 tty46
crw--w---- 1 root tty       4,  47 Dec  7 02:16 tty47
crw--w---- 1 root tty       4,  48 Dec  7 02:16 tty48
crw--w---- 1 root tty       4,  49 Dec  7 02:16 tty49
crw--w---- 1 root tty       4,   5 Dec  7 02:16 tty5
crw--w---- 1 root tty       4,  50 Dec  7 02:16 tty50
crw--w---- 1 root tty       4,  51 Dec  7 02:16 tty51
crw--w---- 1 root tty       4,  52 Dec  7 02:16 tty52
crw--w---- 1 root tty       4,  53 Dec  7 02:16 tty53
crw--w---- 1 root tty       4,  54 Dec  7 02:16 tty54
crw--w---- 1 root tty       4,  55 Dec  7 02:16 tty55
crw--w---- 1 root tty       4,  56 Dec  7 02:16 tty56
crw--w---- 1 root tty       4,  57 Dec  7 02:16 tty57
crw--w---- 1 root tty       4,  58 Dec  7 02:16 tty58
crw--w---- 1 root tty       4,  59 Dec  7 02:16 tty59
crw--w---- 1 root tty       4,   6 Dec  7 02:16 tty6
crw--w---- 1 root tty       4,  60 Dec  7 02:16 tty60
crw--w---- 1 root tty       4,  61 Dec  7 02:16 tty61
crw--w---- 1 root tty       4,  62 Dec  7 02:16 tty62
crw--w---- 1 root tty       4,  63 Dec  7 02:16 tty63
crw--w---- 1 root tty       4,   7 Dec  7 02:16 tty7
crw--w---- 1 root tty       4,   8 Dec  7 02:16 tty8
crw--w---- 1 root tty       4,   9 Dec  7 02:16 tty9
crw------- 1 root root      5,   3 Dec  7 02:16 ttyprintk
crw-rw---- 1 root dialout   4,  64 Dec  7 02:16 ttyS0
So I tried "cat /dev/ttyS0 "
It gives:
cat: /dev/ttyS0: Input/output error
What should I do to make it working...

idkidkidkidk
Posts: 1
Joined: Fri Dec 15, 2017 3:31 am

Re: Connecting GY-NEO6MV2 GPS module with raspberry pi 3

Fri Dec 15, 2017 3:52 am

That board does look like it has a voltage regulator on it. Try feeding it 5v on that vcc line and see if you can get that /dev/ttyAMA0 line to show up.

User avatar
topguy
Posts: 4864
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Connecting GY-NEO6MV2 GPS module with raspberry pi 3

Fri Dec 15, 2017 11:48 am

I might suggest that you reformat your SD-card and reinstall raspbian so that previous attempts doesn't influence the current attempt.

Code: Select all

lrwxrwxrwx 1 root root           5 Dec  7 02:16 serial1 -> ttyS0
Do you have a "serial0" ? And what is it linked to.

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: mjcumming and 11 guests