HobbyKing.com New Products Flash Sale
pm1's blog
Archive for July, 2012
Posted by pm1 | Jul 20, 2012 @ 11:13 AM | 2,186 Views
Stm32 multwii version (based on rev 183 of baseflight):
Link
(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 @ 11:11 AM | 4,076 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.
http://www.mentor.com/embedded-softw.../lite-edition/

Follow these instructions to install Eclipse and some Plugins (rest not neccessary)
http://www.stf12.org/developers/ODeV.html

Eclipse:
http://www.eclipse.org/downloads/
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 http://afrodevices.googlecode.com/svn/trunk/baseflight 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
cortex-m3
...Continue Reading
Posted by pm1 | Jul 01, 2012 @ 05:30 AM | 2,307 Views
Ok, let' s start. A picture is worth a thousand words...
Name: IOI.jpg
Views: 578
Size: 149.8 KB
Description:

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

Software: https://github.com/pm1/MultiWii_pm

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)