Control drones with a proper joystick
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Thomas Buck 5b1c1554d9 Configurable CPPM output pin 7 gadus atpakaļ
.gitignore Initial commit 7 gadus atpakaļ
COPYING Added README.md and COPYING 7 gadus atpakaļ
README.md Configurable CPPM output pin 7 gadus atpakaļ
Saitek-X52-PPM.ino Configurable CPPM output pin 7 gadus atpakaļ
config.cpp Configurable CPPM output pin 7 gadus atpakaļ
config.h Configurable CPPM output pin 7 gadus atpakaļ
cppm.cpp Configurable CPPM output pin 7 gadus atpakaļ
cppm.h Configurable CPPM output pin 7 gadus atpakaļ
data.h Use TimerOne library for CPPM output. Renamed files. 7 gadus atpakaļ
events.h Configurable CPPM output pin 7 gadus atpakaļ
events_buttons.cpp Configurable CPPM output pin 7 gadus atpakaļ
events_cppm.cpp Load/Save config on EEPROM 7 gadus atpakaļ
events_deadzone.cpp Can configure debug output target 7 gadus atpakaļ
frsky.cpp Can configure debug output target 7 gadus atpakaļ
frsky.h Added FrSky telemetry decoding 7 gadus atpakaļ
parser.cpp Can configure debug output target 7 gadus atpakaļ
parser.h Use TimerOne library for CPPM output. Renamed files. 7 gadus atpakaļ
x52.cpp Can configure debug output target 7 gadus atpakaļ
x52.h Some 'beauty' fixes and default values 7 gadus atpakaļ

README.md

Arduino Saitek X52 USB CPPM converter

This sketch allows connecting a Saitek X52 or Saitek X52 Pro to an Arduino with a USB Host Shield. It uses the USB_Host_Shield_2.0 Library.

A CPPM signal is generated on a configurable pin and can be fed into a transmitter module or directly into a flight controller.

Using the Multi-Function-Display on the Joystick, every config option can be changed. These values can be stored on the EEPROM and will be loaded on every start.

I’m connecting the Arduino to the FrSky DHT module in my modified transmitter to control my Tricopter.

A modified (ie. non-inverted) FrSky Host Telemetry Port (D-Port) can be connected to the hardware serial port of the Arduino so the Telemetry data (link quality and voltages) will be displayed on the Multi-Function-Display of the joystick.

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.