These tutorial will guide you to make a password access control using “Keypad Membrane” connected to a Relay Module, Were just temporarily used LED for the output just to check if it is working, instead using a mechanical solenoid door lock.
Here is the guide using a Relay module in Arduino
Electronic Required
- Arduino UNO / MEGA / PRO
- 2x LED (RED & GREEN)
- 1x Relay Module
- 1x Matrix Keypad Membrane
You can download the Keypad library here | > Zip
You can download the Password library here | > Zip
The LED’s
LED Red Positive Connected to Arduino A0(Analog)
LED Red Negative Connected to Arduino Ground
LED Green Positive Connected to Arduino A1(Analog)
LED Green Negative Connected to Arduino Ground
The Relay Module
Relay VCC Connected to 5v
IN1 Connected to Arduino Digital Pin 2
IN2 Connected to Arduino Digital Pin 3
IN3 Connected to Arduino Digital Pin 4
IN4 Connected to Arduino Digital Pin 5
Ground Connected Arduino Ground
The Matrix Keypad Membrane
Keypad Pin1 Connected to Digital Pin 6
Keypad Pin2 Connected to Digital Pin 7
Keypad Pin3 Connected to Digital Pin 8
Keypad Pin4 Connected to Digital Pin 9
[crayon-675016508db65977848432/]