Security Lock

Above is the code used to program the Arduino. The user inputs a code in which the Arduino sends a command to the security box. When you get the code correct, a green led lights up and the servomotor moves. This unlocks the box (or at least making it easier to open), otherwise, a red led is lit up and the box remains locked. The default code is, sequentially, starting with the button attached from pin 12 and going down to the button attached to pin 9.

Leave a Reply

Your email address will not be published.