Lesson 1: Teachable Machine

Activity Sequence

Activity Strategies Time needed Description
Watch video Whole class or individual 9 minutes Students either on their own devices or via a projector will watch ~9 minutes of a youtube video, taking notes regarding the two questions on the lesson page
Task 1 Individual or group work 10 minutes Students are asked to complete task 1 and list resources needed to create a model on teachable machine
Task 2 Individual, group work 10 minutes Students choose one of the model options from teachable machine to work on next session, and answer the question posed in task 2. Students also ensure that at least one group member has a google account for next session

Criteria for/Indicators of success

  • Students can demonstrate understanding of and predict the resources required to create an image recognition model using the teachable machine platform

Required resources for lesson

Resources required for this lesson:

  • Laptop/Projector for watching video
  • Internet access Task One: Resources
  • Lab book
  • Laptop with internet access for teachable machine Task Two: Pick a task
  • Lab book
  • Laptop with internet access for teachable machine

Lesson 2: Building Models

Activity Sequence

Activity Strategies Time needed Description
Form Groups Groups 3 minutes Students should form into groups of 2 or 3. They should then select one of the classification tasks based on the choices written in their lab books
Task 1 Group work 10 minutes Groups will use the device of the group member who will save the model to their google account, and start to create a model from their chosen classification. They are given ten minutes to get set up, add classes and samples to their models.
Task 2 Group work Rest of lesson Students are instructed to save their model to google drive. They should then train the model, and once it is trained they should begin testing the model in different locations, different orientations, different group members holding items, and variations of the items. During this process, group members should take note in their lab books as to which variations worked and which didn’t.

Criteria for/Indicators of success

  • Students demonstrate some understanding of the process and some ability to create machine learning classification models
  • Students can evaluate the effectiveness of their models in correctly classifying inputs

Required resources for lesson

Resources required for this lesson:

  • Laptop with functional webcam and internet access (1 per group)
  • Google account (1 per group)
  • Lab book (each student)

Lesson 3: Building Your Pi

Activity Sequence

Activity Strategies Time needed Description
Distribute hardware, form groups Whole class, groups 5 minutes Students should be sitting in their groups at the start of the lesson. One student from each group should then come and collect the equipment required for the lesson.
Activity 1 Group work 5 minutes In their groups, students will attach the camera module to their raspberry pi. They should use the mq-magic site for instructional aids if needed.
Activity 2 Group work 8 minutes Once the camera is correctly attached to the pi, students can then move onto attaching the sense hat again using the mq-magic site for instructional aids.
Task 1 Group work Rest of lesson Students should be reminded at this point to ensure that the camera cable is not routed through the slot on the sense hat. The rest of the session should be spent with students working to mount the camera in a way that allows total access to the sense hat while ensuring the camera is in the correct orientation.

Criteria for/Indicators of success

  • Students demonstrate the ability to correctly attach provided components to the raspberry pi
  • Students use their understanding of provided components and functionality to mount the camera in a way that allows full functionality and maintains the correct orientation of the camera

Required resources for lesson

  • Raspberry pi, sense hat, camera module (1 set per group)
  • Laptop (1 per group)

Lesson 4: Startup Your Pi

Activity Sequence

Activity Strategies Time needed Description
Distributing microSD cards, power supply Whole class 5 minutes This session should begin with one student from each group collecting a microSD preinstalled with the mqpi operating system for their raspberry pi and a powerbank or wall power supply to use with their pi.
Powering the raspberry pi Groups 2 minutes  

Criteria for/Indicators of success

  • Students demonstrate the ability to correctly attach provided components to the raspberry pi
  • Students use their understanding of provided components and functionality to mount the camera in a way that allows full functionality and maintains the correct orientation of the camera

Required resources for lesson

  • Raspberry pi, sense hat, camera module (1 set per group)
  • Laptop (1 per group)