Welcome to Multi-Rotor UK. Please login or sign up.

Friday,August 23, 2019, 02:20:57

Login with username, password and session length

Shoutbox

Gaza07:
22 Aug 2019 22:47:32
Sorted mate  ~~
Andy7:
22 Aug 2019 10:27:36
Sure. But basically, all the subjects are getting cut off.
Gaza07:
21 Aug 2019 18:14:54
Can you pm me a screen shot of what you mean
Andy7:
21 Aug 2019 12:15:41
Gaza - can you make the subject line section in the forum topic list wider? It's cutting off the subject field really short.
Andy7:
19 Aug 2019 09:14:20
Good for you!  ~~
DarkButterfly:
18 Aug 2019 19:13:57
Had another negative encounter, it's been a few years since the last one, just an uneducated ******, going on about drones being illegal yada yada yada.    :-/
Still that didn't spoil my flying time, had an absolute blast  ~~
Gaza07:
07 Aug 2019 19:52:01
ooooh mrs jones  :D
hoverfly:
30 Jul 2019 15:26:34
D.B. you tightwad.. :cool:
atomiclama:
29 Jul 2019 20:14:10
DB that just means you have shed loads of props in the first place ;-)
DarkButterfly:
29 Jul 2019 18:53:33
Just had a thought, even with all the crashing I've done, I haven't bought any replacement props in over a year ~~
Members
  • Total Members: 8066
  • Latest: badger1
Stats
  • Total Posts: 196578
  • Total Topics: 19804
  • Online Today: 44
  • Online Ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 49
Total: 49

Theme Changer





3d - Printworx

Printing 3d Forum

MultiWii Pro AIO and NEO-6M GPS

Started by iWolf51, Saturday,July 20, 2013, 14:34:41

Previous topic - Next topic

iWolf51

I have the HK V2.0 of the MultiWii AIO board which I think is equivalent to the CRIUS V1.1 of the board?
I think I read that somewhere hereabouts...
I also have the HK version of the NEO-6M GPS plugged into the board.
The FC is running MultiWii V2.2.

A couple of things about the setup are puzzling me (no surprises there  :confused:)
Its all very new to me at present and I';m trying to understand the meaning of the FC leds when the board gets power.
Because they seem to be at least a bit different than those posted on forum.
At power up:
- the A and C leds flash a couple of times then stop while the ESC initialises.
- then the A and C leds flash quickly for a few seconds and go out again.
- at the same time the B led flashes, in what seems to be a variable sequence.
When the motors are armed:
- the A and C leds light solid.

The interesting thing is the B led, which will continue flashing, sometimes in a steady sequence, other times in a changing sequence.
On occasions it will even go out as well.
Is this to do with the number of sats found, or GPS lock?
If I connect the board to MultiWiiConf it shows GPS co-ordinates and a number of satellites.

Related to the GPS, the HK board supposedly ships with baud rate set to 38400.
I';ve loaded sketches to the FC with GPS baud rate set to 38400, 57500 and 115200.
The setting doesn';t seem to make any difference to the FC, can this be right?
I thought the baud rate on the GPS and in the FC firmware would need to match?
Is there any performance advantage in using a particular baud rate?
I haven';t got an FTDI cable (yet) so can';t connect the GPS to u-center to check the actual GPS config.
I haven';t yet had a chance to try a GPS home or hold command to test the GPS in the field.

Anyone able to help with this?
"Takeoff is optional - Landing is compulsory"

Hands0n

You absolutely have to match the serial speed of the GPS with the FC, it cannot work otherwise. 

Things to check with the GPS should include what GPS signalling is it using?  NMEA is the standard - there are also uBloc';s own protocols. I think by default the GPS puts out NMEA so make sure that your MultiWii sketch is set for that.

I have the Crius AIOP 1.1 and when there is a 3D GPS lock the green light on the FC goes solid and stays that way.

I';m using MegaPirates NG Add-Ons so it is a little bit different for me, and I have no direct experience of the HK iteration of the FC.

HTH
--
Danny
"Its better than bad, its good"

Current FCs: Pixhawk, APM 2.6, Naza M V2, Naze32, Flip32+ CC3D, KK2.1.5
Aircraft: miniMax Hex, DJI 550 (clone) TBS Disco, 450 Firefly, 250 Pro, ZMR250, Hubsan X4, Bixler 2

iWolf51

Sunday,July 21, 2013, 13:49:01 #2 Last Edit: Sunday,July 21, 2013, 14:26:54 by iWolf51
Quote from: Hands0n on Saturday,July 20, 2013, 16:14:33
You absolutely have to match the serial speed of the GPS with the FC, it cannot work otherwise. 

Things to check with the GPS should include what GPS signalling is it using?  NMEA is the standard - there are also uBloc';s own protocols. I think by default the GPS puts out NMEA so make sure that your MultiWii sketch is set for that.

I have the Crius AIOP 1.1 and when there is a 3D GPS lock the green light on the FC goes solid and stays that way.

I';m using MegaPirates NG Add-Ons so it is a little bit different for me, and I have no direct experience of the HK iteration of the FC.

HTH

Thanks for the feedback mate.

I made some interesting discoveries today, while getting my FC and GPS talking to each other.
Behaviour/operation of the FC and GPS was observed over several rounds of firmware changes and FC testing.

- MultiWii V2.2 has the following definition in config.h which changes the operation of the GPS indicator LED on the FC.
Quote
/* indicate a valid GPS fix with at least 5 satellites by flashing the LED  - Modified by MIS - Using stable LED (YELLOW on CRIUS AIO) led work as sat number indicator
      - No GPS FIX -> LED blink at speed of incoming GPS frames
      - Fix and sat no. bellow 5 -> LED off
      - Fix and sat no. >= 5 -> LED blinks, one blink for 5 sat, two blinks for 6 sat, three for 7 ... */
    #define GPS_LED_INDICATOR

On my HK V2.0 FC, when the define statement is active the GPS indicator LED operates as in the quoted comment above.
With the define statement commented out, the LED flashes while acquiring a lock. When GPS lock is acquired the LED goes solid and stays that way.

I can also confirm that I am able to get a GPS lock with GPS_BAUD set to 38400, 57600 or 115200 in config.h.
Since baud rate between the GPS and FC has to match for comms to happen there must be something in the MultiiWii code or GPS firmware to force a match between the two components. I';m curious about that so I';ll investigate it when I get time.
In the meantime I';m satisfied that I have GPS comms to the FC and can test if GPS HOME will work. :crossfingers:

Also the 3 indicator LEDs on the FC operate differently than on the CRIUS board (Using Jumpy07';s table for the CRIUS board) at least they do on my FC. :hmm:
As per the OP, LEDs A (Orange) and C (Green) flash while the board is initialising, then turn off. They both come on solid and stay on when the motors are armed.
Operation of LED B (Orange) depends on the setting of  GPS_LED_INDICATOR.

So a couple of things are a bit clearer and I can test operation of the GPS.
Now to get the Bluetooth module working. :crossfingers:
Edit: How hard was that!
- Plugged the bluetooth module into the FC
- paired it with my mobile
- started the mobile app and went through config
- App and FC connected - and it worked  ::)
- WoooHooo!
"Takeoff is optional - Landing is compulsory"

iWolf51

Just a quick update regarding setup of the NEO-6M GPS with MultiWii 2.2.

We were discussing GPS config in previous posts ^^.  I was surprised, make that confused, that the GPS seemed to be synching with AIO Pro regardless of the GPS baud rate set up in config.h

I';ve now found the reason it works  :smiley:
We can thank the MultiWii development team for a change in MWC2.2, that makes setup that little bit easier. Maybe they';ll update the comments in config.h to match at some stage. :whistling:

QuoteUBLOX GPS: the baud configuration is autodetected and the UBLOX binary protocol is automaticly set (thanks to MIS & EOSBandi)

Heres a link to the release notes http://www.multiwii.com/forum/viewtopic.php?f=8&t=3212&hilit=led+pin
"Takeoff is optional - Landing is compulsory"

barneyg

Yep ... It starts at 9600 and steps up the speed till it can communicate then it sends a config string which includes the speed you specify in the config.h .... Use the 56 k option - apparently 112 k introduces an error in the position supplied

cliffkhew

Multiwii v2.2 will set the NEO-6M GPS module auomatically to 115200Hz,how about the refresh rate?Will it set to 5Hz?

Hands0n

Quote from: cliffkhew on Monday,September 02, 2013, 10:58:59
Multiwii v2.2 will set the NEO-6M GPS module auomatically to 115200Hz,how about the refresh rate?Will it set to 5Hz?


The FC';s serial speed for the GPS port can be set in config.h for MultiWii (and in the MegapiratesNG config file also - I forget its name). There really is no need for the speed to be above 56kbps, the amount of data being sent is miniscule.
--
Danny
"Its better than bad, its good"

Current FCs: Pixhawk, APM 2.6, Naza M V2, Naze32, Flip32+ CC3D, KK2.1.5
Aircraft: miniMax Hex, DJI 550 (clone) TBS Disco, 450 Firefly, 250 Pro, ZMR250, Hubsan X4, Bixler 2