Thomas Buck c8f3d02ee0 Fixed FrSky protocal parsing bug | 8 лет назад | |
---|---|---|
.gitignore | 8 лет назад | |
COPYING | 8 лет назад | |
README.md | 8 лет назад | |
Saitek-X52-PPM.ino | 8 лет назад | |
config.cpp | 8 лет назад | |
config.h | 8 лет назад | |
cppm.cpp | 8 лет назад | |
cppm.h | 8 лет назад | |
data.h | 8 лет назад | |
events.h | 8 лет назад | |
events_buttons.cpp | 8 лет назад | |
events_cppm.cpp | 8 лет назад | |
events_deadzone.cpp | 8 лет назад | |
frsky.cpp | 8 лет назад | |
frsky.h | 8 лет назад | |
parser.cpp | 8 лет назад | |
parser.h | 8 лет назад | |
x52.cpp | 8 лет назад | |
x52.h | 8 лет назад |
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.
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.