Go Down

Topic: Futaba SBUS reverse engineered to work with Arduino (Read 54733 times) previous topic - next topic

lorbass

#45
Dec 15, 2014, 10:23 am Last Edit: Dec 15, 2014, 10:25 am by lorbass
Errors during compilation

I have the same issues like m_marc() at #11 which where not answered.

And the following message with the example of the mentionned libray on github...
for the line:

 Serial<<sBus.channels[0]<<","<<sBus.channels[1]<<","<<sBus.channels[2]<<"\r\n";

invalid operands of types 'int' and 'const char[2]' to binary 'operator<<'


My target is to decode the Output from DJI Lightbridge which is only available as S-Bus Signal.
Therefore no other functions (camera, gimbals, landing gears) are possible.
And the Signal is too "week" to feed standard decoders on the market.
All I request to proceed are the values of the Tx/Rx Channels.

I think there is a lot of Brain behind the library for not to use it.
Thanks a lot for help


Erni

You could try this instead.
It dosn't use any librarys and it just works.

http://openrcforums.com/forum/viewtopic.php?f=84&t=6361

codeforge

Hi,
i try to  make a sbus signal to control a sbus controler. Could you give me an example to make it write instead of read from sbus?


dtsonchev

Hello
I have receiver FrSKY 4RSB connected SBUS to NAZA M V2.
By Arduino, I want to on/off a LED from  the remote control channel 9.
Can you help me?

Thanks


Erni


miodand4

Hi,

I am using Taranis and X8R to communicate with an arduino nano, and for some reason something is not working. (Note even the example from the library)


I built an inverter with a BC337 and two resistors, and I plugged it into the serial port, but nothing happens.
Maybe I need a pull-up resistor in the output of the inverter?

Thanks in advance!

Erni


This is the inverter I use.
Both resistors are 1k


mikesbaker

Hey everyone. I have made some big updates to the code. I have make a new sketch that autodetects betwen SBUS, DSM serial (10 or 11 bit), PPM and PWM. The code is a bit more readable now as well. It is set up to run on an arduino mega.

https://github.com/FunkyFlier/RC_sig_new_rc_type/

Go Up