Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2025sric:rfidscanner [2025/05/28 23:37]
flaviu.ghena
iothings:proiecte:2025sric:rfidscanner [2025/05/29 10:07] (current)
flaviu.ghena
Line 53: Line 53:
 **Key Components** **Key Components**
  
-RFID Handling:+**RFID Handling:**
 - The MFRC522 library interfaces with the RFID reader\\ - The MFRC522 library interfaces with the RFID reader\\
 - Cards are identified by their UID and converted to decimal format\\ - Cards are identified by their UID and converted to decimal format\\
 - Reader automatically resets after periods of inactivity\\ - Reader automatically resets after periods of inactivity\\
  
-Access Control Logic:+**Access Control Logic:**
 - Compares scanned card IDs against authorized list\\ - Compares scanned card IDs against authorized list\\
 - Provides immediate visual feedback via LEDs\\ - Provides immediate visual feedback via LEDs\\
 - Green LED for authorized access, red for denied\\ - Green LED for authorized access, red for denied\\
  
-Firebase Integration:​+**Firebase Integration:​**
 - Stores all access events with timestamps\\ - Stores all access events with timestamps\\
 - Allows remote control via the ledControl path\\ - Allows remote control via the ledControl path\\
 - Uses anonymous authentication for security\\ - Uses anonymous authentication for security\\
  
-Telegram Notifications:​+**Realtime Database rules** 
 +<​code>​ 
 +
 +  "​rules":​ { 
 +    "​rfidSystem":​ { 
 +      "​control":​ { 
 +        "​.read":​ true, 
 +        "​.write":​ true 
 +      }, 
 +      "​logs":​ { 
 +        "​.read":​ true, 
 +        "​.write":​ true 
 +      }, 
 +      "​ledControl":​ { 
 +        "​.read":​ true, 
 +        "​.write":​ true 
 +      } 
 +    } 
 +  } 
 +
 + 
 +</​code>​ 
 + 
 +{{:​iothings:​proiecte:​2025sric:​flaviu6.png?​300|}} 
 + 
 +**Telegram Notifications:​**
 - Sends instant alerts for all access attempts\\ - Sends instant alerts for all access attempts\\
 - Differentiates between authorized and unauthorized access\\ - Differentiates between authorized and unauthorized access\\
Line 76: Line 101:
  
  
-Web Interface:+**Web Interface:**
 - Provides real-time access logs display\\ - Provides real-time access logs display\\
 - Allows manual access control via buttons\\ - Allows manual access control via buttons\\
Line 82: Line 107:
 - The system combines local hardware control with cloud connectivity for a comprehensive access control solution with remote monitoring capabilities.\\ - The system combines local hardware control with cloud connectivity for a comprehensive access control solution with remote monitoring capabilities.\\
  
-Error Handling:+**Error Handling:**
 - Auto-resets RFID reader if inactive.\\ - Auto-resets RFID reader if inactive.\\
 - Reconnects to WiFi/​Firebase if disconnected.\\ - Reconnects to WiFi/​Firebase if disconnected.\\
Line 423: Line 448:
  
 ===== Webpage ===== ===== Webpage =====
 +
 +{{:​iothings:​proiecte:​2025sric:​flaviu5.png?​600|}}
 +
 <​code>​ <​code>​
 <​!DOCTYPE html> <​!DOCTYPE html>
Line 576: Line 604:
 - Future enhancements could include adding biometric verification or integrating with physical locks. - Future enhancements could include adding biometric verification or integrating with physical locks.
  
 +===== Demo =====
 +
 +<​html><​iframe width="​456"​ height="​811"​ src="​https://​www.youtube.com/​embed/​BdYKw6g49gY"​ title="​RFID22"​ frameborder="​0"​ allow="​accelerometer;​ autoplay; clipboard-write;​ encrypted-media;​ gyroscope; picture-in-picture;​ web-share"​ allowfullscreen></​iframe></​html>​
 +
 +<​html><​iframe width="​456"​ height="​811"​ src="​https://​www.youtube.com/​embed/​UwR_TnAOcD8"​ title="​RFID11"​ frameborder="​0"​ allow="​accelerometer;​ autoplay; clipboard-write;​ encrypted-media;​ gyroscope; picture-in-picture;​ web-share"​ allowfullscreen></​iframe></​html>​
  
 ===== References ===== ===== References =====
 [1] https://​randomnerdtutorials.com/​control-esp-gpios-firebase-web-app/​ \\ [1] https://​randomnerdtutorials.com/​control-esp-gpios-firebase-web-app/​ \\
 [2] https://​randomnerdtutorials.com/​esp32-door-status-telegram/​ [2] https://​randomnerdtutorials.com/​esp32-door-status-telegram/​
iothings/proiecte/2025sric/rfidscanner.1748464648.txt.gz · Last modified: 2025/05/28 23:37 by flaviu.ghena
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0