Advertisement

Quick Links

USB2PPM
User Manual
Version 2.4
dated 02/11/23
Gregor Schlechtriem
webmaster@pikoder.com
www.pikoder.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USB2PPM and is the answer not in the manual?

Questions and answers

Summary of Contents for PIKODER USB2PPM

  • Page 1 USB2PPM User Manual Version 2.4 dated 02/11/23 Gregor Schlechtriem webmaster@pikoder.com www.pikoder.com...
  • Page 2: Table Of Contents

    Features Pin Description and Packaging Description of pins .................... 8 Standard application LED status indication ..................9 The PiKoder Control Center PCCpro Getting started ....................11 Real-time Control .................... 13 PPM Settings ....................13 Startup ....................... 13 Save Parameters ....................14 Serial Interface ASCII Command Interface ................
  • Page 3 Overview The USB2PPM is a true single chip solution using a modern PIC controller to generate an PPM-Stream with a resolution of 1 µs controlled from a Win- dows Computer or an Android Smart device. This stream can be used by many RC transmitters for flying with a joystick or a gamepad by simply con- necting the USB2PPM output to the trainer connector of the RC transmitter.
  • Page 4 Hyperlinks were integrated into the text for convenience. You would also find all downloads referenced on the UART2PPM webpage. Please share with me any comments, improvement ideas or errors you will find or encounter in working with your UART2PPM. I can be reached at webmaster@pikoder.com. Thank you very much!
  • Page 5: Features

    USB2PPM allowing you to customize the controller to your specific needs and requirements. You can connect the USB2PPM directly to the USB port of a computer or via USB-OTG to an Android smart device. Especially the combination of the mobile device provides for a high degree of mobility.
  • Page 6 USB2PPM User Manual...
  • Page 7: Pin Description And Packaging

    Pin Description and Packaging The USB2PPM comes in a 14 pin DIP package (see below). The device op- erates from 3.3 – 5 Volts. Please refer to the PIC 16F1455 data sheet from Microchip (www.microchip.com) for complete electrical and physical speci- fications.
  • Page 8: Description Of Pins

    USB2PPM User Manual Description of pins Symbol Description Supply voltage. Connect to 3,3 – 5 V DC Not connected (reserved for later use) Not connected (reserved for later use) MCLR/VPP Reset pin, active low. Connects directly to Vss for automatic reset at power up.
  • Page 9: Standard Application

    Standard application The following schematic shows the standard application of the USB2PPM. Please note that the bi-color LED indicates the USB status and is optional. LED status indication This following table shows the status of the USB connection (“DEVICE STATE”) based on the LED signaling state (“LED RESPONSE”).
  • Page 10 USB2PPM User Manual Given the simplicity of the schematic, the USB2PPM can easily be evaluated on a prototype board. If you are looking for a more permanent prototype then please consider the evaluation board which is available as a kit on...
  • Page 11: The Pikoder Control Center Pccpro

    The PiKoder Control Center PCCpro The USB2PPM’s USB interface provides access to configuration options as well as support for real time control. The PCCpro PiKoder Control Center is a Windows 10 based graphical tool that makes it easy for you to use this inter- face.
  • Page 12 The PCCpro application would show COM3 to be the first available port in your computer. Select the COM port your USB2PPM is connected to (in this example COM6, see below) and then check the box in front of the COM port to connect.
  • Page 13: Real-Time Control

    The key parameters for each channel such as min. and max. pulse width and neutral position can be set individually in the respective row. The PCCpro PiKoder Control Center will limit the slider value to the min. and max. value shown. This feature however is implemented in the Control Center. The PiKoder itself does not perform a parameter check and would therefore ac- cept channel values outside of the shown boundaries.
  • Page 14: Save Parameters

    Changes made while using the PCCpro will not be permanent unless you select to save the parameters. Hitting this button transfers all settings into the non- volatile memory of the USB2PPM to be retrieved when started up the next time.
  • Page 15: Serial Interface

    There are two basic types of commands: commands for querying parameters and for setting parameters. If a parameter is read the PiKoder will provide for proper formatting by send- ing a “CRLF” prior to sending the parameter value and support readability by sending another “CRLF”...
  • Page 16: Compufly Usb Ppm Converter Interface

    USB2PPM User Manual The following ACI commands are available: '?': query the PiKoder type information; USB2PPM will respond in a format 'T=USB2PPM' framed by 'CR' 'LF' '0': query the firmware version; PiKoders will respond in a format 'n.nn' framed by 'CR' 'LF' 'i?': query the current pulse width for channel i (i = 1..8);...
  • Page 17 'S' 0x15 0x00 i: set the number of channels for the ppm frame to i (default = 8). The USB2PPM supports from 1 ... 8 channels. Please note that a ppm frame with more than eight channels does not allow for a repetition rate of 50 Hz and is thus not supported.
  • Page 18 USB2PPM User Manual Room for your notes -...
  • Page 19: Joystick2Ppm For Windows

    Joystick2PPM for Windows Joystick2PPM uses a joystick, or a gamepad connected to your PC to control your RC TX through feeding a PPM stream generated by the USB2PPM PiKoder into the student input. When started the app will automatically con- nect with the USB2PPM and the first Joystick found.
  • Page 20 USB2PPM User Manual Room for your notes -...
  • Page 21: Joystick2Ppm For Android

    Joystick2PPM app which is offered free of charge in the Google Play Store. Additionally, you would need an USB hub. Please note that this app currently only supports a Logitech Extreme 3D PRO joystick and a USB2PPM. System setup...
  • Page 22: User Interface

    User interface The user interface is intuitive and allows for smooth operation. The joystick and the USB2PPM are automatically recognized when starting the app. You would have to grant access to the respective USB ports when running the app for the first time.

Table of Contents