Computational Thinking Activities with MATLAB

Engineering Wearable Alert Systems

Timer Algorithms computational thinking module

Students choose features of a computer algorithms that could be used to improve their wearable alert system so that it only alarms at specified times. Students test and refine their algorithm against computer simulations of user scenarios.

When students launch each activity, it will open and run in their browser with MATLAB Online.

User Scenarios

View simulations of three scenarios where users may be in the text neck position.

Continuous Text Neck Time

Set a timer to determine how many continuous minutes a user can stay in the text neck position before triggering the wearable system alarm.

Total Text Neck Time

Set a timer to determine how many total minutes a user can be in the text neck position before triggering the wearable system alarm.

Two-Hour Simulation

View a simulation of a user neck position over an extended period.

An Algorithm for Continuous Text Neck Time

Add features to the algorithm to create an alert that turns on and off as desired.

An Algorithm for Total Text Neck Time

Add features to the algorithm to create an alert that turns on and off as desired.

Test Your Settings

Test your algorithm using a simulation of the user’s neck position over a two-hour period.

Youth Engineering Solutions (YES) has created a teacher guide with lessons plans to facilitate the implementation of these live scripts in your classroom. To download free teacher and student materials, visit the YES website.