Pincode Puzzle (Patreon)
Content
In this video, I'll show you how to combine several components that I've demonstrated in previous videos into a "pincode puzzle". It uses:
- a 3x4 Keypad input (see https://www.patreon.com/posts/everything-you-16760864 for more information)
- a 4-channel relay module (see https://www.patreon.com/posts/everything-you-15808925 for more information)
- a TM1637 4-digit 7-segment LED display (see https://www.patreon.com/posts/everything-you-16313103 for more information)
In the puzzle, the player can enter a four-digit code on a keypad, which will be displayed on an LED display. If the code entered matches one of the preset PIN numbers assigned in the Arduino code, the Arduino will activate/de-activate the corresponding relay (which, in turn, can lock/release a maglock etc.). The number of codes, the length of codes, and the function they perform can be completely customised in the code.