Arduino Project #18 | Pseudo 2-Factor Auth. Using HC-05 Bluetooth Module & RFID Module + Relay
HeathenHacks
So, about a year ago, I have posted a project called "MFRC522 RFID + Relay Module To Turn My PC On & Off. Using RFID Door Lock Code" it was my 2nd Arduino® Project. On that one, as the title says, I used an MFRC522 RFID Module and a Relay Module as a switch to turn my desktop computer ON or OFF.
Click here to check it out: https://www.youtube.com/watch?v=dfLldGzIo98
And almost a year later, this project was born out of curiosity. On this one, we will use a couple of things. An #ArduinoUNO board, an MFRC522 #RFID Module, an HC-05 #Bluetooth Module, and a 5V 10A Relay Module.
The main purpose of this project is to add another level of security to the RFID module by using the Bluetooth module and a transistor as a switch for the RFID module.
So that, the user can decide when to activate or deactivate the RFID reader's RFID reading function.
By deactivating the module, the RFID's RFID reading function will also be deactivated and no one can be granted access, unless the person who has the "key" or password to the bluetooth aka. switch chose to do so.
For example, if some baddies cloned your RFID card and tried to access or gain entry to somewhere where your RFID reader is deployed, they can't do anything because the modules' RFID reading capability is disabled.
In contrast, if the RFID module is just constantly active, and your RFID card has been duplicated, anyone can have access to anything that is protected by the RFID module.
Now, I'm not saying that this is the most secured setup, I mean, anything and anyone can be hacked these days.
But, if you're just going to use this at home or on an office, I think it would be enough.
TIMESTAMPS:
00:00 - Intro 01:49 - Things Needed 02:34 - Basic/Beginner Setup 06:51 - Demo 09:27 - ATcommands 12:33 - Intermediate Setup 14:08 - Demo 15:52 - Outro **************************************************************************************************** NECESSARY LINKS:
HC-05 APK DL LINK: https://drive.google.com/file/d/1iALvtuqdoEnuEHxT4X9rf1s0gRXOAhM6
What is an APK: https://www.makeuseof.com/tag/what-is-apk-file/
Make Your Own App Using MIT App Inventor: http://ai2.appinventor.mit.edu/
HC-05 AT Commands List: https://www.teachmemicro.com/hc-05-bluetooth-command-list/
What is an AT Command: https://www.techopedia.com/definition/575/at-command-set
MFRC522 RFID Library: https://github.com/miguelbalboa/rfid/blob/master/src/MFRC522.cpp
How RFID Works: https://lastminuteengineers.com/how-rfid-works-rc522-arduino-tutorial/
HC-05 Datasheet: https://components101.com/wireless/hc-05-bluetooth-module
HC-05 Datasheet Highlights: https://maker.pro/custom/tutorial/hc-05-bluetooth-transceiver-module-datasheet-highlights
Voltage Dividers Definition: https://learn.sparkfun.com/tutorials/voltage-dividers/all
434097020 Bytes