bolderflight / sbus

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

No Readings #18

Closed beaconIOT closed 5 years ago

beaconIOT commented 5 years ago

Hey- Thanks a ton for creating this library. I am trying to connect my Futaba SBUS receiver to my Arduino Uno (I also have a Mega so have tried troubleshooting with that too). No matter what I do, I can’t get any readings to display on my OLED screen. I am using an I2C OLED screen to try to show the channel readings because I realize that the UNO only has 1 serial port, so it wouldn’t be feasible to view the channel outputs in a serial window if RX0 is tied up with the SBUS inputs.

I have followed the instructions and am just trying to adapt the example code to read out the first 4 channels to an Adafruit OLED screen but I am just getting 0’s. I am using a Futaba 10J transmitter with an R3008SB S.BUS receiver. I have confirmed that the SBUS channel of the receiver is indeed giving an output (I tested it with an S.BUS to PWM decoder and the channels worked as expected).

I am using a TTL inverter that uses a 2N3904 transistor a 10k and 4.7k resistor. Do you think there is any issue with using this type of transistor for the TTL inverter?

Any suggestions would be amazing!

Thanks