Trouble getting NEO-M9N working with Raspberry Pi 3 B+

Thank you TS-Chris. I did finally get it working via soldering. What a relief. One thing, the GPS seems to only output the location every couple seconds. I thought it was capable of outputting the geo location many times a second.

Is there a way to increase the output of the geo location? I am using Python and I have not found any reference to this. Thank you.

I forgot to mention: I am using the M9N with SPI. It was the only way I could get it working with the Pi. So I want to fetch the data faster in SPI mode. Thank you.

You’d need to send the appropriate commands to the NEO-M9N to change it’s update rate. I don’t have a list of commands but you should be able to use the Ucenter software to either figure them out or configure the module for faster updates from Ucenter.

Basically we tried UART with Raspberry pi and the data was not being send perfectly. When we tried SPI then the data are promising and good but the delay between each data is really large.(sometime even 15-20 secs). We even tried changing parameters from Ucenter application but nothing seems to be working. Please let us know what parameters to change in Ucenter to increase the output speed.

Furthermore can you please send us the documentation of what the basic commands are so we can use that to retrieve all of the information we need from python script?

Unfortunately I don’t have the information you’re looking for.

You might try checking the U-center users guide in the link below for more information.

  • https://www.u-blox.com/sites/default/fi … 005250.pdf
  • TS-Chris:
    You’d need to send the appropriate commands to the NEO-M9N to change it’s update rate. I don’t have a list of commands but you should be able to use the Ucenter software to either figure them out or configure the module for faster updates from Ucenter.

    SparkFun can not supply the commands for the M9N? Isn’t the board built by SparkFun? I went through every config setting in Ucenter for about half a day because it was suggested in your last reply. I did not find anything that would increase the update rate. I have been at this for a very long time and have had a really bad time. If some help can be provided I would really appreciate it.

    SparkFun doesn’t make the NEO-M9N GPS module, we just mount it to our board. Commands for the module are created by Ublox and would be somewhere in their documentation. It’s easiest to configure the GPS in Ucenter rather than trying to do it on the Pi but you could find the commands by watching what data Ucenter is sending to the GPS if you had a way to spy on the serial port.

    If you go into Ucenter, open a configuration view, then scroll down to “RATE”. By changing the ‘Measurement Period’ setting you can change the update rate.

    1000ms would be 1Hz

    500ms would be 2Hz

    250ms would be 4Hz

    and so on.

    This is my first Sparkfun board.

    If I connect SPI, it disables UART/I2C. I can only make UART work, one connection out of 4!

    All the documentation online suggests I2C and UART work.

    A year ago in this forum, Wonder_Boom noted that “Our latest GPS phat doesn’t even have the I2C lines routed between the ublox module and the Raspberry Pi”. And in all that time, the documentation has not been updated.

    I’ve wasted days trying to use more than one of the four ways of connecting to the RPi.

    Going back to other board manufacturers whose docs can be relied on, can you tell me how to return this board?

    Donegal-Geo:
    This is my first Sparkfun board.

    If I connect SPI, it disables UART/I2C. I can only make UART work, one connection out of 4!

    What sparkfun product do you have? I’m not seeing a NEO-M9N board on the website that has directions for use with a pi.

    I can only make UART work, one connection out of 4!

    Sounds like a loose connection, did you solder your wires/pins to the GPS? Photos of your setup would be helpful.

    Sorry, I realize the heading of this topic is NEO-M9N.

    Look back at the posting Fri Dec 04, 2020 4:42 pm in this topic, discussed the GPS-RTK Dead Reckoning ZED-F9R PHAT.

    I’ve been searching through the forums to understand why the PHAT will not communicate over I2C.

    The posting from Wonder Boom Fri Dec 04 says the I2C is not connected and then points at the ZED-F9R PHAT documentation which STILL says it is, even now, a year later.

    On my system…

    PHAT is communicating via serial, but will not show as an address on I2C, if I stack an I2C serial board on top, the serial board is recognized and works.

    So working PI, working I2C bus, only one direct connection possible from PI<->HAT, despite 4 being available on the ZED-9R.

    ZED-9R UART2 is normally reserved for RTCM, UART1 for data, I2C and SPI for anything.

    The only way I can make your board work is by stacking an I2C serial board on top and connecting it to the UART2 connection on the PHAT.

    It doesn’t look like I2C is connected to the GPS, only the qwiic connector.

    The [schematic shows the GPS being connected via UART to the pi’s RX and TX pins but I2C isn’t connected to the module.

    ](https://cdn.sparkfun.com/assets/2/c/0/8/6/SparkFun_GPS_ZED-F9R_pHat_Schematic.pdf)