The drone operates in two modes: station mode and wifi mode. Station mode means that the drone connects to an existing wifi router. Wifi mode means that the drone creates a wifi and you may connect to it.
Neither of the two modes are perfect: Camera-related stuff usually doesn't work in station mode. Emergency shutdown button doesn't work in wifi mode.
- Turn your drone on.
- Use your mobile phone to scan existing wifi.
- If you see a wifi named
TELLO-<droneId>
, then that must be in wifi mode. - If you can't see, then it is in station mode.
- If you see a wifi named
No. Mode won't change unless you purposefully do so.
- Turn your drone on if you haven't done so.
- Press the power button on your drone for about 5 seconds and then release.
- Your drone is now in wifi mode. Connect your laptop to
TELLO-<droneId>
to operate your drone. - Be mindful about the fact that you no longer have emergency shutdown button.
-
Update the ELE115 project template to the newest version (v1.4 or higher). (How?)
-
Create a project. We suggest you name it as
wifi-to-station
.Note: You don't have to setup Git for this.
-
Code
Main.java
as follow:package com.github.ele115.<your_netid>.wifi_to_station; import com.github.ele115.tello_wrapper.Tello; public class Main { public static void main(String[] args) { var drone = Tello.Connect("<droneId>"); drone.setStationMode("ELE115-TELLO", "<password>"); } }
Note: Don't include
<
,>
into your code. -
Turn your drone on if you haven't done so.
-
Wait for about 3 seconds.
-
Connect your laptop to the wifi named
TELLO-<droneId>
. -
Run the code.
-
Wait for about 30 seconds.
-
Your drone is now in station mode. Connect your laptop to
ELE115-Tello
to operate your drone.