CSC 416 Real-Time Systems

Lab #3 - Timing is everything

One Dimensional Ping-Pong

There are three Ping-Pong teams

Matt
Chris

Kevin
Lenny

Bryan
Colin
Robert

Due the Wednesday after spring break, 3/28/01, is a one page specification documents with assignment of tasks to the group members. You than responsible for getting that portion of the code to work with help from your teammates. However, you must orally defend your approach to the problem on Wednesday 3/28/01, and orally defend the design and explain the delivered code a week after that on 4/4/01. Your teammates can you help you prepare as much as you like, but you must defend your work independently, and respond to suggested changes. 

The program can be coded in "C" or assembly. The code from Kevin and Matt's triangulation project can be used by everyone and they will be encouraged to help others with their "C" questions.

Each team will mount their sensors and servo motor on a four foot section of 2x4. Assume a 0.5 inch gap between the 2x4's for the ping-pong ball to role down. Let everyone know if this gap is inappropriate, because it will affect the mounting of the sensors and motor. There is a strip of 0.5 inch wide aluminum in the train lab that can be cut and bent into a paddle and mounted on the spindle of the servo. You can use
any combination of sensors.



Assuming that your code does not use any idle waits, and displays detections and speed of the ball on LCD in real time, the grade will be based on the following criteria:

A
Can 5 out of 10 times solidly return a ball rolled by a good pitcher, and in addition return three of the remaining five weakly, only twice missing the ball completely.

B+
Can 5 out of 10 times solidly return a ball rolled by an opposing pitcher.
or 
Can 7 out of 10 times solidly return a ball rolled by a pitcher from your team.

B-
Can 5 out of 10 times solidly return a ball rolled by a pitcher from your team.

C
Can 3 out of 10 times solidly return a ball rolled by a pitcher from your team.

After that we can play a Ping-Pong match and extra credit to the team that can win a game.

Additional credit will be given to a well designed and coded projects.