# but0n/Avem

🚁 轻量级无人机飞控-[Drone]-[STM32]-[PID]-[BLDC]

Repository: https://github.com/but0n/Avem
Canonical: https://ross.abutalabs.com/products/avem
Language: C
License: MIT
License Family: permissive
Topics: drones, freertos, stm32, hardware, pcb-layout, imu, flight-controller, arm, kicad
Last push: 2023-10-03T03:55:39+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3675, "days_push": 1065, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2883, forks 588 (observed 2026-08-28T04:07:28.108887+00:00)

## What it is
Avem is a lightweight open-source drone flight controller firmware for STM32F103, implementing quaternion/euler attitude estimation from an MPU6050 IMU and cascade PID control of brushless motors under FreeRTOS. It includes KiCad schematics and PCB layouts plus a Flask/pyserial host tool for PID tuning.

## Use cases
- build a lightweight quadcopter flight controller
- learn how PID attitude control works on a drone
- flash STM32 firmware for a brushless drone
- tune drone PID parameters from a host computer
- study open-source flight controller hardware design
- read MPU6050 gyro and accelerometer data over I2C

## When to choose
- you want a small, readable codebase to learn drone flight control
- you are building a custom STM32-based quadcopter with MPU6050
- you need open hardware schematics and PCB layouts for a flight controller

## When to avoid
- you need GPS navigation or waypoint missions (unimplemented)
- you need Wi-Fi telemetry (ESP8266 support is incomplete)
- you want a production-grade flight stack like Betaflight or ArduPilot
- you need support for many sensors or flight controller boards

## Facets
- artifact type: application
- maturity: maintenance
- function: embedded, robotics, middleware, monitoring
- domain: robotics, embedded-systems, hardware
- platform: embedded, cross-platform
- tags: drone, flight-controller, stm32, freertos, pid-control, imu, mpu6050, bldc, kicad, uav, quadcopter, linux, macos

## Member repositories
- but0n/Avem (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.108887+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:25.494781+00:00, confidence not recorded.
  - readme: https://github.com/but0n/Avem (fetched 2026-08-28T04:07:28.108887+00:00, sha 3bb93dc4e0b9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
