My static website generator using poole https://www.xythobuz.de
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2016_07_24_usb_host_cppm.md 2.5KB

title: Blog post: Arduino USB Host CPPM description: Controlling quadcopter with USB joystick date: 2016-07-24 comments: true flattr: true github: https://github.com/xythobuz/Saitek-X52-PPM parent: projects show_in_quadcopters: true show_in_input_devices: true

position: 80

This project allows using an AVR-based Arduino with a USB-Host-Shield to be connected to a Saitek X52 (Pro) flight control joystick, generating a CPPM-Signal that can be fed to most common RC transmitters.

Features

All Parameters, like the channel count, CPPM specifications, endpoints, trim and invert, can be changed using the Multi-Function-Display on the Saitek Joystick and stored to the Arduino EEPROM.

A modified host telemetry port (D-Port) of an FrSky TX module can be connected to the hardware serial port so the link quality and voltage will be displayed on the Multi-Function-Display. Obviously, you have to remove the RS232 level-converter from the TX module or use an adaptor to bring the UART to 5V level.

Currently the code only supports the Saitek X52 series, but you could easily adapt the code to work with other joysticks or gamepads.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.