Program Tello drone to do backflips with Scratch! Banner Image

Program Tello drone to do backflips with Scratch!

Publish Date:
Jun 28, 2018
Categories:
Flight Foundation

The RYZE Tello drone was released earlier this year and is a small fun drone. The ability to use it with a bluetooth controller and program the drone to move and do flips really caught my attention though. And for under $100! If you're on the fence about buying one, I'd urge you to get it. I love flying the Tello indoors when the weather outside doesn't allow me to fly my bigger drones.

We just started moving our drone community to a Facebook Group. The community is for drone enthusiasts, professionals, freelancers and entrepreneurs looking to ask questions, receive feedback and help each other level up their skills. All skill levels welcome. Request access now!

To start programming your Tello drone, you'll need to download a few things before we get started.

Download and Install Node

You'll need to download the latest version of node.js here. Once downloaded, install node using the on screen dialog box just like any other application.

Download and Install Scratch 2

Download Scratch 2 here. What is scratch? Scratch is a visual way of learning programming. It lets you visually create blocks of code that you can run to see how they work! It's pretty cool and easy to get the hang of. Made by the MIT Media Lab.

If you're downloading this on a mac, you'll have to download the latest version of Adobe Air as well. The Scratch download page helps you with this.

Download Tello Files from RYZE

The two files were concerned with here are the Tello.js & Tello.s2e. The Javascript file we'll use to make your computer and Tello talk to each other over Wi-fi and the Tello.s2e is what we'll import into Scratch 2 to give us access to some cool blocks.

Download the Tello files here.

Install Tello blocks into Scratch 2

To add the Tello functionality to Scratch, we'll need to install the blocks by holding Shift and pressing the File menu, this will enable "Import experimental HTTP extension" in the menu - select it and navigate to the Tello.s2e file on your hard drive.

Start Node

Find the folder we downloaded from RYZE and copy the pathname using Command + Option + C. Open the Terminal on your machine and type in "node Tello.js". The process looks like this.

Press enter to go to the folder.

Congrats! Now your Node server is running! Let's open Scratch and see if our light is green or red. (It should be green).

In Scratch, under More Blocks we have a green light! This means everything is working as expected.

Here are a few ideas of what you can do with the Tello in Scratch! I recommend trying these scripts out in an open area! Always remember to have a take off and a land script so you can safely land the Tello drone if you ever need to!

Download my Scratch file for the Tello.

What are your favorite Tello scripts in scratch? Leave a comment below!

About the Author:

Keith Knittel

I'm a designer from Cleveland, Ohio and love to shoot photos & videos. I made my first website in 2004 to show friends photos & videos (before YouTube/Flickr were things) and have been shooting and designing ever since! I have a deep passion for making and helping others create.

Free Mavic Mini Getting Started Course

  • Preflight Checklist PDF
  • Free Color Grade LUT Pack
  • Top 10 Tips & Tricks

Free Mavic Air 2 Getting Started Course

  • Preflight Checklist PDF
  • Free Color Grade LUT Pack
  • Top Tips & Tricks

Free Mavic 2 Pro Getting Started Course

  • Preflight Checklist PDF
  • Question and Answer Videos
  • Get up and running quickly

Post Categories:

Check out my latest YouTube video!

Subscribe on YouTube
$0-$61 YouTube Studio Setup Tutorial for Beginners in 2021

Drone Courses, Community Membership & File Downloads

Shoot Inspiring Images & Connect With Other Students

Drone Training Courses

Learn the entrie process of flying, shooting, editing and sharing.

Learn the do's and dont's, as well as common pilot mistakes and how to fix them.

Private Community Membership

Our privately hosted drone community offers a place to post your work, ask questions and talk to your classmates and your instructor, me!

All skill levels welcome, from beginners to advanced pilots.

Updated Monthly

Drones and technology move pretty quickly. I will add more lessons to the courses every month and update lessons as new information becomes available.

Free Video Courses & Preflight Checklists

Beginner Guides for Specific Drones

Getting Started Guides

Answer common questions and get tips and tricks for your specific drone.

Preflight Checklists

Ensure you're flying safely and have a consistent plan with a preflight checklist. Use these lists to fly safely and not forget anything before and during flight.

Free Courses & Guides
Mavic Air 2 Mavic Mini Mavic 2 Pro/Zoom