"Play It (Once), Sam" Arduino MIDI ER Puzzle (Patreon)
Content
Here's a new tutorial for an electronic puzzle suitable for an escape room, using an Arduino and a MIDI keyboard. Players must press the correct sequence of notes to match a certain melody stored on the Arduino. For each correct note they play, an LED is illuminated on a Neopixel strip. When the whole melody has been played and all the LEDs have been lit, a maglock is released. If players press a wrong note, the LEDs flash red and the player must start again from the beginning.
A nice way to theme this puzzle would be to select a suitable replacement sound effect for each note played - you could send the MIDI output to a synthesiser module or sampler to create the sound of a church organ, an 80s synthesiser, or just play arbitrary WAV/MP3 sound effects, for example. If you want to make the player have to spell a word rather than play a song, here's a list of some interesting words that can be spelled using only the letters of the musical notes from A-G!:
Badge, Cabbage, Cage, Decade, Dead, Face, Edge, Facade, Deaf, Baggage...
Timings:
00:00 - 02:24 Introduction and Demonstration
02:25 - 08:14 Component Explanation
08:25 - 14:23 Wiring
14:24 - 41:44 Arduino Code
41:45 - 43:40 Wrap-up
For wiring diagram, list of components used, and to download the Arduino code please see https://www.patreon.com/posts/21024440
Please let me know if you have any questions, comments, or suggestions below!