Control drones with a proper joystick
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Thomas Buck 52ecdee2aa Add Saitek X52 Pro VID/PID 8 роки тому
.gitignore Initial commit 8 роки тому
COPYING Added README.md and COPYING 8 роки тому
README.md Added README.md and COPYING 8 роки тому
Saitek-X52-PPM.ino Rename to ButtonDown, added MFD button info, fixed deadzone. 8 роки тому
cppm.cpp New CPPM code. Should now be basically working. 8 роки тому
cppm.h New CPPM code. Should now be basically working. 8 роки тому
data.h Use TimerOne library for CPPM output. Renamed files. 8 роки тому
events.h Rename to ButtonDown, added MFD button info, fixed deadzone. 8 роки тому
events_buttons.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. 8 роки тому
events_cppm.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. 8 роки тому
events_deadzone.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. 8 роки тому
parser.cpp Rename to ButtonDown, added MFD button info, fixed deadzone. 8 роки тому
parser.h Use TimerOne library for CPPM output. Renamed files. 8 роки тому
x52.cpp Add Saitek X52 Pro VID/PID 8 роки тому
x52.h New CPPM code. Should now be basically working. 8 роки тому

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.