Hi all,
I am thinking of using the SBUS of a radio receiver that has SBUS to control Pixhawk with Arduino. I do not really understand the SBUS format. Can any kind soul please help me in explaining the SBUS protocol? Thanks.
Hi all,
I am thinking of using the SBUS of a radio receiver that has SBUS to control Pixhawk with Arduino. I do not really understand the SBUS format. Can any kind soul please help me in explaining the SBUS protocol? Thanks.
You need to be a member of diydrones to add comments!
Replies
Hi,
I intend to integrate a sensor into the drone and is hoping the Arduino can communicate with the Pixhawk.
My project wants to build a drone that will fly backwards automatically should the sensor detect an obstacle. Thus I decide to customise the pitch signal of the sbus signal sent by the receiver using an Arduino. thus the sbus goes through the Arduino, and to the Pixhawk. should the sensor detect an obstacle, the Arduino will overwrite the sbus signal and send it to the Pixhawk, making the drone flies backwards.
Crady von Pawlak said:
Hi Li,
I don't understand your inclusion of an Arduino. Connecting an SBUS Rx to the Pixhawk is straightforward and well documented, but I'm unfamiliar with inserting an Arduino between the Rx and the FC
I found some Arduino libraries related to the SBUS.
FUTABA_SBUS library: https://github.com/mikeshub/FUTABA_SBUS
Streaming library: http://arduiniana.org/libraries/streaming/
I do not really know how to connect the circuit between the SBUS port of the radio receiver, the Arduino, and the RC port of the Pixhawk. Can someone please help me with the circuit? I would appreciate your help. Thanks.