Help no gps on pixhawk

HI
i have no GPS on my s500 quad build using UBOX M8N GPS module and compass externally connected to my pixhawk flight controller,one of the messages i receive through mission planner is EKF PRIMARY CHANGED.
i have calibrated in the hardware section for dual compasses,that was successful,but i have no satellites and no GPS,BUT OTHER THAN THAT MY FIRST BUILD FLIES WELL.

ANY HELP FOR THIS NOVICE WILL BE GREATLEY APPRECIATED
Kind regards
Mark

Can you upload a dataflash .bin log from one of your flights? That will allow us to check your parameters to see if you’ve got the GPS setup right. Also, the EKF switching is usually bad news, so the log will let us see why it’s doing that.

The last batch of Banggood M8N GPS/mag units I received, had an APM 5-pin connector installed and a spare 6-position housing in the bag. Mark, are you positive your GPS plug is 6-pos ?

thanks for the quick reply i have had only one flight and i have not sorted the dataflash logging out at this time.
can you help with a query on the same problem?
The youtube videos that i have watched shows the gps module lit up with a red LED light,mine shows no lights,could it possibly be that my GPS module is not working?

Kind Regars

Thanks for the quick reply.Normally i buy most parts for my quads from
bangood,but on this occation i brought my pixhawk and full accessory
pack from a different vender.
The one thing i have notice is that on the youtube videos i have
watched,the GPS module has a red light on it when powered,my GPS unit
has no lights could this possibly be not working?

Kind Regards
Mark

Unlimited wi-fi from BT Wi-fi
<div class="container-inner">

  <div class="header clearfix">
             <div class="header-inner clearfix">
          <div class="top_border"></div>
      <div class="top">

        <h1>BT Wi-fi</h1>

        <p class="connected-heading">You are connected to a

BT Wi-fi hotspot


Fon


Are you a
BT or Fon customer?
Login to wi-fi
now

       <a href="https://info.btopenzone.com:442/help/bt-login.jsp"

class=“mobilehelp” target="_blank">Need help?







BT Broadband
			<input type='radio' id='provider4' name='provider'

value=‘business’ class=‘provider’/>
BT Business Broadband

			<input type='radio' id='provider2' name='provider' value='btoz'

class=‘provider’/>
BT Wi-fi

			<input type='radio' id='provider3' name='provider' value='fon'

class=‘provider’/>
Fon



BT Broadband Login
<fieldset class="username-field">
	<label for="email" id="lbl-email">BT ID</label>
	<input type="text" id="username" name="username" class="required"

tabindex=“3” value="" placeholder=“This is usually your email address”
/>

<fieldset>
	<label for="password">Password</label>
	<input type="password" id="password" name="password"

class=“required” value="" tabindex=“4” class=“input-pwd1” />

	<input type="submit" value="Login" class="lgnbtn" tabindex="5" id="loginbtn"
	onclick="var s=s_gi('btiopenzone'); s.linkTrackVars='eVar19,prop50';

s.eVar19=‘OZ|Home Hub|Landing Page|Account selected:BT
Broadband’;s.prop50=‘OZ|Home Hub|Landing Page|Account selected:BT
Broadband’;s.tl(this,‘o’,‘OZ|Home Hub|Landing Page|Account selected:BT
Broadband’);">

<a href="https://info.btopenzone.com:442/help/bt-login.jsp"
	onclick="var s=s_gi('btiopenzone');s.linkTrackVars='eVar19,prop50';s.eVar19='OZ|Home

Hub|Landing Page|Link to Splitter page’;s.prop50=‘OZ|Home Hub|Landing
Page|Link to Splitter page’;s.tl(this,‘o’,‘OZ|Home Hub|Landing
Page|Link to Splitter page’);“
class=“login-links” title=“Having trouble logging in?” tabindex=“6"
target=”_blank”>Having trouble logging in?

<input name="xhtmlLogon" type="hidden"

value=“https://www.btopenzone.com:8443/tbbLogon” />

<p id="form_errors_js" class="">Please check you have entered your

Username/Password correctly



BT Business Broadband Login


Email address

<fieldset>
	<label for="password">Password</label>
	<input type="password" id="password" name="password" value=""

tabindex=“4” class=“input-pwd1” />

	<input type="submit" value="Login" class="lgnbtn" tabindex="5" id="loginbtn"
	onclick="var s=s_gi('btiopenzone'); s.linkTrackVars='eVar19,prop50';

s.eVar19=‘OZ|Home Hub|Landing Page|Account selected:BT
Business’;s.prop50=‘OZ|Home Hub|Landing Page|Account selected:BT
Business’;s.tl(this,‘o’,‘OZ|Home Hub|Landing Page|Account selected:BT
Business’);">

<a href="https://info.btopenzone.com:442/help/bt-login.jsp"
	onclick="var s=s_gi('btiopenzone');s.linkTrackVars='eVar19,prop50';s.eVar19='OZ|Home

Hub|Landing Page|Link to Splitter page’;s.prop50=‘OZ|Home Hub|Landing
Page|Link to Splitter page’;s.tl(this,‘o’,‘OZ|Home Hub|Landing
Page|Link to Splitter page’);“
class=“login-links” title=“Having trouble logging in?” tabindex=“6"
target=”_blank”>Having trouble logging in?

	<input name="xhtmlLogon" type="hidden"

value=“https://www.btopenzone.com:8443/ante” />

BT Wi-fi Login
<fieldset class="username-field">
	<label for="email" id="lbl-email">Username</label>
	<input type="text" id="username" name="username" tabindex="3" value="" />
</fieldset>

<fieldset>
	<label for="password">Password</label>
	<input type="password" id="password" name="password" value=""

tabindex=“4” class=“input-pwd1” />

	<input type="submit" value="Login" class="lgnbtn" tabindex="5" id="loginbtn"
	onclick="var s=s_gi('btiopenzone'); s.linkTrackVars='eVar19,prop50';

s.eVar19=‘OZ|Home Hub|Landing Page|Account selected:BT
WiFi’;s.prop50=‘OZ|Home Hub|Landing Page|Account selected:BT
WiFi’;s.tl(this,‘o’,‘OZ|Home Hub|Landing Page|Account selected:BT
WiFi’);">

<a href="https://info.btopenzone.com:442/help/bt-login.jsp"
	onclick="var s=s_gi('btiopenzone');s.linkTrackVars='eVar19,prop50';s.eVar19='OZ|Home

Hub|Landing Page|Link to Splitter page’;s.prop50=‘OZ|Home Hub|Landing
Page|Link to Splitter page’;s.tl(this,‘o’,‘OZ|Home Hub|Landing
Page|Link to Splitter page’);“
class=“login-links” title=“Having trouble logging in?” tabindex=“6"
target=”_blank”>Having trouble logging in?

<input name="xhtmlLogon" type="hidden"

value=“https://www.btopenzone.com:8443/ante” />

</form>  <form id="fon_logon_form" class="login_form"

class=“validateMe” method=“post” name="login_form"
action="https://btwifi.portal.fon.com/remote?res=hsp-login&HSPNAME=FonBT%3AGB&WISPURL=https%3A%2F%2Fwww.btopenzone.com%3A8443%2FfonLogon&WISPURLHOME=https%3A%2F%2Fwww.btopenzone.com%3A8443&VNPNAME=FonBT%3AGB&LOCATIONNAME=FonBT%3AGB"
style=“display:none;”>

FON Login


Email address

<fieldset>
	<label for="password">Password</label>
	<input type="password" id="password" name="PASSWORD" value=""

tabindex=“4” class=“input-pwd1” />

	<input type="submit" value="Login" class="lgnbtn" tabindex="5" id="loginbtn"
	onclick="var s=s_gi('btiopenzone'); s.linkTrackVars='eVar19,prop50';

s.eVar19=‘OZ|Home Hub|Landing Page|Account
selected:Fon’;s.prop50=‘OZ|Home Hub|Landing Page|Account
selected:Fon’;s.tl(this,‘o’,‘OZ|Home Hub|Landing Page|Account
selected:Fon’);">

<a href="https://info.btopenzone.com:442/help/bt-login.jsp"
	onclick="var s=s_gi('btiopenzone');s.linkTrackVars='eVar19,prop50';s.eVar19='OZ|Home

Hub|Landing Page|Link to Splitter page’;s.prop50=‘OZ|Home Hub|Landing
Page|Link to Splitter page’;s.tl(this,‘o’,‘OZ|Home Hub|Landing
Page|Link to Splitter page’);“
class=“login-links” title=“Having trouble logging in?” tabindex=“6"
target=”_blank”>Having trouble logging in?

</form>
Fon customers login here
    </div>
  </div>

  <div class="middle-section clearfix">
    <h2>Not a BT Broadband or Fon customer? Buy instant access now

Got a promo code?

    <li id="product_1_hour">

        <h3>1 hour</h3>
        <p class="content-first content">&nbsp;</p>
        <p class="price">&pound;5</p>
        <p class="content">&nbsp;</p>
        <a href="https://btwifi.portal.fon.com/remote?res=hsp-purchase&HSPNAME=FonBT%3AGB&WISPURL=https%3A%2F%2Fwww.btopenzone.com%3A8443%2FfonLogon&WISPURLHOME=https%3A%2F%2Fwww.btopenzone.com%3A8443&VNPNAME=FonBT%3AGB&LOCATIONNAME=FonBT%3AGB&PRODUCT_ID=SMSBundle-1h|Bundle-1h

"
class=“buy-btn” title=“Buy 1 hour wi-fi access now” tabindex=“7”>
Buy

  <li id="product_1_day" class="highlight">
        <h3>1 day</h3>
        <div class="great-value">Great value</div>
        <p class="content-first content">Under 29p an hour</p>
        <p class="price">&pound;6.95</p>
        <p class="content">Under 29p an hour</p>
        <a href="https://btwifi.portal.fon.com/remote?res=hsp-purchase&HSPNAME=FonBT%3AGB&WISPURL=https%3A%2F%2Fwww.btopenzone.com%3A8443%2FfonLogon&WISPURLHOME=https%3A%2F%2Fwww.btopenzone.com%3A8443&VNPNAME=FonBT%3AGB&LOCATIONNAME=FonBT%3AGB&PRODUCT_ID=FONAccessOneDayBundle

"
class=“buy-btn” title=“Buy 1 day wi-fi access now” tabindex=“8”
>
Buy

    <li id="product_5_days">
        <h3>5x1 day</h3>
        <p class="content-first content">5x1 day passes. Under

£3.60 a day


£17.95


5x1 day passes. Under £3.60 a day

        <a href="https://btwifi.portal.fon.com/remote?res=hsp-purchase&HSPNAME=FonBT%3AGB&WISPURL=https%3A%2F%2Fwww.btopenzone.com%3A8443%2FfonLogon&WISPURLHOME=https%3A%2F%2Fwww.btopenzone.com%3A8443&VNPNAME=FonBT%3AGB&LOCATIONNAME=FonBT%3AGB&PRODUCT_ID=FONAccessBundle

"
class=“buy-btn” title="Buy 5 days wi-fi access now"
tabindex=“9”> Buy

     <li id="product_30_day" class="last">
        <h3>30 day</h3>
        <p class="content-first content">Just &pound;1.30 a day</p>
        <p class="price">&pound;39</p>
        <p class="content">Just &pound;1.30 a day</p>
        <a href="https://my.btwifi.com/selfcare/purchase.htm?product=BT

Wifi 30 day" class=“buy-btn” title="Buy 30 days wi-fi access now"
tabindex=“10”
>Buy

    </ul>
  </div>

</div> <!--container-inner-->

<div class="footer clearfix">
  <div class="banner rounded">
    <h2>The world&rsquo;s largest wi-fi network with over 14

million hotspots
Join BT Broadband to get
unlimited free global wi-fi
.

More

  </div>
  <div class="wholehome banner-ad">
   <img src="https://cdn.btwifi.com/contentserver/captiveportal/bthomehub/images/wholehome-desktop.png"

alt=“Wholehome Wi-Fi. Wi-fi in every room or your money back. Visit
www.shop.bt.com/WHW” class=“banner-desktop” />
Wholehome Wi-Fi. Wi-fi in every room or your money back. Visit
www.shop.bt.com/WHW
Wholehome Wi-Fi. Wi-fi in every room or your money back. Visit
www.shop.bt.com/WHW

  </div>
  <ul class="footer-links">
    <li class="footer1"><a

href=“https://info.btopenzone.com:442/help/index.jsp” title=“Help"
tabindex=“12” target=”_blank">Help ›

  • Security
  •     <li class="footer4"><a
    

    href=“https://info.btopenzone.com:442/index.jsp” title=“BT Wi-fi
    website” tabindex=“15” target="_blank">BT Wi-fi website

  • Terms
    & conditions ›

  • Cookie Policy

  • Privacy
    policy ›


  • <a

    href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
    height=“1”>

    If the GPS module does not light up and the Pixhawk doesn’t detect it, then it is probably a wiring issue, or possibly a bad module.

    Many GPS modules come with two cables, as ThePara mentioned. The Pixhawk requires the 6-pin cable which connects to the GPS port. This cable also has a 4-pin connector that goes to the I2C port.

    If you have it wired correctly, check the wire for damage, especially the connectors. - make sure all the pins are secured in the connector. If the cable looks okay, it might be worth opening the GPS module and checking the connection on the inside (this is also how you swap out the 5 and 6 pin connector, if you need to).

    Regarding the Dataflash logging, the two easiest ways to download them are:

    • Connect Mission Planner to the Pixhawk. On the left side of the screen below the artificial horizon, scroll the buttons to the right until you see the DataFlash Logs button. Click that, and then click the Download DataFlash Logs Via Mavlink button.

    -or-

    • Eject the micro SD card from the Pixhawk and use any SD card reader to view the files. The logs are contained in the APM/Logs/ directory.

    Thank you
    I will do all that you have suggested
    Kind regards
    Mark

    Hi, great discussion going on here. I have been using the APM 2.8 with a uBlox M8N GPS unit. It has so far been working very well. However, I recently bought a Pixhawk 2.4.8, and the same healthy GPS receiver shows a “NO GPS” error. It must be something on the Pixhawk.

    The APM and Pixhawk use different cables for the GPS units. They look like this:

    Are you using the correct cable?

    Thank you so much for this! I swapped out the 5-pin connector for a 6-pin connector and it now works, can’t believed I missed that. Thanks again.

    Hello Anubis

    Sorry for the late reply to your excellent help,as i have only just returned to my project S500 pixhawk quad.

    Yes it looks like mine has the 5 pin connector not the 6 pin on the GPS Module.So i will rectify that.

    On the same query can you help?.I disconnected the the external GPS Module completely from the pixhawk flight computer as it has its own built in GPS and compass but still had no GPS only the on board compass which work fine,any suggestions?.

    Thank you again for your help,people like you are a god send for people like me,please keep it going as you are very much appreciated.

    kind Regards

    Mark

    The Pixhawk does not have a built-in GPS. Also, the onboard compass can sometimes be untrustworthy because of interference from nearby electronics and motors, so it is best to use an external compass.

    Thank you. That has cleared that mystery up for me.

    Kind regards and thanks
    Mark