Guide FC-EN

download Guide FC-EN

of 18

Transcript of Guide FC-EN

  • 7/27/2019 Guide FC-EN

    1/18

    DROTEKWeb shop: www.drotek.fr

    MultiWii V2.0Flight Controller

    -

    User manual

    Version 1.0e - 30/07/12

  • 7/27/2019 Guide FC-EN

    2/18

    Rfrence : Indice : Page2 sur 18

    Titre :User manual - MultiWii V2.0 FC

    Table of contents

    1. INTRODUCTION2. SOFTWARE SETUP

    2.1.Getting started with Arduino softwarea. Downloadb. Install

    2.2.Getting started with Multiwii codea. Downloadb. Install

    2.3.Multiwii code setup :config.hfilea. Number of motorsb. Fl ight controller selection

    2.4.Uploading Multiwii code into fl ight controll er2.5.Using Multiwi GUI

    a. Installationb. Usage

    3. HARDWARE SETUP3.1.Setup on your frame3.2.Connecting flight controller

    a. To BEC or LiPob. To receiverc. To ESCs/motors

    4. ADDITIONAL MODULES4.1.GPS4.2.

    Bluetooth

  • 7/27/2019 Guide FC-EN

    3/18

    Rfrence : Indice : Page3 sur 18

    Titre :User manual - MultiWii V2.0 FC

    1. INTRODUCTIONMultiWii is an open source project created by Alexandre Dubus(Alexinparis).

    It was originally combining Wii Motion Plus hardware and Arduinoplatform.MultiWii now supports multiple sensors and IMUs.More information available here: http://www.multiwii.com/

    Even if using MultiWii is simple, even for a beginner, it requires afew hardware and software initial tasks.

    This user manual will guide you through the basic steps to get yourmodel flying.

    This section will explain how to edit setup and upload the MultiWiicode into your flight controller.

    http://www.multiwii.com/http://www.multiwii.com/
  • 7/27/2019 Guide FC-EN

    4/18

    Rfrence : Indice : Page4 sur 18

    Titre :User manual - MultiWii V2.0 FC

    2. SOFTWARE INSTALL

    2.1. Getting started with arduino softwareAs described in the introduction, MultiWii project uses Arduinodevelopment platform.This section will explain how to setup Arduino software on yourcomputer in order to edit and upload MultiWii code into your flightcontroller.

    a. DownloadLatest Arduino software version is available here:http://arduino.cc/en/Main/Software

    Select and download the latest version available for your

    computer/operating system then extract the zipfile.

    b. InstallOpen the extracted folder and Open Arduino program (arduino.exeforWindows users).

    This window will be displayed.

    Arduino software is now installed and ready to use on yourcomputer.

    http://arduino.cc/en/Main/Softwarehttp://arduino.cc/en/Main/Software
  • 7/27/2019 Guide FC-EN

    5/18

    Rfrence : Indice : Page5 sur 18

    Titre :User manual - MultiWii V2.0 FC

    2.2. Getting started with MultiWii codeThis section will explain how to tune MultiWii code to fit yourflying model.

    a. DownloadPlease download the latest version of the MultiWii code availableon this page:http://code.google.com/p/multiwii/downloads/listThe downloaded file should be named as follow:"MultiWii_dev_2012xxxx.zip"

    b. InstallExtract it in a dedicated folder; 2 subfolders will be created:-MultiWii_dev_2012xxxxcontains the code to be uploaded onto theflight controller

    -MultiWiiConf_dev_2012xxxxcontains the user interface to be usedonce MultiWii code uploaded onto the flight controller.

    Move the MultiWii_dev_2112xxxx folder in the Arduino librariesfolder.

    Open Arduino program (arduino.exefor Windows users).Open the Filemenu, in the Examplessection. You must see theMultiWii_dev_2112xxxx in the list.

    http://code.google.com/p/multiwii/downloads/listhttp://code.google.com/p/multiwii/downloads/list
  • 7/27/2019 Guide FC-EN

    6/18

    Rfrence : Indice : Page6 sur 18

    Titre :User manual - MultiWii V2.0 FC

    Click on MultiWii_dev_2112xxxx.It opens the full project code:

  • 7/27/2019 Guide FC-EN

    7/18

    Rfrence : Indice : Page7 sur 18

    Titre :User manual - MultiWii V2.0 FC

    2.3. Multiwii code setup: config.h fileThe MultiWii code is splitted in several files, displayed in

    different tabs in Arduino. Each one of them is dedicated to aspecific functionality (sensors, GPS, LCD screen, etc).config.his the parameters file to be edited in order to fit yourflying model.

    WARNING: Do NOT modify other files unless youre an advanced user.

    Click on the config.htab to enter the code.

    a. Number of motorsMulticopter models can take numerous different designs and

    number of motors.MultiWii code can handle all the listed types of models:

  • 7/27/2019 Guide FC-EN

    8/18

    Rfrence : Indice : Page8 sur 18

    Titre :User manual - MultiWii V2.0 FC

    Identify the type of model you need then uncomment the relevantline in the code (just remove // at the beginning of the line).

    Example, for a quadricopter X (2 front motors, 2 rear motors):

    b.Flight controller selectionNow, you need to select the type of flight controller you areusing.

    Uncomment the #define DROTEK_10DOF_MPUline.

  • 7/27/2019 Guide FC-EN

    9/18

    Rfrence : Indice : Page9 sur 18

    Titre :User manual - MultiWii V2.0 FC

    The MultiWii code is now ready to be uploaded into your flightcontroller.

    Please note this user manual describes only the basics ofMutliWii code. Additional parameters ( rx type, gimbalparameters, etc) can be fine-tuned in the config.hfile.

    Please refer to the MultiWii FAQ for further details:http://www.multiwii.com/faq

    http://www.multiwii.com/faqhttp://www.multiwii.com/faq
  • 7/27/2019 Guide FC-EN

    10/18

    Rfrence : Indice : Page10 sur 18

    Titre :User manual - MultiWii V2.0 FC

    2.4. Uploading Multiwii code into flight controllerIn order to compile and upload the code into the flightcontroller, you need to select:

    -the type of board:In Arduino program: Tools>>Board>>Arduino Pro or Pro Mini (5V,16MHz) w/ Atmega328

    -the serial portNow, connect the flight controller to your PC using a miniUSB-USBcable.

  • 7/27/2019 Guide FC-EN

    11/18

    Rfrence : Indice : Page11 sur 18

    Titre :User manual - MultiWii V2.0 FC

    For Windows users, on first plug, a new device should beautomatically detected and installed.

    Once the message device successfully installed and ready to useis displayed, you can select the relevant COM port in Arduino Toolsmenu:

  • 7/27/2019 Guide FC-EN

    12/18

    Rfrence : Indice : Page12 sur 18

    Titre :User manual - MultiWii V2.0 FC

    Now click on the upload button:

    This will compile and upload the code into the flight controller.You can see compilation progress bar at the bottom-right of the Arduinowindow.

  • 7/27/2019 Guide FC-EN

    13/18

    Rfrence : Indice : Page13 sur 18

    Titre :User manual - MultiWii V2.0 FC

    Once compilation complete, the code will be automatically uploadedinto the flight controller.The red and green LEDs on the flight controller will blink rapidlyuntil Done uploading message appears at the bottom-left of thewindow.

    Congratulations, youve successfully setup your flight controller!

    2.5. Using Multiwii GUIMultiWii code comes with a GUI (Graphical User Interface) whichhelps the user to setup:-sensors recognition-accelerometer/compass calibration-PIDs-rx channels

    You can refer to the MultiWii dedicated section Configuration via

    GUI, available here:

    http://www.multiwii.com/software

    http://www.multiwii.com/softwarehttp://www.multiwii.com/softwarehttp://www.multiwii.com/software
  • 7/27/2019 Guide FC-EN

    14/18

    Rfrence : Indice : Page14 sur 18

    Titre :User manual - MultiWii V2.0 FC

    3. HARWARE SETUPNow your flight controller is ready on the software side, lets seehow to set it up on your flying model.

    SECURITY WARNING:make sure the propellers are OFF the motors before testing.

    3.1. Setup on your frameFirst, you need to identify the front of your flight controller.If youve followed this guide, the front of the FC is the sidewhere the micro-USB port is located.Anyway, you can easily identify flight controller orientation usingGUI.

    Please make sure your flight controller is securely attached toyour model frame and make sure propellers are off the motors. You

    can refer to your frame user manual.

    3.2. Connecting flight controllera. To BEC or LiPoFlight controller can be powered either by LiPo battery (3S only)or ESC BEC.

    You need to setup solder bridge accordingly on the flightcontroller.

    LiPo (3S only):Make a solder bridge between the 2 LEFT pads shown on the pictureand connect your LiPo 3S battery to the dedicated port of theflight controller.

  • 7/27/2019 Guide FC-EN

    15/18

    Rfrence : Indice : Page15 sur 18

    Titre :User manual - MultiWii V2.0 FC

    Powering the FC via by LiPo will allow you to monitor the batteryvoltage. You can connect a buzzer to the dedicated port in order toenable low voltage alarm.You need to edit config.h file in Arduino to enable this option:

    uncomment line dd

    ESC BEC:Make a solder bridge between the 2 RIGHT pads shown on the pictureand connect relevant ESC to port #9 of the flight controller.

  • 7/27/2019 Guide FC-EN

    16/18

    Rfrence : Indice : Page16 sur 18

    Titre :User manual - MultiWii V2.0 FC

    b. To receiverHere are 3 ways to connect your receiver to the flight controllerdepending of your harware:

    -classic receiver: each port of the receiver is connected to theflight controller via jumper servo cables. You can connect up to 5channels: Throttle, Elevator, Roll, Yaw & Aux1

    -PPM receiver: with PPM enabled receiver one jumper servo cablehandles all the channels (number of channels depends of your Tx/Rxhardware).First, you need to enable PPM receiver functionality in config.h

    file: uncomment line #define SERIAL_SUM_PPMThen connect only one servo jumper cable to the Throttle port ofthe fliht controller.

    -Spektrum satellite: as with PPM receiver, all the channels gothrough one servo jumper cable.First, you need to enable Spektrum satellite functionality in

    config.h file: uncomment line #define SPEKTRUM 1024 if youre using

    DSM2 or #define SPEKTRUM 2048 if youre using DSMX.Then connect the Spektrum satellite to the dedicated port of the

    flight controller.

  • 7/27/2019 Guide FC-EN

    17/18

    Rfrence : Indice : Page17 sur 18

    Titre :User manual - MultiWii V2.0 FC

    c. To ESCs/MotorsMultiWii code can handle various types of flying models with different number of motors

    and servos.

    Please refer to section2.3.ato identify which type of model youre flying then connect ESCs

    accordingly to the flight controller.

    If you are planning to use camera stabilization servos, you need to connect BEC to port #10.

    This port will power servos onlyflight controller is isolated from this circuit because

    powered by port #9.

    This way, even in case of overcurrent situation caused by servos, flight controller will not be

    affected - you will still be able to fly.

  • 7/27/2019 Guide FC-EN

    18/18

    Rfrence : Indice : Page18 sur 18

    Titre :User manual - MultiWii V2.0 FC