FPV Camera Control from Flight Controller

FPV Camera Control is a new feature in Betaflight flight controllers that allows you to access your camera setting menu using your radio transmitter sticks.

To change your FPV camera settings such as brightness, contrast, sharpness etc, you normally have to plug in a joystick (a.k.a OSD controller), like this:

Now, with the “Camera Control” feature in Betaflight, you can access the FPV camera settings using  your radio transmitter! This is achieved by emulating OSD joystick inputs in the FC software.

Camera Control is such a great feature because you would be able to adjust your camera settings according to the different lighting condition and environment, allowing your FPV camera to perform the best wherever you fly.

Further Reading: How to choose an FPV Camera for Drones

Hardware Setup

Finding the pin on the FC

First of all, choose a spare pin on the FC to connect to the camera’s OSD control. It doesn’t have to be a UART, any pin with a dedicated timer would do. Timer?! What is it?

If you don’t know what a timer is, don’t worry about it :) Just use the LED_Strip pin or any spare motor output. These pins almost always have their own dedicated timer, and they are perfect for camera control.

Resistor and Connection

You will need to add a resistor in the connection between the FC and camera. The resistor should be 150ohm – 600ohm, the lower the better.

In this example, I am using a 220ohm resistor, connected to the LED_Strip pin on the FC (Kakute F4 AIO V2).

Yes, the required resistor seems to be a hassle, I agree, therefore some newer FC’s have that resistor built-in so you don’t have to do it manually and everything is plug and play. If they do have this feature in the FC, it should be advertised clearly or there should be a pin labelled as “camera control”.

Betaflight will soon use the pin “DAC” as a dedicated camera control pin, as long as your FC has the DAC output, there will be no more resistor or capacitor required for it to work in the future. This is not ready yet, but when it does we will update our guide.

Measure Reference Voltage

Power on your camera, and measure the voltage between the OSD pin and ground with a multimeter. Write it down somewhere, you will need to enter it in Betaflight CLI later (camera_control_ref_voltage).

For example, I have 3.19V on my Runcam Eagle 2 Pro.

Adding Capacitor (only needed on some cameras)

Larger cameras (i.e. standard size including the Swift and HS1177) should have enough capacitance in the OSD pin to make camera control work, so capacitor is not needed. On some micro and mini cameras, your might need to add an extra capacitor between 0.1uF and 10uF, the larger the better.

Unless your camera is known to require a capacitor, I wouldn’t worry about it, only try to add the cap when nothing works. Anyway it doesn’t hurt to put one in if you insist :)

The cap should be installed on the camera’s side.

I have tested the following cameras and they all work without a capacitor: Swift, Eagle 2, Eagle 2 Pro, Owl, Owl 2, Swift Mini, and Micro Swift 2.

Betaflight Setting

Make sure you have the latest Betaflight firmware installed on the FC (at least BF3.2).

You will need to use Resource Remapping, if you are unfamiliar with the feature make sure to check out my tutorial.

Assigning Pin for Camera Control

Type “Resource” in CLI, and search for the pin you have connected to the camera OSD pin, which is LED_Strip in our example, and C08 is the pin number we are after.

Note: You must run the resource command to find out which pin is used for LED_STRIP, because every FC can be different.

Copy and paste that line in the text box, and change C08 to none, and hit enter – this will free up the pin first

resource LED_STRIP 1 none

Paste that same line again in the text box, this time change LED_STRIP to camera_control, and hit enter

resource camera_control 1 C08

Camera Control Settings

There are 4 settings related to camera control, here are the default settings:

camera_control_mode = HARDWARE_PWM

camera_control_ref_voltage = 330
Allowed range: 200 - 400

camera_control_key_delay = 180
Allowed range: 100 - 500

camera_control_internal_resistance = 470
Allowed range: 10 - 1000

camera_control_ref_voltage – Change this value to what we measured earlier using the multimeter, for example we have 3.19V with the Eagle 2 Pro, so we can change it to 319.

Camera_Control_Key_Delay – You might need to adjust this parameter depends on the electrical condition of the camera and your flight controller. If double-click happens when you only move the stick once, or if scrolling is jittering, then increase the delay.

Camera_control_internal_resistance – It can be complicated to calculate this value, if default value doesn’t work then check out the link in the Troubleshoot section.

Camera Control Using Transmitter Sticks

  • Enter/Confirm – mid throttle, and yaw right
  • Up/Down – Pitch stick
  • Left/Right – Roll stick

Troubleshoot & Resources

If it’s not working, here is the offical documentation including some tips on how to troubleshoot, https://github.com/betaflight/betaflight/wiki/FPV-Camera-Control-(Joystick-Emulation)

There is a thread on RCGroups with many different cameras, FC and settings reported to work by users: https://www.rcgroups.com/forums/showthread.php?2961216-Betaflight-Camera-Control-Compatibility-Reports

2 thoughts on “FPV Camera Control from Flight Controller

  1. Michael Gillen

    Just finished a build this weekend with camera control and it works great. Luckily my FC had a specific pad for this (CL Racing F4S) so it was basically solder and play, no resistor needed. One thing I did find was that you cannot turn off the Runcam OSD display (battery and name) using the CC feature. I had to plug in the joystick to turn it off since it’s a separate menu and entered differently. Once that was off I could control all other features through my TX and goggles. Along with the BF and smart audio features accessible from the TX, this gives you full control.

  2. voodoo614

    One thing I notice is the left stick (mode 2) have to be mid throttle and yaw centered for the right stick to register. Just a tip for those having some issue with right stick not working all the time.


Leave a Reply

Your email address will not be published. Required fields are marked *

Are you Robot? *

I only check blog comments once or twice a week, if you want a quick reply you can post your question on this forum IntoFPV.com... You might get a faster response from me there (multirotor related only).