This design implements a customizable padlock. Set a code for your digital safe!
Controls
SW | Function |
---|---|
1 | N/A |
2 | Reset |
3 | Code 0 |
4 | Code 1 |
5 | Code 2 |
6 | N/A |
7 | N/A |
8 | Set Code |
Press the green button in the top left of the simulation pane.
Set your desired code using Switches 3 to 5. Once you’ve done so, toggle Switch 8 to on, press the button, then toggle Switch 8 back off–the safe is now set!
Turn on Switch 2, and press the push button. The red LED labeled “Locked” should turn on and the seven segment display should show “L” (for locked).
Next turn off Switch 2 to begin entering codes.
If you enter a correct code, you will see cyan LED labeled “Unlocked!” turn on. Congratulations! The seven segment display should also show “U” (for unlocked).