element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RFID or NFC
  • Challenges & Projects
  • Project14
  • RFID or NFC
  • More
  • Cancel
RFID or NFC
Project14: RFID or NFC Competition RFID door access controller connection to home automation system
  • Blog
  • Forum
  • Documents
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RFID or NFC to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: obones
  • Date Created: 9 Dec 2022 4:50 PM Date Created
  • Views 1218 views
  • Likes 11 likes
  • Comments 0 comments
  • rfidornfcch
  • openhab
  • automation
Related
Recommended

RFID door access controller connection to home automation system

obones
obones
9 Dec 2022

Welcome to my project entry for the RFID or NFC competition.

I have an automation system here at home using openHAB onto which I have attached different remote items, either via zigbee or direct RF modulation via custom ESP32 based boards.

That system is configured to send me emails when doors or windows get opened during predetermined hours and this can be activated via the web interface or the Android app.

While this works just fine, it is a bit too complex when allowing my friendly neighbors to come water the plants during our holidays. I mean, it requires them to have a smartphone, install the app, and forces me to give them access to just that part of the system which proves quite complicated.
Plus it requires a working internet connection for home and the smartphone which is not really environmentally friendly as it has to go through a lot of infrastructure just to do a simple task:

image

When looking at commercial alarm system offerings, there usually is a keypad onto which you can type a code or swipe a badge to (de)activate the alarm.

Finding an affordable ready-made solution turned out to be quite a challenge so I settled on making it myself out of a simple door entry keypad system, an OBO HANDS A1 bought for about 10€.
The system handles the entire RFID protocol management, sensing the badges, registering them in its memory and recognizing them when they are presented in front of it.
The idea is then to connect the bell button and relay output to an ESP32 with a tiny bit of code that sends item updates to the openHAB system:

image

The original idea was to post MQTT messages, but this requires a bit more work on the openHAB side and adds a potential point of failure on the chain of events. Using the already available openHAB REST API thus proves easier, even if it ties this system to a single automation platform.

To make configuration easier, a web portal is available on the ESP32, allowing the input of required values to connect all this together.

Two LEDs show the current status of the alarm system, both being off while it is starting up.

Powering the ESP32 is done by hijacking the undocumented Prog2 connector that thankfully provides a +5V rail that supports enough power for both the original system and the additional board.

The following video shows the system in action, first on the bench powered via USB and then fully integrated in the original case.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Source code is available here: https://github.com/obones/NFCAlarm

I hope you found this presentation interesting, do not hesitate to ask questions in the comments section.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube