Skip to content

ubilab-escape/safe

Repository files navigation

Team Safe and Puzzles

Motivation:

The Players are told to steal the Prototype from the Lab. The Prototype will be locked in the safe.

General Idea:

After Entering the Lab Room the safe will be deactivated (red LED light). The players first have to supply the safe with power by solving a puzzle (see section puzzle). This action will change the light color of the safes LED to orange and activate the second puzzle. This puzzle will ultimately open the safe to give access to the prototype.

Puzzles:

Puzzle to activate the safe:

  • Switching levers in correct position
  • Find the correct resistor to generate the correct voltage

Puzzle to open the safe:

  • Riddle with numpad input

Partlist

part count price/part in € price total link
Keypad 1 5.8 5.8 Octopart
Solenoid Lock 1 13.35 13.35 Octopart
Banana Plug 10 2.06 20.6 Octopart
Banana Socket 10 1.84 18.4 Octopart
Piezo Buzzer 5 1.03 5.15 Octopart
Switch 8 2.17 17.36 Octopart
N-MOS 10 0.7 7 Octopart
Limit switches 2 1.81 3.62 Octopart
Wooden chest 1 18 18 Obi
Total: 109.28 €

Group

Markus Schwörer, Florian Bregler, Frank Mutter

Protocol to control leds and piezo via mqtt

standart JSON message on topic 5/safe/control with data = "x:y". x is color and y is the mode.

Colors (x):

  • LED_COLOR_WHITE 0
  • LED_COLOR_RED 1
  • LED_COLOR_GREEN 2
  • LED_COLOR_BLUE 3
  • LED_COLOR_ORANGE 4

Mode (y):

  • LED_MODE_ON 0
  • LED_MODE_OFF 1
  • LED_MODE_PULSE 2
  • LED_MODE_BLINK 3
  • LED_MODE_PIEZO 9

For LED_MODE_PIEZO the color parameter is the time of the buzzer sound in seconds.

examples:

  • "{"method": "trigger", "state": "on", "data": "3:0" }" => Turns blue LEDs on.
  • "{"method": "trigger", "state": "on", "data": "4:3" }" => LEDs orange blinking.
  • "{"method": "trigger", "state": "on", "data": "5:9" }" => Buzzer sound for 5 seconds (max value: 9)

Schematics

Safe Activate

Safe Activate Schematic Image 1: Schematic of the activation.

Safe Control

Safe Control Schematic Image 2: Schematic of the safe.

Flow Charts

Safe Activate

Safe Activate Flow Chart

Image 3: Flow Chart of the safe activation

Safe Control

Safe Control State Machine Image 4: State machine of the safe control with the main states

Instructions for the Escape Room Operator

Room Reset:

  • Close the safe
  • Pull out the resistors and place them in front of the puzzle
  • Put the safe datasheet (back) on the table

Pictures

Safe and activation picture Image 5: Picture of the safe (left) and the activatioin puzzle (right).

Safe with floppy discs Image 6: Picture of the Safe with green LED color and floppy discs inside.

lock with switch Image 7: Picture of the lock with switch to detect whether the safe is opened or closed.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages