Escape Room Puzzle Tutorial - The "Fortune Teller's Crystal Ball"

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • In this video tutorial, I'll explain how to create a "Fortune Teller's Crystal Ball" escape room puzzle that uses the built-in touch input of an ESP32 microprocessor to detect when players place their hands on certain tarot cards. As they touch the cards, a crystal ball illuminates, using a MOSFET to gradually increase the current through a 12V LED lamp, and a sound effect plays through a serial MP3 player. When they touch the final card in the correct sequence, a relay is energised, releasing a maglock, allowing them to claim their prize.
    I'll give a complete rundown of all the components I use, together with a detailed explanation of the wiring and code. More details and downloads for this tutorial, and all the other #EscapeRoom projects on this channel, can be found on my Patreon page at / playfultech
    00:00:00 - 00:01:25 Introduction and Demonstration
    00:01:26 - 00:06:17 Hardware Overview
    00:06:18 - 00:14:54 Wiring diagram
    00:14:55 - 00:48:27 ESP32/Arduino Code
    00:48:28 - 00:49:47 Wrapup
    If you're using an Arduino, Raspberry Pi, or other microcontroller that doesn't have touch-enabled inputs, you can add them using a capacitive touch module such as a CAP1188, as demonstrated in this tutorial: • Arduino Capacitive Tou...
    For more information on the DY-HV20T MP3 player I'm using, and comparison to other audio modules, see • Audio modules for elec...
    #escaperoom #esp32 #arduino #electronics
  • НаукаНаука

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

  • @DinJaevel
    @DinJaevel 4 месяца назад +1

    I have had a puzzle like this in mind, for a long time. Today it all fell into place. This contained just that extra I needed to be able to take it out of my mind and actually use it. Thanks again, Alastair!

  • @jeffhaas9577
    @jeffhaas9577 4 месяца назад +4

    I noticed in many of your puzzles that you trigger the maglock on the box immediately when the player completes the puzzle. For this one, I think it would be a bit better if you let the sound effect and lighting effect play, and then triggered the maglock. Maybe even after a slight pause.

    • @PlayfulTechnology
      @PlayfulTechnology  4 месяца назад +1

      That's a good idea - it would be a trivial change to the code to wait for a second or so until the ball had fully-illuminated before opening the lock - thanks for the suggestion!

  • @robertedlund6357
    @robertedlund6357 4 месяца назад

    I so enjoy your vids!! It helps my own home builds. Keep it up

  • @lwo7736
    @lwo7736 4 месяца назад +1

    Thanks again Alastair, i look forward to seeing how you altered analogwrite based on progression through the sequence

  • @ManiacalMaker
    @ManiacalMaker 4 месяца назад +1

    As always: love your work

    • @PlayfulTechnology
      @PlayfulTechnology  4 месяца назад

      Awh, thankyou - that's very kind of you to say so!

  • @bibel2k
    @bibel2k 4 месяца назад

    Freaking amazing!!
    I was looking for this today and you just uploaded a video yesterday!
    I guess you are psychic! 😂😂
    Thanks again for a good video with explanations and covering review.

  • @zainsiddiqui866
    @zainsiddiqui866 4 месяца назад

    Just a note on power supply usage, you can use a diode to prevent flyback voltage. No need to add multiple power supplies for one prop/puzzle.
    Great video and tutorial! Very thorough, I'm using your videos to teach my staff lol

  • @serbanmunteanu3829
    @serbanmunteanu3829 2 месяца назад

    Can you link the touch inputs ?
    Also maybe a new video regarding touch inputs, how they work and how you can use them under multiple surfaces will be much appreciated.
    Great work as always

    • @PlayfulTechnology
      @PlayfulTechnology  2 месяца назад

      I'm not using any "touch inputs" - it's just kitchen aluminium foil, which I've attached to pins on the ESP32.

  • @mfx1
    @mfx1 4 месяца назад +1

    There are some little cheap MOSFET boards often based around a D4148 MOSFET that have an optoisolator input so are very versatile on input voltage range and help protect your micro from wiring mistakes.

    • @PlayfulTechnology
      @PlayfulTechnology  4 месяца назад +1

      Oh nice - I'll check them out - thankyou for the tip!

    • @KrazeeKraftZ
      @KrazeeKraftZ 4 месяца назад

      That's sounds like a great idea, any suggestions on what I need to search for??
      Just mosfet board with optoisolation?!?!

    • @mfx1
      @mfx1 4 месяца назад +1

      @@KrazeeKraftZ Dollatek D4184 MOSFET or just D4184 MOSFET board should find it.

    • @KrazeeKraftZ
      @KrazeeKraftZ 4 месяца назад

      ​@@mfx1ah yes, thanks found some

  • @KrazeeKraftZ
    @KrazeeKraftZ 4 месяца назад

    Awesome thanks, I might adapt that to work to release candy/toys at Halloween from my fortune tellers Hut.
    The pictures could be whichever "prize" they want to receive.
    Now I just need to work out how to get that item to magically appear in the "box"
    Awesome idea, thanks

  • @t3chrs
    @t3chrs 4 месяца назад

    Excellent video as always. I always learn a lot and get inspired to make more puzzles.

  • @MattWaits-jf6qy
    @MattWaits-jf6qy Месяц назад

    I want to do something similar however it’s direct 1 to 1

  • @leojrgensen2819
    @leojrgensen2819 4 месяца назад

    If you build game rooms or escape rooms, i wonder if you have any videos of the places where your games are in use, that could be fun to see if that is possible. Thanks for sharing your knowledge.

    • @PlayfulTechnology
      @PlayfulTechnology  4 месяца назад +1

      Yes, I build escape rooms for clients, but they typically don't want anyone filming inside the rooms for risk of spoiling the experience, let alone sharing those videos on RUclips!

  • @jorisg.7438
    @jorisg.7438 4 месяца назад

    Excellent video as always ! thx - I have a question : What is the thing under the aluminum foil (look like a bulb light) please ?

    • @PlayfulTechnology
      @PlayfulTechnology  2 месяца назад

      Here? ruclips.net/video/XTrP3Fah3Fk/видео.html It's just a screw and a washer, used to clamp the wire from the ESP32 onto the aluminium foil.

  • @HitsandHeadlines
    @HitsandHeadlines 3 месяца назад

    I am brand new to the Arduino culture and im so glad i found your channel! instant sub. i bought the new Arduino r4 wifi with an esp32 chip on it, would that work the same?

    • @PlayfulTechnology
      @PlayfulTechnology  3 месяца назад

      Thanks! I've not used the Arduino R4, but my understanding is that it should work the same - it's only when you come to do slightly more advanced things that involve timers and interrupts etc. where the architecture of the processor used on different boards starts to make a difference.

  • @miguelcirc
    @miguelcirc 2 месяца назад

    Hi! I've made a version off puzzle inspired in your code and hardware. In fact, I use exacty the same harware but I've replace the Mosfet and the Light with a Neopixel. All its going fine, but I have some problems playing de sound. It's running well, but sometimes when I power on the system the sound its not playing. I'm using a indenpendent power supply of 12V with ground conect to the ground of the circuit. I've try to use with a speaker and using the mini jack output, but the sound it's not going always. Only sometimes when i restart all de power supply. What you you thing its happening? Now it's happening almost always.... Thanks for your procets,. I 'll consider pay you for this code

  • @blackwater75
    @blackwater75 Месяц назад

    Hello,
    So I am trying to learn raspberry pi or Arduino. Me and my daughter do escape rooms weekly. I noticed you build your stuff in arduino instead of Pi. Is there a particular reason? Thanks

  • @realprore
    @realprore 4 месяца назад

    Do you not need a ground pin on the light bulb?

    • @PlayfulTechnology
      @PlayfulTechnology  2 месяца назад

      The bulb has a positive and a negative terminal, inserted into a circuit controlled by the MOSFET, as explained here: ruclips.net/video/XTrP3Fah3Fk/видео.html

  • @miguelcirc
    @miguelcirc 2 месяца назад

    ruclips.net/video/8jKn1HdjdwE/видео.html
    Yesterday was running, but today its not running