Multiwii Beginners Guide to Basic First Flight

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
brewski
Posts: 483
Joined: Tue Apr 29, 2014 12:04 am
Location: Cleveland Qld Australia

Multiwii Beginners Guide to Basic First Flight

Post by brewski »

I wrote this in reply to a beginners query & it comes from what I have learnt over past few months coming into Multiwii knowing nothing & building/flying my first quad. As the info is scattered across this & other Forums I hope that this helps other newcomers to this exciting hobby. Please feel free to add or correct to help make this a valuable guide to someone just starting with Multiwii.

Multiwii Beginners Guide to Basic First Flight

First & most importantly calibrate ESCs min/max points using direct connection to RX. There are other methods but this is easiest. Ensure motors are turning in correct direction with correct props for rotation & not mounted upside down :lol:
Next connect to PC running WinGUI or MW Config. Calibrate ACC with FC level & not moving & Mag by moving FC thru all axis in 30seconds. Check graphs & readouts to confirm accurate calibration.
Set your transmitter end points. Using the WinGUI or MW Config open the RC CONTROLS tab look at the live tx data, then use your tx sub trim to set the throttle low at 1000 and all the mid sticks at 1500. Then using the tx end points adjustment make the throttle high point 2000, yaw left 1000, yaw right 2000, pitch dwn 1000, pitch up 2000, roll left 1000, roll right 2000. You may have to readjust for 1500 centre. Ensure that all readings move in direction of TX sticks & switches. Reverse on TX if not.

All flight modes disabled apart from Acro and mag. With all sensors calibrated correctly and mag declination set, using the default PIDs and in a nice open space ARM with throttle low and yaw right. Increase throttle slightly then decrease throttle fully and the motors need to be still rotating, if they stop then your min throttle setting needs increasing slightly.
Try again and if the motor idle speed is stable increase throttle quickly to approx. 50% and hover. If it drifts use TX trims to prevent it.
Next enable Horizon mode. If quad drifts backwards just land disarm with throttle low yaw left. Then trim ACC with throttle high and hold your pitch roll stick in the opposite direction to the drift so in this case forward hold there until the light on your board flashes 5 times then centre stick, throttle low and rearm and try again. Repeat as required. DO NOT touch TX TRIMS to counter drift as you have already set this in Acro. Remember If you calibrate ACC again using GUI (or ACC stick Cal) you will lose these ACC adjustments & have to do it again.

If motors don't have enough power to climb then vibration is probably your issue unless bad or low capacity Lipo. Buy good composite or CF props with quality adapters, balance everything & then retry. You may still need to set Gyro filter to 42Hz in Config.h if it won't climb or flies erratically.

You should now have a nice stable quad (or at least as you can get without PID adjustment) & can then move on to GPS modes for which you will find plenty of info on in this Forum. I hope this will help you and maybe others to get flying. It's a big learning curve but definitely worth it! :D

NOTES 1. Don't expect motor speed graphs to rise in sync & hold speed in GUI when quad not flying. This is normal & part of PID control
2. Most FCs (flight controllers) come loaded with older versions of Multiwii. Download latest versions of FC Firmware & MW Config & WinGUI (currently 2.3) from http://www.Multiwii .com. Configure for your quad & upload to FC. It is imperative that the firmware on FC & WinGUI /MW Config are same version
3. If you intend to use advanced GPS functions such as Missions, Land, Fencing etc, download MW2.3 NaviB7 for FC & WinGUI pre 10 for NaviB7 from http://www.eosbandi.com These GPS modes beyond Pos Hold & RTH require an FC with Atmega 2560 microcontroller. The Crius AIOP V1 & V2 are typical. Configure for your quad & upload to FC
4. Be aware that if you choose to run the MW version preinstalled on the FC it may have Motor_Stop uncommented. This is not recommended for beginners as motors will not spin on arming & you will not know if Min Throttle is set correctly. Min Throttle should be set to lowest speed that will cause all motors to start reliably every time that quad is armed

Happy & safe flying
Cheers..B

waltr
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: Multiwii Beginners Guide to Basic First Flight

Post by waltr »

Good list brewski.
I would add:
1- The very first step is properly setting up the transmitter's stick throws for center and end points.
2- Enabling Fail Safe in MW is a very good idea and can prevent a fly away if the receiver loses power.
Also Witespy's RTF Wiki is a very good tutorial. http://witespyquad.gostorego.com/videos.html

Now to get this set as a 'sticky' so it stays at the top.

brandon3055
Posts: 16
Joined: Fri Aug 01, 2014 6:47 am
Location: Tasmania

Re: Multiwii Beginners Guide to Basic First Flight

Post by brandon3055 »

What are the default auxiliary settings?

I just built my first quad(X) using the MultiWii 328P from Hobby King and with the default software it worked ok but when i updated to the latest version i couldn't even get it off the ground. When I tried to take of all four motors would act crazy and it would just bounce around and flip over. After a lot of trial and even more error i found that if i bind ACC, BARO and MAG to one of the auxiliary channels it can actually fly. It dosnt seem to matter if the channel is on or off (obviously it isnt as stable turned off)

It dose have an intermittent problem where when flying it will start to violently oscillate left and right and crash. Most of the times that has happened it was hovering.

Specs:
-MultiWii 328P Flight Controller
-FC 28-12 Brushless Outrunner 1534kv (x4)
-Slow Fly Electric Prop 8038/8038R
-Q Brain 4 x 20A Brushless Quadcopter ESC
Size 275x275mm (10.7inch) (measured from motor mounts)

curently running (MW21 Software ready to use) from Hobby King.

brewski
Posts: 483
Joined: Tue Apr 29, 2014 12:04 am
Location: Cleveland Qld Australia

Re: Multiwii Beginners Guide to Basic First Flight

Post by brewski »

Hi Brandon,
Aux settings are your preference & depend on FC microcontroller & version of MW you are running as far as options go. You should be able to hover with only Acro (gyro) only & adjust TX trims to stop drift.
For stable level hover enable Angle or Horizon & trim with sticks (see above guide) to prevent drift in no wind.

Ok so you were originally running MW V2.1 & quad flew ok. When you uploaded V2.3 did you clear EEProm first? The utility to do this is part of Arduino IDE under Examples > EEPROM > EEPROM_Clear. With Atmel 328 leave size as is (512 bytes)
Also most important check that you are running V2.3 WinGUI & latest MW V2.3 Config. as using earlier version can result in corruption of FC firmware.
After uploading V2.3 calibrate ACC & Mag using instruction above also follow guide to set TX min-mid-max.
V2.3 is much less tolerant of vibration. Use good quality props & adapters & accurately balance. You may even need to use vibration isolation mounts for FC depending on frame construction & motor mounts. If still unstable after doing all this & running standard PIDS you can start tuning PIDS to suit your quad.
Some builders try everything without success & either reflash ESCs with SimonK or BL firmware (or you can buy already flashed) and have good results.
I am just running the HobbyPower 30A ESCs & 2212 1000KV motors that came with my X525 kit & they perform OK.
Mind you if I tried some fancy flying I would probably find the limitations of these basic components!
Last edited by brewski on Fri Aug 01, 2014 9:20 am, edited 1 time in total.

brandon3055
Posts: 16
Joined: Fri Aug 01, 2014 6:47 am
Location: Tasmania

Re: Multiwii Beginners Guide to Basic First Flight

Post by brandon3055 »

Im not sure what it was originally running (it was pre programmed) but i started having problems when i updated to 2.3 and the problems continued when i downgraded to the version supplied by Hobby King. I did not clear the EEProm when i updated so i will try that and see how it goes but i wont be able to test it until tomorrow.

salamala
Posts: 16
Joined: Wed Jul 02, 2014 1:22 pm

Re: Multiwii Beginners Guide to Basic First Flight

Post by salamala »

Hello I tried to follow the above instructions but I didn’t succeed!
Problem with is 1000 – 15000 – 2000
I am using:
TX: FlySky Upgraded 2.4G 9CH
RX: FS-R8B

MWC MultiWii SE V3.0 I uploaded the newest Conf.h I think V 2.3

I can set up the middle to 1500 but then min is 1062 and max is 1963 if I change the settings on TX I can get 1000 but then the 1500 is not 1500 and the max is not 2000 and whatever I do on TX max cannot go over 1970

Thanks for any answer

brewski
Posts: 483
Joined: Tue Apr 29, 2014 12:04 am
Location: Cleveland Qld Australia

Re: Multiwii Beginners Guide to Basic First Flight

Post by brewski »

You need to set TX Travels & Sub Trims to get as close to these figures as you can. 1970 should be OK for max provided low & mid can be set. Check manual for your TX.

brandon3055
Posts: 16
Joined: Fri Aug 01, 2014 6:47 am
Location: Tasmania

Re: Multiwii Beginners Guide to Basic First Flight

Post by brandon3055 »

I cleared the EEProm and reinstalled v2.3 but it still dose the same thing... As soon as it starts to lift off of the ground all 4 motors immediately start slowing down and then accelerating again. If i push it strait up to around 2/3 throttle (it hovers around 1/2) it takes off and then immediately drops to the ground... any suggestions?

brewski
Posts: 483
Joined: Tue Apr 29, 2014 12:04 am
Location: Cleveland Qld Australia

Re: Multiwii Beginners Guide to Basic First Flight

Post by brewski »

Hold quad firmly from below & with either USB or Bluetooth connection to MW Config slowly increase throttle & watch sensor graphs & motor speeds. When quad is close to weightless move it quickly pitch forward /back & roll left/right & it should resist quite firmly. Watch for any hesitation or stopping of motors.
When holding quad like this you can easily feel vibrations as well as see them on sensor graph lines. You need to minimise these vibrations or power loss & unstable hover will result due to Gyro/ACC attempting to correct for these.

brandon3055
Posts: 16
Joined: Fri Aug 01, 2014 6:47 am
Location: Tasmania

Re: Multiwii Beginners Guide to Basic First Flight

Post by brandon3055 »

Hmm... I think that has reviled the problem...

The Accelerometer and Gyro look very stable but the Magnetometer is all over the place so i suspect it is picking up interference from the 4 in 1 esc mounted directly bellow it... Other then that everything works fine it fights to stay level and there is some vibration but it is barley noticeable.

So now i have to figure out where to put the esc... it might be tricky because it is almost exactly the same shape and size as the controller so directly under the controller is perfect anywhere else just wont look as good... i will try under the quad but that will require me to redesign the battery mount and may still be to close to the controller.

brewski
Posts: 483
Joined: Tue Apr 29, 2014 12:04 am
Location: Cleveland Qld Australia

Re: Multiwii Beginners Guide to Basic First Flight

Post by brewski »

Magnetometer will not cause the issues you have reported. Magnetic interference from wiring etc will only cause quad to deviate from course. The best solution is to use an external mag board (or combined GPS/Mag) plugged into I2C port. On your 328P you would require an interface board,so if you are serious about GPS you will buy a Crius AIOP V2 for which no interface board is required & you can run MW 2.3 Navi B7 with the Atmel 2560.
To troubleshoot you problem, as I previously mentioned you should not have any sensors selected in Aux.
Set up a 3 way switch with-
rear position - nothing selected
centre position - Angle (not really required anymore)
forward position- Horizon

If you only have a 2 pos switch make OFF select nothing & ON select Horizon.

Even though you have nothing selected with the OFF or Rear position Gyro is always on otherwise a multi could never fly!
Gyro is Acro mode so no auto levelling. This is the mode you should be in to adjust TX digital trims so that quad does not drift.
After adjusting TX trims then enable either Angle or Horizon. Note if quad drifts or tilts. Land & use TX ACC stick commands (see Wiki) to trim ACC & retest.
After trimming ACC you should not calibrate ACC by using PC, smartphone or TX stick command or ACC trimming will be lost.

brandon3055
Posts: 16
Joined: Fri Aug 01, 2014 6:47 am
Location: Tasmania

Re: Multiwii Beginners Guide to Basic First Flight

Post by brandon3055 »

You caught me just after i finished the rebuild and it did remove all of the interference affecting the magnetometer but as you predicted it didnt fix the problem. But i am still happy i did it because it looks a lot better now and i was able to improve vibration isolation.

I am just getting started with quads so for the moment i dont plan to do anything with GPS.

I only have a 2 way switch on my TX but I tried what you suggested and it didnt make any noticeable difference ether way... Im starting to think i should make a separate thread for this problem...
What are the PID setting supposed to be by default? mine are currently set to http://imgur.com/UYxGksz

Edit: I think i got it i had the Magnetic declination wrong and i adjusted the min throttle so the motors would idle at 0 throttle (i didnt think that would be important for it to fly) and it seems to have fixed the problem!! I cant do a lot of testing until morning when i can fly outside but it hovers now atleast.

It dose sound like the motors are rapidly spading up and slowing down but im guessing that is just the stabilization at work.

brewski
Posts: 483
Joined: Tue Apr 29, 2014 12:04 am
Location: Cleveland Qld Australia

Re: Multiwii Beginners Guide to Basic First Flight

Post by brewski »

Hi Brandon,

Glad you got it sorted, now go & enjoy your new toy!
If you read the Beginners Guide you will see the importance of Min Throttle.
Cheers..B

brandon3055
Posts: 16
Joined: Fri Aug 01, 2014 6:47 am
Location: Tasmania

Re: Multiwii Beginners Guide to Basic First Flight

Post by brandon3055 »

Just one more thing i want to ask. It flies now but it is very shaky and unstable in the air i have done everything i can to reduce vibration and what vibration there is is barely noticeable.
Would this be a result of the vibration or do i need to adjust the PID settings?
Also you mentioned that v2.3 is extra sensitive to vibration would it help to downgrade to an earlier version?
(i haven't adjusted the Gyro filter yet)

brewski
Posts: 483
Joined: Tue Apr 29, 2014 12:04 am
Location: Cleveland Qld Australia

Re: Multiwii Beginners Guide to Basic First Flight

Post by brewski »

brandon3055 wrote:Just one more thing i want to ask. It flies now but it is very shaky and unstable in the air i have done everything i can to reduce vibration and what vibration there is is barely noticeable.
Would this be a result of the vibration or do i need to adjust the PID settings?
Also you mentioned that v2.3 is extra sensitive to vibration would it help to downgrade to an earlier version?
(i haven't adjusted the Gyro filter yet)

Why not?
Unless you have balanced motors plus installed quality CF or Composite balanced props & adapters, setting the MPU 6050 Gyro/ACC LPF filter is mandatory. Try 42Hz as starting point.

brandon3055
Posts: 16
Joined: Fri Aug 01, 2014 6:47 am
Location: Tasmania

Re: Multiwii Beginners Guide to Basic First Flight

Post by brandon3055 »

Yup that fixed it! It flies steady as a rock now.
The reason i didnt do it strait away was because i thought it was only as a last resort and i thought my vibration isolator (AKA Block of foam) would remove the very small amount of vibration in the frame.

Thank You for all of your help!!!!!!

waltr
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: Multiwii Beginners Guide to Basic First Flight

Post by waltr »

Bump- This thread really needs to be a sticky and pinned to the top of this forum.
Any moderators around to do this?

Post Reply