-
Notifications
You must be signed in to change notification settings - Fork 120
User guide
- Connect the Crazyradio dongle to the Android device with the USB OTG cable.
- A pop-up dialog should ask you which app you would like to use with the USB device.
- Select the Crazyflie app (“Crazyflie Client”).
- When you run the app for the first time, you can scan for the Crazyflie (must be switched on).
- Preferences button → Connection Settings → Radio Scan
- Or you can set channel and data rate in the preferences manually
- Connect to the Crazyflie by clicking on the connect button.
- If the connection is established, the connect button should have a green background and the green LEDs on the Crazyflie and the Crazyradio should blink rapidly.
Please note:
- Your Android device must support Bluetooth LE (Low Energy) 4.0 and run Android 4.4+ (eg. Nexus 4, Nexus 5, Samsung Galaxy S4).
- Make sure that you have not paired your phone with the Crazyflie 2.0 via your phone's general Bluetooth settings, otherwise the app will not be able to connect properly (connection will claim to be successful, but controls won't work).
- The (old) Crazyflie does NOT support Bluetooth LE, only Crazyflie 2.0 supports Bluetooth LE.
- To start a Bluetooth LE connection just make sure that no Crazyradio is connected.
- If you have not turned on Bluetooth on your phone you will be asked to turn it on.
- Connect to the Crazyflie by clicking on the connect button.
- Sometimes it might take a few seconds and it might fail the first time, in that case please try again.
- If the connection is established, the connect button should have a blue background and the green LEDs on the Crazyflie and the Crazyradio should blink rapidly.
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 |
In addition to the USB OTG cable, you'll also need:
- USB Y-Cable
- USB Hub
- PS3 Controller (or compatible joystick/gamepad)
Setup:
- Connect a USB Host (OTG) adapter to your Android device
- Connect a USB Y-cable with the USB Host adapter
- Connect a wall-plug with the (red) power plug of the Y-cable (you need external power)
- Connect the upstream port of a USB hub with the socket of the Y-cable
- Plug the Playstation controller and the Crazyradio into the USB hub
- In the Crazyflie Android app, change the controller to game pad
- Preferences button → Controller Settings → Controller
- The Crazyflie Android client should say “Using game pad controller”
- Press the “PS” button and move the analog sticks (the pitch/roll/thrust/yaw on-screen values should change)
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)
- 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
- In the Crazyflie Android app, change the controller to game pad (if you haven't done so yet)
- Preferences button → Controller Settings → Controller
- 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.
Altitude hold uses the built-in pressure sensor (barometer) on the Crazyflie 1.0 and 2.0 to keep the Crazyflie at the current height. It does not compensate for changes in attitude (Pitch, Roll, Yaw), so the user still needs to control those axes.
Please note:
- Only supported when using Crazyradio.
- For safety reasons it can only be used when the game pad is used.
Controls:
- The default assigned "Hover" button on the game pad is
R1
(right top shoulder button) on a Playstation controller.- It can be re-assigned in the preferences: Preferences button → Controller Settings → Gamepad axis and button mapping → Hover
- To activate it, press the "Hover" button (and keep it pressed) while flying at reasonable height (at least knee high). At the same time let go of the thrust axis. The Crazyflie should (more or less) keep it's current height. You still need to correct the attitude (Pitch, Roll, Yaw). If you let go of the "Hover" button, altitude hold is off immediately and you need to apply thrust again manually to keep the copter in the air.
- During altitude hold the thrust axis works slightly different:
- center stick is neutral,
- if you move the thrust axis up, the height increases
- if you move the thrust axis down, the height reduces.
Height hold uses the distance sensors on the zRanger and the Flow deck to keep the Crazyflie at a default height of approximately 40 centimeters. It does not compensate for changes in attitude (Pitch, Roll, Yaw), so the user still needs to control those axes. The distance sensor is more reliable than the pressure sensor (barometer), but the maximum supported height is about 1.2 meters.
Please note:
- Only supported when using Crazyradio.
- For safety reasons it can only be used when the game pad is used.
- Required deck: zRanger deck or Flow deck
Controls:
- Controls work is almost identical to altitude hold. Except the default height is 40cm and the maximum height is limited to roughly 1.2 meters.
- You can adjust the height with the thrust axis, but once you exit height hold the height is reset to the default (40cm). So the next time you enable height hold, it starts with the default again.
When the LED ring is connected, the lighting pattern of the LED ring can be changed. The front LEDs (headlight) can also be switched on and off.
Please note:
- Only supported when using Crazyradio.
- Required deck: LED ring deck
Controls:
- By default "LED ring: Enabled headlight" is assigned to "Alt 1 action" which is assigned to the
L1
button on the game pad (left top shoulder button) on a Playstation controller. - By default "LED ring: Cycle ring effect" is assigned to "Alt 2 action" which is assigned to the
L2
button on the game pad (left bottom shoulder button) on a Playstation controller. - Both actions can be re-assigned in the preferences: Preferences button → Controller Settings → Gamepad axis and button mapping → Alt 1/2
- There are also two on-screen buttons to enable the headlight and cycle the ring effect respectively.
- The "LED ring: Cycle ring effect" cycles through the following effects:
- Off
- White spinner
- Color spinner
- Tilt effect
- Brightness effect
- Color spinner2
- Double spinner
- Solid color effect
- Factory test
- Battery status
- Boat lights
- Alert
- Gravity
- N/A
Please note:
- Only supported when using Crazyradio.
- Required deck: Buzzer deck
Please note: Only supported when using Crazyradio.
Feature | Crazyradio | Bluetooth LE |
---|---|---|
Basic controls | Yes | Yes |
Connection quality | Yes | Yes |
Battery | Yes | No |
Console | Yes | Yes |
Bootloader | Yes | No |
Altitude/Height hold | Yes | No |
Decks (LED, Buzzer) | Yes | No |
Param/Log | Yes | No |