Programming the DJI Tello [Mac]

Starting off, let’s all admit, you are going to crash into stuff, so more space you have the better.

DJI Tello
DJI Tello

How-to: Program Tello to do backflips with Scratch 2.0!

Install brew.sh on your Mac, If you are unfamiliar with brew! Homebrew is a free and open-source software package management system that simplifies the installation of software).

Open Terminal on your Mac and enter this command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Node
brew install node

Install Adobe Air

Install Scratch

Download the Tello files

Install Tello blocks into Scratch by:
Holding the Shift key, press File >> Import Experimental HTTP extension and import (if you don’t hold down the shift key, you won’t see this added feature)

Scratch
Scratch

Find the Tello files you just downloaded and copy the pathname using Command + Option + C

Then in terminal, go into that folder:
cd /Users/NAME/Downloads/Scratch

Start Node
node Tello.js

Make sure Node is running

node-tello-js
Node.js

Connect to the Tello via WiFi

Wifi
wifi

Start clicking stuff! (“take off” and watch it fly).

scratch 2
scratch 2
Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Installing Memcached

Memcached is a general-purpose distributed in-memory object caching system, which is often used to speed up and optimize back-end dynamic database performance. It does this by temporarily storing data and objects in the servers RAM/memory (like rendering a popular WordPress page on your blog). This reduces the number of direct requests to your databases, saving… Read More

[How-to] Host a static website on a AWS S3 bucket

As you may already know, Amazon offers the best cloud services through an initiative called Amazon Web Services (or simply Amazon AWS). Among the available services are some that, when combined, allow the hosting of websites to be effortless and with a relatively low (and scalable) cost. One such service is called Simple Storage Service… Read More