There are lots of techniques to fasten a door. You’ll use a keyboard, RFID card, finger or retina scan, Wi-Fi, Bluetooth, the checklist is going on. You’ll additionally use an previous steel key. However none of those will also be as secure as [mircemk]An Arduino door lock that makes use of a cell phone flashlight as a key.
To start with blush, this turns out very insecure. Use an previous flashlight to open a door? You. However the name of the game is within the tool. If truth be told, between the cross code recorded and the sunshine it emits, the lock has two layers of safety. Right here's what's happening: throughout the smartphone monitoring app, there's a secret checklist. Every of those passwords corresponds to a flash of sunshine in milliseconds. Input the right kind password to turn on the Arduino, and the telephone's flashlight is activated to permit the right kind collection of milliseconds to unencumber the door. As you’ll see within the video under, simply manually flashing it doesn't open the door, and coming into a pretend password. Despite the fact that it turns at the flashlight each and every time, it does now not have an outlined period of sunshine. {Hardware}-wise, there’s an Arduino Nano Every that controls the LDR module that reads the flashlight enter and the 12 V relay that opens the door. Be certain to take a look at that video after the smash. If you wish to stay your critters from bringing the critters within, take a look at a Wi-Fi cat door that allows you to see what may well be dangling from their jaws earlier than you open the door.