Skip to content
robotmaker team edited this page Feb 12, 2018 · 11 revisions

Welcome to the Arduino_S.BUS wiki!

This Arduino sketch expands the S.BUS using an Arduino (e.g. 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-set control of servos, switching on landing lights, ativiating buzzers, launching parachutes, reading sensors on your RC model as remote telemetry data, etc.

How it works? The arduino sketch merely "sniffs" the SBUS data arriving on the serial port and split the package into 16 channels.

You are then able to configure and map the Arduino pins to any available RC channel as you like. It's only limited to the number of channels and the number of free I/O ports on your Ardiuno. The Arduino can be added 'in-line' with any other SBUS device on your RC model. Please note that only limited testing has been done on using various RC cars and drones. so don't use this device for any critical or non-critical control of your model without thorough testing. You use the solution and code at your own risk.

This Arduino sketch which may be useful if you are into radio controlled models and need to use all 16 channels from your Radio equipment - even though you only have a 4 channel receiver such as the XR4.

This S.BUS enable you to connect up to 16 servos on to a single bus of 3 wires (+,-,~); hence reducing the number of cables in a radio controlled model.

This Arduino sketch can be used to trigger 16 channels enables a connection to a S.BUS interface on a Frysky receiver module, such as the X4R / X8R.

So, if you are using a Taranis transmitter with many switches, slider or you've connected an additional multi-position pot to the transmitter - you can assign each switch or switch - position to a separate channel.

How is this possible?

The Arduino sketch interprets the S.BUS interface on the Frysky receivers (such as the X4R / X8R) which is transmitting 25 bytes of data at 100000 baud; Even parity; 2-Stop bits. These bytes determine the positions of the transmitted 16 channels - even though it may only be a 4 channel receiver.

So you can assign a switch, for example, to turn on LED's (headlights), sensors, Buzzers and even low cost PWM servos.

ROBOTmaker has developed a 360 degree Infra red proximity sensor (IRCF360) and are testing interfaces to a quadcopter flight controller for supported or fully autonomous flights - such as hovering a determined distance off the ground (determined for example by position of the TX slider) or avoiding hitting walls and other obstacle. Even for autonomous racing of micro quad through a maze. Our vision is to be enable give a Quadcopter FPV pilot additionally autonomous support through auto proximity navigation e.g. through a copse or other challenging obstacle course.

You can follow this project on our website ROBOTmaker

contact [email protected] for any questions.

Clone this wiki locally