door_access_controllers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
door_access_controllers [2020-08-13 17:37] – tim | door_access_controllers [2023-04-08 10:23] – [PCB ESP32 (draft)] 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 v4 ==== | + | ===== PCB v4 ===== |
https:// | https:// | ||
Line 73: | Line 73: | ||
| U3 | ESP-12E or ESP-12F | | | U3 | ESP-12E or ESP-12F | | ||
| U4 | SPX3819M5-L-3-3/ | | U4 | SPX3819M5-L-3-3/ | ||
+ | |||
+ | ===== PCB ESP32 (draft) ===== | ||
+ | |||
+ | This is draft design for migrating to ESP32. | ||
+ | |||
+ | Goals: | ||
+ | * ESP32 series | ||
+ | * compatibility with existing wiring | ||
+ | * fit into the existing plastic enclosures | ||
+ | * nice to haves: | ||
+ | * fit existing enclosures better | ||
+ | * make wiring easier | ||
+ | * allow for future flexibility | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | (placement and routing isn't finished) | ||
+ | |||
+ | What's changed: | ||
+ | * PCB is bigger, designed to screw into the enclosure as the manufacturer intended | ||
+ | * Uses the ESP32-S3-WROOM-1 module | ||
+ | * available with large flash/ram | ||
+ | * supports circuitpython | ||
+ | * supports native USB | ||
+ | * USB-C connector (plus optional UART pinout for low-level debugging) | ||
+ | * Pluggable 3.5mm terminal blocks for easier wiring (can be replaced with fixed blocks to reduce costs) | ||
+ | * MOSFET instead of relay (smaller, cheaper, probably more reliable) | ||
+ | * Dropped the PN532 reset pin in favour of a switchable power output (one less wire to manage) | ||
+ | * Reader connector has spare pins for existing LED and buzzer, but future readers can be I2C only for even less wiring | ||
+ | * Onboard RGB LED (will use with a light-pipe to eliminate the wiring for the current LED) | ||
+ | * Onboard buzzer | ||
+ | * Exit/ | ||
+ | * One I/O also has a power pin (e.g. to run the touch door handle) | ||
+ | * Optional Stemma QT (I2C) connector | ||
===== Controller Unit ===== | ===== Controller Unit ===== | ||
Line 83: | Line 118: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * Laser-cut mounting plate: {{: | + | * Laser-cut mounting plate: {{: |
{{: | {{: | ||
Line 132: | Line 167: | ||
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 149: | Line 184: | ||
==== Version 2 ==== | ==== Version 2 ==== | ||
- | In progress. | + | 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