Skip to content
 
 

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino_SBUS

Read the WIKI to understand a bit more about how all this works.

As a summary, this sketch enables a Frsky receiver SBUS connection to control pins on an Arduino, i.e. to expand your RC receiver and give you full 16 channels to activate extra cool devices on your radio controlled model, such as Lights, PPM servos, sensors, parachute,etc....the skys the limit :-)


To get the sketch working you'll first need to convert the inverted SBUS signal to a non-inveted signal, as the arduino doesn't (at the time of writing this code) have the ability to invert it via code.
For testing purposes you can just use a FTDI converter. However, you'll first need to configured the FTDI to invert the invertd signal back to a non-invered signal (confused? don't worry! just hang on here for a while). For a permanent solution, there are some dedicated "inverter chips" that do that for you or just use a couple of transistors and resistors, or you can do a simple hack on your receiver to tap directly into the non-inverted SBUS signal that's already on the reciever itself (duh- why don't the manufacturers just prodvide this as an output option?). See the video and webpages below, which explain all these methods to invert the SBUS signal:
https://www.youtube.com/watch?v=UAR65jER6WY
Also see the webpage: http://www.robotmaker.eu/ROBOTmaker/quadcopter-3d-proximity-sensing/sbus-graphical-representation



As explained above, to get this Processing sketch to work, you'll need to invert the SBUS inverted signal back to a non-inverted signal.


For this demo, the corresponding channels mapped below need to be also configured on the FrSky Taranis tranmitter accordingly. Any of the Channels can of course be used trigger any of the pins on the Arduino. But this is just a Proof of Concept
  • Channels used in the demo are 5,6,7. Mapped these to the sliders on the transmitter to change RGB LED values
  • Channel 1 set to trigger the Internal Arduino LED on pin 13 once the threshold exceeds 1500
  • Channel 10 needs to be mapped to one of the switches on the Taranis which triggers a buzzer on pin 10 of the Arduino
  • Channel 1 also triggers a servo connected to pin 8 on the Arduino. So moving the throttle will also move the servo according

Have fun :-)
Colin Bacon

About

This Arduino sketch expands the SBUS using an Arduino such as a small Ardiono Nano or ProMicro making the full 16 channels available on your FrSky compatile RC receiver (such as the XR8 or XR4) which would otherwise be limited to just a few PWM ports. This sketch gives additional possibilities with your RC projects such as proportional or pre-…

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages