Search found 100 matches

by edsimmons3
Thu Sep 17, 2015 2:48 pm
Forum: MultiWii tweaking - flying experience
Topic: MultiWii 2.4 PID tuning documentation
Replies: 3
Views: 4965

Re: MultiWii 2.4 PID tuning documentation

I have added to the PID tuning documents on the MultiWii wiki, please see the new links under PID heading here: http://www.multiwii.com/wiki/index.php? ... figuration

Please let me know if there is anything I have missed/got wrong/you would like to see improved or added...

I hope this information helps.
Thanks,
Ed
by edsimmons3
Thu Sep 17, 2015 12:58 pm
Forum: Shields, boards and sensors
Topic: MultiWii PRO VBAT pin setup
Replies: 7
Views: 3758

Re: MultiWii PRO VBAT pin setup

find: void configureReceiver() { /****************** Configure each rc pin for PCINT ***************************/ #if defined(STANDARD_RX) #if defined(MEGA) DDRK = 0; // defined PORTK as a digital port ([A8-A15] are consired as digital PINs and not analogical) #endif and edit it to your liking, mayb...
by edsimmons3
Thu Sep 17, 2015 9:56 am
Forum: Shields, boards and sensors
Topic: MultiWii PRO VBAT pin setup
Replies: 7
Views: 3758

Re: MultiWii PRO VBAT pin setup

I just found the reason for this in the code... since you have a MEGA based flight controller, this comes into play: #if defined(MEGA) DDRK = 0; // defined PORTK as a digital port ([A8-A15] are consired as digital PINs and not analogical) #endif So, A8-A15 are actually digital pins - it should work ...
by edsimmons3
Thu Sep 17, 2015 8:20 am
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

Would it help if we used live chat with translation?

Please try to join this free chat room with translation: http://itranslate4.eu/en/chat/join?sid= ... ate%20chat

Ed
by edsimmons3
Thu Sep 17, 2015 8:14 am
Forum: MultiWii tweaking - flying experience
Topic: Zombie copter?
Replies: 17
Views: 8262

Re: Zombie copter?

LOL - yeah looking at the code nearly everything that's not used is already enclosed in #if defined(OPTIONAL_FEATURE) unit8_t myThing; #endif so in theory it makes no difference to the compiled size... I think that since you're doing things like #define OPTIONAL_FEATURE #define THIS_PARAMETER 100 #i...
by edsimmons3
Wed Sep 16, 2015 11:48 pm
Forum: Connecting elements
Topic: connecting gy_80 to arduino mega
Replies: 1
Views: 1477

Re: connecting gy_80 to arduino mega

The pins you need are PD0 and PD1 (43 and 44) of the mega IC itself, see https://www.arduino.cc/en/Hacking/PinMapping2560

Don't forget the I2C bus pull-up resistors...

Hope that helps.
Ed
by edsimmons3
Wed Sep 16, 2015 11:44 pm
Forum: MultiWii tweaking - flying experience
Topic: Zombie copter?
Replies: 17
Views: 8262

Re: Zombie copter?

thanks... I presume you're referring to the free ram whilst everything is up and running too, eg TX on, GPS fix, modes cycled through, armed etc. I have around 30 bytes free memory when fully functioning, when it starts up it shows 70-80 bytes and drops gradually when other things kick in, eg GPS fi...
by edsimmons3
Wed Sep 16, 2015 8:07 pm
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

That's also a good suggestion, I'll try and get something to that effect written up in the wiki. Cheers :)
by edsimmons3
Wed Sep 16, 2015 8:06 pm
Forum: General discussions
Topic: Weird loss of throttle control.
Replies: 20
Views: 7951

Re: Weird loss of throttle control.

With my now stable config I get 82 data and 1738 bss. With my previously dodgy config (which I compiled just now to see....) I get 82 data and 1808 bss. This dodgy config spuriously "does stuff"... it is not to be trusted! The test I carried out on these two configs revealed that *no* ram ...
by edsimmons3
Wed Sep 16, 2015 6:55 pm
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

Yes, I'd agree that the (default!) pitch/roll expo & rate is awful... it's much nicer with the rate lowered...

Should look into changing this default in the code really...
by edsimmons3
Wed Sep 16, 2015 5:40 pm
Forum: MultiWii tweaking - flying experience
Topic: MultiWii 2.4 PID tuning documentation
Replies: 3
Views: 4965

Re: MultiWii 2.4 PID tuning documentation

The method described in the link above works, but you must be prepared for some scary moments. I don't honestly think it is possible to set up alt hold without some scary moments... Once D is pretty well dialled in it behaves well. My altitude reports very well, perhaps +-0.75m while left sat on the...
by edsimmons3
Wed Sep 16, 2015 5:34 pm
Forum: MultiWii tweaking - flying experience
Topic: Zombie copter?
Replies: 17
Views: 8262

Re: Zombie copter?

Is that as reported by the GUI as bytes free while running or is that the arduino IDE's guess at free ram?
by edsimmons3
Wed Sep 16, 2015 10:11 am
Forum: Software development
Topic: Isn't it dangerous for failsafe to be commented by default?
Replies: 2
Views: 1886

Re: Isn't it dangerous for failsafe to be commented by defau

Ok, fair point... I will make much more of a fuss about the failsafe setup and testing in the wiki then...
by edsimmons3
Wed Sep 16, 2015 9:58 am
Forum: General discussions
Topic: Weird loss of throttle control.
Replies: 20
Views: 7951

Re: Weird loss of throttle control.

Looks and sounds pretty much like my incident... although my quad looked as if it was going to fly at me, it yawed to face me and I crashed it for my/its own safety... One further suggestion... please add a good quality capacitor (eg 220uF or 330uF 16v electrolytic with low ESR) to the main 5v of yo...
by edsimmons3
Wed Sep 16, 2015 9:49 am
Forum: MultiWii tweaking - flying experience
Topic: Zombie copter?
Replies: 17
Views: 8262

Re: Zombie copter?

Lol, I tried that option but didn't find anywhere where the ram was reported!! I added code that EOSBandi had posted on the forum to check the ram usage, this reported into debug[0] in one of the tasks in the main loop. I was able to trigger a condition in bench tests where the flight modes got all ...
by edsimmons3
Wed Sep 16, 2015 9:39 am
Forum: General discussions
Topic: Weird loss of throttle control.
Replies: 20
Views: 7951

Re: Weird loss of throttle control.

You need to make the video public for me to see it ;)

Thanks!
by edsimmons3
Wed Sep 16, 2015 9:29 am
Forum: General discussions
Topic: Improvements to the Wiki: flightmodes
Replies: 0
Views: 1122

Improvements to the Wiki: flightmodes

Hi all, I'm working on improving the MultiWii wiki and I have made a start on a few pages. I would like to know a few things: Is it sensible that failsafe is commented out by default in config.h? Is it intentional that mag mode is de-activated at 25 degrees pitch/roll whilst max nav bank angle is se...
by edsimmons3
Wed Sep 16, 2015 7:07 am
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

Is Baro mode enabled? YOu can't arm the flight controller when it is in baro mode...

If it is *just* failsafe that prevents you from arming, I'm not sure what is going on.
by edsimmons3
Tue Sep 15, 2015 8:59 pm
Forum: Software development
Topic: Isn't it dangerous for failsafe to be commented by default?
Replies: 2
Views: 1886

Isn't it dangerous for failsafe to be commented by default?

I think it would be sensible for failsafe to be enabled by default in config.h. It might prevent a whole range of incidents...
by edsimmons3
Tue Sep 15, 2015 8:24 pm
Forum: MultiWii tweaking - flying experience
Topic: Zombie copter?
Replies: 17
Views: 8262

Re: Zombie copter?

The best explanation I have at present *for my* incident is that the 328p ran out of ram and something was corrupted in flight. By changing my config file to reduce the ram used by a few things (powermeter and battery voltage) I was able to get my controller to run well in bench tests using the GPS....
by edsimmons3
Tue Sep 15, 2015 8:16 pm
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

Does your yaw control move through the full range of 1000-2000 but not beyond it? Do any of your other channels go outside the 1000-2000 range?
by edsimmons3
Tue Sep 15, 2015 7:23 pm
Forum: General discussions
Topic: Current status of GPS & I2C GPS board on 328p
Replies: 13
Views: 5924

Re: Current status of GPS & I2C GPS board on 328p

My quad's GPS home was activated (EZgui told me) while flying and the copter turned to face me (classic RTH behaviour) without any input from me... I also felt like I had pretty much lost control and the only option was to have 'a safe crash' as you said. :-/ If the atmega is running out of ram to c...
by edsimmons3
Tue Sep 15, 2015 1:28 pm
Forum: General discussions
Topic: Weird loss of throttle control.
Replies: 20
Views: 7951

Re: Weird loss of throttle control.

First, don't worry at all about GPS_BAUD 57600, this isn't used if you have the I2C GPS board. If your GPS is working with the I2C board, you don't need to do anything to that part. The main settings are: I2C GPS (only allows RTH and poshold, no waypoints, see below) USE_MSP_WP *disabled* due to mem...
by edsimmons3
Tue Sep 15, 2015 12:25 pm
Forum: General discussions
Topic: Weird loss of throttle control.
Replies: 20
Views: 7951

Re: Weird loss of throttle control.

Try the config file here (m) and ground test your quad with the props off or just powered by USB. Arm it using the TX once it has a GPS lock with more than 6 satellites, simulate flying it, try all the different modes for a while... Check the behaviour of the GUI is not erratic, watch for resets of ...
by edsimmons3
Tue Sep 15, 2015 11:59 am
Forum: General discussions
Topic: Weird loss of throttle control.
Replies: 20
Views: 7951

Re: Weird loss of throttle control.

I haven't had the time to properly read the code that deals with the altitude hold and throttle stick.... I would like a proper explanation of what the throttle stick does in the baro mode as the wiki seems really sparse on details in this regard. All I've seen that I can remember clearly is an inst...
by edsimmons3
Tue Sep 15, 2015 10:45 am
Forum: General discussions
Topic: Weird loss of throttle control.
Replies: 20
Views: 7951

Re: Weird loss of throttle control.

Hi Ciki, This sounds like the same issue I was experiencing - the remaining ram is very precious and you need to pay close attention to not running out! The copter takes on a life of it's own if the ram runs out... I have had RTH activate randomly, not due to the fence distance but due to corruption...
by edsimmons3
Tue Sep 15, 2015 7:48 am
Forum: Shields, boards and sensors
Topic: MultiWii PRO VBAT pin setup
Replies: 7
Views: 3758

Re: MultiWii PRO VBAT pin setup

Find "OVERRIDE_V_BATPIN" in config.h and set it to A15...
I hope that helps...
Ed
by edsimmons3
Mon Sep 14, 2015 8:18 pm
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

Ok, thanks I can see your stick values are not central on 1500, can you adjust your TX so that you stick values all read 1500? The stick values displayed in the RC The other option is to change MIDRC (in config.h) to match the values you get with your sticks in the center. You might also want to unc...
by edsimmons3
Mon Sep 14, 2015 7:39 pm
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

Which flight mode(s) do you have enabled? Can you send a screenshot of the GUI?

Config.h looks ok...

Thanks,
Ed
by edsimmons3
Mon Sep 14, 2015 11:51 am
Forum: Shields, boards and sensors
Topic: MX Nano MWC v1.31 troubles
Replies: 8
Views: 4239

Re: MX Nano MWC v1.31 troubles

Mike, Guitarded, Papo, Have you chosen the correct board type and serial port in the arduino IDE tools menu? You will get that error if you have the wrong serial port connected, or if you have another device connected to the UART port on your multiwii board (if it is a 328p), for example, disconnect...
by edsimmons3
Mon Sep 14, 2015 11:47 am
Forum: General discussions
Topic: Current status of GPS & I2C GPS board on 328p
Replies: 13
Views: 5924

Re: Current status of GPS & I2C GPS board on 328p

I have now flown for about 30-40 minutes using my newly compiled firmware... First impressions were that it felt much smoother than before and nothing unexpected happened at all (:D, huge relief). I mostly ran down 4x 5500mAh 3s Lipo packs in testing and PID tweaking yesterday. I think I can conclud...
by edsimmons3
Mon Sep 14, 2015 7:14 am
Forum: Shields, boards and sensors
Topic: need support to MEGA3.21 multiwwi 2.4
Replies: 26
Views: 7575

Re: need support to MEGA3.21 multiwwi 2.4

Hi, Have you calibrated ESCs all at once? Is it possible one is calibrated differently? Have you balanced props and checked all motors spin freely? Do the motor output bars in the GUI show the problem too? Is one bar showing a lower value than the other three? Mag calibration needs to be repeated un...
by edsimmons3
Sat Sep 12, 2015 7:09 pm
Forum: General discussions
Topic: Getting a wiki account
Replies: 2
Views: 1562

Re: Getting a wiki account

Hi Hamburger,

Thanks :)
Ed
by edsimmons3
Sat Sep 12, 2015 10:19 am
Forum: General discussions
Topic: Current status of GPS & I2C GPS board on 328p
Replies: 13
Views: 5924

Current status of GPS & I2C GPS board on 328p

Hi all, I have been told that the I2C GPS board isn't recommended with multiwii 2.4 and been given no reason... I'm making sure it's possible! I have set up Multiwii 2.4 with the I2C GPS board and bluetooth (also works with my OSD with bluetooth removed) and found that initially I was very short of ...
by edsimmons3
Fri Sep 11, 2015 10:47 pm
Forum: General discussions
Topic: MultiWii modification
Replies: 1
Views: 1268

Re: MultiWii modification

I love the osprey... How would you make it work? Two ESCs and motors or variable pitch props like the real thing? I remember seeing (waaay back) a guy built a nitro RC replica with a single engine and all the trimmings. I think the simply flew it as a plane with a control for the tilt and a bit of m...
by edsimmons3
Fri Sep 11, 2015 8:46 pm
Forum: Getting Started - MultiWii config and setup
Topic: Crius multiwii 2.5 + i2c gps nav board: weird problems
Replies: 3
Views: 2299

Re: Crius multiwii 2.5 + i2c gps nav board: weird problems

Thanks Leo, I'm using 2.4... Why is this not recommended? Is this purely memory that is the problem? I like the I2C GPS solution as the UART is free for bluetooth or OSD. I seem to have found I was very short on ram... by changing the default values of: #define PSENSOR_SMOOTH 1 // len of averaging v...
by edsimmons3
Fri Sep 11, 2015 7:24 pm
Forum: Getting Started - MultiWii config and setup
Topic: Crius multiwii 2.5 + i2c gps nav board: weird problems
Replies: 3
Views: 2299

Re: Crius multiwii 2.5 + i2c gps nav board: weird problems

Further to my notes above: I tested a new firmware today compiled without I2C gps support. I noted some odd changes to the way the system worked... First, Vbat was reported lower than before, so much so I landed after maybe 2 mins thinking the battery was going bad. Why would disabling the GPS cause...
by edsimmons3
Fri Sep 11, 2015 12:47 pm
Forum: Getting Started - MultiWii config and setup
Topic: Quadcopter shaking
Replies: 17
Views: 7027

Re: Quadcopter shaking

Ben,

It looks like you've got way too little P on pitch and roll... just a guess. Edit: Is that config for multiwii? I don't recognise the software...

Reduce I and increase P for pitch and roll a bit at a time and test fly between each change.

Hope that helps...
Ed
by edsimmons3
Fri Sep 11, 2015 12:33 pm
Forum: Software development
Topic: Mutliwii vbat autoland
Replies: 6
Views: 3047

Re: Mutliwii vbat autoland

Brilliant... ;-)

Thanks for your work... I will test and hopefully this can be merged with the main code as an option.

:-)
by edsimmons3
Fri Sep 11, 2015 12:32 pm
Forum: Software development
Topic: Problem compiling MultiWii Conf (related to controlP5 lib)
Replies: 3
Views: 6116

Re: Problem compiling MultiWii Conf (related to controlP5 li

You could try commenting out the line it complains about... (add // to the beginning of the line) but this may just lead to more errors. I seem to recall that error when I ran it first time with 2.1.1 version of processing. I manually downloaded the library and added to my processing sketchbook in t...
by edsimmons3
Fri Sep 11, 2015 6:37 am
Forum: Software development
Topic: Mutliwii vbat autoland
Replies: 6
Views: 3047

Re: Mutliwii vbat autoland

Nice work - this looks like it's a very good idea... I'll give this a try once I've resolved my probably memory related issues...

Is your modified code stored on github or anything? Will it be possible at some point for this to be vetted and merged into the main project?

Thanks :)

Ed
by edsimmons3
Thu Sep 10, 2015 7:50 pm
Forum: Getting Started - MultiWii config and setup
Topic: Crius multiwii 2.5 + i2c gps nav board: weird problems
Replies: 3
Views: 2299

Crius multiwii 2.5 + i2c gps nav board: weird problems

Hi all, I have a bizarre set of problems with multiwii and I'd like to properly document and get to the bottom of the problem. I have posted scraps of info in other threads and thought it would be sensible to bring together all the info I have so far here... The setup: Turnigy 9XR pro radio with DJT...
by edsimmons3
Thu Sep 10, 2015 3:55 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10278

Re: MW2.4 IMU.cpp bugs?

Hi Leo, Thanks for the info - I am about to try to set this up again... I've doubled up on my foam over the baro hole to reduce any wind noise & I have completely removed the I2C GPS board for now. The previous crash may have had something to do with it, but altitude hold tuning is proving reall...
by edsimmons3
Thu Sep 10, 2015 3:28 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10278

Re: MW2.4 IMU.cpp bugs?

I realise this is less to do with the code and more to do with the docs, but I thought I should leave no doubt... I *have* crashed because of the documentation suggesting to set altitude P and I to zero and gradually increase D. The docs on the wiki suggest it here m This should be changed and I'm w...
by edsimmons3
Thu Sep 10, 2015 1:44 pm
Forum: Shields, boards and sensors
Topic: choosing a GPS for my 328p
Replies: 1
Views: 1711

Re: choosing a GPS for my 328p

Hi, Ideally you want the fastest output GPS you can get... With the 328p you'll be limited to the basic set of GPS functionality, ie position hold and return to home. The memory of the 328p being the limitation here. You can opt to use the I2C GPS board to connect the GPS, this is a good option if y...
by edsimmons3
Thu Sep 10, 2015 1:31 pm
Forum: MultiWii tweaking - flying experience
Topic: MultiWii 2.4 PID tuning documentation
Replies: 3
Views: 4965

MultiWii 2.4 PID tuning documentation

Hi all, The PID tuning docs have been pretty helpful for my new quad with MW2.4. However the altitude hold docs leave a lot to be desired. I have set up my baro with a 10mm or so length of plastic tube (cut from a pen) and hotglued onto the top of the baro IC. There is a piece of dense foam stuck in...
by edsimmons3
Thu Sep 10, 2015 12:46 pm
Forum: General discussions
Topic: Getting a wiki account
Replies: 2
Views: 1562

Getting a wiki account

Hi MultiWii folk,

Please can I have an account to edit the multiwii wiki? I'd like to add to the tuning docs. There are many places where I could improve the wording to help others...

Thanks,
Ed
by edsimmons3
Thu Sep 10, 2015 12:45 pm
Forum: General discussions
Topic: MultiWii forum registration
Replies: 0
Views: 1125

MultiWii forum registration

Hi all,

I tried three times to register for the Multiwii forum. The first two email addresses I used (two different addresses for my work) didn't ever receive a confirmation/activation email. Only my Gmail address worked properly in the end...

You might want to take a look... ;-)

Thanks.
Ed
by edsimmons3
Thu Sep 10, 2015 12:36 pm
Forum: MultiWii tweaking - flying experience
Topic: Zombie copter?
Replies: 17
Views: 8262

Re: Zombie copter?

So with a bit more digging I think I might have found something that could trigger my kind of incident... In GPS.cpp there is the following: //Check fence setting and execute RTH if neccessary //TODO: autolanding if ((GPS_conf.fence > 0) && (GPS_conf.fence < GPS_distanceToHome) && (f...
by edsimmons3
Thu Sep 10, 2015 12:04 pm
Forum: MultiWii tweaking - flying experience
Topic: Zombie copter?
Replies: 17
Views: 8262

Re: Zombie copter?

Hi all, First I'd like to say thanks for all the hard work everyone is putting in with MultiWii. I have had a similar experience a couple of times to this, not with the copter arming, but with sudden and unexplained loss of control. My setup is as follows: Turnigy 9XR pro with FRSKY DJT module Crius...