inav icon indicating copy to clipboard operation
inav copied to clipboard

Target request: Mamba F405 FC

Open kn8alpha opened this issue 7 years ago • 43 comments

This looks like a good quality, rightly priced F4 AIO FC + 4-in-1 ESC stack.

https://www.diatoneusa.com/store/p587/MAMBA_F405_Betaflight_Flight_Controller_F40_40A_3-6S_DSHOT600_FPV_Racing_Brushless_ESC.html

Except for baro, has everything else one would need for a basic iNav setup.. OSD, 2xUARTs, I2C pads.

Betaflight supports this using Fury F4 OSD ( FURYF4OSD )

kn8alpha avatar Jan 25 '19 12:01 kn8alpha

Yes, NAZA GPS / Mag appears to function well at least in terms of sat links. All I have are BPM180 external baro's and none of the FURYF4 or FURYf4OSD BF or CF targets have this included. Good reason for me to finally get the dev env set up.

chrisogg avatar Feb 08 '19 17:02 chrisogg

Oh and the ~$40 stack performance has been excellent so far. Light weight and quality construction. Running it in a light weight sloss 7" 5/6S LR set-up which would be totally awesome with INAV!

chrisogg avatar Feb 08 '19 17:02 chrisogg

my Mamba F405 FC has been delivered today. So, I'm waiting for a INAV target :-)

Dronitoni avatar Feb 09 '19 20:02 Dronitoni

I've made a target for the MAMBA F405 using inav 2.1 RC2 and tested on my quad with the following HW/features:

X6B ibus receiver BMP280 baro BN880 GPS / USE_MAG_HMC5883 compass Smartaudio to TX805 VTX OSD, Blackbox

I also tested with SBUS (XM+) receiver but getting erratic numbers on the receiver tab. The same RX works with BF with the FuryF4OSD target, so this is an iNav/target problem.

Attached HEX file has iBus default.

dump mamba f405.txt

inav_2.1.0_MAMBAF405OSD hex.zip

MAMBAF405.zip

kn8alpha avatar Feb 17 '19 13:02 kn8alpha

Hello @kn8alpha I'll try your build ASAP (I have a PPM receiver on that quad), the same (external) barometer and a similar GPS/MAG module. I'll let you know.

dentex avatar Feb 17 '19 14:02 dentex

I had missed including the UART inverter related macros in target.h Now SBUS works too, with default CLI parameters.

MAMBAF405.zip

inav_2.1.0_MAMBAF405OSD (2) hex.zip

I haven't tested LED strip and buzzer yet.

kn8alpha avatar Feb 17 '19 17:02 kn8alpha

@kn8alpha please make it a pull request if you want ever to be included in INAV

DzikuVx avatar Feb 18 '19 09:02 DzikuVx

@kn8alpha All seems to be working OK. I'll go out to test it later today. Just one thing: the WS2811_PIN is PA0 :)

EDIT: LOS test done. Again, all good. (I only need to tune that quad. It's a 6'' and flies really bad, for the time being) Thank you very much for your work.

dentex avatar Feb 18 '19 14:02 dentex

@ kn8alpha As you turned on the GPS bn880 and the bn280 barometer together. The compass uses the i2c ports. Where does the barometer weld?

michaelturibio avatar Mar 18 '19 02:03 michaelturibio

@michaelturibio I2C is a multi-device bus. You can connect multiple devices in parallel on the same bus. The controller will use the different I2C device addresses to figure out what's what.

netmute avatar Mar 18 '19 14:03 netmute

Current and rssi, works correctly if, to change them. #define USE_ADC #define ADC_INSTANCE ADC1 #define ADC1_DMA_STREAM DMA2_Stream0 #define ADC_CHANNEL_1_PIN PC1 #define ADC_CHANNEL_2_PIN PC3 #define ADC_CHANNEL_3_PIN PC2 #define VBAT_ADC_CHANNEL ADC_CHN_1 #define CURRENT_METER_ADC_CHANNEL ADC_CHN_2 #define RSSI_ADC_CHANNEL ADC_CHN_3

sergeyprokofev avatar Mar 19 '19 01:03 sergeyprokofev

@kn8alpha I made a PR with your target #4521

shellixyz avatar Mar 19 '19 15:03 shellixyz

@kn8alpha I am running this on my Mamba FC as well. The LED functions dont work properly. I just get white LED's even tho I have set specific colors in the LED tab of the configurator.

Buzzer works fine (using a VIFly buzzer).

I am getting the "NOT OK" message in the lua script. Even after I have over the minimum GPS sats. I can arm and fly, but the "NOT OK" message remains. I set nav_extra_arming_safety = on (i was instructed to do this by another user here to possibly deal with the "NOT OK" message), but I havent tested it out yet to see if I still get the "NOT OK" message after having min sats.

I am also being told that the iteration of 2.1.0 inav you used to make this compiling was an RC and not the stable finished 2.1.0 version. All the Crossfire stuff was not finalized in the RC. Any way you could compile this using the stable and complete 2.1.0 version?

gsixx8 avatar Apr 25 '19 23:04 gsixx8

Hello Would I ask where did you solder RSSI signal? I´m trying to find some information but I got info from Diatone that there is no pad for analog RSSI. I´m thinking about soldering it directly on MCU pin (over RC filter because of RSSI is PWM). Thank you

PitrisN avatar Apr 29 '19 07:04 PitrisN

@kn8alpha would you compile the MambaF405 target again using the current stable version of iNav?

gsixx8 avatar Apr 30 '19 11:04 gsixx8

works with mamba f405 mini?

playermty avatar May 07 '19 22:05 playermty

Since traget is there, we can close it I think

DzikuVx avatar May 09 '19 07:05 DzikuVx

Hi, i started building a fixed wing with this FC, but it doesnt have any servo outputs. Can someone add them to the target?

kekek95 avatar Jun 18 '19 16:06 kekek95

Hello all, I use your Zip file for mamba f405 ,all works good

Today i flash with official mambaf405 2.2 and impossible to connect rxsr with sbus!??? Do you know what is the problem ??? Thancks

SECOUM avatar Jun 23 '19 19:06 SECOUM

Hello,

With both the latest official one and the one here, BMP180 (assume same as BMP085) still doesn't work, stays red. The gps is at UART6, works, as everything else.

pavel4441 avatar Jul 11 '19 08:07 pavel4441