8:06 AM
8 May 2004
8:06 AM
Our overall project design can be reduced to three specific states that can be seen in the state diagram below. The first state, the state entered at the beginning of the programs execution, is the Set Table state. In this mode the wait staff can select the table that they are serving. The selection is made by using two buttons, one to increment the table number and one to decrement it. Once the correct table is selected, the enter button is hit and the program then goes into Monitor mode. In this mode the wireless device on the pitcher sends the signal from the accelerometer to the server station. At the server station, the wait staff can see the number of the table being served and how many rounds have been served to the table. There is also a status bar showing the status of the pitcher’s volume. The MCU at the server station uses the signal from the pitcher to calculate its volume. In this state, there is a reset button in case a different table is about to be served. Unless the reset button is pressed, the program will stay in this state until the pitcher is empty. Once the signal indicated the pitcher is empty, the last state, the Refill state, is entered. Here the server station indicates that the table needs a refill. Once the wait staff refills the pitcher they press the enter button and the project returns to the Monitor state, and the additional round is indicated on the display. The reset button can also be used in the Refill state if the table decides not to go for another pitcher.
This is: brett's logjam → May 8, 2004.