SHS1 Robotics · Semester 2, Week 19

Programming Robots

Lesson notes

Learning Objectives

Indicator: 1.3.3.LI.1 - Formulate and program FSMs to control different use cases (e.g., temperature control, multi-state motor speed control, etc.).

By the end of the lesson, learners can:

  1. Define a Finite State Machine (FSM) and identify its five essential components: states, inputs, outputs, transition conditions, and initial state.
  2. Describe the steps for formulating an FSM from a real-world use case, from identifying states to drawing a state diagram.
  3. Design an FSM state diagram for a given use case (such as temperature control or multi-state motor speed control) using correct notation.
  4. Translate a designed FSM into a working program using an appropriate IDE and programming language (block-based or text-based).
  5. Test and debug a programmed FSM against a set of defined use-case scenarios, adjusting transitions and states as needed.

Sign in with your phone number to read the full note and download the GES plan - free.

Sign in with phone number

Curriculum details

Strand
Robot Construction and Programming (Strand 3)
Sub-strand
Programming Robots (3.3)
Content standard
1.3.3.CS.2 - 1.3.3.CS.2 Demonstrate understanding and programming skills in the implementation of Finite State Machines (FSM). 1.3.3.LO.2 Design and program Finite State Machines
Indicator
1.3.3.LI.1 - Formulate and program FSMs to control different use cases (e.g., temperature control, multi-state motor speed control, etc.).
Suggested placement
Semester 2, Week 19 (Week 39 of the year)

Our suggestion, laid out in curriculum order across three terms of twelve weeks. NaCCA does not fix the week, so follow your school's scheme of learning.

Source document note

The official curriculum document has a fault in this entry, so the curriculum text above is transcribed exactly as printed:

  • strand name - printed with an ampersand in this year and spelled out in Year 2 and in the scope and sequence; renamed to the scope form. Printed form: Robot Construction & Programming
Curriculum reference
NaCCA curriculum document, p. 70

Exemplars (from the NaCCA curriculum)

Project-Based Learning: With the facilitator's guidance, work in groups to combine developed functional decision-making programs and flow of control programs to create finite-state controls that automate the behaviour of a built robot

Assessment (1.3.3.AS.1). The document marks these depth-of-knowledge levels for this indicator: Level 3 Strategic reasoning; Level 4 Extended critical thinking and reasoning.
Describe the steps to go through in the formulation of a finite-state machine. Formulate and program a finite- state machine for controlling a well- described use case.

Teaching and Learning Resources:
- Programming IDEs
- Online Resources YEAR TWO
- Computers
- Built Robot, etc.