*Teacher Note: These lessons were designed to supplement other Python curricula. To assist you in aligning these lessons with your curriculum, each lesson lists the new Python concepts covered within that lesson. If you choose to reorder lessons, be sure that you have covered all the Python concepts in earlier lessons. You do not need to complete all the lessons before creating a Hummingbird project. You can stop at any point to create a project and come back when you want to learn more!
Installation Instructions
Installing Python, compiling and running a program
Lesson 1 – Single Color LEDs
Importing libraries, declaring an object, using object methods
Lesson 2 – Tri-Color LEDs
Variables, for loops
Lesson 3 – micro:bit Display
Lists
Lesson 4 – Position Servos
Math operators
Lesson 5 – Rotation Servos
Generating random numbers
Lesson 6 – Buzzer + Putting It All Together
For loops with lists
Lesson 7 – Light Sensor
Boolean expressions, if-else statements
Lesson 8 – Distance Sensor
While loops
Lesson 9 – Dial + Sound Sensors
Lesson 10 – micro:bit Buttons and Accelerometer
If-elif-else statements, equality operator
Lesson 11 – micro:bit Compass
Compound boolean statements
Lesson 12 – Multiple Devices
Object-oriented programming