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 RKHunter on Ubuntu

SSH into your VPS host: ssh root@IP sudo apt-getco update sudo apt-get install binutils libreadline5 libruby1.8 ruby ruby1.8 ssl-cert unhide.rb mailutils Once it has finished downloaded, extract the files and enter the resulting directory: tar xzvf rkhunter* cd rkhunter* Install RKHunter: sudo ./installer.sh Initial Test Runs The first thing we should do is ensure that… Read More

How-to: Format a Disk in FAT32 MBR format

I was making a piratebox.cc and the USB needed to be formatted in FAT32, MBR format. Apple’s disk utility wasn’t co-operating, so I moved over to Terminal. Terminal In Terminal, I searched for my USB using the command: diskutil list I found my USB name and disk number, then I entered the following command (be… Read More