Baseflight aka multiwii port to stm32

Re: Baseflight aka multiwii port to stm32

Postby Crashpilot1000 » Sun Jan 06, 2013 7:56 am

Hi!

I did another Version. This time it is called 3c because the althold is not altered from the previous version. I put the whole mwii main PID controller to more precise float variables and introduced a proper "delta time". It flies so well and locks so good on my rig i just want to make you take part. Take your normal PIDs and take it for a spin. It will fly like you will expect. Than add "1" to your normal Nick/Roll P Pids and you will see what i mean. LOL STM does that for free! It flies like on steroids. Besides that i included the Spektrum fix so it is based on r240. This flies so ridiculously good i have to post it, sorry :).
Just flies/locks better, Althold unchanged good :).

Cheers
Kraut Rob
Attachments
Harakiri03c_Autodetect_r240.zip
For older Naze with no MPU
(65.28 KiB) Downloaded 25 times
Harakiri03c_MPU_r240.zip
Preset for actual Naze32 Rev4 (tested and flown)
(65.24 KiB) Downloaded 27 times
Harakiri03c_r240_Source.zip
Original and altered Version for comparison
(224.09 KiB) Downloaded 31 times
User avatar
Crashpilot1000
 
Posts: 494
Joined: Tue Apr 03, 2012 7:38 pm

Re: Baseflight aka multiwii port to stm32

Postby jy0933 » Sun Jan 06, 2013 8:18 am

does anyone know if the MMC10 is the rebranded FF?

thx
jy0933
 
Posts: 180
Joined: Wed Jun 27, 2012 4:24 pm

Re: Baseflight aka multiwii port to stm32

Postby timecop » Sun Jan 06, 2013 8:25 am

jy0933 wrote:does anyone know if the MMC10 is the rebranded FF?

thx


I never figured that out since they became too expensive.
From what others said in FF thread on RCG, it is same/mostly same, but schematic for this stuff never appeared, so I didn't bother investigating further. It's still stm32 so its probably just a matter of mapping correct PWM pins and you can use it.
timecop
 
Posts: 1433
Joined: Fri Sep 02, 2011 4:48 pm

Re: Baseflight aka multiwii port to stm32

Postby a944734 » Sun Jan 06, 2013 4:33 pm

Gimbal wrote:tnx TC, still in MW :-)

Naze32AIO is really cool, just what I'm looking for, next on my wish list is sbus, it's not possible to get cppm from futaba r2008 and i would like to access the other port's and I'm kind a stuck with futaba but if anybody know a small suitcase friendly 8ch cppm system I'm all ear


I am using a FRSky TFR4-B receiver with my Futaba T12FG. Using a single CPPM connection cable - working just fine
a944734
 
Posts: 23
Joined: Mon Sep 03, 2012 9:09 pm

Re: Baseflight aka multiwii port to stm32

Postby Gimbal » Sun Jan 06, 2013 5:46 pm

Well god for you, FG uses FASST, unfortunately t8j has a different system S-FHSS so they are not compatible
and there is no chance to get CPPM from that system, any way thnx for the tip.
Have looked at S-BUS to PPM converter with 328p(do have working code and layout)
but system on system is not appealing, has an working progress with S-BUS implementation to
Baseflight, just need to get my heading right(started yesterday with Baseflight so i got some homework to do)

Anders
Gimbal
 
Posts: 138
Joined: Tue Jul 24, 2012 7:14 pm
Location: Sweden

Re: Baseflight aka multiwii port to stm32

Postby Gimbal » Sun Jan 06, 2013 5:54 pm

Hi except from Afroflight32 i also got one Abusemark STM32 dev board, tried to get it to work as a FC but after successful flashing Baseflight.hex i got blinking green led but no communication with Naze32 AIO, what did i miss ?
Gimbal
 
Posts: 138
Joined: Tue Jul 24, 2012 7:14 pm
Location: Sweden

Re: Baseflight aka multiwii port to stm32

Postby timecop » Sun Jan 06, 2013 5:58 pm

Did you hookup a random sensor board to I2C, add pullups etc? devboard has no sensors on it, and (repeatedly blinking) red/green sequence = panic code for no gyro detected.
timecop
 
Posts: 1433
Joined: Fri Sep 02, 2011 4:48 pm

Re: Baseflight aka multiwii port to stm32

Postby Gimbal » Sun Jan 06, 2013 6:05 pm

Nop just did a dry bench test, the green blink is apr 1sec on off, will try with a GY86, think it has pullups
Gimbal
 
Posts: 138
Joined: Tue Jul 24, 2012 7:14 pm
Location: Sweden

Re: Baseflight aka multiwii port to stm32

Postby Crashpilot1000 » Mon Jan 07, 2013 8:21 pm

Hi !

I did a little improvement of the althold. When descending it will not do an initial hight gain anymore. Just a small update. "Harakiri04" has the 03c changes as well. Feel free to test.

Cheers
Kraut Rob
Attachments
Harakiri04_r240_Source.zip
Source
(224.68 KiB) Downloaded 24 times
Harakiri04_MPU_r240.zip
(65.19 KiB) Downloaded 25 times
Harakiri04_Autodetect_r240.zip
(65.36 KiB) Downloaded 21 times
User avatar
Crashpilot1000
 
Posts: 494
Joined: Tue Apr 03, 2012 7:38 pm

Re: Baseflight aka multiwii port to stm32

Postby Benzel » Tue Jan 08, 2013 8:23 pm

Hi, still doing some tests to get the minimosd working with my naze32 board. Almost everything works now fine, GPS, PID, Altitude and artificial horizon.
But if i arm the motors the osd freezes if i unarm everything works again. I tested this also with the MW-WinGUI all sensors are read correct but if you arm the board everything stops?

Does someone use the FrSKY Telemetry adapter that TC sells, it should have the same problem if you arm the motors?
Benzel
 
Posts: 13
Joined: Thu Jun 28, 2012 7:07 pm

PreviousNext

Return to Software

Who is online

Users browsing this forum: No registered users and 1 guest