Make your QUAD Betaflight Setups Wicked Fast With CLI Commands

Posted on February 18 2018

Make your QUAD Betaflight Setups Wicked Fast With CLI Commands

If your anything like me, setting up each quad is a bit tedious after you have done it many times.

Here is a tutorial to make the setup process ALOT faster. Please note there is a few different ways to do this.

Firstly, note that CLi command change from betaflight versions, so you may need to update this process for each version jump.

My below exampe is BF 3.3.

  1. Flash your FC with the latest version for your Flight Controller.
  2. Make all the changes to your FC
  3. Goto the CLI
  4. Type DIFF
  5. Copy and paste this somewhere and you now have the changes you have made for faster setup next time.

Now another way you may want to do this, so you can see exactly what code has changed between different versions is using a compare program.

  1. Flash your FC with the latest version for your Flight Controller.
  2. Make all the changes to your FC
  3. Download a program called Beyond Compare (Free for 30 days) (or you can use NOTEPAD++ With the Compare Plugin)
  4. Create a new "compare" by selecting TEXT only
  5. Goto CLI in betaflight and type dump all
  6. Copy and paste the whole lot into Window 1 and make sure you have Differences selected in the top menu.
  7. Now make the changes in betaflight that you want to be the same on all your quads. Once you are done go back to CLI and type dump all again. Copy and paste that into window 2 in Beyond compare. Make sure the top line is exactly the same as the left copy and paste or the "differences" won't be correct.
  8. Simply now copy the "differences" on the right and you should have something similar to mine below.

My personal example that you could copy.

feature RX_SERIAL
feature AIRMODE
map TAER1234
set mag_hardware = NONE
set baro_hardware = NONE
set vbat_max_cell_voltage = 44
set small_angle = 180

I also do the following commands how these are personal to me and you may want to check them or do your own as per the above tutorial.

aux 0 0 1 900 1300 0
aux 1 1 0 900 1300 0
aux 2 2 255 1300 1700 0
aux 3 13 2 1700 2100 0
aux 4 35 4 1700 2100 0
set rssi_channel = 8
set serialrx_provider = CRSF
set motor_pwm_protocol = DSHOT600
set dshot_idle_value = 300
set deadband = 4
set yaw_deadband = 4
set dterm_lowpass_type = PT1
set anti_gravity_gain = 4000
set dterm_setpoint_weight = 40
set roll_rc_rate = 130
set pitch_rc_rate = 130
set yaw_rc_rate = 130
set pid_process_denom = 1
set osd_vbat_pos = 2497
set osd_rssi_pos = 2433
set osd_tim_2_pos = 2551
set osd_vtx_channel_pos = 2457
set osd_current_pos = 2487
set osd_mah_drawn_pos = 2520
set osd_avg_cell_voltage_pos = 2465

Now once you copy and paste, make sure you type save so the changes are not lost.

Now I want to tell you why I make some of these changes so you know what they do!

feature RX_SERIAL (all my flight controllers use serial receivers)
feature TELEMETRY (I try to use either frsky telementry via smart port or crossfire telementry)
feature AIRMODE (always have airmode on!)
feature ANTI_GRAVITY (always have anti gravity on!)
feature DYNAMIC_FILTER (I always use dynamic filter but sometimes it may not be required.)
map TAER1234 (for my frsky setup I always use this channel mapping)
set mag_hardware = NONE (not required for racing quads)
set baro_hardware = NONE (not required for racing quads)
set vbat_max_cell_voltage = 44 (If you don't raise this Hv batteries always give FC issues and say low battery or constant beepings as its warning you because battery is over 4.3v per cell.
set small_angle = 180 (this is so you can arm at any angle) 

Recent Posts