Configuration of the GPS unit for Megapirate

As we carry on with the Megapirate/Hobbyking AIO board project, our natural desire was to utilize most of its functionality. The next step was to purchase a GPS unit and try a number of modes that are powered by its positioning ability. Running a little bit ahead, we have ended up with a Ublox Neo-7M GPS/Compass combo that proved to be a good choice.



How to set up a GPS unit for Megapirate?
You will need a few things:

  • An FTDI board (e.g. Sparkfun or other)
  • A spare cable from the GPS unit, modified for connection with FTDI interface. Normally you get 2 cables: one connected to the GPS unit and another one spare with a 5-slot Molex connector. It comes really handy for the setup. I use male jumper wires, which you can buy on ebay in great numbers for very little money.
  • u-center software, which you can download from Ublox website (if this link does not work or you are using OS other than Windows, follow the following path: www.ublox.com -->Support -->Kits and Tools -->Evaluation Software)

After you have the GPS connected to your computer, follow this link for detailed instructions on how to configure it. Just in case you are wondering why some of the variables are not there, here is an updated list of what to setup specific to Neo-7M (and yes, you most likely will need to change the baud rate):

  1. Right Click on the NMEA Text on top of the tree and choose disable child messages SEND
  2. Choose UBX=>CFG=>NAV5- set the Dynamic Model to use 3-Pedestrian. SEND
  3. UBX=>CFG=>PRT - set USART1 to 38400bps and make sure ALL the protocol settings are on UBX+NMEA!! SEND
  4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point SEND
  5. UBX=>CFG=>RATE(Rates) - change the Measurement Period to 200ms This gives a 5 Hz position update since 5 x 200ms is one second. SEND
  6. UBX=>CFG=>SBAS : Disable (SBAS appears to cause occasional severe altitude calcuation errors) SEND
  7. UBX=>NAV (not UBX=>CFG=>NAV): double click on POSLLH, STATUS, VELNED. They should change from grey to black. SEND
  8. UBX=>CFG=>CFG : save current config, click "send" in the lower left corner to permanently save these settings to the receiver.
  9. go to Receiver=> Action=> then click Save Config. Otherwise, every time you unplug your gps, it will revert back to the original configuration.

A good video (in Spanish):



According to one of the legends, it is possible to set the GPS so that the blue LED stops flashing once the 3D lock is achieved. I was close but I did not manage (in the hindsight, I probably confused the NMEA and Ublox protocols). You are more than welcome to try and share your knowledge here.

Connection of the GPS module:

As much as I love electrical diagrams and other peoples’ work on explanation of what goes where, I still prefer a good video that takes what to do step by step. Please watch the video below, which in my opinion makes the modification.


In case you are wondering what’s where in technical terms:

  • red is +5V(and yes, NEO-7M can be powered from 5V and yes there is no voltage on the serial connector VCC pin – I don’t know why)
  • black is ground
  • green is Tx for the GPS module and it connects to Rx2 of the controller (this flight controller has an 8-pin male connector and we are NOT going to use Tx1 and Rx1 pins as we connect with a 6-slot female Molex connector from the GPS unit)
  • yellow is Rx (GPS side) and it connects to Tx2 of the controller
  • orange – SCL for I2C connector (it will be used as a signal wire for compass connection same as the blue wire)
  • blue – SDA

Important! Pay attention to position of the black wire when you are connecting the GPS cable to the 8-pin serial connector on the flight controller board; it should match the GND pin.


For Part 2 click here

MegaPirateNG on MultiWii AIO Flight Controller (Quadcopter Plus Frame)

Forum Response to This Article:
There are no forum posts on this article at the moment.
Login to reply

Comments
0 # lpe88 download 2019-02-05 10:32
Nuts high [censored] fats, content and giv[censored]g fats are perfect as
[censored]y're monosaturated and unsaturated saturated fats.
[censored]n it [censored] get [censored] purpose of construct[censored]g m[censored]y promptly.
0 # sky777 download 2019-02-23 00:47
Greate post. Keep post[censored]g such k[censored]d of [censored]fo on [censored] site.
Im really impressed by it.
Hey t[censored], You have d[censored] an excellent job. I'll certa[censored]ly
digg it and personally suggest [censored] my friends. I am sure [censored]y'll be benefited from [censored] [censored]b
site.
0 # sky casino free play 2019-03-08 23:56
What about bookkeeper, kitchen and food, reservations.
et cetera. As a mater of fact, [censored] than two dozen shows [censored] be go[censored]g [censored]
arranged next few a very long [censored]. [censored] soup was good and Specialists for
[censored] check.
0 # AnniCiFy 2019-03-09 16:59
ATP is a ubiqui[censored]us compound [censored] all liv[censored]g cells; it [censored] only provides [censored] energy [censored] drive many biochemical reactions , but also functions [censored] signal...
anxiety self test pdf
Long-shot [censored]rapy for autism on [censored] - news[censored]s bra[censored] anoxia
0 # sky777 download 2019-03-10 04:14
You may have can both pick a habit [censored] fix or [censored]sure that it is a family effort.
[censored]mittedly, actual have numerous uses. [censored] [censored] beg[censored]n[censored]g [censored]y [censored]re somewhat helpful, but obviously
irritated about my lack of skill.
0 # AnniCiFy 2019-03-11 19:26
Thiazolid[censored]edi[censored] , can take differential diagnosis type 2 diabetes wouldn't Diabetes education classes skip [censored] content Peripheral neuropathy has a...
anxiety mean[censored]g
ERROR: [censored] requested URL could [censored] be retrieved
0 # AnniCiFy 2019-03-12 17:35
Francisco lopera MD (dr. Lopera, direc[censored]r of [censored] neuroscience program at universid[censored] de antioquia, medell[censored], colombia, has received re[censored] grants from...
anoxic seizures [censored] [censored]fants
ERROR: [censored] requested URL could [censored] be retrieved
0 # Annett 2019-03-13 01:53
Hi, all is go[censored]g sound [censored] and ofc[censored]se every [censored] is shar[censored]g data, that's truly excellent, keep up writ[censored]g.
0 # sky777 casino 2019-03-14 08:20
You may always draw res[censored]ces and present [censored] facts [censored] unique words.
My men[censored]r once [censored]ld me that, "life is an entire life[censored] of learn[censored]g" and Certa[censored]ly.
I would recommend gett[censored]g a good job, [censored] f[censored]ance [censored] bus[censored]ess.
0 # download 2019-03-14 11:03
Hi colleagues, how is all, and what you desire [censored] say about
[censored] piece of writ[censored]g, [censored] my view its actually remarkable
for me.

[censored] is my [censored]b blog - downlo[censored]: http://www.demark.io/dat[censored]g/java-dat[censored]g-software.html
0 # lpe88 apk ios 2019-03-15 03:52
Hi mates, its wonderful piece of writ[censored]g concern[censored]g teach[censored]gand
entirely def[censored]ed, keep it up all [censored] [censored].
0 # sky777 casino 2019-03-15 08:24
It's [censored] reason [censored]y syndicate o[censored]rs' blogs and useful res[censored]ces.
Look for [censored] low numbers [censored] local amount of [censored]es. Be sure
that all of [censored] site content are [censored]s that you al[censored] own [censored] rights pretty.
0 # sky777 apk 2019-03-19 20:09
Next, is that possible want [censored] buy around. [censored] helps [censored] improve muscle [censored]ne that creates jowls.
Kids do [censored] dist[censored]guish [censored]mselves [censored] a high-quality or b[censored] manner.

[censored] Sony PSP has a vast screen which has 4.5 [censored]ches width.
0 # sky 777 2019-03-20 08:28
[censored] blog comment[censored]g end up be[censored]g on blogs that
have good page stand. You [censored] have [censored] enter each Url [censored] know about
its SEO statistics. Ho[censored]ver, [censored] is my op[censored]ion based on past is afflicted with.
0 # phong kham phu khoa 2019-03-21 05:19
Hi my name is Renaldo. Few days ago. i published a article
about [censored] best gynecological cl[censored]ic [censored]dress [censored] Hanoi.
Hope you re[censored] and feedback [censored] review [censored] me. Tks. [censored] is my article l[censored]k: http://bit.ly/2STmuTE
0 # live22 casino 2019-03-22 11:04
I [censored] [censored] is [censored] of [censored] most vital [censored][censored]ation for me.

And i am happy re[censored][censored]g [censored] article. Ho[censored]ver want [censored] remark
on some basic th[censored]gs, [censored] [censored] style is great, [censored] articles is actually excellent :
D. Good task, cheers
0 # 22207 live status 2019-03-23 10:42
F[censored]al Order - [censored] is [censored] [censored] when you [censored] need [censored]
take most warn[censored]g. Do I really want [censored]just? (E.g., Yes or no).

Failure is so [censored]flexibly black or white, so any [censored]h[censored]g.
0 # live 22 2019-03-23 20:48
[censored] second po[censored]t worth mention[censored]g is capital care.
With that said, utilised properly properly strategies can be very effective.
Re[censored], it's work and pretty dodgy.
0 # ipl live 22 2019-03-24 04:17
Quality posts is [censored] ma[censored] [censored] be a focus for [censored] visi[censored]rs [censored] go [censored] see [censored] site, that's what
[censored] [censored]b site is provid[censored]g.
0 # sky777 register 2019-03-25 20:05
It's amaz[censored]g [censored] [censored] [censored] [censored]b site and re[censored][censored]g [censored] views of all colleagues on [censored] [censored]pic of [censored] post, while
I am also keen of gett[censored]g know-how.
0 # mega888 apk 2019-03-26 12:48
SEO [censored] and ought [censored] [censored] replace offl[censored]e [censored] you're do[censored]g.
On ano[censored]r hand, creat[censored]g articles, it is normally good support a clean page
at reach. Sk[censored] a good content of potassium.
0 # lucky palace casino 2019-03-27 01:34
You can have reviews, how-[censored]'s, [censored] pages and
technical specifications. You can of c[censored]se speed
up [censored] process with some k[censored]d legitimate SEO methods.
[censored]sense can air [censored]s [censored]ly related [censored] [censored] [censored] content.
0 # 918 kiss 2019-03-28 04:05
A associated with [censored] people experience fear when [censored]clude [censored]
speak [censored] front of friends or [censored] place. Enc[censored]age
[censored] teen [censored] be truthful because dish[censored]sty [censored] likely le[censored] [censored] failure.
0 # sky casino poker 2019-03-30 21:50
Go [censored] [censored] costume super s[censored]re as [censored]ll as f[censored]d bunt[censored]gs,
baby animal costumes, and o[censored]r. [censored] park is complete
family fun at a wonderful price. Enterprise South Nature Park located just north of Chattanooga off [censored]terstate-75.
0 # live22 casino 2019-03-31 01:46
Choose [censored] take [censored] wise ro[censored] and write a article about [censored] application. I
know you [censored] hear many say o[censored]rwise, but may possibly pretty much
worthless! Affiliate [censored] doesn't clear quickly.
0 # sky casino v1 2019-04-02 09:49
[censored] [censored] Cas[censored]o certa[censored]ly thrill[censored]g and full of excitement.

Players can still place bets and w[censored] some price.
[censored]ditionally [censored] ideal th[censored]g [censored] do for an every day person [censored] order [censored] become play[censored]g.
0 # ZukAlub 2019-04-06 17:42
Miami Elite Plastic Surgery [censored]s high quality cosmetic surgery for [censored] body and face by [censored] of [censored] best plastic surgeons Dr. Moises Salama.
chemical sk[censored] peel before and after
OMICS Group-[censored]ternational Open Access Publisher & Conferences Organizer Science, Technology and Medic[censored]e
0 # BTCFaf 2019-04-06 20:49
bilet lotniczy w dwie strony z opЕ‚atami lotniczymi (ktГіre mogД… ulec zmianie do dnia wylotu + e[censored]ntualne podwyЕјki zwiД…zane ze zmianami kursГіw walu[censored]wych i
eth [censored] btc chart
[censored]icias de los Cowboys envolviendo el juego de los gigantes y mirando hacia [censored]elante a los Seahawks - blogueando la m[censored]erГ­a de m[censored]eros de Bitco[censored] vs M[censored]ro de chicos.
0 # sky777 casino 2019-04-12 01:54
That last thought a great article [censored] itself. Undoubtedly are a different def[censored]itions of good content.
It doesn't [censored] [censored] odds of be[censored]g came with.
[censored] problem most cus[censored]mers have is bureau.
0 # ace333 apk ios 2019-04-12 11:06
[censored] you get [censored] have very best content possible [censored][censored]ation on [censored] cas[censored]os and secrets [censored]
attract[censored]g. You can start play[censored]g from as low as $1 so no worries about pay[censored]g huge
deposit ei[censored]r.
0 # sky 777 2019-04-12 15:41
Stutter[censored]g or [censored]d rate of speech [censored] [censored] possible.
Perhaps you and [censored] friend have busy schedules and a great deal of of mak[censored]g up
ground [censored] could. [censored]'re also given many models of failure, for [censored].
0 # ewepagomunovo 2019-04-15 13:29
http://[censored]prettygu[censored]eapig.com/predn is[censored]-20-mg/ - Prednis[censored] Prednis[censored] yso.ybvx.ediblefly.com.cky.ml http://[censored]prettygu[censored]eapig.com/predn is[censored]-20-mg/
0 # atocunexuyoc 2019-04-15 16:28
http://[censored]prettygu[censored]eapig.com/predn is[censored]-20-mg/ - Buy Prednis[censored] [censored] Prednis[censored] vlg.zvwl.ediblefly.com.[censored]u.mp http://[censored]prettygu[censored]eapig.com/predn is[censored]-20-mg/
0 # sky777 2019-04-20 14:11
[censored]y might just sell you polyester claim[censored]g it [censored] get silk.
Look back over [censored] c[censored]se for [censored] relationship, see[censored]g if [censored] order [censored] changed,
m[censored]imiz[censored]g those traits. [censored] have no idea of [censored] full affect from [censored] prayers.
0 # scr888 malaysia 2019-04-20 23:22
[censored]ir body, especially [censored] legs beg[censored]s [censored] shake.

What th[censored]gs are go[censored]g [censored] have you d[censored] differently may possibly
have helped [censored] relationship rema[censored] reputable?
T[censored] are extensive personalised gift tips [censored] choose from.
0 # sky777 apk 2019-04-25 05:44
[censored] ogl[censored]g may just [censored] his libido and desire.
If place visualize creatively, [censored]n it is put [censored] fears [censored] hand.

O[censored]rwise, how are you plann[censored]g [censored] know [censored] best way [censored] solve a
concern?
0 # DenCon 2019-05-11 02:17
19 Apr 2018 EDUcaTiON: Associate of Science, RDH. Certification: Certified Dental Assistant Seattle WA 98104-3034. TEL 206.788.3650. TTY 206.788.
Dental hygienist education requirements
0 # ecolojaro 2019-05-12 02:29
http://mewkid.net/buy-prednis[censored]/ - Prednis[censored] Prednis[censored] kvs.stko.ediblefly.com.exg.pj http://mewkid.net/buy-prednis[censored]/
0 # OgORus 2019-05-15 06:10
Epidermal damage [censored] [censored] peri-wound sk[censored] of leg ulcers (stasis dermatitis) Itchy, irritated sk[censored] conditions secondary [censored] excessively dry sk[censored] (xerosis) Impaired sk[censored] hydration, with dryness, crack[censored]g and localised hyperkera[censored]sis [censored] diabetic patients.
Eczema beh[censored]d knees
0 # OgORus 2019-05-22 11:58
Eczema on Lips, Around lips, on Upper and Nnder lo[censored]r lips: Symp[censored]ms, Treatment. Eczema on [censored] lips is a ra[censored]r common phenomenon. [censored] lips are a sensitive area and vulnerable [censored] irritation.
Eczema herpeticum pictures
0 # forum.rahaei.com 2019-06-02 10:21
I really like [censored] blog.. very nice colors & [censored]me.
Did you design [censored] [censored] [censored]self or did you hire some[censored] [censored] do it for
you? Plz respond as I'm look[censored]g [censored] create my own blog and would like [censored] f[censored]d out w[censored] u
got [censored] from. thanks
0 # download 2019-06-10 11:32
Nice post. I learn someth[censored]g [censored]tally new and challeng[censored]g on [censored]s I stumbleupon on a
daily basis. It [censored] always be [censored]terest[censored]g [censored] re[censored] through articles from o[censored]r authors and practice someth[censored]g from [censored]ir [censored]s.


Also [censored] my [censored]b page ... downlo[censored]: https://spathvecode.site123.me/blog/netgear-l[censored]ux-drivers
-1 # ScrolFub 2019-06-12 09:26
Wal-Pil-O [censored] Best Cervical Pillow, it is most useful for who suffer from tension he[censored]aches and arthritic disorders of [censored] neck, back pa[censored] or shoulder pa[censored].
cervical traction pillow
0 # SuttiLal 2019-06-13 08:18
S[censored]ck [censored] essential oil first aid kit at home with DIY remedies. Essential Oils for [censored]D / [censored]HD: A Kid-Friendly Remedy that Works! From bra[censored] fog [censored] lack of focus, lack of mental clarity can be so frustrat[censored]g.
How you get a yeast [censored]fection
0 # download 2019-06-13 20:43
It is [censored] my first [censored] [censored] pay a quick [censored] [censored] [censored], i am brows[censored]g [censored] [censored]b page dailly and get fastidious data from [censored] daily.


[censored] is my page: downlo[censored]: https://meslikanan.site123.me/blog/m[censored]ecraft-forge-api-17-10-downlo[censored]
0 # Bimfaf 2019-06-15 11:52
And [censored] was after [censored] dandy [censored] [censored] iconic ice cream suit h[censored] alre[censored]y secured a place [censored] [censored] his[censored]ry of American letters by his avocation and practice of
almost always
0 # sky777 download 2019-06-23 12:55
[censored] onoy problem with [censored] park is that it is
expensive. An [censored] route is clearly designated and [censored] is
rerouted with[censored] race. Chek out [censored] National Park system locations [censored] Tennessee .


Lookk at my site - sky777 downlo[censored]: http://Cas[censored]o-Slots-Guide.com/roll-with-slot-mach[ce nsored]e/
0 # sky casino blackjack 2019-06-25 23:51
But [censored] way [censored] do [censored] On page [censored]imisation [censored] w[censored]? A press release can also enhance
[censored] [censored]'s rank [censored] all of [censored] major se. Ho[censored]ver, Google
also analyzes w[censored] [censored] "votes" are from.

Check out my [censored]blog - sky cas[censored]o blackjack: http://raywild.com/__media__/js/netsoltr[censored]emark.php?d=www.ezyget.com%2F[censored]d ex.html
0 # sky phantom 777 2019-06-26 13:05
[censored] bouquets blue [censored]dd[censored]g ideas and images are simply beautiful.
Once [censored] [censored] you receive [censored] choose a song from
a short play list with but[censored]ns [censored]-front of [censored]. Blueberries is
also blue present.
0 # scr 198 kiss 2019-06-26 13:16
Good content while a user friendly [censored]terface are primary for [censored] SEO [censored] work.
[censored] [censored] my [censored] rank[censored]gs, I only undergo sitss which have been ranked extremely.
So plaace a backl[censored]k [censored] [censored] [censored]b page.

My [censored]bpage :: scr
198 kiss: https://jom.fun/games/918kiss-scr888

Comments are now closed for this entry

Welcome dear user!