User Tools

Site Tools


door_access_controllers

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
door_access_controllers [2019-02-24 00:20] – created timdoor_access_controllers [2019-02-24 00:39] – [PCB] tim
Line 2: Line 2:
  
 ===== Overview ===== ===== Overview =====
 +
 +The Hacklab door controllers are based on an ESP8266 wifi microcontroller and a PN532 NFC reader module. One controller is installed for each door, and each controller can operate a single 12V channel for an electric door release or magnetic lock. Inputs can be connected for door open/closed reed switch, exit request and local lock/unlock "snib" function.
  
 ===== PCB ===== ===== PCB =====
Line 31: Line 33:
 Errata: a generic through-hole flyback diode should be fitted between GND and 12V_OUT, on the underside of the screw terminal. Errata: a generic through-hole flyback diode should be fitted between GND and 12V_OUT, on the underside of the screw terminal.
  
 +==== Lessons Learned ====
 +
 +Future PCB revisions are likely to be based on a Wemos D1 Mini module to reduce component count and allow easier debugging. The onboard DC-DC converter will be replaced with an off-the-shelf "LDO replacement" DC-DC converter module.
 ===== Controller Unit ===== ===== Controller Unit =====
  
Line 105: Line 110:
  
 ===== Software ===== ===== Software =====
 +
 +Two versions of firmware and server back-end are currently in operation.
 +
 +Common features:
 +
 +  * Ability to read any 13.54MHz ISO-14443 Type A token including MIFARE Classic/UltraLight and NFC tags.
 +  * Network-based checking of tokens with fallback to syncronised on-board database.
 +  * Detection of door open/closed state via reed switch.
 +  * Exit request handling, either opening for a set time or opening as long as in input is held (for our capacitive-touch door handle).
 +  * "Snib" feature to hold the door unlocked for an extended period, with automatic timeout.
 +  * Remote enable/disable of exit request for additional security.
 +  * Remote enable/disable/renewal/timeout of snib state to allow presence detection to trigger timeout of snib state.
 +  * Input DC voltage measurement, using low voltage as an indication of battery backup during a power outage. Snib feature can be disabled during power outage to extend battery life (for fail-secure locks).
 +
 +Legacy/Stable: The older version uses UDP networking and requires a dedicated wifi network for security. All of the Hacklab doors use this version at the time of writing.
 +
 +New: A new firmware and back-end use TLS-enabled TCP networking, so do not require a special wifi network. The modern codebase is better-written, more flexible and features OTA upgrades.
  
door_access_controllers.txt · Last modified: 2023-04-08 10:24 by tim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki