User Tools

Site Tools


door_access_controllers

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
door_access_controllers [2019-04-29 17:50] timdoor_access_controllers [2019-09-22 22:10] – [PCB v3] tim
Line 5: Line 5:
 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. 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 v2 =====
  
-https://github.com/timhawes/onyx_robot/+https://github.com/timhawes/onyx_robot/tree/or2
  
 ^ Reference ^ Component ^ Farnell ^ ^ Reference ^ Component ^ Farnell ^
Line 33: 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 ====+==== PCB v3 ==== 
 + 
 +https://github.com/timhawes/onyx_robot/tree/or3 
 + 
 +  * Off-the-shelf DC-DC converter instead of custom circuit 
 +  * Split voltages 5V (for piezo and NFC module) and 3.3V for ESP8266 
 +  * Flyback diode on 12V switched output 
 +  * TVS diodes removed 
 +  * Normally-closed relay option removed 
 +  * Pull-up removed from piezo 
 + 
 +This is a minor revision and is not likely to be rolled-out except where a new door is required. 
 + 
 +PCBs have been ordered 22nd September 2019. 
 + 
 +==== Future ==== 
 + 
 +Future versions may use the Wemos D1 Mini to aid maintainability. Alternatively, the next design may use the more powerful ESP32. 
  
-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 109: Line 125:
 ===== Software ===== ===== Software =====
  
-Two versions of firmware and server back-end are currently in operation. +Features:
- +
-Common features:+
  
   * Ability to read any 13.54MHz ISO-14443 Type A token including MIFARE Classic/UltraLight and NFC tags.   * Ability to read any 13.54MHz ISO-14443 Type A token including MIFARE Classic/UltraLight and NFC tags.
Line 121: Line 135:
   * Remote enable/disable/renewal/timeout of snib state to allow presence detection to trigger timeout of snib state.   * 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).   * 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).
- +  * TLS-enabled TCP networking with OTA updates.
-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