CGX250 / Naze32 Setup Guide

Naze32 Setup Guide With Wiring And Baseflight Settings for 250 Quadcopter with CPPM

The following is a Naze32 setup guide for use on a 250 quadcopter with a cppm receiver. Connect all of the components as in the diagram below.
The jumper on the Frsky DR4-II receiver must connect across the signal pins on channel 3 and 4 to switch the receiver into PPM mode. The receiver will then send the PPM signal, from the signal pin on channel 1, which are the 3 top pins on the right side as per diagram.
All of the Naze32 Pid settings below are based on using the CGX250 frame with 5×3″ Gemfan props, & 6×4.5″ Fc props on Sunnysky 2204, 2300kv motors.

naze32 setup

Naze32 Setup Video By Mochaboy

Naze32 Baseflight Configurator Settings 

Baseflight Configurator logo

Before proceeding with your naze32 setup, remove all propellers! And download Baseflight Configurator (Download Here) And also the Silabs VCP drivers (Download Here) If setting up the Naze32 board for the first time, run the configurator, and flash with the latest firmware by clicking the “firmware flasher” button at the bottom of the baseflight configurator home screen. Then click the “load firmware (online)” button, followed by the “flash firmware” button. When this is done you can then click the “leave firmware flasher” button.

When the above steps are complete, click the CLI tab and enter the following commands into the CLI

  • feature MOTOR_STOP (which enables motors to stop when arming the Naze32 instead of spinning up as in the default setting)
  • set looptime=3000

These commands rotate the orientation of the board so that the usb port faces the left for easier access during tuning in Baseflight

  • set align_gyro=2
  • set align_acc=2

If you have a PPM receiver such as the Frsky D4R-II which allows the data of all channels to pulse on one signal cable reducing cabling. You can enable PPM in the Naze32 by entering the following in the CLI

  • feature ppm

Finally you can can perform a calibration on all esc’s by clicking the “motor testing” tab, and clicking the check box at the bottom with the battery disconnected. Then using the master slider, slide it to the top turning all motors to full throttle in baseflight. With the sliders at full throttle connect the battery, the esc’s will beep indicating throttle calibration mode, then immediately click at the bottom of the slider and it will return to zero throttle and the esc’s will beep indicating calibration complete.

For more comprehensive details, please see the Wiki page here, (See Here)

 

Naze32 Cleanflight Configurator Settings 

Cleanflight Configurator

Most people would now be aware of the Cleanflight Configurator which is a fork of the baseflight configurator software, with a focus on tidying up the code, and adding more features and functionality currently not yet available on Baseflight. In an effort to tidy things up, some of the commands, and the way it works have been changed, for further information on the differences (See Here) & (Video Here). This guide will run the user through some of the basic functionality to get setup. For detailed information, visit the Wiki page (Here)

As with baseflight, begin by removing all props, and download the Cleanflight Configurator app (Download Here) And also the Silabs VCP Drivers (Download Here) When done, connect the Naze32 board to the computer via USB, and at the far right of Cleanflight on the home page, click on the “firmware flasher” button, followed by the “load firmware from online” and the “flash firmware” buttons. When the board has finished flashing, exit by clicking the “leave firmware flasher” button and now click connect to start the setup.

Again clicking the “CLI” tab, enter the following commands into the CLI. After entering all the variables into the CLI, unlike baseflight, you will need to type save, otherwise the settings will not take effect.

  • feature MOTOR_STOP (which enables motors to stop when arming the Naze32 instead of spinning up as in the default setting)
  • set looptime=3000

And this command to rotate the orientation of the board so that the usb port faces the left or right for easier access during tuning in Cleanflight.

  • set align_board_yaw=270 (usb facing right)
  • set align_board_yaw=90 (usb facing left)

While in the CLI tab, if your using a PPM receiver you can type the following command into the CLI to enable this feature

  • feature rx_ppm

Performing a calibration on all esc’s is the same as baseflight and is done by clicking the “motor testing” tab, and clicking the check box at the bottom with the battery disconnected. Then using the master slider, slide it to the top turning all motors to full throttle in baseflight. With the sliders at full throttle connect the battery, the esc’s will beep indicating throttle calibration mode, then immediately click at the bottom of the slider and it will return to zero throttle and the esc’s will beep indicating calibration is complete.

One of the new features added to Cleanflight that is very useful, although still a little experimental is the Autotune feature. The autotune feature works by automatically performing a series of movements to gather information about your copters centre of gravity and individual setup, and attempt to set what it considers optimal PID’s for your particular build. In most cases it does a very good job, but still needs a little modification as usually the rates are set a little too high. But it maintains a good balance between all the channels. Some problems have been encountered using autotune like random flipping of the copter, so attempt the autotune at your own risk, but for best results, perform the autotune in very still conditions in a well cleared area, not touching the pitch/roll stick at all. For more info on how to set it up, see JB’s video below.

This is how it flys after Autotune with Cleanflight

The future looks good for Cleanflight with many useful new features coming out on a regular basis, some of which include

Multiple Rate Mode Switching And PID Tuning In Flight

  • Setup via Adjustments tab in Cleanflight.  (See Video)

Oneshot Support for Oneshot ready ESC’s/Kiss ESC’s, enabling precise syncing and speed between the motors/esc’s and Naze32  (Detailed Explanation here) Enabled via CLI with the command

  • feature ONESHOT125

LED Controller support, OLED display support, and porting to multiple Flight controllers such as the CC3d.

 

Naze32 Pids, Rates And Expo’s For 250 Quadcopter

These settings are a guide only, as each individual build has its own centre of gravity and unique gear used.

CGX250 Naze32 Pids rates and expos for 5" Props

 

Naze32 QAV400 PIDs

CGX250 Mini Quad Frame