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

Tuesday,August 20, 2019, 06:26:36

Login with username, password and session length

Shoutbox

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 ~~
ched:
09 Jul 2019 19:45:42
May the sun shine and winds be light for BFU#8. Son't forget lots of vids for those of us unable to attend.  :D
Gaza07:
09 Jul 2019 18:10:30
Hope you all have a great day  :beer2:
Andy7:
09 Jul 2019 14:05:28
BFU#8 details locked in for this saturday - see the head of the forum thread for all details.
hoverfly:
05 Jul 2019 21:51:05
Good for genital warts as well......or so I'm told.. :hmm
Members
  • Total Members: 8066
  • Latest: badger1
Stats
  • Total Posts: 196558
  • Total Topics: 19801
  • Online Today: 39
  • Online Ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 1
Guests: 36
Total: 37

Theme Changer





3d - Printworx

Printing 3d Forum

Crius AIOP V1,V1.1 MultiWii 2.1 Firmware

Started by Gaza07, Saturday,September 08, 2012, 10:10:11

Previous topic - Next topic

Gaza07

Saturday,September 08, 2012, 10:10:11 Last Edit: Sunday,October 14, 2012, 22:18:14 by Gaza07
Here';s a copy of the multiwii 2.1 firmware that has been edited for the crius AIOP
using the rctimer cn-06 v1 and v2 gps or any other ublox neo 6m gps that doesn';t have the eeprom to store the gps settings,

this firmware would also work with the rctimer cn-06 v2 but that has a eeprom and can be setup using the ublox ucentre found here
http://www.u-blox.com/en/evaluation-tools-a-software/u-center/u-center.html

[attachurl=1]

koda

Monday,January 07, 2013, 17:27:55 #1 Last Edit: Monday,January 07, 2013, 17:51:28 by koda
Thank you for sharing - since there is a newer version of MultiWii_dev_r1240, could you modify also this one, please? I´ve read that there some usefull changes for GPS control.

I tried to modify it myself but my CN-06 v2 (connected dirrectly through serial interface) does not lock sometimes. In version 2 of CN-06, the position should be stores in EPROM so I suppose it should lock ealisy after the first initialisation on the same place later. I´ve found that reflashing with the same firmware somehow helps and than the satelites emerge quite fast... After some day the story repeats.
Any ideas what is wrong? Should I also modify something in def.h ?

My config.h:

http://www.fileconvoy.com/dfl.php?id=gad39a93c9d3cd1b499919219590b57369643a39ec

secretman


Gaza07

Secret Man is correct the fix has already been applied in the new Dev versions so just set up the config.h for the AIOP and the Ublox protocol  ~~

mcashatt

First off, thank you all for working on this code!

I have just used this code to flash my AIOP v2 and use with a uBlox CN-06 v2 GPS from RC Timer. 

I now have the quad and laptop sitting outside where it can "see" the sky and yet there are still no satellites being reported in the GUI.  This brings up a couple of questions:

1. Did I need to change the baud rate on the CN06 before use?  What I mean is that I see various mentions of using Ublox software or other tools to change the baud rate before the CN06 is usable.  In fact, RC Timer';s website even mentions this on the CN-06 product page but I am confused because it also seems like the message here is that the CN-06 is "plug and Play" if you have the correct MWC code which you all have kindly provided.  If changing the baud rate beforehand is necessary, can someone please provide some steps or point me towards a tutorial?  I have been trying to do this simple task for hours with no luck.

2. Approximately how long does it take the CN-06 to "lock on" to GPS satellites the first time I use it (cold start)?  Maybe that';s why the MWC GUI doesn';t show anything yet?

Many thanks in advance for your help.

Matt


mcashatt

One other thing I would like to add:

I currently have the GPS hooked up to the "Serial 0" port on my AIOP v2.0.  This is the same as the FTDI port.  I did set the following line in the config.h file:

#define GPS_SERIAL 0

Could the use of this particular port be causing the GPS not to function?

I do get a solid green LED on the GPS so I can confirm that it is getting power.

Thanks again for any help.

Matt

Gaza07

I';m not sure if the gps would work on serial 0 or not but its not just a case of setting the port number in the sketch you have to have it physically wired to the correct port to, Is there a reason you cant use port 2 which is the normal port for the gps ? any chance ofa picture or diagram of your connections  ~~

mcashatt

Thanks Gaza07.  Your suggestion worked.  I had soldered wires onto the wrong molex connector so I was just being lazy and using the FTDI port which was labeled on my AIOP v2 as "Serial 0".  Then I was attempting to plug into my usb connector so I could check GPS status on the MWC GUI.  Well, I forgot, you can';t use FTDI and USB connectors at the same time.  I switched to the Serial 2 connector (and changed the config.h accordingly back to "Serial 2") and all was well.

One other thing that was stupid of me and had me stumped for a while (and I sincerely hope this note spares someone else the pain despite my embarassment): DON';T FOR GET TO ROUTE "Tx" FROM THE GPS TO "Rx" ON THE AIOP AND "Rx" FROM THE GPS TO "Tx" ON THE AIOP!!!!  This little oversight cost me hours!!

Thanks all!

tapinkham

Thank you for this! I have been struggling with this for a month.
Downloaded and tried to execute MultiWiiConf_2_1 but get this error: C:ProgramData\Oracle\Java\javapath\javaw.exe
Unspecifed error

Any thoughts?

Tim

Gaza07

Have you visited the java web site and see if there is an upgrade or try to re install java  ~~

tapinkham

Thanks, yes. I updated java, twice. Had my son try it on his laptop and he got the same error. Is multiwii worth bothering with? Any advice on a fc with code that actually works?
Thanks,
Tim

Gaza07

Multi Wii is a good firmware flys very nice and easy to setup normally, give the wii win gui a try instead of using the conf program,
you can find the latest version here https://code.google.com/p/mw-wingui/ see how you get on with that,
you can also upload megapirateNG to the AIOP which is a port from the APM but its quite a bit more involved than wii, and can take a fair bit more effort to get it flying smoothly,
A lot of members are currently using the APM the guys in chat are mostly APM users so you could consider one of those but you would need the flight controller gps module and telemetry modules all can be had from rctimer in a single package its quite a complex system but the guys who already use it can make it much easier, it supports auto flying with way points and will perform as good as much more expensive units, or you could go for a naza lite with gps which is almost plug and play and very easy to fly and setup,
I currently have a couple of naza';s a couple of APM';s and a fixhawk which is a 32 bit APM type fc oh and not forgetting a hand full of rabbits  :rolleyes:


Quote from: tapinkham on Saturday,December 13, 2014, 22:19:23
Thanks, yes. I updated java, twice. Had my son try it on his laptop and he got the same error. Is multiwii worth bothering with? Any advice on a fc with code that actually works?
Thanks,
Tim