openstatic.org

openstatic.org

SBUS BLE Gamepad

(Jump to downloads)

Lately i've been playing with drones a lot, and i wanted a way to practice using a simulator. I noticed the most common method was to use a cable to convert PPM to usb, but i didn't like this approach as it was hardwired and didn't take advantage of the wireless capability of the controller. I also didn't like that controls couldn't be remapped. I'm sure many similar solutions exist but here is my attempt at a SBUS to Gamepad bridge! If you would like to build one using my code, i've provided some simple instructions and the source code.

At the bottom of this page, you will find a zip file with the arduino project to flash onto your ESP32.

Things you will need to build this:

  • an ESP32 (devkit 1)
  • a servo cable
  • a sbus capable controller and receiver
  • some experience with flashing arduino code to an esp32
Your Aruino environment will need the following libraries: I dont think this requires a schematic as there are only 3 connections, Wiring looks like this:
  • VIN - Receiver VIN
  • GND - Receiver GND
  • ESP32 RX2 - Receiver SBUS out
  • Power the ESP32 via USB port
I used a servo cable to make it easy to attach different receivers

Demo



Once you've flashed the sketch and uploaded the data the device will connect to your network. Use your router to determine the IP address and configure your controller. When configuring your controller keep in mind any unused axis's will be removed from the bluetooth controller profile. You should re-pair after any major changes.

My completed device



If you are feeling generous and would like to support this project

Downloads

Latest Update: June 07 2022 11:02:04 AM EDT

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.