Applied Python for Micro:bit and Husky Lens

Applied Python for Micro:bit and Husky Lens

Age Group: 
Grades: 
Learning Hours: 25 hours 
Domain:Data science, artificial intelligence
Key Skills: 
Assessment:MCS assessment and project assessment
Hardware/System Requirements:  
Progression: 

Similar courses

Course Overview

Through hands-on creation with Micro:bit, HuskyLens and Python programming, students will delve into the fundamentals of AI and learn how machines can interpret and respond to visual data.

Students will be interactively guided on BSD Education’s online platform for python programming. By creating interactive projects using AI image recognition capabilities, such as identifying images, objects or gestures, students will subsequently integrate this with physical parts to gain practical experience in harnessing AI to solve real-world problems.

This immersive learning experience will develop students’ coding and design skills, touch on foundational principles of connected devices and foster a deeper understanding of AI’s potential and its role in shaping the future.

Explore fundamental principles of Python and how programming languages interact with devices. Students will also explore how Python programming is used to create AI tools in various industries.

Learn about Python programming for the Micro:bit with peripheral devices and designing such devices to solve real world problems. Students will also learn how to implement the Design Thinking cycle to support their Micro:bit and AI project.

Create a project of their choosing in creating a prototype of a physical AI image recognition enabled device.

No. Project Description Duration
1
Introduction to Python
Learn about the Python environment, basic syntax, variables, code comments, and outputting code to the console.
1 hour
2
Data Types
Learn about the basic data types in Python:
  • Strings
  • Numbers (int, float)
  • Boolean
  • Type conversion
1 hour
3
Operators
Learn about Python operators to perform basic arithmetic, and to assign values to variables:
  • Arithmetic operators (+, – ,* ,/, %, ** ,//)
  • Assignment operators(=, += ,-=, *=, /=)
1 hour
4
Conditional Statements
Add decision-making and logic to programs using conditional statements and logical operators:
  • Comparison operators (==, !=, >, =, <=)
  • If, elif, and else statements
  • Importance of indentation to define code blocks
  • Logical operators (and, or, not)
1 hour
5
Project 1: Rock, Paper, Scissors game
Program a Rock, Paper Scissors game using conditional statements.
1 hour
6
Loops
Learn how and when to use loops in Python in a program:
  • while loop
  • for loop
2 hours
7
Project 2: Countdown Timer
Make a countdown timer using loops and conditional statements.
2 hours
8
List
Learn about the list data type:
  • Zero-indexing
  • Access list items
  • Update list items
  • Add list items
  • Remove list items
  • List length
  • Loop through lists
  • Sort lists
  • Join lists
2 hours
9
2D List & Nested Loop
Learn about the 2D list data type and nested loops:
  • Create 2D list
  • Loop through a 2D list
2 hours
10
Functions
Learn about the importance and purpose of functions in programming:
  • Define a function
  • Call a function
  • Function with a return value
  • Parameters and arguments
  • Local and global variables (variable scope)
1 hour
11
Getting started with Micro:bit Input Events
Learn about the input components on the micro:bit, such as the buttons. You’ll discover how to write programs that can respond to user input and environmental data.
1 hour
12
LED Walker
The LED Walker is a fun and interactive micro:bit-based game that challenges you to navigate through a 5×5 LED grid by “walking” across the lights. Shake your micro:bit to roll the virtual dice and move forward.
2 hours
13
Introduction to Huskylens with Micro:bit
Explore how to leverage the powerful Huskylens AI vision sensor by integrating it with the versatile Micro:bit microcontroller. Huskylens is a state-of-the-art computer vision module that can perform object recognition, face detection, and more. By combining Huskylens with the easy-to-use Micro:bit platform, we can create a wide range of exciting vision-based projects.
0.5 hours
14
Single Face Recognition
Dive into the code required to program Huskylens face recognition using the Micro:bit MakeCode editor.
1.5 hours
15
Multiple Face Recognition
Expand our previous work on single face recognition using Huskylens and Micro:bit to now support the detection and recognition of multiple faces.
1 hour
16
Barcode Recognition
Understand the step-by-step process of developing barcode recognition projects with Huskylens and Micro:bit.
2 hours
17
Self Checkout Machine
Develop a self-checkout machine prototype that utilizes the barcode recognition capabilities of the Huskylens AI vision sensor and the Micro:bit microcontroller.
1 hour
18
QR Code Recognition
Explore the use of the Huskylens AI vision sensor to detect and decode QR codes, and then integrate this functionality with the Micro:bit microcontroller.
2 hours
19
Final Project
Students will design and build a physical prototype that integrates the technology components.
4 hours