张三叔

NAZE32 flight control

 
Overview

Gitee repository (all information): https://gitee.com/Cai-Zi/naze32

Tutorial: https://www.cnblogs.com/cai-zi/p/15837956.html

 

NAZE32 flight control V1

NAZE32 flight control V2

Personally, I recommend the V2 version . Compared with the V1 version, V2 has improved:
1. The MicroUSB interface is replaced by a Type-C interface; 2.
BAT54C rectifier is used between USB power supply (about 5.2V) and external 5V power supply;
3. ESC The interface is replaced from 3*6P pin header to 1*8P pad;
4. Add 1*4P pad for communication serial port and its SH1.0 socket;
5. Add FLASH on the board for black box function.

1.Welding instructions

The BMP280 barometer part, CP2104 serial communication part, and SPI FLASH part are all optional parts .

If a certain function is not used, this part of the circuit does not need to be soldered to reduce costs and manufacturing difficulty.

1.1 NAZE32 V1 description

The BMP280 barometer part and the CP2104 serial communication part are shown in the figure below. This version of the PCB does not add the SPI FLASH part.

The BMP280 barometer is used to measure the altitude information of the drone and achieve functions such as height determination. The flight control can be used normally without this part.

The CP2104 serial communication part is used for serial communication between the flight control and the ground station (computer-side configuration software) and firmware burning. If you have a USB-TTL downloader, you can not solder this part of the circuit and connect the three GRT pads with flying wires to the USB-TTL downloader:

G->GND

R->TXD

T->RXD

5->5V

For convenience, it is recommended to solder the CP2104 serial communication circuit.

 

1.2 NAZE32 V2 instructions

The BMP280 barometer part, CP2104 serial communication part, and SPI FLASH part are shown in the figure below.

The BMP280 barometer is used to measure the altitude information of the drone and achieve functions such as height determination. The flight control can be used normally without this part.

The CP2104 serial communication part is used for serial communication between the flight control and the ground station (computer-side configuration software) and firmware burning. If you have a USB-TTL downloader, you can not solder this part of the circuit and connect the G-5-RT cable interface to the USB-TTL downloader using an SH1.0 cable:

G->GND

R->TXD

T->RXD

5->5V

The SPI FLASH part is used for the black box function of the flight control to store flight data. The flight control can be used normally without this part.

 

2. Burn firmware

2.1 Method 1: Programming through the serial port

Download and install betaflight-configurator configuration software in advance .

Completely power off the flight control.

Turn on [No Restart Sequence] ; turn on [Full Disk Wipe] (full disk wipe can also be ignored).

Press and hold the BOOT button.

Then connect the data cable (readers who have not soldered CP2104 need to connect it through a USB-TTL downloader. The connection method is shown above and will not be repeated here). Power on (the L1 light of the flight control will not flash). Do not let go at this time. BOOT button.

Close the Befaflight software, close all Chrome apps, and then restart Betaflight.

Release the BOOT button.

Flash the correct NAZE firmware (betaflight_3.2.5_NAZE.hex, baud rate 115200).

Power outage .

Power on (the L1 light of the flight controller will flash).

Connect normally.

 

2.2 Method 2: Programming through SWD interface

The STM32 ST-LINK Utility software and ST-LINK V2 downloader are used here. For software introduction, download, installation and use, please refer to strongerHuang ’s blog: https://blog.csdn.net/ybhuangfugui/article/details/52597133

First connect the ST-LINK downloader to the SWD interface of the flight controller. The wiring is as follows:
                GND Power ground
                3V3 Connect to 3.3v
                SWCLK Connect to C
                SWDIO Connect to D

Open the software and click the button to connect;

Click the Program verify button; 

Click Browse, open the betaflight_3.2.5_NAZE.hex file, and click Start to program;

When you see the prompt message, the programming is completed. 

The programming has been completed. Use a data cable (readers who have not soldered CP2104 need to connect it through a USB-TTL downloader. See the connection method above and will not go into details here) to connect it to the computer normally for configuration.

 

3. Wiring instructions

3.1 NAZE32 V1 wiring instructions

  • The USB debugging interface and RX0-TX0 are the same serial port, and only one of them can be connected. This serial port can only be used for parameter debugging and cannot be connected to GPS;
  • The receiver has three types of wiring: SBUS/PPM/PWM, you can choose any one, SBUS is recommended;
  • CH1/3/4/5 pins are multiplexed, so when the receiver is connected to CH1-8, PPM, serial port 1, SBUS, and LED light strip will not be available;
  • Serial port 1 (TX1-RX1) can be connected to GPS, but at this time the receiver cannot be connected to the flight control through SBUS, so PPM can be used;

Quadcopter wiring example

3.2 NAZE32 V2 wiring instructions

  • The USB debugging interface and RX0-TX0 are the same serial port, and only one of them can be connected. This serial port can only be used for parameter debugging and cannot be connected to GPS;
  • The receiver has three types of wiring: SBUS/PPM/PWM, you can choose any one, SBUS is recommended;
  • CH1/3/4/5 pins are multiplexed, so when the receiver is connected to CH1-8, PPM, serial port 1, SBUS, and LED light strip will not be available;
  • Serial port 1 (TX1-RX1) can be connected to GPS, but at this time the receiver cannot be connected to the flight control through SBUS, so PPM can be used;

Quadcopter wiring example

 

4.Software configuration

For articles on betaflight-configurator software configuration, see the author’s blog:

STM32F103C8T6 development board + GY521 detailed graphic tutorial for making NAZE32 flight control board

You can also refer to the betaflight-configurator operation videos made by other bloggers on the Internet.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-15 02:03:58

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号