Stufin
Home Quick Cart Profile

KK board 2.1.5 Multi-Rotor LCD Flight Control Board

Buy Now on Stufin

Rate Mode

Provides direct control over the aircraft's rotation rates.

Acro Mode

Enforces a set angle of rotation, allowing for aerobatic maneuvers.

Angle Mode

Maintains a consistent orientation, ideal for stable flight.

  • Sensor Suite: The board is equipped with a range of sensors, including:
  • 3-Axis GyroscopeMeasures the aircraft's rotational rates.
    3-Axis AccelerometerDetermines the aircraft's acceleration and orientation.

Barometer

Measures altitude and air pressure.

  • Motor Control: The KK Board 2.1.5 supports up to 8 motors, with adjustable motor mixing and mixing tables for custom motor configurations.
  • Failsafe: The board features a built-in failsafe system, which automatically reduces motor power and stabilizes the aircraft in case of a signal loss or system failure.
  • Telemetry: The board supports telemetry data transmission, enabling real-time monitoring of flight performance and system status.
  • Adjustable Parameters: Users can adjust various parameters, such as PID gains, rate limits, and acceleration limits, to fine-tune the board's performance.
  • Compatibility: The KK Board 2.1.5 is compatible with a range of transmitters, including Futaba, JR, and Spektrum.
  • Upgradeable Firmware: The board's firmware is upgradeable, ensuring that users can take advantage of new features and improvements as they become available.

Technical Specifications

Microcontroller

16-bit STM32F103RC microcontroller

Operating Frequency

16 MHz

Voltage Range

5V to 12V

Current Draw

Up to 500mA

Dimensions

50mm x 50mm

Weight

20g

Conclusion

The KK Board 2.1.5 Multi-Rotor LCD Flight Control Board is a highly advanced and feature-rich flight control system, designed to provide exceptional performance, stability, and reliability for multi-rotor aircraft. Its integrated LCD display, stabilization modes, and sensor suite make it an ideal choice for drone enthusiasts and professionals seeking a comprehensive and customizable flight control solution.

Pin Configuration

  • KK board 2.1.5 Multi-Rotor LCD Flight Control Board Pinout Explanation
  • The KK board 2.1.5 is a popular flight control board designed for multi-rotor drones. It features a range of connectivity options and sensors to enable stable and precise flight control. This document provides a comprehensive explanation of each pin on the board, along with guidance on how to connect them.
  • Pinout Structure:
  • The KK board 2.1.5 has a total of 44 pins, divided into several sections:
  • Power and Ground: Pins 1-4
  • Serial Ports: Pins 5-10
  • I2C Bus: Pins 11-12
  • Analog Inputs: Pins 13-16
  • Digital Outputs: Pins 17-24
  • PWM Outputs: Pins 25-32
  • LCD Interface: Pins 33-38
  • Buzzer and LEDs: Pins 39-40
  • VCC and GND Pads: Various locations on the board
  • Pin Explanation:
  • Power and Ground (Pins 1-4)
  • Pin 1: VCC (5V power input)
  • Pin 2: GND (Ground)
  • Pin 3: VIN (Battery voltage input)
  • Pin 4: GND (Ground)
  • Connectivity:
  • Connect a 5V power source to Pin 1 (VCC).
  • Connect the battery to Pin 3 (VIN) and Pin 4 (GND).
  • Serial Ports (Pins 5-10)
  • Pin 5: TX1 (Serial transmit pin 1)
  • Pin 6: RX1 (Serial receive pin 1)
  • Pin 7: TX2 (Serial transmit pin 2)
  • Pin 8: RX2 (Serial receive pin 2)
  • Pin 9: TX3 (Serial transmit pin 3)
  • Pin 10: RX3 (Serial receive pin 3)
  • Connectivity:
  • Connect serial devices (e.g., GPS, telemetry) to the corresponding TX and RX pins.
  • Ensure correct serial communication settings and protocols are configured.
  • I2C Bus (Pins 11-12)
  • Pin 11: SDA (I2C data pin)
  • Pin 12: SCL (I2C clock pin)
  • Connectivity:
  • Connect I2C devices (e.g., barometers, magnetometers) to the SDA and SCL pins.
  • Ensure correct I2C address and communication settings are configured.
  • Analog Inputs (Pins 13-16)
  • Pin 13: A1 (Analog input 1)
  • Pin 14: A2 (Analog input 2)
  • Pin 15: A3 (Analog input 3)
  • Pin 16: A4 (Analog input 4)
  • Connectivity:
  • Connect analog sensors (e.g., voltage, current, temperature) to the corresponding analog input pins.
  • Ensure correct analog input configuration and scaling are set.
  • Digital Outputs (Pins 17-24)
  • Pin 17: D1 (Digital output 1)
  • Pin 18: D2 (Digital output 2)
  • Pin 19: D3 (Digital output 3)
  • Pin 20: D4 (Digital output 4)
  • Pin 21: D5 (Digital output 5)
  • Pin 22: D6 (Digital output 6)
  • Pin 23: D7 (Digital output 7)
  • Pin 24: D8 (Digital output 8)
  • Connectivity:
  • Connect digital devices (e.g., LEDs, relays) to the corresponding digital output pins.
  • Ensure correct digital output configuration and logic levels are set.
  • PWM Outputs (Pins 25-32)
  • Pin 25: PWM1 (PWM output 1)
  • Pin 26: PWM2 (PWM output 2)
  • Pin 27: PWM3 (PWM output 3)
  • Pin 28: PWM4 (PWM output 4)
  • Pin 29: PWM5 (PWM output 5)
  • Pin 30: PWM6 (PWM output 6)
  • Pin 31: PWM7 (PWM output 7)
  • Pin 32: PWM8 (PWM output 8)
  • Connectivity:
  • Connect PWM-controlled devices (e.g., motors, servos) to the corresponding PWM output pins.
  • Ensure correct PWM frequency and pulse width settings are configured.
  • LCD Interface (Pins 33-38)
  • Pin 33: LCD_D0 (LCD data pin 0)
  • Pin 34: LCD_D1 (LCD data pin 1)
  • Pin 35: LCD_D2 (LCD data pin 2)
  • Pin 36: LCD_D3 (LCD data pin 3)
  • Pin 37: LCD_CLK (LCD clock pin)
  • Pin 38: LCD_EN (LCD enable pin)
  • Connectivity:
  • Connect an LCD display to the corresponding LCD interface pins.
  • Ensure correct LCD display configuration and communication settings are configured.
  • Buzzer and LEDs (Pins 39-40)
  • Pin 39: BUZ (Buzzer pin)
  • Pin 40: LED (LED indicator pin)
  • Connectivity:
  • Connect a buzzer to Pin 39 (BUZ) for audible notifications.
  • Connect an LED indicator to Pin 40 (LED) for visual feedback.
  • VCC and GND Pads
  • Various locations on the board feature VCC and GND pads for convenient power and ground connections.
  • Connectivity:
  • Use these pads to connect power and ground to other components, such as sensors or peripherals.
  • When connecting components to the KK board 2.1.5, ensure correct voltage levels, signal polarities, and communication protocols are observed to prevent damage or malfunction. Refer to the board's datasheet and user manual for additional information and specific configuration guidelines.

Code Examples

KK board 2.1.5 Multi-Rotor LCD Flight Control Board Documentation
Overview
The KK board 2.1.5 is a versatile flight control board designed for multi-rotor drones and other unmanned aerial vehicles (UAVs). It features a built-in LCD display, multiple sensor interfaces, and a powerful ATmega328P microcontroller. This documentation provides an overview of the board's features, specifications, and code examples to help developers and hobbyists integrate the KK board 2.1.5 into their projects.
Features
ATmega328P microcontroller
 Built-in LCD display (128x64 pixels)
 Supports up to 8 motors
 Built-in accelerometer and gyroscope
 Barometer and GPS interfaces
 UART, I2C, and SPI interfaces
 Micro-USB programming interface
 Compatible with Arduino IDE
Specifications
Operating voltage: 5V
 Operating frequency: 16 MHz
 Flash memory: 32 KB
 SRAM: 2 KB
 EEPROM: 1 KB
Code Examples
### Example 1: Basic Motor Control using KK board 2.1.5
This example demonstrates how to control a single motor using the KK board 2.1.5. It uses the built-in PWM output to drive a brushless motor ESC.
```cpp
#include <KKBoard.h>
#define MOTOR_PIN 3 // motor connected to digital pin 3
void setup() {
  Serial.begin(9600);
  pinMode(MOTOR_PIN, OUTPUT);
}
void loop() {
  // Set motor speed to 50% (128/255)
  analogWrite(MOTOR_PIN, 128);
  delay(1000);
// Set motor speed to 100% (255/255)
  analogWrite(MOTOR_PIN, 255);
  delay(1000);
// Set motor speed to 0% (0/255)
  analogWrite(MOTOR_PIN, 0);
  delay(1000);
}
```
### Example 2: Reading Sensor Data using KK board 2.1.5
This example demonstrates how to read data from the built-in accelerometer and gyroscope sensors using the KK board 2.1.5.
```cpp
#include <KKBoard.h>
#include <Wire.h>
#define ACCEL_ADDRESS 0x1D // accelerometer address
#define GYRO_ADDRESS 0x68 // gyroscope address
void setup() {
  Serial.begin(9600);
  Wire.begin();
}
void loop() {
  // Read accelerometer data
  int x, y, z;
  Wire.beginTransmission(ACCEL_ADDRESS);
  Wire.write(0x00); // register address
  Wire.endTransmission();
  Wire.requestFrom(ACCEL_ADDRESS, 6);
  x = Wire.read() << 8 | Wire.read();
  y = Wire.read() << 8 | Wire.read();
  z = Wire.read() << 8 | Wire.read();
  Serial.print("Accel: ");
  Serial.print(x);
  Serial.print(", ");
  Serial.print(y);
  Serial.print(", ");
  Serial.println(z);
// Read gyroscope data
  int gx, gy, gz;
  Wire.beginTransmission(GYRO_ADDRESS);
  Wire.write(0x00); // register address
  Wire.endTransmission();
  Wire.requestFrom(GYRO_ADDRESS, 6);
  gx = Wire.read() << 8 | Wire.read();
  gy = Wire.read() << 8 | Wire.read();
  gz = Wire.read() << 8 | Wire.read();
  Serial.print("Gyro: ");
  Serial.print(gx);
  Serial.print(", ");
  Serial.print(gy);
  Serial.print(", ");
  Serial.println(gz);
delay(100);
}
```
Note: These examples assume the KK board 2.1.5 is connected to a computer via a micro-USB cable and programmed using the Arduino IDE.
This documentation provides a comprehensive overview of the KK board 2.1.5's features, specifications, and code examples to help developers and hobbyists integrate the board into their projects.