2. Contents
โข Overview
โข Need Finding
โข problem in current works
โข Wiring
โข Software
โข Firmware
โข PC Interface
โข Projects
3. Overview
USB2PPM is a device that can translate serial or voltage command values and encode it into a
PPM(Pulse Position Modulation) signal. The signal is sent to the trainer port of Turnigy 9X to be
transmitted over radio signals
USB2PPM
Features
- Low latency ( 50Hz or 20ms)
- Long Range control ( >2km )
- Resolution : 0 ~ 1150
- Simple / Low cost components
- Able to switch commands from potentiometer(voltage inputs) to Serial inputs
- Developed as an Arduino UNO Shield
4. Need Finding
โข Radio Control as a control method
โข Serial inputs require complex interfaces to use
- Accessing serial ports through software is compex
- Needs a spare UART Port for the system to control
- Usually short range
โข Serial Communications have latency issues
- Xbee communication speed reduces when communicating both ways
- Streaming Wifi requires a high performance computer(usually PC)
โข adf
6. Software (Firmware)
โข Total length is 2200 ฮผs
- Minimum command value is 650 ฮผs
- Maximum command value is 1700 ฮผs
TCCR1 : Timer Counter Control Register
TIMSK : Interrupt Mask Register
TIFR1 : Timer Interrupt Flag Register
OCR1 : Output Compare Register
8. Software (PC)
โข Uses USB cable to connect with Arduino
โข Encodes PPM command values into a string
โx1023y1z43k923โ
9. Design A: USB2PPM System
Pros - Low latency (50Hz)
- Simple Architecture
- Long Range
Cons - Trimming Issues
- Dependent on dynamic characteristics
Design B: ROS System
Pros โ Offboard Control
- Kinematics / Force Control
- ROS Compatible
Cons - Complex Software
- Latency Issues from MAVLink Serial Comm.
System Layout
Usb2ppm for quadcopter Control
10. USB2PPM
- 4 Channel PPM commanded from USB
- Resolution: 1024
- Needed for Trimming Quadrotor before flight
- Arming Switch for Experiment
- PPM Interface with Turnigy 9X
USB2
PPM
PPM
UARTGCS
Potentiometer