Build an Arduino Mini-Drone
Summary
Overview
Learning Objectives
- Understand the components of a drone.
- Understand how drones are used in precision agriculture.
- Analyze how weight, lift, drag, and thrust are related to flight.
- Use sound waves to determine how far away an object is.
- Develop a model of the circuitry to create an agricultural drone.
- Develop an Arduino program to control a programmable drone.
- Employ pseudocode to program a drone using Arduino.
NGSS Alignment
This lesson helps students prepare for these Next Generation Science Standards Performance Expectations:- HS-PS4-1. Use mathematical representations to support a claim regarding relationships among the frequency, wavelength, and speed of waves traveling in various media.
- HS-PS4-5. Communicate technical information about how some technological devices use the principles of wave behavior and wave interactions with matter to transmit and capture information and energy.
Materials
Each group of students will need the following materials to do this lesson:
- Science Buddies DIY Mini Drone Kit
- Electronics Kit for Arduino
- Piece of paper or cardstock
- Tape
- Scissors
-
Windows or Mac computer. See this page if you have a Chromebook. Your computer will need:
- Access to the Arduino IDE, either installed local version or web-based editor (note that Chromebooks can only use the web version). Watch this video for a comparison of the two options.
- USB port. The Science Buddies kit comes with a USB-A to B cable. The "B" end plugs into the Arduino and the "A" end plugs into your computer. You will need an adapter or different cable if your computer only has USB-C ports. Watch this video to learn about the different types of cables and adapters.
Background Information for Teachers
This section contains a quick review for teachers of the science and concepts covered in this lesson.Note: This lesson assumes that students have worked with Arduino before and are familiar with some of the basics like blinking an LED and using a button. If you are introducing your students to Arduino for the first time, please see the Introduction to Arduino lesson plan at Science Buddies before starting this lesson. That way, your students will be ready to dive right into the more advanced topics in this course, like controlling the sensors and motors that you will need for the drone.
Drones are becoming a part of everyday life, with uses ranging from aerial photography and recreational racing to package delivery and agricultural applications. Some students might have flown their own toy drones or even seen drones flying around in the sky. Simply buying an off-the-shelf drone does not give students much insight into how they work, but building your own fully functioning remote controlled drone is an intimidating task.
This lesson takes a middle road that is more appropriate for students who are just getting started with electronics and programming. Students will build a mini "popsicle stick" drone that can fly up and down on two guide rails. This way, they only need to worry about controlling the drone's motion in a single direction, while its motion in other directions is constrained. This allows you to introduce them to the basics of motor control, using sensors, and writing a program to implement feedback control with an Arduino — all without having to worry about the drone crashing.
The Arduino Drone Course Overview document includes information about standards alignment, learning objectives, and a summary of each part of the lesson with instructions. Each lesson module contains additional supporting materials like videos, circuit diagrams, and example code. The lesson is organized as follows:
- Part 1: Introduction: Provides an introductory overview of drones, particularly their uses in agriculture. Also includes a more detailed introduction to the ultrasonic sensor and some more advanced Arduino concepts like writing your own functions. Includes slides for teacher use.
- Part 2: Motor Control: Move beyond Arduino basics like buttons and LEDs and learn to control motors using a transistor. Includes a detailed step-by-step video.
- Part 3: Ultrasonic Sensor: Learn to use the ultrasonic sensor to measure distance to a target object. Includes a detailed step-by-step video.
- Part 4: Build the Drone: Set up the guide rails, build the frame for your drone, and attach the motors and wires so they are ready to connect to the Arduino. Includes a detailed step-by-step video.
- Part 5: Feedback Control: Put it all together — now your students have all the pieces they need to write a program that will control the drone's altitude using feedback from the ultrasonic sensor. Includes a student assignment with scaffolded code and a grading rubric.
More high-quality computer science lessons can be found at Infosys' Pathfinders Online Institute.














