Skip to content

Arduino adapter for RC remote control PPM signal to USB HID Joystick

Notifications You must be signed in to change notification settings

Wapata/USB_PPM_Joystick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

USB PPM Joystick

An Arduino adapter for RC remote control PPM signals to USB HID Joystick.

Many (semi) professionl remote controls can output their control signal via a connector. Usualy the signal is PPM modulated.

If you want to train your steering skills before lifting off your RC helicopter you should consider using a RC simulator first. With this adapter-sketch you can use your original remote control as an joystick.

This sketch uses a slightly modified version of the vusb library in order to work with the Arduino framework, added some const before PROGMEM and changed the typedef of byte to uchar. The sketch is based on the UsbJoystick demo from Michel Gutlich (example included in library).

###Requirements Arduino IDE >1.0

###Installation

You need to move the folder UsbJoystick to your sketchbook's libraries folder!

##Hardware This has only been tested with boards based on the Atmega168 MCU (Arduino Duemilanove). It should work with Atmega328 boards (Arduino Uno) as well.

The electric scheme included does not show all the Arduino connections and additions. It just shows a kind of bare minimum required. The voltage regulator is only required because USB signals are 3.3 V based while the USB power is 5 V. ###Connections Arduino D2 -> USB D+ (fixed)
Arduino D3 -> USB D- (fixed)
Arduino D4 -> 1.5 kOhm -> USB D- (optional)
Arduino D8 -> PPM input (changeable in code)

About

Arduino adapter for RC remote control PPM signal to USB HID Joystick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 50.9%
  • C++ 35.5%
  • Assembly 9.1%
  • Other 2.6%
  • Processing 1.9%