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

Stopping Spam

I’ve noticed when you share your email address on classified advertising services like kijiji.ca or employment-related search engines like Indeed.com, spammers web scrap the boards and harvest your email address. This normally leads to countless unsolicited junk emails. Top level domains To combat this, I have monitored incoming email addresses, setting up email rules to filter… Read More

Remove a repository in source list using terminal

List You can remove the repository from the sources list using terminal. Find First you need to find your lists: sudo ls /etc/apt/sources.list.d Command Look for your desire PPA here and then remove the PPA using the following command: sudo rm -i /etc/apt/sources.list.d/PPA_Name.list