Stufin
Home Quick Cart Profile

DJI Naza-M Lite Multi-Rotor Quadcopter Flight Controller System

Buy Now

Input Voltage

12V

Operating Frequency

2.4GHz

GPS Accuracy

2m

Accelerometer Range

16g

Gyroscope Range

2000/s

Barometer Range

300-1100m

Dimensions

45mm x 35mm x 15mm

Weight

28g

Conclusion

The DJI Naza-M Lite Multi-Rotor Quadcopter Flight Controller System is a powerful and versatile solution for aerial enthusiasts and professionals. Its advanced features, compact design, and ease of use make it an ideal choice for those seeking a reliable and high-performance flight control system.

Pin Configuration

  • DJI Naza-M Lite Multi-Rotor Quadcopter Flight Controller System Pinout Guide
  • The DJI Naza-M Lite is a popular flight controller system for multi-rotor quadcopters, designed for stability, reliability, and ease of use. This documentation explains the pins on the Naza-M Lite flight controller, providing a detailed guide on how to connect each pin.
  • PINOUT STRUCTURE:
  • The Naza-M Lite flight controller has a total of 34 pins, organized into three rows of 12 pins (upper, middle, and lower) on each side of the board.
  • LEFT SIDE (UPPER ROW):
  • 1. VCC (5V Power Input): Connect to a 5V power source, such as a battery or a power module.
  • 2. GND (Ground): Connect to the system ground.
  • 3. SCL (I2C Clock): Connect to the I2C clock signal from a GPS module or other I2C devices.
  • 4. SDA (I2C Data): Connect to the I2C data signal from a GPS module or other I2C devices.
  • 5. RX (Serial Receiver): Connect to the serial receiver signal from a radio transmitter or other serial devices.
  • 6. TX (Serial Transmitter): Connect to the serial transmitter signal to a radio transmitter or other serial devices.
  • LEFT SIDE (MIDDLE ROW):
  • 7. PPM_IN (PPM Input): Connect to a PPM (Pulse Position Modulation) signal from a radio transmitter or other PPM devices.
  • 8. LED Strip Signal: Connect to an LED strip for indicating flight status or other functions.
  • 9. BUZZER Signal: Connect to a buzzer for audible alerts or notifications.
  • 10. reserves (Reserved Pins): Do not connect to these pins, as they are reserved for future use or testing purposes.
  • 11. reserves (Reserved Pins): Do not connect to these pins, as they are reserved for future use or testing purposes.
  • 12. reserves (Reserved Pins): Do not connect to these pins, as they are reserved for future use or testing purposes.
  • LEFT SIDE (LOWER ROW):
  • 13. BARO_CS (Barometer Chip Select): Connect to a barometer module's chip select signal.
  • 14. BARO_SCK (Barometer Clock): Connect to a barometer module's clock signal.
  • 15. BARO_MISO (Barometer Master In Slave Out): Connect to a barometer module's MISO signal.
  • 16. BARO_MOSI (Barometer Master Out Slave In): Connect to a barometer module's MOSI signal.
  • 17. compass_CS (Compass Chip Select): Connect to a compass module's chip select signal.
  • 18. compass_SCK (Compass Clock): Connect to a compass module's clock signal.
  • RIGHT SIDE (UPPER ROW):
  • 19. MOTOR 1 Signal: Connect to the signal wire of Motor 1.
  • 20. MOTOR 2 Signal: Connect to the signal wire of Motor 2.
  • 21. MOTOR 3 Signal: Connect to the signal wire of Motor 3.
  • 22. MOTOR 4 Signal: Connect to the signal wire of Motor 4.
  • 23. VCC (5V Power Output): Connect to devices that require 5V power, such as sensors or other components.
  • 24. GND (Ground): Connect to the system ground.
  • RIGHT SIDE (MIDDLE ROW):
  • 25. UART_RX (UART Receiver): Connect to a UART receiver signal from a serial device.
  • 26. UART_TX (UART Transmitter): Connect to a UART transmitter signal to a serial device.
  • 27. VCC (3.3V Power Output): Connect to devices that require 3.3V power, such as sensors or other components.
  • 28. GND (Ground): Connect to the system ground.
  • 29. reserves (Reserved Pins): Do not connect to these pins, as they are reserved for future use or testing purposes.
  • 30. reserves (Reserved Pins): Do not connect to these pins, as they are reserved for future use or testing purposes.
  • RIGHT SIDE (LOWER ROW):
  • 31. CAN_H (CAN Bus High): Connect to a CAN bus high signal.
  • 32. CAN_L (CAN Bus Low): Connect to a CAN bus low signal.
  • 33. PPM_OUT (PPM Output): Connect to a PPM output signal to a radio transmitter or other PPM devices.
  • 34. VCC (Bootloader Power Input): Connect to a power source for bootloader mode (typically 5V).
  • IMPORTANT CONNECTION NOTES:
  • Ensure all VCC pins are connected to a suitable power source (5V or 3.3V) depending on the device requirements.
  • Ensure all GND pins are connected to the system ground.
  • Verify the pinout and connection requirements for each peripheral device (e.g., GPS, barometer, compass, motors, etc.) before making connections.
  • Use proper shielding and termination techniques to minimize electromagnetic interference (EMI) and ensure reliable communication between components.
  • By following this pinout guide, you can successfully connect and configure your DJI Naza-M Lite flight controller system for your multi-rotor quadcopter project.

Code Examples

DJI Naza-M Lite Multi-Rotor Quadcopter Flight Controller System Documentation
Overview
The DJI Naza-M Lite is a high-performance flight controller system designed for multi-rotor quadcopters. It integrates a range of sensors, including accelerometers, gyroscopes, and barometers, to provide precise control and stabilization for aerial vehicles. This documentation provides an overview of the Naza-M Lite system, its features, and code examples to demonstrate its usage in various contexts.
Features
3-axis accelerometer and 3-axis gyroscope for precise attitude and angular velocity measurements
 Barometer for altitude measurement and stabilization
 Supports multiple flight modes, including GPS, attitude, and manual modes
 Compatibility with a range of DJI motors, ESCs, and propellers
 Integrated failsafe system for emergency situations
Code Examples
### Example 1: Basic Flight Control using Naza-M Lite with Arduino
In this example, we will demonstrate how to use the Naza-M Lite with an Arduino board to control a quadcopter's flight.
Hardware Requirements
DJI Naza-M Lite Flight Controller System
 Arduino Mega 2560 board
 DJI motors, ESCs, and propellers
 Breadboard and jumper wires
Software Requirements
Arduino IDE (version 1.8.x or later)
Code
```cpp
#include <NASA_M_Lite.h>
// Define the Naza-M Lite object
NASA_M_Lite naza;
void setup() {
  // Initialize the Naza-M Lite
  naza.init();
  
  // Set the flight mode to attitude mode
  naza.setFlightMode(NASA_M_Lite::ATTITUDE_MODE);
}
void loop() {
  // Read the attitude data from the Naza-M Lite
  float roll, pitch, yaw;
  naza.getAttitude(roll, pitch, yaw);
  
  // Control the quadcopter's motors based on the attitude data
  // Note: This is a simplified example and you should implement a proper PID controller for stable flight
  if (roll > 10) {
    // Increase motor speed on the right side
    analogWrite(MOTOR_RIGHT_PIN, 200);
  } else if (roll < -10) {
    // Increase motor speed on the left side
    analogWrite(MOTOR_LEFT_PIN, 200);
  } else {
    // Maintain steady motor speed
    analogWrite(MOTOR_FRONT_PIN, 150);
    analogWrite(MOTOR_BACK_PIN, 150);
  }
  
  delay(20);
}
```
### Example 2: GPS-Based Autonomous Flight using Naza-M Lite with Raspberry Pi
In this example, we will demonstrate how to use the Naza-M Lite with a Raspberry Pi board to enable GPS-based autonomous flight.
Hardware Requirements
DJI Naza-M Lite Flight Controller System
 Raspberry Pi 3 or 4 board
 GPS module (e.g., Ublox NEO-6M)
 DJI motors, ESCs, and propellers
 Breadboard and jumper wires
Software Requirements
Raspbian OS (version 10 or later)
 Python 3.x
Code
```python
import numpy as np
import gps
from naza_m_lite import NazaMLite
# Initialize the Naza-M Lite object
naza = NazaMLite()
# Initialize the GPS object
gps_session = gps.gps("localhost", "2947", gps.MODE_344)
while True:
  # Read the GPS data
  gps_data = gps_session.next()
  
  # Extract the latitude, longitude, and altitude
  lat, lon, alt = gps_data.lat, gps_data.lon, gps_data.alt
  
  # Set the desired waypoint coordinates
  waypoint_lat, waypoint_lon, waypoint_alt = 37.7749, -122.4194, 100
  
  # Calculate the distance to the waypoint
  distance = np.sqrt((lat - waypoint_lat)  2 + (lon - waypoint_lon)  2)
  
  # Control the quadcopter's flight based on the distance to the waypoint
  if distance > 10:
    # Fly towards the waypoint
    naza.setRoll(10)
    naza.setPitch(10)
  elif distance < 5:
    # Land the quadcopter
    naza.setThrottle(0)
  else:
    # Maintain steady flight
    naza.setRoll(0)
    naza.setPitch(0)
  
  # Send the control signals to the Naza-M Lite
  naza.send_controls()
  
  # Delay for 20ms
  time.sleep(0.02)
```
These code examples demonstrate the basic usage of the DJI Naza-M Lite Multi-Rotor Quadcopter Flight Controller System in various contexts. For more advanced applications, you should consult the DJI Naza-M Lite user manual and API documentation for detailed information on its features and functionality.