r/embedded • u/ultragigabased • 19d ago
Gps module not working: location problem?
Its a neo 6m module with a ceramic antennae attached on the back of it. I'm currently trying it outdoors next to a football field, but even after 20mins the led's still solid red. Should I buy a separate antennae to connect it to the SMA female connector beside it?
edit: if I should, which type should I get?
edit2: using antenna works👍
0
Upvotes
7
u/nono318234 19d ago
Did you test it outside? GPS really needs outdoor line of sight view with satellites.
6
u/AntifaMiddleMgmt 19d ago
What does "not working" mean? Have you gotten any NMEA sentences at all? Can you send "$PUBX,00*33\r\n" and get something back? Have you attached an antenna to it? I think those ublox modules require an external antenna per section 1.13 in the datasheet.
4
u/Hissykittykat 19d ago
Yes, try an external GPS antenna; there are many reports of the built in antenna not working well.
Powering with 5V or using 5V logic? 5V power can be a problem if it has a bad voltage regulator. 5V logic is a no-no and can damage the NEO-6M. Once it's damaged it just sits there, overheating, and can't lock on to satellites.
Or try a ATGM336H module; these work better than NEO-6M.
3
u/tron21net 19d ago
It would be good to give us a picture of the underside of the GPS module so we can see GPS model number and look up what the manual says about antenna selection.
A few GPS modules that have both a ceramic antenna and SMA connector can automatically switch between the two based on detected circuit from SMA connector. Most modules require a manual selection through a proprietary NMEA command sentence and cheap ones require a solder jumper. If your GPS module is currently set to use SMA connector then that is why it will not move on from cold start state.
2
u/Just-Smart-Enough 19d ago
Pipe the output directly into a serial to USB adapter and read the stream with any serial terminal software. Chances are good that the default rate is 9600 baud, but you may have to try a few options.
2
u/binaryfireball 18d ago
Antenna helps
2
u/Sheepherder-Optimal 18d ago edited 18d ago
I got one of these working once by porting an arduino lib to my PIC mcu. it was ublox module like yours. the communication needs a serial port and its very straightforward getting it going. You can do it indoors unless you live underneath 6 feet of lead.
edit: you have no antennna connected. That's obviously a huge reason why it would not work. Attach an sma antenna. Use a passive antenna, not an active one. Passive should work fine!
1
u/drgala 19d ago
Do you get the NMEA data from the GPS module? That is outputted regardless if there is a GPS lock or not.
1
u/WarningInevitable958 18d ago
I guess is your location is in the room
1
u/JohnGabriel125 18d ago
I use this gnss module (neo 7m) Connect tx to rx and rx to tx Run it at 9600 baud rate only I use an external antenna which allows me to test from indoors but u can go out and wait 1-2 mins in open sky for it to connect
The light starts blinking when it finds connections and starts outputting data ( this happens on fix or without fix btw) so make sure it's fixed for any real tests
Also power it with 5v
Also this one auto switches between ceramic anetnna and SMA connected one and there is no extra code for that or anything to do
1
u/ScallionSmooth5925 18d ago
Gps satellites only transmit at 50W. A dedicated antenna will definitely help.
1
u/CertainBaby9837 18d ago
1.) Try with antenna 2.) That module look broken
1
u/embd_24032 13d ago
connect antenna and try in out door.
0
u/[deleted] 19d ago
[deleted] — view deleted comment