Skip to content

Connecting an external controller

Fred G edited this page Mar 18, 2018 · 4 revisions

Connecting an external controller

Instead of using the on-screen controls, you can also connect an external controller like a PS3 Controller (or compatible).

There are several possible combinations how this works depending on how you connect to the Crazyflie:

Connection to Crazyflie Gamepad connection:
USB via OTG cable
Gamepad connection:
USB via USB hub
Gamepad connection: Bluetooth direct (only Sony phones) Gamepad connection: Bluetooth with root access and SixAxis Controller app
Crazyradio No Yes Yes Yes
Bluetooth LE Yes Yes Yes No

Connect a Playstation Controller over USB

In addition to the USB OTG cable, you'll also need:

  • USB Y-Cable
  • USB Hub
  • PS3 Controller (or compatible joystick/gamepad)

Setup

  1. Connect a USB Host (OTG) adapter to your Android device
  2. Connect a USB Y-cable with the USB Host adapter
  3. Connect a wall-plug with the (red) power plug of the Y-cable (you need external power)
  4. Connect the upstream port of a USB hub with the socket of the Y-cable
  5. Plug the Playstation controller and the Crazyradio into the USB hub
  6. In the Crazyflie Android app, change the controller to game pad
    • Preferences button → Controller Settings → Controller
  7. The Crazyflie Android client should say “Using game pad controller”
  8. Press the “PS” button and move the analog sticks (the pitch/roll/thrust/yaw on-screen values should change)

Connect a Playstation Controller (over Bluetooth)

Some Android devices made by Sony, like the Xperia Z1, support the PS3/PS4 controller natively. Otherwise your Android device must be rooted and you need to install the SixAxis Controller app (paid).

Setup

  1. Use the Sixaxis Controller app to pair and connect the Playstation Controller
    • You might have to press the “PS” button to activate the Playstation Controller
  2. In the Crazyflie Android app, change the controller to game pad (if you haven't done so yet)
    • Preferences button → Controller Settings → Controller
  3. Press the “PS” button and move the analog sticks (the pitch/roll/thrust/yaw on-screen values should change)

Please note: In general, you cannot connect to the Crazyflie 2.0 via Bluetooth while you are connected to the PS3 controller via Bluetooth. It actually does work on certain Sony Xperia phones (e.g. Z2,Z3), because those phones have native support for connecting to Playstation controllers.

Clone this wiki locally