In this project we design a suitcase for an escaperoom-game, which contains several task that need to be solved one after another. The suitcase represents a bomb and when all task are solved the bomb will be diffused. There will be three main tasks that need to be solved. First to level out three force bars with force sensors. Second to solve a mealy automat visualized with LEDs. And finally to play a simple melody with a theremin like device.
All the sensors for the different tasks will be connected to an ESP32. That will display hints over a LCD display.
The first task uses three Square Force-Sensitive Resistors. The Output value of the Force sensor is parsed to a value between 1 and 10 and displayed on a LED board with 10 steps. The Goal is to level out the three LED boards by applying preassure to the Force Resistor. If all three levels are held in a yet to be defined range, for a certain amount of time the first task is solved.
Two switches are conencted to a bit shift register. One switch changes the input from 0 to 1 the other shifts the current value by one bit inserting the 0 or 1 currently applied at the other switch. The goal is to get a certain value in the shift register. The value is displayed by a row of LEDs where a lit LED symbolizes an one and a non lit LED a zero.
The goal is to play a simple melody. A tone is played by holding your hand a certain distance from an ultra sonic sensor. The melody supposed to be played will be given and the display will give visual feedback if the right tone is played.
-
ESP32-PICO
-
SquareForce-Sensitive Resistor
-
8-Bit Shift Register
-
Ultra Sonic Sensor HC-SR04
Time | Task |
---|---|
KW 21 | get familiar with sensors and connect them to esp 32 |
KW 22 | create a rough software prototype for each task |
KW 23 | try out communication between two esp 32 |
KW 24 | Add Help Button and Hints |
KW 25 | Code Marathon 1 |
KW 26 | Code Marathon 2 |
KW 27 | Code Marathon 3 |
KW 28 | Code Marathon 4 |
KW 29 | Assemble Suitcase + Final Presentation |
https://octopart.com/bom-tool/dn4D4DHd/wdb3715TmVMupruC
- minimum Goal: Have all three tasks working in the Suitcase
- optimal Goal: Have all tasks working and the ouput of the task is a hint or an input for the next task