Spike Prime Rollingruler Activity Brief
Spike Prime Rollingruler Activity Brief
Spike Prime Rollingruler Activity Brief
Education
SPIKE™ Prime
Rolling Ruler
DECOMPOSE CODE AND EXPLORE
VARIABLES AND OPERATORS TO
MAKE A ROLLING MEASURING
DEVICE.
Purposes
Predict the purpose of the parts:
• What is the wheel’s purpose?
• What is the force sensor’s purpose?
• What is the light matrix’s purpose?
Variables
• cm and wheel measurement are the defined
variables.
Wheel Measurement
• You can calculate the circumference of any
wheel with this equation:
C = π * d (C = circumference, π=3.1415…,
d = diameter of your wheel)
Operators
The Rolling Ruler uses four Operators:
• multiplication
• division
• round: makes the value a whole number
• abs: makes the value an absolute number