Introduction: RFID Smart Door Lock With ESP8266
In this video I am going to show you how to build your own access control system with RFID and Arduino + Cloud logging of attendance.
It is a very good project for IoT beginners and enthusiasts, hope you like it.
Supplies
Step 1: Video Tutorial:
If you are a visual learner, here I created a video that shows you step by step the whole process of building this project.
The video is in spanish but electronics are electronics, and coding is coding in the same language.
Hope you like it.
Step 2: Schematic:
Here you have the circuit diagram so you can follow it to reproduce your own version of the project, also, letting you know the conections and wiring of the circuit.
Step 3: PCB Design:
Here you can download the Gerber File so you can order your PCBs proffesionally made on JLCPCB.
Step 4: Soldering Process:
You just need to place all the components in the right spot, solder them with a clean soldering iron and that's it.
Step 5: Coding:
Here's the code so you can program your ESP8266 board.
Step 6: Assambly:
Wire up all the components together, install the electric lock, wire it to the enclosure and place the PCB and the power supply inside the box, close the lid and everything is almost ready.
Step 7: IoT Ubidots Settings:
- Create an account of Ubidots.
- Go the devices section and notice that should be a device called "RFID" listed.
- Inside of it, should be a variable called "asistencia".
- If on steps 2 and 3 the device is not automatically created, create it by yourself by the mentioned names.
- Go to dashboards and create a new one.
- Select a widget called "Values table" and link it to the rfid->asistencia variable.
- Create an histogram and link it to the same variable.
- Then you are ready to visualize the names of the people who get into the room.
Step 8: Testing It:
Swipe a RFID card or token and the lock will open, and the Ubidots interface will show you the name who enter.
3 Comments
Question 2 years ago on Introduction
Hi,
This project looks just right for my parcel box remote release :-)
You don't seem to list the relay or the transistor heatsink in the components - is there a standard type/size of relay or heatsink that I should look out for?
Thanks
David
3 years ago
Thanks for the comment,
Yes you can, you can do it with multiple RFID tags to control each lock, but you will need to decide on how you will connect the RFID sensors to your main board, because they have limited pins, but if you want multiple sensors on a single board, you will need to use a bigger (more pins) one, as the ESP32 board. Just look at the code and adapt it to the multiple sensors.
Question 3 years ago
Looks really interesting!
Would it be possible to control multiple locks with allocated RFID tags with this setup? - How would I go about to do this?
Thanks