Convert CC3D flight Controller from Openpilot to Cleanflight/Betaflight

Posted on March 03 2016

Please note this guide is updated regularly – Last Updated 8th April 2016
If you follow this guide and want to add or contribute to pictures/guide, please contact us.

  1. Remove Props and pull apart Quad
  2. Download OpenPilot GCS 15.02.02, You may also need the STM32 Virtual Com Port driver.
  3. Install the Cleanflight Configurator from the Chrome Web Store.
  4. Download Cleanflight 1.10 firmware .bin or Latest Betaflight CC3D BIN File from here
    NOTE: You need .bin file – so thats why we have put Cleanflight 1.10 ONLY, versions after this do not have .bin file.
    For difference on Cleanflight vs Betaflight view this article.
  5.  On openpilot and open the firmware tab. Click rescue then plug in your Quad to computer via USB (no power)
  6. Click open and select .bin that you downloaded.
  7. Click the checkbox, I know what I’m doing!
  8. Click Flash
  9. WAIT TILL 100%
  10. IMPORTANT! Leave USB plugged in and power the board via esc input
  11. Click boot (in same firmware window), motors will beep and wait till blue light on the cc3d is steadily blinking
  12. Close openpilot
  13. Unplug everything
  14. Open cleanflight
  15. Power your Quad and plug usb back in now.
  16. Click connect. (if it fails, try changing the port)
  17. Congrats! You now are on Cleanflight. To connect your Quad to Cleanflight you always need to use power now, plug in your battery!
  18. Place Quad on flat surface and under setup, click calibrate accelerometer.
  19. Change minimum throttle to 50 above what your receiver shows on Receiver tab. (usually 1000, so put 1050)
  20. Click Save and reboot
  21. Now goto your PID tuning.
  22. Change PID Controller to LUXFloat
  23. Click SAVE
  24. Now change the following
    Change roll rate to 0.70
    Change pitch rate to 0.70
    Change YAW rate to 0.40
    TPA should be 0.00
    TPA breakpoint should be 1500
  25. Now goto receiver tab, and check all your transmitter channels are correct, they usually are different and you will need to reconfigure.
  26. I have the FlySky FS-R6A receiver, so for me, I had to move the following.
    Ch 1 moved to Ch3
    Ch 3moved to Ch 5
    Ch 4 moved to Ch 1
    Ch 5 moved to Ch 4
    (You may need to swap Ch 2 and Ch 4 around if your pitch and roll is incorrect.
  27. Now on the right (still receiver tab) change throttle to 0.50, throttle EXPO to 0.00, RC rate to 1.00, RC expo 0.00 – Save
  28. Now you want to set up your AUX Switches, open the Modes Tab.No mode selected = ACRO+ / Rate mode by default.Altitude mode = Angle Mode
    Rattitude  mode = Horizon Mode
    If you your switch only has two positions it would look something like this.
    2016-03-03 16_43_16-Cleanflight - Configurator
    0 = Horizon Mode
    1 = Acro/RateIf you have a switch that has 3 positions it may look like this.
    2016-03-03 17_07_58-Cleanflight - Configurator
    0
     = Angle
    1 = Acro/rate
    2=Horizon
  29. If you have more than six channels you may want to setup ARM as a switch, as well as a buzzer, or lights.
  30. Now save your settings. By moving your switches you should be able to test the setup. Green = mode activated, grey means Acro/Rate mode.
  31. Now we need to calibrate ESC,  go to the motor tab. remember, you should have removed props at the start, if you didnt, DO THIS NOW.
  32. Unplug battery
  33. Slide Master to MAX
  34. Plug in battery, wait for beeps.
  35. Slide Master to MIN
  36. ESC Calibration is now complete, however you must test that it has worked corectly.
    Arm copter, and all motors should spin at 0 throttle. If only some do, you need to redo the above steps until they are all spinning correctly.
  37. You now need to swap motor configuration as cleanflight configuration is different as per below.
    LEFT is openpilot RIGHT is Cleanflight
    54da3c8a6ab4457e8f1b5df20ab563714_rotor_quad
    cleanflight-motor-direction
  38. Copy and paste the below into the CLI tab.
    mixer custom
    mmix reset
    mmix 0 1.0, 1.0, -0.93, -1.0
    mmix 1 1.0, -1.0, -0.93, 1.0
    mmix 2 1.0, -1.0, 0.93, -1.0
    mmix 3 1.0, 1.0, 0.93, 1.0
    save
  39. Your cc3d will reboot. Give it a test flight! Make sure you are open space in case you missed a step and it crashes.

 

Recent Posts