Control drones with a proper joystick
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Thomas Buck d02e786ab2 Added README.md and COPYING vor 7 Jahren
.gitignore Initial commit vor 7 Jahren
COPYING Added README.md and COPYING vor 7 Jahren
README.md Added README.md and COPYING vor 7 Jahren
Saitek-X52-PPM.ino Rename to ButtonDown, added MFD button info, fixed deadzone. vor 7 Jahren
cppm.cpp New CPPM code. Should now be basically working. vor 7 Jahren
cppm.h New CPPM code. Should now be basically working. vor 7 Jahren
data.h Use TimerOne library for CPPM output. Renamed files. vor 7 Jahren
events.h Rename to ButtonDown, added MFD button info, fixed deadzone. vor 7 Jahren
events_buttons.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. vor 7 Jahren
events_cppm.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. vor 7 Jahren
events_deadzone.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. vor 7 Jahren
parser.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. vor 7 Jahren
parser.h Use TimerOne library for CPPM output. Renamed files. vor 7 Jahren
x52.cpp New CPPM code. Should now be basically working. vor 7 Jahren
x52.h New CPPM code. Should now be basically working. vor 7 Jahren

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 (4 by default, can be changed in cppm.h).

It includes code to interface with the Multi-Function-Display on the Joystick to display text and change the LED and background lighting.

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

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.