door_access_controllers
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
door_access_controllers [2019-02-24 00:20] – created tim | door_access_controllers [2019-09-22 22:08] – tim | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Overview ===== | ===== Overview ===== | ||
- | ===== PCB ===== | + | 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 " |
- | https:// | + | ===== PCB v2 ===== |
+ | |||
+ | https:// | ||
^ Reference ^ Component ^ Farnell ^ | ^ Reference ^ Component ^ Farnell ^ | ||
Line 30: | Line 32: | ||
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. | ||
+ | |||
+ | ==== PCB v3 ==== | ||
+ | |||
+ | * 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 | ||
+ | |||
+ | ==== Future ==== | ||
+ | |||
+ | Future versions may use the Wemos D1 Mini to aid maintainability. Alternatively, | ||
===== Controller Unit ===== | ===== Controller Unit ===== | ||
Line 77: | Line 92: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * Cat 5 or other cable with at least 7 cores | + | * Alarm cable with at least 7 cores (Cat5 can be used but is not recommended) |
The reader enclosure is formed from three layers of 3mm black acrylic. The layers should be joined with cyanoacrylate adhesive. | The reader enclosure is formed from three layers of 3mm black acrylic. The layers should be joined with cyanoacrylate adhesive. | ||
Line 85: | Line 100: | ||
Bend and cut the LED leads to the correct shape and length. Solder the LED and cable before gluing the module into the enclosure. | Bend and cut the LED leads to the correct shape and length. Solder the LED and cable before gluing the module into the enclosure. | ||
- | Cat 5 cable colours: | + | Cable colours |
- | | blue | GND | | + | ^ Pin ^ G1/G2/G8 ^ G11 (and photos) ^ |
- | | green | VCC | | + | | GND | blue | blue | |
- | | brown | RST | | + | | VCC | green | orange |
- | | orange | SDA | | + | | RST | brown | brown | |
- | | white-green | + | | SDA | orange | green | |
- | | white-brown | LED +ve | | + | | SCL | white-green | white-green | |
- | | white-blue | Piezo | | + | | LED +ve | white-brown | white-brown |
- | | white-orange | + | | Piezo | white-blue | white-blue |
- | Note that on the G11 door and **in the photos**, orange=VCC and green=SDA. | + | The LED should be connected between LED and GND, with a 120R series resistor. To avoid damaging |
- | The LED should be connected between white-brown and GND (blue), with a 120R series resistor. To avoid damaging the LED, use hot-melt glue to secure it in place (not cyanoacrylate). | + | The piezo should be connected between |
- | + | ||
- | The piezo should be connected between | + | |
Test the reader and controller together before securing the reader to the wall with double-sided adhesive foam tape. | Test the reader and controller together before securing the reader to the wall with double-sided adhesive foam tape. | ||
===== Software ===== | ===== Software ===== | ||
+ | |||
+ | Features: | ||
+ | |||
+ | * Ability to read any 13.54MHz ISO-14443 Type A token including MIFARE Classic/ | ||
+ | * 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). | ||
+ | * " | ||
+ | * Remote enable/ | ||
+ | * Remote enable/ | ||
+ | * Input DC voltage measurement, | ||
+ | * TLS-enabled TCP networking with OTA updates. | ||
door_access_controllers.txt · Last modified: 2023-04-08 10:24 by tim