DIY Arduino Controled Multiwii Flight Controller (2024)

Introduction: DIY Arduino Controled Multiwii Flight Controller

More by the author:

About: A computer, drone, and Android savvy technician altruistically passionate about curing diseases as a future physician. More About DavidDrones »

This project is to create a versatile yet custom multicopter drone logic-board based on Arduino and Multiwii.

Step 1: Hardware

An Arduino Nano was utilized for processing logic and a MPU-6050 was implemented for gyroscope and accelerometer input.

Step 2: Designing

Download Fritzing. It is a circuit designing software for smaller, simpler circuits. It is one of the most simple yet effective PCB designing software available.

My circuit design is available via the "myPCB.fzz" attachment.

If your sensor is not available in Fritzing by default, you can download the sensor's schematic (.fzz file) and drag the file into the workspace.


  • MyPCB.fzz


Step 3: Fabricating and Assembly

Their are two ways to go about making the PCB from your design. I used the first option while working on this project.

Fabricated the PCB Online

I used SeeedStudio with optimal results at a competitive price.

On Fritzing, export your project as a gerber file.

You can view the design by uploading the gerber file(s) here.

Then create an account on seeedstudio, drag your gerber files into SeeedStudio's fabricate page, and order to the desired specifications.


Solder your components onto your PCB. Consider a 3D printed casing for the flight controller.

Step 4: Setting Up the Controllers Multiwii Code

MultiWii's code is free, easy to use, and it supports many (most) builds.

Download Multiwii and the Arduino IDE.

Connect the flight controller to your computer.

On the computer, open the already downloaded MultiWii folder and open the Arduino file called "MultiWii.ino".

Access to the tab "config.h" and delete the "//", selecting the desired type of multirotor.

Scroll down and enter the minimum and maximum values of your transmitter.

Uncomment the sensors used.

Next, follow the instructions commented throughout the file.

After that, on the top menu of the IDE, click on Tools, Boards, and select the Arduino micro-controller you're using.

Then, click on Tools, Port, and select the computer's port that your controller is on.

Upload the Multiwii code by clicking the button shaped like an arrow.

After uploading, text "uploaded successfully" should appear on IDE.

Step 5: Using the Multiwii GUI

Open your MultiWii folder, click on MultiwiiConf, application.windows32 (or the desired operating system's option), and finally open MultiWiiConf.exe.

On the top left of the window, select the port your flight controller is on and click on start. Sensor Values should show on the application.

On the right, select the sensor type. To calibrate the sensor, slowly move/tilt the flight controller as prompted.

A model of the desired drone should appear on the application. Its movements should mimic the movements of the flight controller.

Step 6: PID Tuning and Calibration Tips

Connect the flight controller to the multirotor to adjust PID values.

Set the PID values to default and ensure the multirotor's center of gravity is in the center.

Carefully hold the multicopter so that your gyroscope's readings in the GUI is flat. Then set the throttle to 50%.

Note: If the accelerometer's readings fluctuate exceedingly, that is in indication of excess vibration. Vibration dampeners may be required to reduce vibrations (I used Double Sided Tape as an alternative solution).

Now while carefully holding your rotor in a safe place, increase the throttle until the multirotor feels weightless.

Put pressure (lean) on each axis of the drone. You should feel resistance against that change. Change the P value until this resistance is notable.

With your hand, oscillate (tilt) the drone back and forth with your hand. On the application, increase the P value until the drone barely starts oscillating on its own. Now reduce the P value a bit. Repeat this process, this time oscillating the drone to the sides (to the left and right).

The calibrated values should be suitable for flight now.

For tuning tips for different types of flight, look at the "Advanced Tuning - practical implementation" section here.

Step 7: Fly!

Feel free to further experiment with the PID values with caution.

If you want to add additional features to your drone, you may consider adding a live stream using a Raspberry Pi or adding Bluetooth capabilities to it.

A special thanks to robobot3112 for aiding me in setting up my flight controller.

If you think this project deserves it, don't forget to vote, favorite, or subscribe.

Feel free to discuss other possible features, ask me a question, or share thoughts in the comment section below.

Have fun flying!

DIY Arduino Controled Multiwii Flight Controller (5)

Participated in the
Circuits Contest 2016

DIY Arduino Controled Multiwii Flight Controller (2024)


Top Articles
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 6315

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.