Build a Linux Based Raspberry Pi Drone
4.5 (411 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,291 students enrolled

Build a Linux Based Raspberry Pi Drone

Learn how to design, build, fly and even code your own raspberry pi drone from scratch!
Bestseller
4.5 (411 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,291 students enrolled
Created by Caleb Bergquist
Last updated 1/2020
English
English [Auto-generated]
Current price: $129.99 Original price: $199.99 Discount: 35% off
3 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5.5 hours on-demand video
  • 1 article
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • How to use python to script automatic drone missions
  • Learn to fly a drone with the open source ArduPilot firmware
  • How to design a drone and find the right parts
  • How to take raw parts and build a flyable drone
  • Compile your own firmware right from the drone
  • Learn about the fundamental drone parts
Requirements
  • Windows computer
  • Raw parts to build a drone (motors, frame, escs, lipos, raspberry pi/navio etc) Estimated cost: ~$450
  • Have basic tools (soldering iron, screw driver, allen wrench, drill would be helpful)
Description

Description

Welcome to the ‘Build a Linux Based Raspberry Pi Drone’ course, where we will be covering the gauntlet of drone related subjects. Most drone build courses will only show you how to put together pre-selected parts, without providing the potent ‘why’ behind the choices. And they certainly don’t show you how to code your own automatic missions with python. This course will cover it all. Whether you want to simply build a flyable drone from scratch, or to learn how to select parts to design your own drone, or even to learn about software that would allow you to script automatic drone missions (for that new ‘taco delivery’ company idea?), we’ll go over it in this course with a unique Linux based Raspberry Pi drone!


In this course, you will learn:

  • Hardware: Basic Drone Components (GPS, motors, ESCs, LiPos etc)

  • Design: How to find the basic hardware parts to build your own drone

  • Building: Assemble and build your drone from the parts that were chosen from the design process

  • Flying: Basic flying and best practices

  • Coding: SSH into your Linux drone and configure/code it from the command line


Some highlights we will learn from the 5 sections:

  • Learn of the special units for all your required hardwire (Example: What does the C-rating of a LiPo battery actually mean? How do mAh and Coulombs relate? What’s the difference between a 2300 Kv motor and a 935 Kv motor?)

  • Different methods of estimating thrust/current draw of your drone design before you buy the parts

  • Soldering ESCs to the power distribution board

  • Setting up Telemetry and connecting your drone to Mission Planner (our ground control station)

  • Different types of flight modes we can fly our drone with (Example: Loiter- GPS based mode that attempts to lock the drone in a single point in 3D space, Alt-Hold- Barometer based flight mode to hold the drone at a particular altitude)

  • SSH-ing into our Linux drone

  • Compile our own firmware right from our drone (could even be flying while we are doing this!)

  • Download DroneKit and write some python scripts that will make our drone fly autonomous missions (without an RC controller!)

Will you need to buy drone parts to get value from this course? 

While this course was designed for you to follow along with the drone build prescribed, 80% of the videos are not specific to a specific drone build. This means you can still extract extremely valuable knowledge from this course without needing to spend the money to buy the drone parts. Even without building a drone, you'll still learn about the hardware, design and build processes, and some best practices and maintenance for drone pilots.


What if you want to build a drone, but not the type used in this course? 

This would work just fine, because there is even a section dedicated to illuminating the design process, which would allow you to design and find the parts for your own drone build. Most of the videos would still directly apply to your drone.


What about required tools to follow along in this course?

At minimum, you will need:

  • A soldering iron and solder (~$20)

  • Screwdriver

  • Allen wrench set (~$10)

  • Raw drone components to build and maintain the drone ($400 to $500 depending on the quality of parts you choose to buy)

  • A drill and some drill bits would be helpful (but not required)


Should you join right now?

Check out the free lectures first and see if you think this course is right for you. We offer a 30 day money back guarantee on this course, so you can always return it if you decide later the course wasn’t for you.

Who this course is for:
  • Raspberry Pi lovers seeking a drone related project
  • Engineers/Programmers desiring a drone that's easy to prototype with
  • Tinkerers wanting to build their own open source ardupilot drone from scratch
  • Linux enthusiasts wanting a flyable linux box
Course content
Expand all 70 lectures 05:38:25
+ Introduction
3 lectures 08:17

If you are wanting to build the drone as seen in the lectures in this course, here are the items that are used. Items are optional if you already posses some of the parts or tools at home. Estimated cost for the drone build: ~$450-500.

Again, this course is still valuable if you choose not to build along with the lectures. You could also select to learn from the 'Design' section of this course, and select your own parts for a build of your own design, the choice is yours :) !


TO BUILD THE DRONE IN THIS COURSE:

(Optional if you already have these materials):


Raspberry Pi: https://amzn.to/2mrd72g

NAVIO Kit (Need Power module, wires and GPS): https://store.emlid.com/product/navio2/?wpam_id=3

ESCs 4 PACK: https://amzn.to/2kTweBt

Motors 4 PACK: https://amzn.to/2ltKilA

RC Controller: https://amzn.to/2n05Zdq

Frame: https://amzn.to/2mSmNCW

Props: https://amzn.to/2my3w9C

Battery: https://amzn.to/2kSlzHe

Battery Charger: https://amzn.to/2kXA1hi

Telemetry: https://amzn.to/2myfH6l

LiPo Fire-proof Case: https://amzn.to/2lsRu1i

PPM Encoder: https://amzn.to/2n1hjWR

Micro SD Card: https://amzn.to/2lvcJiS

Micro SD to USB: https://amzn.to/2n09yQQ

Battery Connector: https://amzn.to/2ltOP7A or https://amzn.to/2n0a3KI

GPS Mount: https://amzn.to/2luGOiz

Velcro Straps: https://amzn.to/2lsloTe

Scotch Mounting Tape: https://amzn.to/2mSsdxM

Zip Ties: https://amzn.to/2lveUTA


TOOLS

(Optional if you already have these materials):


Soldering Iron Kit: https://amzn.to/2kZklKw

Helping Hands: https://amzn.to/2lvfxwq

Allen Wrench: https://amzn.to/2mVFfus

Electrical Tape: https://amzn.to/2ls4Niv


IFF WANTING TO SECURE Raspberry Pi to Drone with Screws to Frame:

(Instead of super sticky tape. If preferred to secure with sticky tape, all you need is the

$5 scotch sticky tape linked above)

(Optional if you already have these materials)


Spacer Kit: https://amzn.to/2mtLUfn

Drill and Drill Bits: https://amzn.to/2mtMwSd

Preview 00:52
+ Hardware
11 lectures 01:02:33
LiPo Batteries Part 1
03:28
LiPo Batteries Part 2
06:30
Battery Connector Converters
05:19
Flight Controllers Part 1
04:51
Flight Controllers Part 2
06:28
Electronic Speed Controllers (ESCs)
06:20
RC and Telemetry
08:24
Propellers
04:32
Frames
04:57
GPS and Optical Flow
06:22
+ Designing a Drone Build
7 lectures 40:09
Thrust to Weight Ratios
07:15
Estimating Weight of Drones Part 1
03:16
Estimating Weight of Drones Part 2
07:04
Drive-train of Drones: Props+Motors+Batteries
04:52

Quick Note: 

Thrust tables do not necessarily show you the maximum current draw. Sometimes they only show some of the thrust data, but give you the maximum thrust as a separate value not found in the thrust tables. To actually obtain the current draw in such circumstances, you would have to plot the trend line of the data (Thrust (y-axis) vs Current Draw (x-axis)), and solve the equation for x at the given maximum thrust value that the supplier would provide.

Estimating Thrust and Current Draw
09:52
Choosing ESCs
05:18
Summary of Course Drone Build
02:32
+ How to Build a Drone
21 lectures 01:27:39
Part Placement Planning
06:33
Soldering Bullet Connectors to ESCs
05:02
Soldering Battery Connector to PDB
04:43
Attaching Legs to Frame
02:33

Checkout the attached image for an easy to see explanation of correct motor spin directions.

Installing Motors on Frame
06:06
Securing Raspberry Pi to Top Plate (Method 1)
05:40
Securing Raspberry Pi to Top Plate (Method 2)
04:21
Installing Top Plate to Drone Frame
05:48
Fixing ESCs to Drone Arms
03:05
Bind Receiver and Transmitter
02:42
Calibrate ESCs
03:02
Correct Motor Spin Direction
04:17
Fix PPM Encoder and RC Receiver to Frame
05:03
Wiring the ESC PWM Lines to Flight Controller
02:44
Install Telemetry Module to Drone
02:20
GPS Mount Assembly
04:55
Securing GPS to Frame
03:13
Velcro-ing Battery to Drone
03:56
Fixing Power Module to Frame
03:40
Securing Propellers to Motors
03:06
+ Initial Setup of Drone
9 lectures 54:35

Link to the OS image we are flashing: https://docs.emlid.com/navio2/common/ardupilot/configuring-raspberry-pi/

Link to etcher software: https://www.techspot.com/downloads/6931-etcher.html

Download and Flash OS Image to SD Card
04:16

PuTTy download: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Notepad++ download: https://notepad-plus-plus.org/download/v7.6.3.html

IP Scanner Download: http://www.advanced-ip-scanner.com/index3.php?utm_expid=62919999-71.OuJ_66t8Q8SCz9BIvLvQ6g.2&utm_referrer=https%3A%2F%2Fwww.google.com%2F

Configure RPi to Connect to the Internet
04:55
SSH Into RPi
06:48
Configure ArduPilot on RPi
10:08

Mission Planner Download: http://ardupilot.org/planner/docs/mission-planner-installation.html

Install Mission Planner and Connect to Drone
04:46
Mission Planner Sensor Calibration and ArduPilot Setup
09:05
Setting Up the RC Controller
04:58
Charging LiPo Batteries
06:38
Leashing Your Drone
03:01
+ Flying the Drone
11 lectures 40:56
Flashing Light on Drone Flight Controller
02:42
Diagnosing Your Drone's Problems
03:01
Downloading Flight Logs and Requesting Help on ArduPilot Forum
03:26
RC Sticks and what they Control
03:43
Flight Modes in ArduPilot
04:36
Setting Up Flight Modes
02:49
First Time Flying Drills/Advice
04:36
Flying in ALT-HOLD Mode
04:19
Flying in LOITER Mode
03:57
Using the LAND Mode
01:31
+ Using the Linux Feature of the Drone
6 lectures 36:18
Downloading ArduPilot Source Code
04:46
Compile ArduPilot Source Code
05:36
Changing Firmware in NAVIO Image
05:53
Installing DroneKit
03:09
Script for Autonomous Mission: Takeoff and Land
10:20
+ Conclusion
2 lectures 07:58
Congratulations!
01:53
Next Steps: Learn about Open Source Drone Software?
06:05