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 c3c81bce34 Remove unused virtual methods 8 gadus atpakaļ
.gitignore Initial commit 8 gadus atpakaļ
COPYING Added README.md and COPYING 8 gadus atpakaļ
README.md Added README.md and COPYING 8 gadus atpakaļ
Saitek-X52-PPM.ino Can now set CPPM parameters using MFD 8 gadus atpakaļ
cppm.cpp Can now set CPPM parameters using MFD 8 gadus atpakaļ
cppm.h Can now set CPPM parameters using MFD 8 gadus atpakaļ
data.h Use TimerOne library for CPPM output. Renamed files. 8 gadus atpakaļ
events.h Remove unused virtual methods 8 gadus atpakaļ
events_buttons.cpp Remove unused virtual methods 8 gadus atpakaļ
events_cppm.cpp Remove unused virtual methods 8 gadus atpakaļ
events_deadzone.cpp Remove unused virtual methods 8 gadus atpakaļ
parser.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. 8 gadus atpakaļ
parser.h Use TimerOne library for CPPM output. Renamed files. 8 gadus atpakaļ
x52.cpp Add Saitek X52 Pro VID/PID 8 gadus atpakaļ
x52.h Can now set CPPM parameters using MFD 8 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 (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.