Spike Prime - Measuring Speed

From RoboWiki
Revision as of 17:54, 10 February 2020 by Robot (talk | contribs)
Jump to: navigation, search

Topic

Lucky drivers who have never paid a speed ticket. Unlucky people who's been hurt by those who were not able to control their speed. Automatic speed control systems help keep the roads safe. In this exercise, we will build a simple vehicle and a speed measuring sensor module. We will experiment with measuring speed in different ways.

Build

Model:

model of measuring station model of vehicle

Pictures:

sensor module vehicle vehicle

Building instructions:

Download building instructions:

Download stud.io model:

Program

Initialization - counting before start Measuring, calcuation, and display

Download: measure_speed.llsp

Measure, analyze, think

  • Make your own recording

Example result of measurement:

result of measurement

  • Perform the measurements and discuss in your group what has happened.

Explore and modify

  • Modify the program so that it will measure the maximum speed instead of the average
  • Modify the model so that it will be propelled by motors, and make a program to move in constant velocity, then repeat the measurement

Present

  • Prepare a short presentation for the group. Tell others about how your measurement went, what issues did you have to solve. What do they mean and why did they happen?

Additional resources