This Arduino-Sketch lets you connect your SBUS compatible radio wirelessly as controller to your pc.
This Arduino-Sketch lets you connect your SBUS compatible radio wirelessly as controller to your pc.
You just need a SBUS receiver and connect it to your Arduino and you're ready.
Uninvert the SBUS Signal (FrSky only)
To uninvert your SBUS Signal have a look at this post from Oscar Liang where he shows an wich pads you can get an uninderted Signal, so you dont have to use an inverter.
Connect your receiver to your arduino according to this table
Receiver | Arduino |
---|---|
Uninverted SBUS | RX |
5V | RAW / 5V |
GND | GND |
Befor you can compile this sketch you need to download the following libraries and place them in Arduino libraries folder.
On Linux this folder is by deafult $HOME/Arduino/libraries
On Windows this folder is by default %userprofile%\Documents\Arduino\libraries
Just upload the sbuscontroller.ino
file to your Arduino and your good to go.
This should work on any OS with USB-Support and with any (uninverted) SBUS receiver but this is what it's tested with.
Arduino | Receiver | Operating System |
---|---|---|
Pro Micro | X4R-SB | Linux |
Windows 10 |
If you use this on any other platform please report back, so I can add it to this list.
Currently there are only the first 7 channels that get mapped as controller. Channel 1-6 get mapped as analog and channel 7 as digital button.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details