GPS Modules with Ar...
 
Notifications
Clear all

GPS Modules with Arduino and Raspberry Pi

Page 4 / 5

Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will Right. Here is what I get now with Bill's simple sketch

1953.268 -> $GPRMC,,V,,,,,,,,,,N*53
1953.306 -> $GPVTG,,,,,,,,,N*30
1953.342 -> $GPGGA,,,,,,0,00,99.99,,,,,,*48
1953.379 -> $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
1953.416 -> $GPGSV,1,1,00*79
1953.416 -> $GPGLL,,,,,,V,N*64

Now I will try 3.3V

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

Well it doesn't make a difference if it's 3.3 or 5v

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Will
 Will
(@will)
Noble Member
Joined: 1 year ago
Posts: 2017
 

@ronalex4203 

Are you powering the GPS module from the Arduino's 3.3V pin ?

I was kidnapped by mimes.
They did unspeakable things to me.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will No, 5V, the board has  a VR

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Will
 Will
(@will)
Noble Member
Joined: 1 year ago
Posts: 2017
 

@ronalex4203 

OK, I was just thinking about whether the Arduino could supply enough power or whether the module should be powered separately. 

Here's another site with an extremely simple sketch for the module you're using. I don't know whether you feel like testing any different sketches, but here it is ...

https://randomnerdtutorials.com/guide-to-neo-6m-gps-module-with-arduino/

I was kidnapped by mimes.
They did unspeakable things to me.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will I am getting some data but until I can go outside and point the antenna I won't know if it is any good. I will give it a try again sometime after 6 tomorrow when I get home.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will Great, I bought one of his courses. he is nothing if not prolific. terrible at naming variables though.

I did change the test sketch I was using so that the serial was 9600, the soft serial was 9600 and the serial monitor was 9600. I am getting data but now think it's garbage since the gps led is not blinking.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will Got it. I forgot the unit has been sitting for many months so the time for first fix is closer to an hour than a minute. Once I left it powered on and pointing at the sky it did it's cold start thing and now it is working fine.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Will
 Will
(@will)
Noble Member
Joined: 1 year ago
Posts: 2017
 

@ronalex4203 

Yay 🙂

I was kidnapped by mimes.
They did unspeakable things to me.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will I got it working. I forgot that these boards came from China so probably had a last known location of China. The board would have to search a very large part of the world to 'locate' itself. It took a good hour or more but finally locked on. Now it starts producing data within seconds/minutes. These boards have a tiny battery to save last known location like most of them do. All good, marking solved

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Will
 Will
(@will)
Noble Member
Joined: 1 year ago
Posts: 2017
 

@ronalex4203 

I'm just curious, now that you have it working (I presume outdoors), does it work at all inside ?

I was kidnapped by mimes.
They did unspeakable things to me.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will Absolutely, but it sits 4-6" from a window. I just randomly place the antenna facing up, did not consult a satellite position map and I am in a fairly well treed camp site. I am not sure if I will make any use of these units, but time will tell.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Will
 Will
(@will)
Noble Member
Joined: 1 year ago
Posts: 2017
 

@ronalex4203 

Thanks for the info, I was kind toying with the idea of getting one to try but I live in a condo so having to put it outside is more "challenging".

I was kidnapped by mimes.
They did unspeakable things to me.


ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3045
 

@will If you have a window, it will work. I am trying to find an app to show you the location of satellites but no luck so far. Are you iPhone or android?

 

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Will
 Will
(@will)
Noble Member
Joined: 1 year ago
Posts: 2017
 

@ronalex4203 

There's no rush, I tend to speculate for a year or more before I spring into inactivity 🙂 I don't even have a car, so I have absolutely no practical use for it, except curiosity and the willingness to deflate an already emaciated portfolio 🙂

I was kidnapped by mimes.
They did unspeakable things to me.


ReplyQuote
Page 4 / 5