HardwareInternetNetworkingSoftwareTechnologyTelecomsUbuntu Linux

New Video Project / Tutorial: Build a Raspberry Pi Smart Door Lock Security System with Three Factor Authentication!

By Nov 10, 2017 Oct 18th, 2018 No Comments

Today I released the video of a project I’ve been working on for a little while – it’s a smart door lock system built with a Raspberry Pi which secures a door (or cupboard, safe etc.) in your home or office with three distinct steps required to be completed before entry is granted.

The first step is the scanning of an RFID / NFC keyfob. The system recognises the keyfob and presents a welcome message with your name and mugshot on the little touchscreen LCD.

The second step requires you to enter your secret, 6-digit PIN using the touchscreen.

The third step requires you to have your mobile phone handy, as it uses a 3rd party web service to send a one-time passcode via SMS.

After all 3 hoops have been jumped through, the Raspberry Pi operates a relay switch via its GPIO ports to activate an electronic striker plate for 5 seconds, allowing the door to be opened.

I realise that this is not strictly three factor authentication, because two of the steps are “something you have”, ie. your keyfob and your phone. However, an intruder would need to steal both in order to gain access, and each can be cancelled remotely (either call up your mobile provider or call the administrator of the lock system to ban your fob’s code). So, if one was unavailable at short notice hopefully the other one would be.

The system is fully open-sourced on Github and can be modified to add/remove/change steps if you wish, for example by adding in a fingerprint reader or retina scanner.

There’s a text write-up of the project on the Switched On Network website, at: https://www.switchedonnetwork.com/2017/11/10/build-the-ultimate-door-security-system-with-three-factor-authentication/

UPDATE – 1st June 2018

I’m delighted to say that this project has won an award! It gained 2nd Prize in Elecromaker’s Connectivity Contest.

Read more at https://www.electromaker.io/contest/connectivity

Paul Freeman-Powell

Paul Freeman-Powell

Paul (@paulfp) is the main presenter of the award-winning Switched On Network YouTube Channel, which covers a variety of interesting topics usually relating to his love of technology and all things geeky. He also founded and runs Innobella Media, where he leads in all aspects of video production, video editing, sound & lighting. A father of 3 children including twins, his hobbies used to include photography, playing the drums and cycling. With a degree in Modern European Languages, Paul speaks French, Spanish and a little bit of Italian, and holds dual British & Irish citizenship.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.