Control drones with a proper joystick
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Buck d02e786ab2 Added README.md and COPYING преди 7 години
.gitignore Initial commit преди 7 години
COPYING Added README.md and COPYING преди 7 години
README.md Added README.md and COPYING преди 7 години
Saitek-X52-PPM.ino Rename to ButtonDown, added MFD button info, fixed deadzone. преди 7 години
cppm.cpp New CPPM code. Should now be basically working. преди 7 години
cppm.h New CPPM code. Should now be basically working. преди 7 години
data.h Use TimerOne library for CPPM output. Renamed files. преди 7 години
events.h Rename to ButtonDown, added MFD button info, fixed deadzone. преди 7 години
events_buttons.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. преди 7 години
events_cppm.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. преди 7 години
events_deadzone.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. преди 7 години
parser.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. преди 7 години
parser.h Use TimerOne library for CPPM output. Renamed files. преди 7 години
x52.cpp New CPPM code. Should now be basically working. преди 7 години
x52.h New CPPM code. Should now be basically working. преди 7 години

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.