bolderflight/sbus
Arduino and CMake library for communicating with SBUS receivers and servos.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tháng
#1 Repository Của Tháng
#1 Repository Của Tháng
📡 Giao tiếp SBUS cho Arduino và CMake
Hỗ trợ cả SBUS thường và Fast SBUS (200000 baud), tương thích nhiều vi điện tử như Teensy, STM32, ESP32.
Đây là thư viện C++ của Bolder Flight Systems hỗ trợ giao tiếp với receiver và servo sử dụng giao thức SBUS. SBUS là giao thức bus dùng một đường serial để gửi lệnh tới tới 16 servo, mỗi servo nhận lệnh riêng biệt. Giao thức này sử dụng logic serial đảo, tốc độ 100000 baud, 8 bit dữ liệu, parity chẵn và 2 stop bit.
✨ Điểm nổi bật
- Hỗ trợ SBUS và Fast SBUS: Chọn tốc độ baud 100000 hoặc 200000 tùy nhu cầu.
- Gói tin 25 byte: Bao gồm header, dữ liệu 16 kênh 11-bit, trạng thái mất khung, failsafe và footer.
- Inverted serial tích hợp: Hỗ trợ Teensy 3.x, 4.x, LC, STM32L4, ESP32.
- Đối với board khác: Cần dùng mạch inverter ngoài.
- CMake hỗ trợ build: Export target
sbus, hỗ trợ nhiều MCU như MK66FX1M0, IMXRT1062_T40... - Namespace
bfs: Cung cấp lớpSbusRxvàSbusTx, structSbusDatađể quản lý dữ liệu. - Cài đặt dễ dàng: Clone vào thư mục Arduino/libraries hoặc build bằng CMake.
💡 Vì sao đáng chú ý
Khác với PWM truyền thống, SBUS dùng kiến trúc bus giảm số chân điện so với số lượng servo, giúp tối ưu pin và giảm độ trễ. Thích hợp cho drone, robot và hệ thống điều khiển từ xa cần độ tin cậy cao. Thư viện hỗ trợ cả SBUS đảo (inverted) và phi đảo (non-inverted), linh hoạt tích hợp vào nhiều nền tảng phần cứng khác nhau.
#SBUS #Arduino #CMake #Drone #Robotics #TiniX
Similar Projects
Discover other similar projects and AI models.
Golang framework for robotics, drones, and the Internet of Things (IoT)
📟 JSON library for Arduino and embedded C++. Simple and efficient.
An open source quadruped robot pet framework for developing Boston Dynamics-style four-legged robots that are perfect for STEM, coding & robotics education, IoT robotics applications, AI-enhanced robotics application services, research, and DIY robotics kit development.
Infrared remote library for Arduino: send and receive infrared signals with multiple protocols
Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)