bolderflight / sbus

Arduino and CMake library for communicating with SBUS receivers and servos.
MIT License
373 stars 132 forks source link

SBUS2 #48

Closed nightfury-11 closed 3 years ago

nightfury-11 commented 3 years ago

this library is compatible with SBUS2? or just SBUS?

Second, if SBUS2 is not supported, how are you sending data to the transmitter?

flybrianfly commented 3 years ago

This library supports receiving actuator commands from a SBUS or SBUS2 receiver and sending commands to SBUS or SBUS2 servos. It does not support the telemetry aspects of SBUS2.

nightfury-11 commented 3 years ago

does that mean I can record frameloss onto lets say an SD card?

flybrianfly commented 3 years ago

Yes, see the lost_frame and failesafe methods in the API.

nightfury-11 commented 3 years ago

Understood.

I had a couple questions about the schematic.

The RX pin will act as the "signal" wire correct? since we are only receiving data and not transmitting it.

if I'm using an SBUS2 receiver, example R7008SB, should I connect it to the SBUS or SBUS2 port?

Lastly, since I'll need a serial inverter, can you advise on how I should go about making one?

flybrianfly commented 3 years ago

Yes, SBUS signal to the RX pin. I haven't used a Futaba Receiver (just received feedback on making code compatible with them), so you'd have to try both ports and see which would work. I would just search online for inverting circuits, I've only used microcontrollers that support the inverted serial natively.

nightfury-11 commented 3 years ago

Ok, I'll try both ports. How will I know which one is working and which one isn't? Via the serial monitor?