RepositoryC++
BO

bolderflight/sbus

Arduino and CMake library for communicating with SBUS receivers and servos.

481stars
159forks
14issues
1views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: sbus2

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: arduino-library

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: sbus

#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ớp SbusRx và SbusTx, struct SbusData để 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.

RepositoryGo
hybridgroup/gobot

Golang framework for robotics, drones, and the Internet of Things (IoT)

9.5k
Jan 7, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

288.4k
Oct 26, 2026
RepositoryPython
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

186.4k
Oct 27, 2026
RepositoryC++
bblanchon/ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient.

7.2k
Oct 13, 2026
RepositoryC++
PetoiCamp/OpenCat-Quadruped-Robot

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.

5.5k
Sep 8, 2026
RepositoryC++
Arduino-IRremote/Arduino-IRremote

Infrared remote library for Arduino: send and receive infrared signals with multiple protocols

5.1k
Oct 10, 2026
RepositoryC++
T-vK/ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)

3.2k
Aug 7, 2024
RepositoryC++
BrushlessPower/SBUS2-Telemetry

Arduino Library for SBUS and SBUS2 with Futaba Telemetry

101
Jun 16, 2025
RepositoryC++
Carbon225/raspberry-sbus

Linux/Raspberry Pi SBUS driver

51
Aug 28, 2025