My favorites | Sign in
Project Home Downloads Wiki Issues Source
Updated Oct 2, 2012 by

Configuring a uBlox module

uBlox modules from the DIY Drones store are shipped with a custom configuration for compatibility with the Ardupilot Mega.

If for some reason you need to reprogram the custom configuration, you can follow these instructions:

You will need an FTDI cable and a GPS adapter cable to connect the GPS to your computer. If you have never plugged an FTDI device into your computer, you may need to download and install the Virtual COM port driver.

Download and install uBlox's u-center software. Note that this is Windows only.

Get the 3DR-Ublox.txt configuration file. You can download it direcly here, or if you have a local clone of the Ardupilot-mega repository, the file is located in /libraries/AP_GPS/config/3DR-Ublox.txt.

Run u-center and connect your uBlox to your computer. Click the magic wand button to enable auto-bauding, then select your appropriate COM port by clicking the down arrow next to the Receiver Port button. If the uBlox is connected to the port you selected, you should see the serial activity indicator blinking in the program's status bar in the lower right-hand corner of the window, it also shows the current baud rate.

To load the configuration file, go to the Tools menu, then GPS Configuration. A small window should appear. Add the path to the 3DR-Ublox.txt configuration file, enable the Store configuration into BBR/Flash (non-volatile memory) option, and click the File >> GPS button.

You may get a Configuration Version Check alert telling you there is a version mismatch between the configuration file and the GPS receiver. This is because the configuration file was written for the GPS software version 7.01, and you have a module with software version 7.03 or newer. Click yes to continue.

You should see a window with a log of the cofiguration file upload, if the upload is successful the window should close automatically and the GPS module should now be connected to u-center at 38400 baud. You can confirm this by checking the connection status in u-center's status bar.

The uBlox module is now ready to be used with Ardupilot Mega.

Comment by, Apr 1, 2011

Ublox the neo5 module uses the NMEA agreement to make a mistake Lat:0.0000000000 Lon:0.0000000000 Alt: 0m, #sats: 0 GPSERR: Bad sentence!!

Comment by, Sep 24, 2011

I have some trouble with my Ublox GPS. I believe, it does not find sattelites. Today I tried to lock my position and but the GPS could only find a satellite and lock my position. The rest of the time APM Planner monitor tells me NO GPS. I checked in the Terminal and tested the GPS. It gives my a endless row of cryptic lines but also a recurring "Error reading com port". I waited for a very long time not touching the plance. Then I walked around with it and the autopilot and eventually even flew some rounds, hoping to find sattellites.

I am located in northern Germany if that is any help.

Thank you very much for the help. Daniel

Comment by, Sep 27, 2011


any idea what could be causing the GPS fail. I am still getting no GPS. Only very rarely it finds satellites but looses them quickly again.

Best, Daniel

Comment by, Oct 12, 2011

How can this u-blox 5H module be used at 4Hz? When looking into the datasheets at the u-blox site, they say that all H-series use flash memory and therefore can't give data faster than 2Hz?! I'm a bit confused here. thanks

best regards


Comment by, Jan 3, 2013
Comment by, Mar 25, 2013

I don't get the GPS to lock up and no satellites in view outside for over 15 minutes. any help please.

Comment by, Jun 20, 2013

Where is the .txt file? When I click the link I get 404 error.

Comment by, Aug 4, 2013
Comment by, Apr 17, 2014

i loaded the code, but my gps doesn't work either. May someone help me, gps doesn't get any data.

Sign in to add a comment
Powered by Google Project Hosting