This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
grill_bomb [2020/08/16 17:34] – created kingkevin | grill_bomb [2024/01/07 17:49] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
====== hardware ====== | ====== hardware ====== | ||
- | * [[stm32f1xx# | + | * [[stm32f1xx# |
* TM1637 4-digit 7-segment display to show the count down | * TM1637 4-digit 7-segment display to show the count down | ||
* piezo-element to indicate when a second passes | * piezo-element to indicate when a second passes | ||
Line 27: | Line 27: | ||
{{: | {{: | ||
{{: | {{: | ||
+ | |||
+ | ====== firmware ====== | ||
+ | |||
+ | The source code is available {{ : | ||
+ | |||
+ | Note: it is not fool proof, and if you think about how it works, there are plenty of ways to cheat. | ||
+ | For example, you win as soon as the 4 right cables are cut within the time, but cutting a wrong cable only speeds up the countdown. | ||
+ | Thus, if you cut all cables at once, you immediately win :). | ||
+ | Luckily the player was put under pressure from the start on, which distracted him from hacking the device (and he wanted to play the game as intended). |