Sensor-Based Decision Logic
Use calibrated sensor data with conditional logic so the workcell can choose an action and respond safely when a reading is unexpected.
Your lesson guide
Objective
Work toward the lesson goal: Sensor-Based Decision Logic. Use the directions and success criteria in the activity below.
Materials
For the online work: a browser and your engineering notebook. Follow the activity’s materials list for any physical build, and get teacher approval before using equipment.
Plan your time
Suggested work block: 45–60 minutes. Physical builds and projects may span several classes; follow your teacher’s schedule.
Enable JavaScript to use this investigation. The lesson directions and report fields remain available below.
What you will use
What You Will Do
How coding supports the lesson
Use the variables, loops, and if / elif / else structures learned in Unit 1. The new skill is applying them to live manufacturing data and designing robust failure behavior.
What You Submit
Build your lesson report
Checkpoint: is your evidence ready?
- Check calculations, units, labels, and measurements against the activity requirements.
- Record what actually happened, including unexpected results.
- Explain what you changed and why; attach required drawings, photos, CAD, or code in your classroom assignment.
Decision flowchart or pseudocode Final commented sensor-decision program Test results for each expected product
A PDF download is not a submission. Review it, then upload it and any required attachments through your classroom assignment system.
