Skip to content
Use a keypad and a servo or relay to unlock a door
  1. Other 100.0%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


ArduLock takes input from a 4x4 keypad, gives feedback using a rgb led and uses a relay or servo to open a door. The pin is stored in eeprom and can be changed using the keypad.


When the device is ready to use, the rgb led will flash red-green-blue-white(ish). The led will be red when its ready to accept input.

To unlock, enter pin and press *. Light will turn green if the correct pin is entered or flash red if not. The default pin is 12345.

Press # to clear the temp memory. Light will flash green once.

To change pin, enter the current pin followed by "A". The led will turn blue if correct. Enter a new pin of up to 10 numbers followed by * (do not use 10 0s). If the pin passes validation the led will flash green. Enter the new pin again. If the pin was entered the same both times and was successfully change the led will flash blue before turning red.

If you forget your pin, your will need uncomment line ~173 to make it print the current pin to serial or clear the eeprom. The eeprom_clear example provided with the Arduino IDE will do the trick for the latter option.

You can’t perform that action at this time.