Hi guys!
I shared port of BaseFlight-20131126 (with MultiWii 2.3 features) for STM32F4-DISCOVERY board + GY-86 sensors board (mpu6050 + hmc5883 + ms5611).
Project was created for CooCox CoIDE 1.7.5 (with toolchain arm-none-eabi-gcc 4_7-2013q3). It's free powerful IDE with user-friendly GUI, debug out from the box etc.
http://www.youtube.com/watch?v=1FZdLTwO87M
Details is here https://github.com/mahowik/MahoRotorF4-Discovery
thx-
Alex
Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
- Crashpilot1000
- Posts: 631
- Joined: Tue Apr 03, 2012 7:38 pm
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
Thank you & SergDoc very much for kicking that off!
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
Cool, but where's the innovation? All the drivers are from jihlein's aq32 port which was originally based on baseflight
drv_gpio is still F1 version..
drv_gpio is still F1 version..
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
I'm not talking about innovation. This is just plug and play project with cool free IDE.
Anyone who want to evolve this for STM32F4 can just take it and play e.g. with new heavy algorithms based on powerful 168mhz F4 processor.
Also price! STM32F4-DISCOVERY + GY-86 it's only about 35-40$ with shipping... Fly controllers with similar STM32F4 processor + sensors have a price about 150$ now...
thx-
Alex
Anyone who want to evolve this for STM32F4 can just take it and play e.g. with new heavy algorithms based on powerful 168mhz F4 processor.
Also price! STM32F4-DISCOVERY + GY-86 it's only about 35-40$ with shipping... Fly controllers with similar STM32F4 processor + sensors have a price about 150$ now...
thx-
Alex
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
Oh, OK. I thought innovation would start happening after new hardware is released at appropriate euro-prices.
Well in either case, looking forward to amazing algorithms grafted on the piece of shit that is baseflight, to take full advantage of 168Mhz + FPU.
Well in either case, looking forward to amazing algorithms grafted on the piece of shit that is baseflight, to take full advantage of 168Mhz + FPU.
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
timecop wrote:Oh, OK. I thought innovation would start happening after new hardware is released at appropriate euro-prices.
Well in either case, looking forward to amazing algorithms grafted on the piece of shit that is baseflight, to take full advantage of 168Mhz + FPU.
waiting for st mems devices to appear on your board.
or maxim or bosch devices utilizing spi interface.
but pls - no mpu-60x0 anymore
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
ST MEMS are shit, particularly popular LSM303DLHC. It's too noise sensitive and has internal parasitic/off-frequency resonances.
mpu6050/mpu6000 best choice for now taking into account quality and price
mpu6050/mpu6000 best choice for now taking into account quality and price
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
mahowik wrote:ST MEMS are shit, particularly popular LSM303DLHC. It's too noise sensitive and has internal parasitic/off-frequency resonances.
mpu6050/mpu6000 best choice for now taking into account quality and price
http://www.youtube.com/watch?v=yY8xULg1gUU&feature=player_detailpage&list=UUIq1PaR9qEuyT_N0JqyIVpw
those devices you call shit fly wonderfull.
i assume you must have done something wrong.
as tc mentioned - you did copy quite a few items from another source.
from this i understand you are not aware handling the low level stuff.
i have two st mems board designs in use - both fly wonderfull.
maybe your dc power source is somewhat unusual and injects to much noise.
pls .post pictures of your setup!
- Crashpilot1000
- Posts: 631
- Joined: Tue Apr 03, 2012 7:38 pm
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
Something OT. The Autoquad DIMUv1.1 appeared in the shops http://flyduino.net/DIMUv11-for-Autoqua ... Controller
The salespage doesn't boost you with information - like always.
More info on this is there? http://gc.codehum.com/p/autoquad/source ... _1.h?r=348
What's the point in still using MPU? What's the point in selling that at 70€?
I am really no friend of the Pixhawk but you get the same Hardware + extra STM acc that are potentially better or can complement the MPU readings for half the price.
So many questions in the world and so few answers...
The salespage doesn't boost you with information - like always.
More info on this is there? http://gc.codehum.com/p/autoquad/source ... _1.h?r=348
Code: Select all
#ifndef _board_dimu_v1_1_h
#define _board_dimu_v1_1_h
#define HAS_DIGITAL_IMU
#define USE_DIGITAL_IMU
#define DIMU_HAVE_EEPROM
#define DIMU_HAVE_MPU6000
#define DIMU_HAVE_HMC5983
#define DIMU_HAVE_MS5611
#define MPU6000_ACC_SCALE 8 // g (2, 4, 8, 16)
#define MPU6000_GYO_SCALE 1000
What's the point in still using MPU? What's the point in selling that at 70€?
I am really no friend of the Pixhawk but you get the same Hardware + extra STM acc that are potentially better or can complement the MPU readings for half the price.
So many questions in the world and so few answers...
Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
Hello Alex,
I want to test the same multiwii port for Quad copter flight but I am facing a little problem.I have RC with 4 channels (PWM 50Hz). Additionally I am not interested in barometer and additional features like GPS, PPM & VBAT. What changes are required in the code? I am getting PWM output of constant duty cycle on PE9,PE11,PE12 & PE13. Input from RC receiver has been applied to GPIO pin PA15,PB3,PB4 & PB5. While debugging I have noticed that below condition is only satisfied once
Moreover axisPID[3] data changes with throttle or gy-87(MPU6050+HMC5883L+BMP180) but contents in int16_t motor[MAX_MOTORS]; remain constantly 1000.
Please help of in this regard. Thanking you in anticipation.
B/R
fumer
I want to test the same multiwii port for Quad copter flight but I am facing a little problem.I have RC with 4 channels (PWM 50Hz). Additionally I am not interested in barometer and additional features like GPS, PPM & VBAT. What changes are required in the code? I am getting PWM output of constant duty cycle on PE9,PE11,PE12 & PE13. Input from RC receiver has been applied to GPIO pin PA15,PB3,PB4 & PB5. While debugging I have noticed that below condition is only satisfied once
Code: Select all
currentTime = micros();
if (mcfg.looptime == 0 || (int32_t)(currentTime - loopTime) >= 0) {
loopTime = currentTime + mcfg.looptime;
Moreover axisPID[3] data changes with throttle or gy-87(MPU6050+HMC5883L+BMP180) but contents in int16_t motor[MAX_MOTORS]; remain constantly 1000.
Please help of in this regard. Thanking you in anticipation.
B/R
fumer