Thursday, 1 October 2009

Coffin time

I've been working on a design for the software to drive the coffin. I've decided that it
is potentially too scary for smaller kids, so I've designed the coffin to work in three modes:

  • Green: No lid opening or skeleton rising
  • Amber: PIR detector cause lid to rise. No skeleton.
  • Red: PIR causes lid to rise, skeleton rises if doorbell pressed.
With this system I can dynamically control the show as required (I'm going to remote desktop into the controller PC from a laptop). I've added a 'demo mode' override that will enable the full show from any mode. At any stage the system can be reset with a physical reset switch.

Here is a StarUML state chart of the coffin state machine:

No comments: