Hello everyone, I have an introduction of me in a recent post.

I'd like to announce availability of an SBUS library. SBUS is a protocol for RC receivers to send commands to servos. Unlike PWM, SBUS uses a bus architecture where a single signal line can be connected up to 16 servos with each receiving a unique command. SBUS capable servos are required; each can be programmed with a unique address (Channel 0 - 15) using an SBUS servo programmer. Advantages of SBUS include the reduction of wiring clutter and ease of parsing commands from RC receivers.

I'd like to give big shout outs to Uwe Gartmann on ARMmbed and Paul Stroffregen on this PJRC thread. I learned a lot about SBUS parsing and sending a serial 8E2 SBUS packet based on those resources.

This library enables Teensy devices to read and parse SBUS packets from an SBUS capable RC receiver. Data can be read as counts or calibrated to +/- 1.0 values. Additionally, SBUS packets can be created and sent to SBUS capable servos given an array of position commands. I tested the code using the X8R and X4R SBUS receivers and the D25MA SBUS servo. I hope the library is useful and I would love feedback, especially on additional receivers and servos!