Adafruit Mini GPS PA1010D Module GPS Fix Problems

Post Reply
LoyalBurrito
Posts: 4
Joined: Mon Aug 17, 2020 1:56 am

Adafruit Mini GPS PA1010D Module GPS Fix Problems

Post by LoyalBurrito »

Hi Everyone,

I have multiwii on a Arduino Nano and have it hooked up via I2C with an Adafruit Mini GPS PA1010D Module. This is 9600 BAUD and 1Hz default but can go up to 10Hz.

When I power up my quad the GPS has the LED blinking red indicating it has a fix. However, when I open the Multiwii GUI the GPS FIX light on the UI keeps flashing around green and red erratically with no pattern. I see in the box below that the GPS sometimes has 5 satellites connected and other times 0 as if it had no fix. Due to constraints I only have an old big PC so I can't really test this outside easily but I have it next to a second story window as close as it can get.

I am wondering whether or not the GPS is bouncing around with a fix on Multiwii but the LED shows a constant fix, due to the fact that it is either indoors or if it's just that the default refresh rate of 1hz 9600BAUD is just not fast enough for Multiwii.

Any advice would be useful, thanks in advance!

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Adafruit Mini GPS PA1010D Module GPS Fix Problems

Post by PatrikE »

56700 @5hz is recommended to use.
There's a function in the code that is supposed to setup the Gps module at boot.
But you can also set up the GPS manually first.
Gps should have free sight to see satellites good.

LoyalBurrito
Posts: 4
Joined: Mon Aug 17, 2020 1:56 am

Re: Adafruit Mini GPS PA1010D Module GPS Fix Problems

Post by LoyalBurrito »

What function is the one that setups the GPS module at boot?

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Adafruit Mini GPS PA1010D Module GPS Fix Problems

Post by PatrikE »

I'm not sure if PA1010D Module have same I2C protocol as the one MWii uses..
MWii have a dedicated I2C project that runs on a separate Arduino board.
Only if Adafruit uses the same it will work.

Post Reply