Introduction: RFID Smart Door Lock With ESP8266

About: I'am an Electronics student that really enjoy making new things from garbage, and DIY projects. I am here to share my knowledge with you, and learn with you too.

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:

  1. Create an account of Ubidots.
  2. Go the devices section and notice that should be a device called "RFID" listed.
  3. Inside of it, should be a variable called "asistencia".
  4. If on steps 2 and 3 the device is not automatically created, create it by yourself by the mentioned names.
  5. Go to dashboards and create a new one.
  6. Select a widget called "Values table" and link it to the rfid->asistencia variable.
  7. Create an histogram and link it to the same variable.
  8. 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.