406 words
2 minutes
ESP RFID
2026-06-27
2026-07-02

For Home Lab Code https://github.com/A1i98/esp8266-rfid

Bind#

[[meta bind projects]]

Tasks#

  • Remove reliance on default MIFARE Classic keys (FF FF FF FF FF FF) ✅ 2026-06-28
  • Add token storage inside sectors

Sessions BUTTON[add-session] BUTTON[open-latest-session]#

Log#

2026-06-27 21:56#

A significant portion of the system logic in this project was previously implemented within the LoRa Mesh codebase. However, in the current architecture, the LoRa transmission layer has been decoupled from the main application to improve modularity and maintainability.

In this revised design, a dedicated LoRa communication module is responsible solely for message transmission and networking tasks, while a separate subsystem has been introduced for home automation integration. This new component connects the system to Home Assistant, enabling real-time interaction with smart home services.

Additionally, an RFID-based identification layer has been integrated into the system. This layer is responsible for reading RFID tags and identifying individuals entering the environment. Based on predefined access rules, the system can distinguish between authorized and unauthorized users and trigger corresponding actions within the smart home ecosystem.

This modular separation allows the project to be extended more easily for future applications, including access control systems, smart environments, and distributed IoT-based automation scenarios. ESP12 RFID-1782585061313.webp ESP12 RFID-1782585131139.webp In this project, the MFRC522 RFID Reader/Writer module (13.56 MHz) was used for contactless identification and data exchange with RFID tags. The module operates using a 3.3 V power supply and communicates with the microcontroller via the SPI interface. Key technical specifications include:

  • Operating frequency: 13.56 MHz
  • Supply voltage: 3.3 V
  • Communication interface: SPI
  • Current consumption: approximately 13–26 mA
  • Reading range: up to ~3 cm
  • Data transfer rate: up to 424 kbit/s ESP12 RFID-1782587031338.webp

2026-07-01 16:40#

The project was previously running on an ESP8266 module, but it was not ideal because I will probably add much more code and need more features in the future. I migrated the project to ESP32, and I will most likely continue the rest of the work on ESP32. This is not fully decided yet, especially since more Home Assistant-related features are planned to be added later. For this reason, it is probably better to move forward with ESP32 so we do not run into hardware limitation issues.

2026-07-02 02:12#

A large amount of code was written, especially to improve reading from and writing to sectors. In the future, the main token and password-related parts will be stored inside these sectors, which should improve the overall security of the project.

Overall, the project has become much better, and I will probably complete the code soon so I can manage it more effectively using Home Assistant. ESP RFID-1782946087210.webp

ESP RFID
https://jamshidzadeh.ir/posts/projects/esp-rfid/
Author
Ali Jamshidzadeh
Published at
2026-06-27