SPIKE™ Prime Set

Stretch with Data

Match graph values and explore margins of error qualitatively.

30-45 min.
Grades 6-8
Stretch with Data - Lesson header

Prepare for Blended Learning

(Before the Lesson)

  • If you feel that it is necessary, plan a lesson using the getting started material in the app. This will help to familiarise you and your pupils with SPIKE Prime.

  • Watch the lesson video on this page.

  • Read through the pupil material for this lesson in the SPIKE App or via the link on this page.

  • You might wish to consider:

    • Choosing the right tool(s) and the right place. For example, watching videos, reading a textbook or preparing for a hands-on experience can easily be done at home. Performing the experiment and collecting data ‘hands-on’ is easier in a classroom setting.
    • Using a variety of tools and allowing for broad differentiation. This will increase your pupils' engagement and improve their learning outcomes.
    • Providing various methods of virtual collaboration. Here are some examples:
      • Videoconferencing
      • Blogs, chats or wall posts
      • Digital versions of pupil worksheets
    • Adapting the lesson flow to account for not being in a classroom setting throughout the entire lesson. We have provided an example lesson flow below.
  • Here are some other ways you can adapt the lesson flow to suit your pupils’ needs:
    • Have your pupils watch the videos describing what they are about to do. You can point them to the SPIKE App or use the pupil worksheet URL.
    • Provide other material that you have already prepared on this topic.
    • Customise the Inventor Notebook to have your pupils prepare their learning experience and reflect on their findings (please see Additional Resources).
    • Use the lesson brief (a printable 1-page lesson overview) to inspire your pupils with an open-ended challenge (please see Additional Resources).


(Before Class, 20 Min.)

  • In this lesson, your pupils will stream pitch, roll, and yaw data values to trace a line graph in real time. They willl use this graph to coordinate their movements, matching their streamed data to a pre-recorded graph.

  • The pitch, roll and yaw data values describe the tilt angle of an object in relation to its 3 axes:

    • Pitch - tilt on the y-axis
    • Roll - tilt on the z-axis
    • Yaw - tilt on the x-axis
  • Use various materials to engage your students on the topic of pitch, roll and yaw data values.

Ignite a Discussion

Start a discussion by asking questions related to the lesson. Here are a couple of suggestions:

  • What are some ways of determining whether a movement is precise or not?
  • How might you graph values to represent real-life movement?

Have your pupils write down their thoughts as a hypothesis.


(During the Lesson, 30 Min.)

  • Have your pupils build a yoga ring. They can create their own models or follow the building instructions in the app to build the Yoga Ring model.
  • Explain that this device will record the pitch-roll-yaw angle values of various movements.
  • Ask your pupils to try out their models using the program that has been suggested in the SPIKE App. For the first movement, they will bring the ring from a forward-facing position, with the Light Matrix facing their eyes, to the top of their head (please watch the video for reference).
  • Tell them to look at the pitch angle on the graph over time and document what they see.


(During the Lesson, 15 Min.)

  • Allow your students some time to adjust their programs to track other values.
  • Have them try to match the second graph, which has been preloaded in the line graph, with their movements.
  • Make sure they realise that the speed of movement will affect the ‘shape’ of the graph.


(After the Lesson, 20 Min.)

  • If your pupils still have access to their SPIKE Prime Sets, have them complete the tasks given in the SPIKE App. This will help them to elaborate on their learning with a bit of hands-on activity. Here are some examples:
    • The last preloaded graph uses two values at the same time. Your pupils have to combine both moves into one long stretching session.
  • If your pupils do nott have access to their sets, have them complete their Inventor Notebooks, or assign one of the extension activities that has been suggested below. Most of the extension activities can be done using the data that was collected during the hands-on session
  • Facilitate a sharing session in which your pupils discuss their thoughts and the results of their experiments. This can be done using whichever method/tool is the most efficient (i.e. in-person or online).


  • Give feedback on each pupil's performance.
  • To simplify the process, you can use the assessment rubrics that have been provided.

Assessment Opportunities

Teacher Observation Checklist
Establish a scale that suits your needs, for example:

Partially accomplished
Fully accomplished

Use the following success criteria to evaluate your pupils' progress:

  • The pupils can program a device that logs data on a line graph.
  • The pupils can correlate the movement of a physical device to the line graph it is generating.
  • The pupils can explain the concepts of pitch, roll and yaw.

Have each pupil choose the brick that they feel best represents their performance.

  • Blue: I am able to graph data using the program that has been provided in the app.
  • Yellow: I am able to create my own experiment using a line graph.
  • Violet: I am able to create my own experiment, use a line graph and draw conclusions from the graph.

Peer Feedback

Encourage your pupils to provide feedback to one another by:

Having one pupil use the coloured brick scale above to score another pupil’s performance.
Asking them to present constructive feedback to one another so that they can improve their group’s performance during the next lesson. This is an excellent opportunity to use videoconferencing tools or blog posting tools in a blended learning scenario.



Simplify this lesson by:

  • Asking your pupils to recreate the experiment using only the Hub, by holding the Hub in the correct position to do this lesson
  • Making sure that your pupils have adjusted the program that has been suggested in the SPIKE App to match the configuration of their models

Take this lesson to the next level by:

  • Asking your pupils to build their own yoga rings
  • Having your pupils record a partner's yoga movements on a graph, share their graphs and then try to replicate each other's movements by following the graph data


Building Tips


Coding Tips
Using Streaming Mode
This lesson is designed to be played in Streaming Mode. The data that has been collected by the Hub will be streamed directly to the device. It will be traced on the line graph in real time.

Main Program

SPIKE Prime Science Stretch with data - STEP03 - en-au

Science Data Tips
Here is an example of the data your pupils can expect from this experiment.



Maths Extension

To incorporate the development of maths skills:

  • Using the sample data that’s available for this lesson (or your own data), have your pupils describe what is happening with regard to movement when the graph shows a straight line and when it shows a curve.
  • Have your pupils find the maths expression under the form y = mx + b for a line portion of the graph, in the sample data or in the data that they have collected.
  • Have your pupils find these first degree equations (y=mx+b) both manually and using a digital tool.

Note: This will require additional time.


Language Arts Extension

To incorporate the development of language arts skills:

  • Have your pupils use digital media to explain this lesson and their findings. This could be done by:
    • Producing a video
    • Posting pictures and comments via a learning management system (if it is available)
    • Contacting a yoga instructor to research whether a device like the Yoga Ring model could be useful in their practice

Note: This will require additional time.


Career Links

The pupils who enjoyed this lesson might be interested in exploring these career pathways:

  • Therapeutic Services
  • Engineering & Technology

Teacher Support

The pupils will:
• Create a program that will introduce them to the LEGO® Education SPIKE Prime line graphing tool
• Graph real sensor data
• Correlate graph curves with real-life movement

• LEGO Education SPIKE Prime Set
• Device with the LEGO Education SPIKE App installed

Solve problems involving direct proportion. Explore the relationship between graphs and equations corresponding to simple rate problems.

Solve linear equations using algebraic and graphical techniques. Verify solutions by substitution.

Use interaction skills, varying conventions of spoken interactions such as voice volume, tone, pitch and pace, according to group size, formality of interaction and needs and expertise of the audience.

Plan, rehearse and deliver presentations, selecting and sequencing appropriate content and multimodal elements for defined audiences and purposes, making appropriate choices for modality and emphasis.

Design the user experience of a digital system, generating, evaluating, and communicating alternative designs.

Generate, develop, test, and communicate design ideas, plans and processes for various audiences using appropriate technical terms and technologies including graphical representation techniques.

Pupil Material

Student Worksheet

Download, view or share as an online HTML page or a printable PDF.