pm1's blog archive for July, 2012 - RC Groups
pm1's blog View Details
Archive for July, 2012
Posted by pm1 | Jul 20, 2012 @ 12:13 PM | 3,189 Views
Stm32 multwii version (based on rev 183 of baseflight):
(source and hex files)

special features:
- different altitude hold
- different loop time (5ms) (cfg.looptime)

In the pipeline:
Just testing a z axis dampener with acc data. Can be adjusted with cfg.gps_pos_d.
Posted by pm1 | Jul 20, 2012 @ 12:11 PM | 9,170 Views
For those, who need a recipe for a stm32 toolchain to compile baseflight (updated instructions made by CrazyLittle)
Arm Toolchain STM32:

Install CodeSourcery ARM G++ Lite toolchain. During the installation, set the PATH variable for all users when prompted.

Follow these instructions to install Eclipse and some Plugins (rest not neccessary)

Get the one for C/C++ (For Windows user: get the win32 version, unless you know, that you have a 64 bit java version on your computer)

Import the project using "Project from SVN" from as a "project configured using New Project Wizard"
* C-project
* ARM Cross Target App / Empty / Sourcery G++ Lite

I went ahead and deleted the "debug" build configuration because I'm not going to be using a JTAG or doing any on-board debug or sim-debugging.

Once the project is checked out from the SVN, here's the project properties that need to be changed in order to setup the environment properly: Do a "Properties" on the linker script "stm32_flash.ld" that's in the main folder. Copy down the full file path to it in the Resource page. You'll need it for the next step. Open up the properties on the main project folder.
C/C++ Build/Settings/Target Processor
...Continue Reading
Posted by pm1 | Jul 01, 2012 @ 06:30 AM | 3,394 Views
Ok, let' s start. A picture is worth a thousand words...
Name: IOI.jpg
Views: 696
Size: 149.8 KB

First video (quality not very good..):
Mini Quadcopter fun flight (2 min 18 sec)

The list of materials:
Frame: Carbon fiber tubes 10 x 1 mm, carbon fiber plates 1 mm
Motors: C1404-3000 KV 9.6g
ESC: Hobbywing Flyfun 6A
Battery: 2s500 20C
Board: IOI Multiwii
Motor distance: 14cm (5.5")
AUW: 145g
Flight time: 7 to 10 minutes


My changes:

- different altitude hold algorithm
- Bug fix for mag
- different low pass filter factors for gyro and acc
- 7 channels usable with standard ppm receiver (aux1=mode, aux2=d8, aux3=d12)