Contents
|
Quadrocopter MultiWii 2.3 HK board
Because the partly self constructed controller hardware did not seem to be very stable in function, I decided to buy a new controller (Mega) board from company http://www.hobbyking.com (Multiwii and Megapirate AIO Flight Controller V. 2.0) for about 42 EUR, including barometer and compass. A connection for a GPS module is also provided.
So, I will try another start with the updated MultiWii software version 2.3 (2013-11-09).
This documentation just tells the important details, and not the basics. If you are a beginner, please read first the documentation at http://www.multiwii.com.
The MultiWii Configuration Program is a very helpful program to change control (PID) parameters and adjust sensors.
You have to take care to always match the version number of the MultiWii control program and configuration program, otherwise it may not work.
In order to make changes to this program, you have to setup your own development environment.
Features
Supported MegaPirateNG and MultiWii firmware
- Up to 8-axis motor output
- 8 input channels for standard receiver
- 4 serial ports for debug/Bluetooth Module/OSD/GPS/telemetry
- 2 servos output for PITCH and ROLL gimbal system
- 1 servo output to trigger a camera button
- 6 Analog output for extend device
- A I2C port for extend sensor or device
- Separate 3.3V and 5V LDO voltage regulator
- ATMega 2560 Microcontroller
- MPU6050 6 axis gyro/accel with Motion Processing Unit
- HMC5883L 3-axis digital magnetometer
- 1° to 2° Degree Compass Heading Accuracy
- MS5611-01BA01 highprecision altimeter
- FT232RQ USB-UART chip and Micro USB receptacle
- On board logic level converter
Sizes
- Dimension: 50mmX50mm
- Height: 11.6mm
- Fixing hole spacing: 45mm
- Hole diameter: 3mm
- Weight: 14.2g
Includes
1 x AIO PRO FC, PRODUCT ID: 387000007 (MultiWii config.h: #define CRIUS_AIO_PRO_V1)
- 3 x 3Pin to 1Pinx3 cable 100mm
- 1 x 3Pin to 3Pin cable 100mm
- 1 x Molex 1.25mm 4Pin cable 100mm
- 1 x Molex 1.25mm 6Pin cable 100mm
- 1 x Molex 1.25mm 8Pin cable 100mm
Hardware Test
Arduino Mega board needs +5 V.
The up to date version of Arduino software is now 1.0.5.
The first test is to connect the HK board via micro-USB cable to the PC.
The PC has seen the USB-Serial chip and tells /dev/tty.usbserial-A8020ED5 (Mac OS X 10.9).
Starting the Arduino software and upload program Examples/01.Basics/blink. It works.
Setup Development Environment for MultiWiiConf
Because I have not found any good description how to compile the MultiWiiConf program under MAC OS X, I like to describe that for reference.
Although the MultiWiiConf program opens in Arduino you need Processing to compile it, see link. It has a similar GUI than the Arduino GUI.
Description:
- Processing is an open source programming language and environment for people who want to create images, animations, and interactions. Initially developed to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing also has evolved into a tool for generating finished professional work.
Installation:
You download the file processing-1.5.1-macosx.zip and double click on it. This will give the folder Processing.app.
- Download the controlP5 library (controlP5.zip), see link, and expand it via double click.
Right click on Processing.app and select show package content, it will be shown in a new Finder window.
Find the folder /Contents/Resources/java/modes/java/libraries
Copy the unzipped folder controlP5 to the folder libraries, mentioned in the previous line.
Start Processing.app via double click and see in the menu under /Sketch/Import Library... if it shows controlP5.
Create a new folder with name Sketchbook and copy the MultiWiiConf source to this folder.
In menu /Processing/Parameters/Sketchbook location locate your Sketchbook folder.
Use:
Now you can open via menu /File/Sketchbook/... your application program MultiWiiConf....
To test/compile click on the button Run.
- To export the compiled program for Linux/MAC OS X/Win32 click on menu /File/Export Application.
Temporary files go to /var/folders/S0/S0aRqmw0F44AMaD81SIw2k+++TQ/-Tmp-/MultiWiiConf_dev_201110062865880771076354225temp
The folder /var can be reached via Finder menu /Go to/Go to folder.
NEO-6M GPS board
The Ublox NEO-6M module has the following features:
- Voltage: 2.7 - 3.6 V
- Interface I2C, UART, USB
- Baud rate: default: 9600, set with u-center (Windows7) to 38400
The file NEO6M_MultiWii_config_149913271X916941X57.pdf shows the changes in the MultiWii file config.h.
When the yellow LED blinks, then there was no GPS fix up to now. After that:
- 1 x blink = 5 satellites found
- 2 x blink = 6 satellites found
- 3 x blink = 7 satellites found
The Hobbyking board has the following interface, see Neo6m_schematic_512530569X967X52.jpg:
- Voltage +5 V, with regulator for 3.3 V
- 4 pin connector has UART interface only
The data and supply connection to the Hobbyking MultiWii board is documented in MultiWii_AIO_MuliWii_Gaza07_998673411X846863X42.pdf, page 3.
Links
List of pages in this category:
-- RudolfReuter 2013-11-17 18:43:51
Go back to CategoryQuadrocopter or FrontPage ; KontaktEmail (ContactEmail)