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
door_access_controllers [2020-08-13 17:51] timdoor_access_controllers [2023-04-08 10:24] (current) – [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://github.com/timhawes/onyx_robot/tree/or4 https://github.com/timhawes/onyx_robot/tree/or4
Line 73: Line 73:
 | U3 | ESP-12E or ESP-12F | | U3 | ESP-12E or ESP-12F |
 | U4 | SPX3819M5-L-3-3/TR | | U4 | SPX3819M5-L-3-3/TR |
 +
 +===== 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
 +
 +{{:20230407_doorman_esp32.pdf?direct&200|schematic}}
 +
 +{{:20230407_doorman_esp32.png?direct&200|}} \\
 +(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/Snib/Door inputs replaced with 4 general purpose I/O
 +  * 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 132: Line 166:
 Cable colours in Hacklab installations: Cable colours in Hacklab installations:
  
-^ Pin ^ G1/G2/G8 ^ G11 (and photos) ^ +^ Pin ^ G1/G2/G8 ^ G11 (and photos) ^ Alarm Wire 
-| 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 | orange 
-| Piezo | white-blue | white-blue |+| Piezo | white-blue | white-blue | white |
  
 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 183:
 ==== Version 2 ==== ==== Version 2 ====
  
-CAD files: {{:back-box-1g-20190703.dxf|DXF}}+The goal of this version is to make the assembly process easier and more reliable.
  
-In progress.+It consists of a laser-cut acrylic plate that fits over a standard 1-gang UK electrical boxA PCB is glued to the inside of the plate, and this PCB integrates the PN532 module, buzzer, LED and wiring connections. 
 + 
 +CAD files: {{:back-box-1g-20190703.dxf|DXF}}\\ 
 +PCB files: https://github.com/timhawes/onyx_reader
  
 ===== Software ===== ===== Software =====
 +
 +[[https://github.com/timhawes/doorman-firmware|Firmware]] - Arduino C++ built with PlatformIO \\
 +[[https://github.com/timhawes/doorman-backend|Backend]] - Python 3 asyncio
  
 Features: Features:
door_access_controllers.1597341112.txt.gz · Last modified: 2020-08-13 17:51 by tim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki