Programmable Security Lock Using Arduino




Mitu Raj -- Just a Hobbyst and Learner -- Chip Designer -- Software Developer -- Physics and Math...

Arduino based programmable security lock for locking electronic appliances. The appliance can be unlocked only if the correct password is fed.

- The numeric password can be of any length of our choice ( max.length 15).

- Password programmable by SMS from a unique authorised number.

- SMS Commands, Alerts , Maximum 3 wrong attempts , Emergency freeze mode for increased security.

- Developer : Mitu Raj

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components Required

1) Arduino UNO

2) SIM 900A GSM module

3) 4x4 matrix keypad

4) 5V Relay Module

5) 16x2 LCD display

Step 2: Circuit Connection

1) 4x4 Keypad pins 1-8 are connected to D2-D9 pins of Arduino. If you get incorrect response from the keypad , it maybe because you connected it in the reverse order. Take a note of this.

2) SIM 900A GSM module's RX and TX are connected to D11, D10 respectively. We use these pins as software serial . GND of GSM is connected to Arduino GND .

3) Use 9V 2A adapter as power supply to GSM module. 2A is preferred over 1A rated adapter. The same may be used to power the Arduino too. Your wish.

4) The 5V relay module is connected to D12 pin. and "Busy" status LED . Choose the relay wisely ( generally capable to switch 24V DC/ 240V AC 5A rating).

5) Interface the LCD display as in the circuit diagram shown.

You are ready to GO !!!

Note : The Led in 13th pin is connected in reverse manner in the circuit diagram . please connect the positive of the Led to the Vcc of the arduino , and the negative to D13 via the resistor . Also connect the analog pins to LCD in the reverse order to that in the circuit diagram .

Note : The phone number is 12 digits length total in my code, including country code...If it differs, change accordingly in the code after understanding the code.

Step 3: Notes

Implement individual Keypad test , GSM test and testbench in Arduino before you proceed to the complete circuit implementation ( go through guidelines too in main code folder ). The necessary files and instructions have been attached with this. Also make sure that your Arduino IDE contains keypad.h , softwareserial.h libraries.

link to my paper :

For any queries please contact me

Thank You !

Mitu Raj


mail :

Step 4:

1 Person Made This Project!


  • Made with Math Contest

    Made with Math Contest
  • Multi-Discipline Contest

    Multi-Discipline Contest
  • Robotics Contest

    Robotics Contest

11 Discussions


2 months ago

pin please


Reply 2 years ago

please find it in the Attached RAR file


3 years ago

u are welCome :)