Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Runcam phoenix 2 jb edition uart problems
#1
Hi guys first time posting here. Go easy lol.

Hardware im using f722 basic
Run cam phoenix 2 jb edition
Skyzone 02x
Bf 4.2.9

I have a query hoping you all can help.
I have a run cam phoenix2 jb edition.
From whst I've read it is possible to use betaflight to set up the cam osd.
I have wired it correctly, checked and double checked. I'm using a spare uart. I've enabled run cam for said uart port in the periphials
I'm using uart 2.
When I plug in a battery and look through the goggles the in the top right does actually say Uart control. However, when I try and use the stick command, throttle mid yaw right. I can't access the cam osd.

Attached images show how I have wired it up.


My thoughts are that I need to uninvert that uart 2 port. Just a guess.

Does anyone know if its possible and how to uninvert a specific uart port, as apposed to all of them in the cli?

Does anyone have any ideas on what this problem could be.


Thanks guys
Reply
Login to remove this ad | Register Here
#2
Don't see your photos.
https://intofpv.com/t-how-to-upload-pictures

On an F7 FC, you don't need to uninvert anything. Camera control should use a normal UART.

Can you post new photos and dump file.
Reply
#3
Thank you for the reply been trying to find material on this issue for a week now .

first of all the images were just screenshot from online regarding the correct pin out for the cam osd to work. 
i can assure you that i have soldered them correctly. rx to tx, tx to rx.

heres my dump file attached.

the strange thing is here that i had to use the command in the cli set serialrx_inverted = off in order for my xm
+ to work. i tried all the different availble uart ports but noting worked till someone suggested i try that command.
Finally it worked and i had stick input.

i have the xm+ in the dedicated reciever uart port, port 1.

I hope ive ansered everything u need please if im missing or not explaining anything tell me and ill do my best to make it clear.

to be clear i have soldered to uart  2 for the rx and tx for the run cam 
uart 1 is for the xm+


Attached Files
.txt   dump.txt (Size: 35.6 KB / Downloads: 71)
Reply
#4
Serialrx_inverted is specific for Frsky receiver because SBUS is an inverted serial protocol. Most other peripherals use normal non-inverted serial. Including camera control.

Everything in the dump looks correct. Make sure your endpoints for your stick is 1000-2000. Otherwise BF sometimes do not enter the camera OSD.

There is two settings I think is correct. But there is no documentation regarding what they are. I found a thread where someone had to change these settings to get his control to work. But that was with INav.

set rcdevice_protocol_version = 0
set rcdevice_feature = 0
Reply
#5
Thanks for getting back to me and taking the time mate.
So you're saying that it was right that I use the serialrx_inverted = off in order for the frsky xm+ to work?

This command only worked when I had the xm+ wired up to the default uart1. When I tried it with other uarts it didn't. Which I find strange as it should work with whatever uart I have enabled in the ports tab right?

Don't want this post to be about the dreaded xm+ really as I'm more concerned about the camera control. Just conscious that they may be related somehow.

I set up my end points yesterday and still having the same problem. Wondering if it could be related to pal and ntsc so I'm gonna try change that later.

As for the cli commands your suggested, I'll give them a go when I'm back at the bench.

I've opened support with hobby rc and they're of the opinion to open a ticket with runcam. I think that this is obviously the diatone mamba f722 problem myself.

Any other information would be great.

Thanks for taking the time to help
Reply
#6
Serialrx_inverted is a little bit confusing. Serialrx_inverted by default is off, meaning it will expect an inverter signal when you select SBUS protocol. If you select a non-inverted signal like IBUS or DSM, it will expect a non-inverted (normal serial signal). The firmware automatically handles the internal switching of the inversion with F3 and F7 MCU based on the signal protocol you select. because natively these MCU have this capability to inverter uart. So you are correct to leave it on serialrx_inverted = OFF.

Not related to Ntsc and Pal

By default the CLI settings I posted above are "0". But I have seen these set to different values. I don't know what these different values represent.
[-] The following 1 user Likes voodoo614's post:
  • Lemon Turtle
Reply
#7
i have tried everything recommended to me with no luck.
I have tried your cli commands voodoo, and nothing has changed for me.
Thank u for taking a look at my dump, do u have any more suggestions ??
Reply
#8
I really do not see any benefits to using UART based camera control which is why the idea is not widely adopted by all manufacturers. All those dreams about Runcam providing firmware updates never came true for uart control nor did getting gyro data from the camera mean much to the FPV community on the Racer 5. 

Simple joystick control does everything the uart based control does for setting up the camera.

On the Runcam cameras with joystick control and uart control you can flip between the two by powering up the camera with the ground wire connected to the osd wire. 

Watch JB's video to switch between joystick control and uart control: 



You do not have to snip of the connector like he has shown. You can just short the pins on the other plug using a flat head screw driver pressing the pins. I let you think about how you want to do it.

Once you connect it for joystick control then all you need is a pad with a dedicated timer. You may or may not need a resistor. The LED pad is the most commonly used and in most cases we can get away without soldering an inline resistor. Finally setup Betaflight for camera control using Oscars guide: https://oscarliang.com/fpv-camera-control-fc/
Reply
#9
Cheers kafie really like that idea as an alternative to this problem.
I should think in time the uart connection for the osd will be pretty much the norm on f7 flight controllers. Little old me jusg trying to get ahead of the game
?.

I said yesterday that I'm waiting on RunCam to get back to me well they did.

Check out my attached pic.

Does anyone have an idea as to why. I would have to remove said piece. Before I attempt to remove it and potentially damage my camera I'd like to know a little more.

I assume they have old motherboards they're using that have this piece and is preventing the uart control.

Voodoo you have any idea?

Cheers guys
Big Grin


Attached Files Thumbnail(s)
   
Reply
#10
(31-Jul-2021, 07:56 AM)Lemon Turtle Wrote: Cheers kafie really like that idea as an alternative to this problem.
I should think in time the uart connection for the osd will be pretty much the norm on f7 flight controllers. Little old me jusg trying to get ahead of the game
?.

I said yesterday that I'm waiting on RunCam to get back to me well they did.

Check out my attached pic.

Does anyone have an idea as to why. I would have to remove said piece. Before I attempt to remove it and potentially damage my camera I'd like to know a little more.

I assume they have old motherboards they're using that have this piece and is preventing the uart control.

Voodoo you have any idea?

Cheers guys
Big Grin

I am not aware of anyone reporting a capacitor removal being suggested by RunCam support. Why?
Reply
#11
They're asking me to remove it so UART control will work?
Reply
#12
Might as well follow their instructions.

Although I still wonder why they had it there in the first place.
Reply
#13
I am out of idea. But I am not sure if I would go to the analog Camara control either. Emulated camera control is hit or miss at best. UART camera works much better. Not so much in this case. But UART control is the better choice.

Before I snap of anything, I probably try the UART camera control on a different FC. Personally, I probably would buy another camera and save this one for another build.

Camera control is actually more trouble than they are worth. I usually use the joystick, adjust my settings and never touch them again. Honestly, most of my cameras are just on the default settings.

I have spent endless hours troubleshooting camera control in the past to end up not even using it.
Reply
#14
Hey guys

Thanks for all your help and replies.

So as you can see here runcam are shipping boards that claim to have uart capability with simple set up. However this is not the case.

As much as I don't mind soldering. Its a bit of a liberty having to pull this little piece out the motherboard just to have uart control.

Hopefully if anyone else has this problem they can find this thread to help them out.


Attached Files Thumbnail(s)
   
Reply
#15
You might want to contact Joshua Bardwell and inform him about this ([email protected]). One of the "selling points" of the RunCam Phoenix 2 JB Edition camera is that is has UART camera control whereas the non JB edition doesn't. But if you have to start removing components from the circuit board of the camera to get that functionality working then it makes a mockery of that particular selling feature. I'm sure JB won't be too happy about that for a product that has his name on it.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Problems upgrading to BF 4.x Jonnie Tesla 3 143 03-Mar-2024, 10:38 PM
Last Post: SnowLeopardFPV
  SpeedyBee F405 power and UART Q husafreak 9 681 22-Dec-2023, 05:48 PM
Last Post: husafreak
  Help Problems with TBS Vendetta and Airmode Oki 3 191 29-Oct-2023, 06:13 PM
Last Post: Oki
  Mamba 411 16x16 Full UART for CRSF CLI jasc 35 9,408 23-Sep-2023, 10:41 PM
Last Post: GSixx8
Star Old Betafpv F405 V1.3: third UART or how did I get RX6 for UART6 mnn 6 1,606 12-Apr-2023, 10:14 AM
Last Post: romangpro


Login to remove this ad | Register Here