开源STM32长程固定翼无人机自动驾驶仪(SmartNavX)
你好,HN,
我是Talal Al-Suhaimi,一名驻沙特阿拉伯的控制系统和嵌入式工程师。在过去的几个月里,我一直在设计和测试一个开源的自动驾驶系统,专为长距离固定翼无人机而打造——我很高兴能与大家分享这个项目。
SmartNavX是一个完全开源的飞行控制器固件和硬件平台,基于STM32F405构建。它旨在轻量、高效且模块化——为固定翼飞机提供全栈自主飞行,而无需依赖昂贵或封闭源代码的自动驾驶仪。
主要特点:
- 运行在低成本的STM32F405(Blackpill或定制板)
- 基于GPS的自主导航(航点、返航、盘旋、地理围栏)
- 使用IMU(MPU6050)、气压计和磁力计进行传感器融合,并应用卡尔曼滤波
- 通过ExpressLRS UART实现实时遥测(支持MAVLink-lite)
- 集成智能电池管理系统(BMS)支持锂离子飞行电池(电压下降修正)
- 兼容地面控制(QGroundControl)
- Python命令行工具用于实时配置和遥测解码
我为什么要构建这个项目:
我需要一个可靠的长距离无人机平台,用于在偏远沙漠地区进行制图和数据采集,但希望对硬件和固件都有完全的控制。大多数商业现成解决方案要么是封闭源代码,要么价格过高,不适合实验。因此,我构建了SmartNavX,使其:
- 开发者友好
- 易于修改
- 硬件无关
- 适合研究和实地使用
资源:
GitHub: github.com/En-Talal-ALSohimiy/SmartNavX
飞行演示(26公里的自主沙漠飞行):
这个项目仍在不断发展——我非常希望能得到其他在无人机、导航、遥测或嵌入式系统领域工作的人的反馈。欢迎贡献、建议和合作。
感谢阅读,
– Talal Al-Suhaimi
控制系统与无人机工程师
查看原文
Hello HN,<p>I’m Talal Al-Suhaimi, a control systems and embedded engineer based in Saudi Arabia. I’ve spent the last several months designing and testing an open-source autopilot system for long-range, fixed-wing UAVs — and I'm excited to share it with the community.<p>SmartNavX is a fully open-source flight controller firmware and hardware platform built on the STM32F405. It's designed to be lightweight, efficient, and modular — offering full-stack autonomy for fixed-wing aircraft without relying on expensive or closed-source autopilots.<p>Key features:
Runs on low-cost STM32F405 (Blackpill or custom board)
GPS-based autonomous navigation (waypoints, RTH, loiter, geofencing)
Sensor fusion using IMU (MPU6050), barometer, and magnetometer with Kalman filtering
Real-time telemetry via ExpressLRS UART (MAVLink-lite supported)
Integrated smart BMS support for Li-Ion flight packs (voltage sag correction)
Ground control compatibility (QGroundControl)
Python CLI tool for live configuration and telemetry decoding
Why I built this:
I needed a reliable, long-range UAV platform for mapping and data collection in remote desert areas, but wanted full control over both hardware and firmware. Most COTS solutions are either closed-source or too expensive for experimentation. So I built SmartNavX to be:<p>Developer-friendly
Easily hackable
Hardware-agnostic
Suitable for both research and field use
Resources:
GitHub: github.com/En-Talal-ALSohimiy/SmartNavX
Flight demo (26km autonomous desert flight):<p>This project is still evolving — I'd love feedback from others working on UAVs, navigation, telemetry, or embedded systems. Contributions, suggestions, and collaborations are more than welcome.<p>Thanks for reading,
– Talal Al-Suhaimi
Control Systems & UAV Engineer