iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.11k stars 1.47k forks source link

Support for CRAZYBEEF4SX1280 with ELRS SPI #7638

Closed RipperGOT closed 2 years ago

RipperGOT commented 2 years ago

Hello friends, would it be possible to support this controller? Currently only Betaflight supports it. Yes, beta is fine, but I love INav!😍 This board are mounted on HM Crux3 NLR

51T9nlIV9gL _AC_SY450_

This is the page where they give you support.

https://github.com/betaflight/betaflight/pull/10788#issue-916086532

dzaro-dev commented 2 years ago

I would also love to have INAV on this little guy. It's built for INAV because this is a slow cruiser made for short waypoint missions and simple flying, not for full acro race style flying! INAV would be perfect for this!

Sjullep commented 2 years ago

I would like to have this too for the DarwinFPV Tiny Ape

mirov commented 2 years ago

As strange as it sounds, I'm trying to use this controller for a small fixed-wing. It offers great integration, a ELRS receiver, and a boost converter to give things 5V. It would be nice if the boost would let me drain the cell down to ~2.4V (I'm using a LION, so that's OK). It has a serial port based receiver, so it getting this to run with INAV as simple as a new target.c and target.h set of files ?

RipperGOT commented 2 years ago

Well, looking at the problems for future updates with SPI, and the problems getting it to work right in Betaflight. I think we can close this.

mirov commented 2 years ago

I have been using this FC with INAV for a bit now (fixed wing). The ELRS receiver apparently has both SPI and serial interfaces. At least mine works with a serial interface, I'm just ignoring the SPI port (if it is really there). Anyway, here are the files that make it work for me. I have a GPS hooked up to UART2, and though it doesn't have a barometer it has flown OK (at least until I crashed the plane).

-Russ

On Sun, Jul 3, 2022 at 4:30 PM RipperGOT @.***> wrote:

Closed #7638 https://github.com/iNavFlight/inav/issues/7638 as not planned.

— Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/7638#event-6923907525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJFJKUSUCDNJYFHVBDMM7LVSIO7ZANCNFSM5JA3Z6WA . You are receiving this because you commented.Message ID: @.***>

KondratokGK commented 5 months ago

I have been using this FC with INAV

How do you do it?

mirov commented 5 months ago

That's a very broad question. Have you tried already to put INAV onto that FC and had trouble ? If you are asking how to do that (I've supplied a tar file with the target source files), you'll have to learn a lot more first...

On Mon, Apr 22, 2024 at 12:46 AM KondratokGK @.***> wrote:

I have been using this FC with INAV

How do you do it?

— Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/7638#issuecomment-2068711380, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJFJKTYDEU6KQQUOXZQLQLY6S56BAVCNFSM5JA3Z6WKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBWHA3TCMJTHAYA . You are receiving this because you commented.Message ID: @.***>

donataso commented 4 months ago

@mirov Could you please add the files you mentioned? They seem to not be attached to the comment.

I'm completely new with iNav, so it would greatly help me start with F411SX1280 configuration.

mirov commented 4 months ago

If you are new to INAV, honestly I wouldn't use this controller (though I have several myself). The new version of INAV no longer supports the STM32F411 processor that is used on this controller, so you'll have to use an older 6.x INAV. Also, this is a 1S only controller, and I've found that for even a small fixed wing 1S just doesn't provide enough power (for long enough anyway) to make it all work well. 2S is available on newer versions of the controller and would probably make things much better (though heavier).

Here's a 6.1.0 .hex file however, along with the target.c and target.h files if you'd like to make any changes. Depending on how you hook things up you may need to play with it a bit.

-Russ

On Sat, May 11, 2024 at 12:41 AM Donatas Olsevičius < @.***> wrote:

@mirov https://github.com/mirov Could you please add the files you mentioned? They seem to not be attached to the comment.

I'm completely new with iNav, so it would greatly help me start with F411SX1280 configuration.

— Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/7638#issuecomment-2105618153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJFJKXBC7KDNG42BZBLQ43ZBXDT3AVCNFSM5JA3Z6WKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJQGU3DCOBRGUZQ . You are receiving this because you were mentioned.Message ID: @.***>

sensei-hacker commented 4 months ago

As I recall, the plan is to drop F411 for INAV 8.0. So it should compile under 7.1.1.

We aren't accepting NEW F411 targets since the next version may not support them.

MrD-RC commented 4 months ago

INAV 7.1 was the last release with new F411 targets. F411 is not good enough for a modern FPV setup. It is slow, has too little flash, and only 2 UARTs.

donataso commented 4 months ago

@mirov You're probably attaching the files to the email reply, but they are not added to the comments: https://github.blog/2011-03-10-reply-to-comments-from-email/#:~:text=Email%20attachments%20are%20currently%20ignored.

Could you please email them to donatas.o@gmail.com?

The drone I have is not exactly one above, but very similar: hglrc rekon3. It's HGLRCF411SX1280V2 on betaflight and should be quite similar, that's why I believe your config would be a great starting point for me.

I specifically want to use this 1s drone as it's super light and my use case is taking it with me when hiking or backcountry skiing in the mountains for checking the path ahead. For this I need it to fly a bit more DJI-like instead of fpv. Adding gps and installing iNav should give it this ability.