The flight controller (FC) implements several low-level behaviors, e.g., stabilizing the Duckiedrone around roll, pitch, and yaw through three different PID controllers. Correctly configuring the FC is critical for flying safely.
Installing Cleanflight Configurator (CFC)
Cleanflight configurator is an app that allows the base station to connect directly to the FC and access its configuration interface.
...
Install Google Chrome
Install the Cleanflight Configurator for Chrome
Start CFC on your base station. You should see the below interface.
...
Connecting to the Flight Controller (FC)
Unplug the battery from your drone
double-check the battery is unpluggedStatus colour Red title IMPORTANT
Disconnect the Raspberry Pi from the FC
Connect the mini USB cable to from your FC and to your base station
Start CFC on your base station. You should see the interface shown at the end of this section.
Select In CFC (see last section), on the top right corner
select the correct connection port
Details might vary depending on available connections on your base stationStatus colour Yellow title Note
. The correct port should start with:
/dev/tty.usbserial*
/dev/cu.usbserial*
or/dev/ttyUSB*
Leave the baud rate (number) at the
value ofStatus colour Green title default 115200
Press the “Connect”
...
button and a “Setup” page should greet you with a rendering of your drone (see figure below). Before configuring anything, please read the next section and check the firmware version first.
...
Updating the FC firmware (Flashing the FC)
FCs might have different versions of firmware (i.e., the software that runs on the FC’s microcontrollermicro-controller) out of the factory. Normally, this only needs to be done once initially. Follow this procedure to update your firmware.
Status colour
...
Blue title
...
Our current target firmware is: BTFL 3.3.3FACt
Checking the existing firmware version
On the top left of the CFC interface, please check for the Firmware version. For example, in the figure below, the firmware version of the FC is BTFL 3.3.3
.
...
Regardless of the firmware version, if it is the first time setting up the FC, we recommend performing the below flashing procedure once anyways in order to start from a clean state.
Status | ||||
---|---|---|---|---|
|
...
Status | ||||
---|---|---|---|---|
|
...
(Update to BTFL 3.3.3 - although successful flight tests have been conducted with 2.4.0 and 3.0.1)
A “Setup” page should greet you with a rendering of your drone:
...
This page can be used to do a quick test of the onboard IMU: move the drone and verify that the rendering of the drone moves. Don’t expect it to be perfect as we still need to calibrate everything.
...