Summary
This show is a simple example of a show that requires a particular sequence of inputs to trigger a scene. When the inputs are triggered in the correct order the BooBox will play a success scene. The inputs can be connected to buttons or any other type of sensor. If they wait more than three seconds between inputs the sequence will reset and they must start over.
The correct sequence is to trigger inputs 1 thru 6. The inputs would be wired to buttons in a different order of course so that the sequence wouldn't be so simple. The show can also be easily modified to use less inputs if you want to use 4 or 5 buttons.
How It Works
This show makes use of the Interruptible By and Other Input Goto scene settings to control what scene will be played based on which input is tripped. It also makes use of the Single Shot Input show setting so the BooBox only gets a signal the moment the buttons are pressed and ignores inputs that are held down.
Scene by Scene
Ambient-0(Wait for Input 1) |
This is the scene the BooBox will loop as it waits for the first input in the sequence. In the scene settings we checked the 1 box in the Interruptible By section to allow the first input in the sequence to break out of the loop. |
Input1-0(Wait for Input 2) |
In this scene the Interruptible By section is set to allow only input 2 to interrupt the scene. We set the Other Input Goto scene to Ambient-0, which will cause an immediately return to the Ambient-0 scene if any input other than 2 is triggered. After Scene Goto is also set to Ambient-0 so we return to the Ambient-0 scene once the 3 seconds are up. If you want to increase or decrease the alotted time for each key-press you can change the length of these input scenes. |
Input2-0(Wait for Input 3) |
This scene is the same as Input1-0, except it's only interruptible by input 3. |
Input3-0(Wait for Input 4) |
Same as above except only interruptible by input 4. |
Input4-0(Wait for Input 5) |
Same as above except only interruptible by input 5. |
Input5-0(Wait for Input 6) |
Same as above except only interruptible by input 6. |
Input6-0(Success) |
This is the scene where you can put your success sound or animation. As it is this scene only plays once and then returns the controller back to Ambient-0 to wait for the code. If you want the controller to wait until the scene is manually reset, change the After Scene Goto scene setting to Ambient-1. |
Ambient-1(Wait For Reset) |
This scene is only used if you want to force manual resetting of the scene. This scene loops indefinitely until Input 7 is activated. The looping is accomplished by setting the After Scene Goto scene setting to point the scene to itself. |
Input7-0(Reset) |
This input can only be triggered from the Ambient-1 (Wait for Reset) scene. This scene is really short, and is really just here to receive the call to Input 7 and return the controller to the Ambient-0 Idle scene. |
Customizing
Changing to Four Steps
In scene Input3-0, in the Interruptible By setting, uncheck 4 and check 6 . Then wire the buttons to inputs 1,2,3 & 6.
Changing to Five Steps
In scene Input4-0, in the Interruptible By setting, uncheck 5 and check 6 . Then wire the buttons to inputs 1,2,3,4 & 6.
Using Manual Reset
Rather than having the controller play a quick success scene and immediately return to wait for the code again, it can be useful to have it wait until it's reset. This is useful if the correct code opens a mag-lock, and you want the mag-lock to remain unlocked until the scene is manually reset. To do this, select scene Input6-0 and change the After Scene Goto scene setting to Ambient-1.
Inputs and Outputs
Inputs
There will be at least one spare input, more if you use less than six buttons. You can use these to trigger other scenes if desired.Inputs 1-6(Button Inputs) | Connect these inputs to the buttons or sensors used to enter the code.. |
Input 7(Reset Input) | Optional. If you are using the manual reset option connect the reset signal to this input. |
Outputs
These are mostly up to you. We've used a few of them here to illustrate some possibilities.
Output 1(Success Output) | By default, this is turned on for a few seconds when the code is entered correctly. This can be connected to a green light to indicate success. |
Output 2(Maglock Output) | This output can be used for a maglock. It will stay on by default and turn off when the code is entered correctly. We enabled the Normally-Closed setting on this output in the Show Settings to keep the output on by default. |