"SafeCracker" Escape Room Puzzle Tutorial

Поделиться
HTML-код
  • Опубликовано: 1 июл 2024
  • Learn how to create an escape room puzzle in which players need to crack the code to open an electronic safe.
    It uses a small solid steel safe (available at www.amazon.co.uk/gp/product/B... ), which has been modified by the addition of an ESP32, some programmable LEDs, a 7-segment display, a rotary encoder, and a piezo transducer.
    Players must rotate the rotary encoder, alternating clockwise and counter-clockwise, until they hear an audio cue that emulates tumbler pins falling into place. When all the digits of the code have been set correctly, a solenoid is retracted which enables the safe door to be opened and its contents retrieved.
    Timings
    ---
    00:00:00 - 00:01:55 Introduction and Demonstration
    00:01:56 - 00:06:09 Safe operation
    00:06:10 - 00:08:28 Hardware modifications
    00:08:29 - 00:16:15 Wiring Diagram
    00:16:16 - 00:41:12 ESP32/Arduino Code
    00:41:13 - 00:42:17 Wrapup
    Support Me! (or let me support you :) )
    ---
    This video tutorial is made possible with the generous support of my Patreon donors - thankyou!
    For more details of this, and to access downloads, wiring diagrams, and additional resources and support for all my escape room technology projects, please go to / playfultech
  • НаукаНаука

Комментарии • 26

  • @bobbybain2576
    @bobbybain2576 16 дней назад +2

    I love the idea of the transducer to make a quiet noise that needs to be heard. Instead of the dial to change numbers, i wonder if I could build a fake combination lock with a rotary encoder that would act as the input instead.

  • @zuprazazel4380
    @zuprazazel4380 14 дней назад +2

    I love this series! You should check resident evil puzzles! They are awesome and most of them are doable with tech you made before.

  • @robertedlund6357
    @robertedlund6357 16 дней назад +2

    Absolutely stunning idea
    I’ll do it with an Arduino! Thanks again.

  • @jaycee1980
    @jaycee1980 15 дней назад +2

    Regarding logic levels.. a lot of stuff generally has CMOS inputs, where there is a threshold for logic 1 and 0 that is typically some percentage of Vcc. The MAX7219 is definitely only specced at 4V minimum with a Vih of 3.5V, but i suspect it has a fair bit of tolerance. It could also be a clone chip on there which works perfectly well at 3.3v!

  • @iantcroft
    @iantcroft 15 дней назад

    Brilliant tutorial as always, the detailed code explanation really helps me try to understand this stuff. Thanks for taking the time to make these videos 👍🏻

    • @PlayfulTechnology
      @PlayfulTechnology  15 дней назад

      Thankyou for taking the time to write that kind comment, and I'm glad you find the videos helpful! :)

    • @iantcroft
      @iantcroft 15 дней назад

      @@PlayfulTechnology
      My pleasure

  • @ssskids123
    @ssskids123 16 дней назад

    I love this series! Thank you so much. It is so helpful and oddly difficult to find content like this!

  • @Dabaiko
    @Dabaiko 16 дней назад +1

    You are the best, very creative idea as always. Thank you for sharing it with us, you truly are an inspiration. It's a shame I didn't succeed in setting up node red in an ubuntu environment because I really liked everything that could be done with it. It was the main reason why I switched from the vanilla arduino to the esp32. One day...
    Thank you as always!

  • @dlepierres
    @dlepierres 16 дней назад

    another great project

  • @lwo7736
    @lwo7736 16 дней назад +1

    What would be really cool is if you had a stethescope in the room where they had to place it on a space that has a relay bolted to the inside and all you had to do was turn the relay on and off to trigger the 'click'. Not audible enough to listen to on it's own, but the relay click would pick up on a stethescope through the metal wall
    The big issue with this is that stethescopes are not toys, you can actually damage someones hearing by misusing them. There's ways around it like getting a cheaper one or putting a bit of blu tac in the holes where the ears go, but it probably would be unsafe for your average customer. Edit: also... kinda gross, you'd have to clean it every time

    • @Dabaiko
      @Dabaiko 16 дней назад

      That's an interesting idea. A drilled rigid plastic cup could be glued to a stethoscope after cutting the earpiece, and then it would go over the ear, solving the need to clean it every time and reducing audio levels considerably.

    • @lwo7736
      @lwo7736 16 дней назад +1

      @@Dabaiko yes! and I've also just seen something called a "pinard stethoscope" which is basically just a posh version of 'cup on wall to listen to neightbours'. You could use one of those too. Maybe even epoxy the cup to each earhole so that two players could listen in at the same time

  • @jaycee1980
    @jaycee1980 15 дней назад

    What are you using for ESP32 development? I'll probably end up using vscode but wondered if theres anything else. Probably wont use platformIO or anything like that though!

  • @Martin-delta
    @Martin-delta 16 дней назад +1

    28:30 just to clarify, this scramble function only randomizes the input code, not the solution code, right? The solution will be the same when the safe is re-locked?

    • @PlayfulTechnology
      @PlayfulTechnology  16 дней назад +3

      You're absolutely right - sorry, I didn't explain that very well! So, if you can't see the LED display, then scrambling either the input code or the solution code largely has the same effect - in that it assigns a random "distance" between each digit and the correct digit it should be.
      If you _can_ see the LED display, then you have the choice to scramble either the input code (which has the benefit of you being able to check the input against the fixed solution, should you want to) or the solution code (should you intentionally not want to know the solution code you're working towards).
      It all depends on how you want to use the puzzle in a game.

    • @Martin-delta
      @Martin-delta 16 дней назад +1

      @@PlayfulTechnology That makes sense. Thanks for the clarification. It is a really cool puzzle, which can fit in many themes.

  • @OtakuHighlights0
    @OtakuHighlights0 10 дней назад

    Love the series
    hey guys im trying to make puzzle when u have to pull ropes in order and i was thinking about using strain guage but dont know how to atache or is it a good sensore

  • @HeyThisIsBrian
    @HeyThisIsBrian 15 дней назад

    Hi I recently started working at an escape room and I love all of these. My boss is pretty adverse to learning Arduino though which has made me consider giving it a shot. I have a bit of programming experience, so I'm more intimidated by the hardware than the software. Is there a project you would recommend for someone starting out with it?

    • @PlayfulTechnology
      @PlayfulTechnology  15 дней назад +1

      When it comes down to it, pretty much all escape room projects (and, for that matter, all systems in general!) can be reduced to Input -> Logic -> Output.
      So, the simplest starter project is one where the inputs, logic, and output, are all themselves straightforward. That's why the normal "Hello World" starter project for Arduino is to press a button to make an LED turn on: Button=Input, "Is it Pressed?"=Logic, LED turning on=Output.
      Start with that, and then you can change each component in turn:
      - Instead of a single button input, have multiple buttons, or a rotary dial, or an RFID reader, or a magnetic sensor.
      - Instead of simple "Is It Pressed?" logic, consider a pattern of inputs, or several inputs held simultaneously, or depressed for a certain amount of time.
      - Instead of an LED, have an audio output, a motor, or a relay that can trigger any other electronic device.
      I _try_ to make all my projects as accessible as possible, and they all follow that same basic model. So, pick one that seems appropriate to the interaction method and theme of your room, and give it a try!

  • @ajking5789
    @ajking5789 13 дней назад +1

    Hi Alistair,
    Happy Tuesday!
    I rcently found your channel. I appreciate your conent a lot, if possible how would one get in contact with you? Thanks in advance mate cheer!

    • @PlayfulTechnology
      @PlayfulTechnology  8 дней назад

      I mostly hang around the Facebook "escape room tech" group: facebook.com/groups/EscapeRoomTECH