-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tello.py program won't connect to Tello #3
Comments
Here is what tello program reports about my serial port:
|
Is the Tello the regular or EDU or RMTT? Is the Tello is in its default mode? If not, consult the Tello docs to put it in default mode. I have only regular Tellos to test with. The Tello sometimes returns binary data but I just ignore it for now. |
It is a regular Tello. What do you mean by default mode? |
I tried another regular Tello and same result. I can connect to these Tello's with Packet Sender. And the Serial Monitor works to connect and send commands from the Arduino IDE. Just not with the Python wrapper. |
I made some progress. The Serial connection provided with the USB mini to USB A connection that I use to program the ESP32 dev board that I have does not play nice with the Python Serial connection. A simple print loop using the default Serial connection will not display. Nothing to do with Tello CLI. However if I use a USB-TTL USB connection device and name some pins like so:
and then in the setup method I use:
I can get the ESPTelloCLI python program to drive the CLI firmware on the ESP32 board after these modifications. I am using a cheap ESP32 board made by Inland and sold by MicroCenter in the USA. I even added commands in the Python program for motoron and motoroff that are part of SDK 2.0 and SDK 3.0 that are compatible with Tell EDU and Tello Talent. I have both of these models. These commands work. I just took delivery of two AdaFruit Huzzah ESP32 boards because they can be LiPo battery powered and I have some hardware connections in development to connect to the Huzzah board and send commands to Tello from this hardware interface. Would not need Python serial except in testing these connections. I will check if these ESP32 boards are as finicky with respect to the standard USB serial cable that is used to program the board. The Talent's LED matrix device is connected to an ESP32 in the case. There is also 5Ghz Wifi in this case that is not driven by the embedded ESP32. The ESP32 itself is programmable with Arduino and I am experimenting with this as well. I also made some small changes to the command_response method:
|
I tried the standard serial connection with the Adafruit Huzzah ESP32 board and the need for pin assignment is not true with this board. I deployed ESPTelloCLI to this board and both the Arduino Serial Monitor and Python can connect to the program using the same USB serial cable that is used to deploy the project in the first place. So there is something specific to the low cost ESP32 Dev board that I started with. Do you have a particular ESP32 board to recommend? The one you used to test this project originally? |
I can operate ESPTelloCLI via the Arduino Serial Monitor.
I close the Serial monitor and then try the tello program. I get this:
I am using a generic ESP32 Dev board. Software deployed with ESP board version 2.0.3.
Any ideas about this?
The text was updated successfully, but these errors were encountered: