Stufin
Home Quick Cart Profile

Original DJI NAZA M V2 Flight Controller With GPS & PMU V2 for Multirotor Quadcopter

Buy Now

GPS Mode

The flight controller uses GPS data to maintain a stable hover and precise flight trajectories.

ATTI Mode

The controller uses accelerometers and gyroscopes to maintain attitude and stability.

MANUAL Mode

The pilot has full control over the aircraft's movements.

  • Fail-Safe Mechanism: In the event of signal loss or system failure, the NAZA M V2 can automatically return the aircraft to its starting point or enter a safe hover mode.
  • LED Indicators: The flight controller features LED indicators that provide visual feedback on system status, including GPS signal strength, flight mode, and error notifications.
  • Compatibility: The NAZA M V2 is compatible with a range of multirotor quadcopter configurations, including hexacopters and octocopters.
  • Configurable: The flight controller can be customized using the DJI Assistant software, allowing pilots to fine-tune settings, adjust parameters, and update firmware.
  • Built-in OSD (On-Screen Display): The NAZA M V2 can display important flight data, such as altitude, speed, and battery voltage, on an external OSD unit.

Technical Specifications

Operating Frequency

2.4 GHz

GPS Accuracy

2.5m (CEP)

Working Current

200mA

Power Input

4.5-5.5V

Communication Interface

UART, SPI, I2C

Dimensions

44.5 x 33 x 14.5 mm

Weight

25g

Conclusion

The Original DJI NAZA M V2 Flight Controller With GPS & PMU V2 is a professional-grade flight control system that provides unparalleled stability, precision, and reliability for multirotor quadcopters. Its advanced features, high-performance capabilities, and configurability make it an ideal choice for aerial enthusiasts and professionals alike.

Pin Configuration

  • Original DJI NAZA M V2 Flight Controller With GPS & PMU V2 for Multirotor Quadcopter
  • Pinout Description
  • The DJI NAZA M V2 Flight Controller is a popular choice for multirotor quadcopters, and understanding the pinout is crucial for proper connection and configuration. Below is a detailed description of each pin, point by point:
  • Power Management Unit (PMU) V2
  • VIN (Pin 1): Input voltage pin, connects to the battery or power source (7V-26V).
  • VOUT (Pin 2): Output voltage pin, provides a stable 5V output for the flight controller and other components.
  • GND (Pin 3): Ground pin, connected to the negative terminal of the battery or power source.
  • GPS Module
  • VCC (Pin 4): Power supply pin for the GPS module (typically 3.3V or 5V).
  • GND (Pin 5): Ground pin for the GPS module.
  • TX (Pin 6): Transmitter pin, connects to the GPS module's serial output.
  • RX (Pin 7): Receiver pin, connects to the GPS module's serial input.
  • PPS (Pin 8): Pulse Per Second pin, provides a 1Hz signal for synchronization.
  • Flight Controller
  • UART1_TX (Pin 9): Transmitter pin for UART1, connects to the telemetry transmitter or other serial devices.
  • UART1_RX (Pin 10): Receiver pin for UART1, connects to the telemetry receiver or other serial devices.
  • UART2_TX (Pin 11): Transmitter pin for UART2, connects to the serial console or other serial devices.
  • UART2_RX (Pin 12): Receiver pin for UART2, connects to the serial console or other serial devices.
  • Motor Outputs
  • M1 (Pin 13): Motor output 1, connects to the first motor's ESC (Electronic Speed Controller).
  • M2 (Pin 14): Motor output 2, connects to the second motor's ESC.
  • M3 (Pin 15): Motor output 3, connects to the third motor's ESC.
  • M4 (Pin 16): Motor output 4, connects to the fourth motor's ESC.
  • Other Pins
  • AD1 (Pin 17): Analog input 1, connects to a sensor or module (e.g., barometer).
  • AD2 (Pin 18): Analog input 2, connects to a sensor or module (e.g., accelerometer).
  • EXT (Pin 19): External interrupt pin, connects to an external interrupt source (e.g., a Hall effect sensor).
  • CAN_H (Pin 20): CAN bus high signal pin, connects to the CAN bus transceiver.
  • CAN_L (Pin 21): CAN bus low signal pin, connects to the CAN bus transceiver.
  • Connecting the Pins
  • When connecting the pins, ensure that:
  • Power cables are connected to the correct voltage and ground pins.
  • GPS module pins are connected to the corresponding flight controller pins.
  • Motor output pins are connected to the correct ESCs.
  • Analog input pins are connected to the corresponding sensors or modules.
  • UART pins are connected to the correct serial devices or telemetry transmitters/receivers.
  • CAN bus pins are connected to the CAN bus transceiver.
  • Important Notes
  • Ensure that all connections are secure and meet the recommended specifications.
  • Follow proper soldering techniques and use suitable wiring to avoid damage or electrical noise.
  • Consult the DJI NAZA M V2 documentation and user manual for specific configuration and setup instructions.
  • Verify the compatibility of connected components and modules with the DJI NAZA M V2 flight controller.

Code Examples

Original DJI NAZA M V2 Flight Controller With GPS & PMU V2 for Multirotor Quadcopter
Overview
The DJI NAZA M V2 Flight Controller is a popular and widely-used component in the IoT and drone development community. It is a high-performance flight control system designed for multirotor quadcopters, providing stable and precise flight capabilities. The NAZA M V2 features a built-in GPS module and PMU V2 for power management, making it an ideal choice for drone enthusiasts and professionals alike.
Technical Specifications
Microcontroller: 32-bit STM32 microcontroller
 GPS: Built-in GPS module for precise location and altitude data
 PMU V2: Integrated power management unit for efficient power distribution
 Sensors: 3-axis accelerometer, 3-axis gyroscope, and 3-axis magnetometer
 Communication: UART, CAN, and I2C interfaces for communication with other components
 Power Supply: 4.2V to 5.5V DC input voltage
 Weight: 28g
Programming and Development
The NAZA M V2 Flight Controller can be programmed using the DJI Assistant software, which provides a user-friendly interface for configuring and customizing the flight control system. Developers can also access the flight controller's APIs and libraries to integrate it with their own applications and systems.
Code Examples
### Example 1: Reading GPS Data using UART Interface (C++)
In this example, we will demonstrate how to read GPS data from the NAZA M V2 Flight Controller using the UART interface.
```c
#include <Serial.h>
#define GPS_BAUDRATE 57600
void setup() {
  Serial.begin(GPS_BAUDRATE);
}
void loop() {
  if (Serial.available() > 0) {
    String gpsData = Serial.readStringUntil('
');
    int idx = gpsData.indexOf(',');
    if (idx != -1) {
      String lat = gpsData.substring(0, idx);
      String lon = gpsData.substring(idx + 1);
      Serial.print("Latitude: ");
      Serial.print(lat);
      Serial.print(", Longitude: ");
      Serial.println(lon);
    }
  }
  delay(1000);
}
```
### Example 2: Configuring Flight Modes using CAN Interface (Python)
In this example, we will demonstrate how to configure flight modes using the CAN interface.
```python
import can
bus = can.interface.Bus(bustype='socketcan', channel='can0', bitrate=500000)
# Set flight mode to "Manual"
msg = can.Message(arbitration_id=0x100, data=[0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00])
bus.send(msg)
# Set flight mode to "GPS"
msg = can.Message(arbitration_id=0x100, data=[0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00])
bus.send(msg)
```
### Example 3: Monitoring Battery Voltage using I2C Interface (Arduino)
In this example, we will demonstrate how to monitor the battery voltage using the I2C interface.
```arduino
#include <Wire.h>
#define PMU_V2_ADDRESS 0x20
void setup() {
  Wire.begin();
  Serial.begin(9600);
}
void loop() {
  Wire.beginTransmission(PMU_V2_ADDRESS);
  Wire.write(0x00); // Register address for battery voltage
  Wire.endTransmission();
  Wire.requestFrom(PMU_V2_ADDRESS, 2);
  uint8_t data[2];
  Wire.read(data, 2);
  float voltage = (data[0] << 8 | data[1]) / 100.0;
  Serial.print("Battery Voltage: ");
  Serial.print(voltage);
  Serial.println(" V");
  delay(1000);
}
```
These code examples demonstrate the versatility and flexibility of the DJI NAZA M V2 Flight Controller, and how it can be easily integrated into various IoT and drone development projects.