40 likes | 157 Views
While (1). XBEE FLOWCHART. cup taken OR their cup poured into our fount. N. Do nothing. Y. Was our cup taken?. N. (notify server) then Sounds/Visuals “Their cup was poured into our fount” . . Y. N. Was their cup poured. (notify server) then Sounds/Visuals “Our cup was taken”. .
E N D
While (1) XBEE FLOWCHART cup taken OR their cup poured into our fount N Do nothing Y Was our cup taken? N (notify server) then Sounds/Visuals “Their cup was poured into our fount” . Y N Was their cup poured (notify server) then Sounds/Visuals “Our cup was taken”. From PIC: Input USB Output USB Y (notify server) Sounds/Visuals for both. Notify power block.
CANbus Flowchart While (cup has been removed from fount) Notify power to Activate battery N Notify server. Notify IR (deadly packets every 2 sec) Is cup connected to HIU? N Y Has cup returned to fount? N Has cup reconnected to HIU? Do nothing Notify server, visual/audio Y Y Notify Server. Send signal to stop IR. Notify visual/audio Notify Server. Send signal to stop IR. Notify visual/audio From PIC: Input USB Output USB
Level O Block Diagram Cup being taken from fount(RFID) Cup poured Alarm (X3) Pouring Status Notify IR that HIU not connected (X3) XBee Cup returned to fount (RFID) CANbus Cup taken alarm (X3) Cup being taken (RFID) Cup connected to HIU status (RFID) Send Signal to stop IR (X3) Cup connected to HIU status (RFID)
XBee CANbus Checking for cup status from fount Checking for pouring Checking cup for status (from fount) Checking for cup status from HIU IR emitter IR emitter RFID RFID Server Server Visual blocks Visual blocks Audio blocks Audio blocks Power Block