Closed DangerD256 closed 5 years ago
That's because no software serial pins are configured for the OMNIBUS F4 V3 FC.
Any way to change this? If I flash pro firmware they will work...
No it probably won't work because on the V3 board one of the pins used for softserial on the PRO is used for switching the UART6 inverter. Free usable pins would need to be found to assign to the softserial port for the V3.
PWM5 and 6. If I will flash firmware from omnibus f4 pro to my v3 it works.
Odd. I don't understand how it could as PC8/PC9 used for softserial on the PRO doesn't seem to be connected to the PWM 5 and 6 outputs. Referring to the source code they should be connected to the CH5/CH6 pads on the PRO (CH5/CH6 is not PWM5/6, not the same thing).
Also assuming you were talking about CH5/6 if you are using SBUS and the PC8 pin is really used for controlling the UART6 inverter it would cause issues with your RX link.
My uart6 doesnt work at all. no matter what I do. no rc link, no gps, no smart audio, nothing
@KnuckleUpFPV Off topic. This issue is about softserial. Maybe something happened to your UART6 and it is dead. Can't think of anything else. I know it is working for at least SBUS for other people.
Update: In 1.8.0 UART6 is not working with SBUS but the issue has been fixed in dev and it should be working with uninverted signals (GPS). Also are you sure you did not swap RX/TX lines ?
Soft serial isnt working either. Meant to include that. And no the wires arent swapped. Like I said it works on uart 1 but uart6 will not respond to any input. Sbus, crsf, non inverted sbus. Nothing. Zip zilch nodda. My apologies for being off topic. No one knows why this uart doesnt work. I've been posting anywhere I can get a response. A lot of threads are dead. I'll just throw it out and buy something else. I have 18 other mini quads and 3 wings to fly.
Disregard. They removed ch5 and ch6. I scraped the board from the two very tiny pads by the sd card. Where the ch5 and ch6 were at on the v2. I soldered to them and gps is now working over soft serial. I hope someone else comes here and finds this
The problem looks like similar to mine. I have Matek 405-AIO board and trying to connect frsky S.BUS telemetry throught softserial. Enabling softserial feature does not help, there is not softserial ports at all.
I got soft serial working on the matek. Had to use cli to turn it on. The slider doesnt work in inav
I have tried feature -SOFTSERIAL, save, feature SOFTSERIAL, save it does not help. I am newbie in RC and INAV Can you help me, may be some other feature need to enabled or disabled, or some command is needed to activate s.bus on pin6 ?
First can I ask why you aren't using the non inverted signal from the receiver? Its alot easier. You can pull the none inverted and hook it to a regular uart. And I use the cli command and moved the soft serial slider both. I had to move slider save and then do the cli command. It would be alot better to pull the non inverted signal. There are lots of pics on Google where to solder too. I'm happy to help you. I can't figure out how to post pics in here. You can find me on Facebook and we can use Facebook messenger. My name is Robert Criteser. There is only two of us on Facebook. Myself and my uncle. The pic is of myself and my girlfriend at a new years party. Message me and I can send you pics.
@ekitru S.Bus on UART6 doesn't work in 1.8.0. This is a known bug (see #2642 for an explanation an alpha fix). Also softserial doesn't work with the Omnibus F4 V3 board as no pins has been defined for the RX/TX lines.
He is talking about the matek f405 aio. Not the omnibus
If you use the none v3 firmware you can soft serial on the v3. The pads to solder to, are next to the sd card. They are very small and have to be scraped clean first. They are the spots where ch5 and ch6 is on the v5 version of the board. I have mine working.
I found a non-inverter hack for frsky receivers, but I am using R9 receiver. propably there is a inverter chip c04f on second level board, but currently there is not instructions to how get non-inverted signal from r9 module.
Ah ok. You are using the long range module. I'll dig around and see what I can find for you. I use openlrsng over serial, and i recently started using crossfire as well. Love the crossfire. Saw some test videos on the r9. It works really well.
Let me see what I can find on the r9 receiver.
I also took r9 because of some reviews which shows really good range and stability. Currently I can't find anythinf about uninverted hak for this module. It is took new =(
Ok I have external inverter for my frysky x8r on OmnibusF4V3, it works in BF for software serial but it isnot working here. My hardware inverter from here, and again telemetry works connected to pwm5/pwm6 in BETAFLIGHT: https://github.com/iNavFlight/inav/blob/master/docs/Telemetry.md But these commands not working with INAV as described: set smartport_uart_unidir = ON set telemetry_inversion = OFF Where I wrong or could you please consider to make different firmware that will extend firmware of our FC to use pwm5/6 mapping for softserial. Cause here only 3 UARTS. I cannot use my telemetry with INAV.
Have you tried set sbus_inversion = off It works for my openlrs gear. May work for you.
Cannot figure out how sbus inversion relates to telemetry external inverter in my case?
As was expected, when sbus inv set to off, this disabled inversion on uart6 and receiver stop working. And this had no effect on softserial.
So you don't have a hardware inverter? They can be made very easy. Run both with inverters and sbus inversion off.
So you don't have a hardware inverter? They can be made very easy. Run both with inverters and sbus inversion off.
Have you read my comments above where I mentioned this twice?
Ok I have external inverter for my frysky x8r
My hardware inverter
First off if you are going to be a dick you can find help elsewhere. I meant a hardware inverter built into the board. It's not a hard concept. If using an x8r you could just use the uninverted signal. Good luck to you.
And soft serial works fine on the v4. Had you read above you would see to use the pro target and the small pads by the sd card. It takes a cli command to activate it. And some tiny soldering. Pwm5 and pwm6 are not the pads you soft serial too. When you decide you want to see pics of how its done you can find me on Facebook as I stated above and I can send a pic. Otherwise maybe one of the other gentlemen will help you.
@KnuckleUpFPV Buddy, I'm just trying to keep patience, reading any advices from any people, trying to apply them even they looks strange cause Im very interested, but whats wrong with you? I just point you so I mentioned that I have hw invertion for s.port telemetry, but it doesnt work just it. About pads, they are too small for me dont think I can keep FC unbroken when touch them :smile: But anyway thank you for your help.
Again you missed what I was talking about. A physical hardware inverter on the fc. Inverting the inverter makes it none inverted. Can't make this shit up. Using it none inverted through cli and two external inverters will net two none inverted signals. Do some research on sbus and how it works and you may understand.
@KnuckleUpFPV Are we talking about the same thing, just to be sure? On my FC omnibusf4v3 s.port telemetry from X8R, workin only with external hw inverter like in article I linked. For sbus connected to ppm(uart6) FC already has hw inverter, but Im trying to fix s.port telem and map it to sft serial.
🖒
@shellixyz
Free usable pins would need to be found to assign to the softserial port for the V3.
Also assuming you were talking about CH5/6 if you are using SBUS and the PC8 pin is really used for controlling the UART6 inverter it would cause issues with your RX link.
I can confirm if it helps someone to make this FW better, softserial with discrete inverter for s.port X8R works in BF with PW5/PWM6 with these cli commands for BETAFLIGHT: resource motor 5 none resource motor 6 none resource led_strip none resource serial_tx 11 a1 resource serial_rx 11 a8
my board schematic: https://imgur.com/a/LKdqa
You would have to build a custom firmware. No mapping in inav.
@yohihoy You don't need an inverter for S.Port on softserial
If anybody's interested here's a custom firmware for genuine Omnibus F4 V3 with software I2C enabled on PWM5(SCL) and PWM6(SDA). This frees up UART3 as you can use PWM5/PWM6 instead of SCL/TX3 and SDA/RX3 for I2C. This firmware is based on OMNIBUSF4PRO instead of OMNIBUSF4V3 as I had major issues with compass orientation (BN-880) with original OMNIBUSF4V3 firmware.
Download link: inav_1.8.0_OMNIBUSF4V3_I2C_REMAP.hex
Source code: https://github.com/dolphin78/inav/tree/feature/OMNIBUSF4V3_I2C_REMAP
Big thanks to @andriylysenko for this great idea to move I2C instead of using SOFTSERIAL.
Dolphin you are awesome. I'm currently soldered to the micro pads on bottom that I scraped clean. I will likely pull them and move them over with your build. Thank you for this. You are an absolute help to the community offering a solution like this.
@dolphin78 Do we need to enter some cli command, so this not working out of the box? Configurator doesnt see the compass. When I set magnetometer hardware to auto it reset it to none. https://imgur.com/a/q6LRN
no CLI command is needed. Did your compass work with this board on RX3/TX3 pins before you flashed this firmware?
Yes, it worked, but not now. Thank you for helping with this... Also I noticed that rx3/tx3 was released with fw you shared, and telemetry started to work on uart3. Cause my telem was connected to pwm5/6 and not worked with softserial here in INAV, now its ok on rxtx/3.
Ive just recalled that uart3 shared, so its already set to accept telem and other data.
I'll compare your settings with mine when I get home today.
@yohihoy, I don't see any issues with your config, below is mine for comparison.
I can think of only two things:
What is the compass you are using?
Thank you for these tips.
Im using HMC5983 from Honeywell as part of gps "radiolink se100".
Thank you dolphin78,Your hex worked perfect. Now i have everything I want working.
Dolphin, I'm glad I found this! Setting up an S800 with V3 board and 880 GPS. Can I use UART3 TX for the Smart Audio on my VTX with this custom firmware?
jasoneyes01, never tried it myself. You can try it and share results with others.
The new V3 should be here this week, will post the results. Had alot of problems with the V2 PRO getting everything working not only to have the micro USB fall off the board. Plan B is the V3 board with 2 adjustable DC to DC Buck regulators for 6 volts and 10 volts to power servos and video.
So dolphin, any plans on a 1.9. Thanks
FYI I'm having the same issue with my compass as @yohihoy with your custom hex @dolphin78 . It's an improvement, as before trying it I couldn't have ANYTHING plugged into a UART other than my sbus. Trying to turn on anything else like GPS would cause my receiver to just quit.
Wondering if either of you ever figured out what was happening? Thanks for taking the time to make a custom solution though!
Big thanks to @dolphin78 for source code. inav_1.9.0_OMNIBUSF4V3_I2C_REMAP.hex
Softserial is enabled in configuration tab (also checked in cli) but port doesn't appears in ports tab