Hi everyone, i'm trying to make a project using arduino, NFC Shield, fingerprint, and solenoid 12 V to make a door lock.
From outside, solenoid will be unlocked when your uid from NFC tag and your finger was match, and the door can be open, and solenoid will be locked again when you press lockButton.
But i have some problems when i'am adding unlockButton to unlocked the door from inside,
when i press unlockButton, the solenoid can be unlocked, then i press lockButton to lock the Solenoid, but the program only loop in unlockButton, not loop from begining
sorry, if my english not fluently
please help me, i also attach my program,
smartdoor.ino (3.75 KB)