Hello world! This code is made to put a access code/password protection on your "dangerous" machines in the garage/workplace (For example). To protect your kids from the danger that might lurk in your garage, without the code power cannot be turned on. Hide it in a box that you can lock, put it on the wall and add a little safety to your garage. Of course it can be used to turn on/off anything! Very simple but i'm sure it is useful for many of you.
Usage of the Device.
Pressing: * will turn off everything and go back into NoAccess mode.
A turns on/off relay 1
B turns on/off relay 2
C turns on/off relay 3
D turns on/off relay 4
Default code is: 3241
Follow the next step for the schematic code & Parts list.
The red led is to notify you that nobody can turn on/off machines. You could reverse this and switch it to pin 10 where the green light is to notify that the devices are still able to be put on by anyone, so the red led warns you the power is still on. While in NoAcces state the Green Led notifys you everything is safe! (Just an idea)
Step 1: Schematic Code & Parts List.
Wire it up like the Schematic and it should work after uploading the code.
You need the following Librarys.
- Arduino uno, I used the RobotDyn uno.
- 4 Channel Relay.
- 4x4 Keypad
- Jumper wire set MM/FF/MF
- 2 x Leds / 1 green / 1 red.