
Python and CoDrone EDU
This course is designed to introduce students to Python programming in a way that is approachable for beginners while still building a strong foundation in core computer science concepts. Using Python with the CoDrone EDU, students will learn how to write text-based code to control the drone and interact with its sensors. Learners can start this course after completing the Blockly curriculum, or begin directly with Python if they are ready to dive into text-based programming.
Getting to Know Your CoDrone EDU
In this Unit students will learn everything there is to know about the CoDrone Edu including: drone and controller parts, safe flying skills, piloting, controller features, displays, and settings, and troubleshooting.
Basic Movements
In this Unit, students will learn how to control the CoDrone EDU using Python. They will explore how pitch, roll, throttle, and yaw control movement, and write programs that make the drone take off, hover, land, and fly along specific paths. Students will also be introduced to variables, operators, and loops to make their programs more efficient and adaptable.
Feedback and Control Structures
In this Unit, students will learn how to make their drone programs more interactive and responsive using feedback and control structures. They will program LEDs and buzzers to provide visual and audio feedback, use random values to create variety, and apply loops and conditionals to make the drone respond to real-time conditions like battery level. Students will also learn how to measure time within their programs and use it to control when certain actions happen.
Sensors
In this Unit, students will explore the sensors on the CoDrone EDU and learn how they help the drone understand and respond to its environment. They will use sensors to measure height, distance, color, temperature, air pressure, and rotation, then write programs that have the drone respond to those readings in different ways. By using sensor data to interact with its surroundings, students will begin creating more autonomous programs where the drone can adapt to changes in its environment.
Functions and User Input
In this Unit, students will learn how to make their programs more efficient and interactive using functions, user input, and lists. They will define functions to reuse sections of code, return and store values for later use, and respond to user input to control the drone in real time. Students will also explore how to customize the controller’s buttons and joysticks to create more personalized programs.