Arduino code for digital door lock in my house.
Unlocking via password input on matrix keyboard on the outside of the apartment.
Unlocking via push button on the inside of the apartment.
I am using a eletric door lock which can be opened both by using a physical key or turning a small electrical current on.
The Arduino code might have multiple different user inputs, such as passwords, push button, fingerprint or RFID for example. But all of those trigger the same electrical current output to a pin on the electric door lock, which opens it.