AME 3623: Project 5: Sensor Models

At the end of this project, you should be able to:

Component 1: Circuit

Component 2: Sensor Model

Given the data that you collected on the previous project, derive a mathematical equation for distance as a function of sensor value. Keep in mind:

Component 3: Analog Interface Software

Define a new variable type in "project.h":
typedef enum {
   DISTANCE_LEFT = 0,
   DISTANCE_RIGHT = 1
}Sensor;

Sensor is the variable type. DISTANCE_LEFT and DISTANCE_RIGHT are the two values that Sensor variables can take on.

Implement the following function:

Component 4: Testing

Write a test main() function that repeatedly:

Then:


What to Hand In

All components of the project are due by Thursday, March 31st at 9:00 am.

Grading

Personal programming credit: Group grade distribution:

Group Grading Rubric

Grades for individuals will be based on the group grade, but weighted by the assessed contributions of the group members to the non-personal programming items.

References


andrewhfagg -- gmail.com

Last modified: Mon Mar 21 22:39:36 2016