door_access_controllers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
door_access_controllers [2019-09-22 22:08] – tim | door_access_controllers [2023-03-07 00:24] – [Software] tim | ||
---|---|---|---|
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. | ||
- | ==== PCB v3 ==== | + | ==== PCB v4 ==== |
- | * Off-the-shelf DC-DC converter instead of custom circuit | + | https:// |
- | * 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 ==== | + | * Removed custom 12V-3.3V converter circuit |
+ | * Replaced with standard 12V-5V converter and 5V-3.3V LDO | ||
+ | * I2C devices running on 5V instead of 3.3V | ||
+ | * Removed LED series resistor (appropriate resistors must be used at installation time) | ||
+ | * Replace relay diode with M7 | ||
+ | * Added flyback diode to 12V relay output | ||
+ | * Removed ESD protection diodes | ||
+ | * Removed 3.3V connection from FTDI connector | ||
+ | * Solder jumpers for no-volt relay output | ||
- | Future versions may use the Wemos D1 Mini to aid maintainability. Alternatively, the next design may use the more powerful ESP32. | + | ^ Reference ^ Component ^ |
+ | | C1 | 0805 10uF 25V | | ||
+ | | C2 | 0805 10uF 10V | | ||
+ | | C3 | 0805 10uF 6.3V | | ||
+ | | C4 | 0603 0.1uF 6.3V | | ||
+ | | D1 | S1M+ | | ||
+ | | D2 | S1M+ | | ||
+ | | JP1 | PCB male header 2.54mm pitch 3-way | | ||
+ | | JP2 | PCB male header 2.54mm pitch 2-way | | ||
+ | | P1, P2, P3 | PCB screw terminals 5.08mm pitch 2-way (9 total) | | ||
+ | | P4 | PCB male header 2.54mm pitch 6-way | | ||
+ | | Q1, Q2 | MOSFET-N SOT-23 (e.g. On Semi FDV303N) | | ||
+ | | R6 | 0603 10K | | ||
+ | | R7 | 0603 31K6 | | ||
+ | | R8 | 0603 2K2 | | ||
+ | | R9 | 0603 10K | | ||
+ | | R10 | 0603 10K | | ||
+ | | R11 | 0603 10K | | ||
+ | | R12 | 0603 4K7 | | ||
+ | | R13 | 0603 4K7 | | ||
+ | | R14 | 0603 10K | | ||
+ | | SW1 | EVQPT5 tactile switch | | ||
+ | | U1 | Recom R-78E5.0-1.0 | | ||
+ | | U2 | Songle SRD-12VDC-SL-C | | ||
+ | | U3 | ESP-12E or ESP-12F | | ||
+ | | U4 | SPX3819M5-L-3-3/ | ||
===== Controller Unit ===== | ===== Controller Unit ===== | ||
Line 55: | Line 83: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * Laser-cut mounting plate: {{: | + | * Laser-cut mounting plate: {{: |
{{: | {{: | ||
Line 77: | Line 105: | ||
===== Reader Unit ===== | ===== Reader Unit ===== | ||
+ | |||
+ | ==== Version 1 ==== | ||
CAD files: {{: | CAD files: {{: | ||
Line 89: | Line 119: | ||
* 3mm blue LED | * 3mm blue LED | ||
- | * 120R resistor (this is low, but an additional resistor is used on the controller PCB) | + | * 120R resistor (or higher) |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Line 102: | Line 132: | ||
Cable colours in Hacklab installations: | Cable colours in Hacklab installations: | ||
- | ^ Pin ^ G1/G2/G8 ^ G11 (and photos) ^ | + | ^ Pin ^ G1/G2/G8 ^ G11 (and photos) |
- | | GND | blue | blue | | + | | GND | blue | blue | black | |
- | | VCC | green | orange | | + | | VCC | green | orange | red | |
- | | RST | brown | brown | | + | | SDA | orange | green | yellow |
- | | SDA | orange | green | | + | | SCL | white-green | white-green | blue | |
- | | SCL | white-green | white-green | | + | | RST | brown | brown | green | |
- | | LED +ve | white-brown | white-brown | | + | | LED +ve | white-brown | white-brown |
- | | Piezo | white-blue | white-blue | | + | | Piezo | white-blue | white-blue |
The LED should be connected between LED and GND, with a 120R series resistor. To avoid damaging the LED, use hot-melt glue to secure it in place (not cyanoacrylate). | The LED should be connected between LED and GND, with a 120R series resistor. To avoid damaging the LED, use hot-melt glue to secure it in place (not cyanoacrylate). | ||
Line 116: | Line 146: | ||
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. | ||
+ | |||
+ | ==== Version 2 ==== | ||
+ | |||
+ | The goal of this version is to make the assembly process easier and more reliable. | ||
+ | |||
+ | It consists of a laser-cut acrylic plate that fits over a standard 1-gang UK electrical box. A PCB is glued to the inside of the plate, and this PCB integrates the PN532 module, buzzer, LED and wiring connections. | ||
+ | |||
+ | CAD files: {{: | ||
+ | PCB files: https:// | ||
===== Software ===== | ===== Software ===== | ||
+ | |||
+ | [[https:// | ||
+ | [[https:// | ||
Features: | Features: |
door_access_controllers.txt · Last modified: 2023-04-08 10:24 by tim