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 [2022-12-29 17:48] – [Software] 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 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. 
 + 
 +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.
  
-In progress.+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-firmware|Firmware]] - Arduino C++ built with PlatformIO \\
-[[https://gitea.ehlab.uk/hacklab/doorman-backend|Backend]] - Python 3 asyncio+[[https://github.com/timhawes/doorman-backend|Backend]] - Python 3 asyncio
  
 Features: Features:
door_access_controllers.1672336110.txt.gz · Last modified: 2022-12-29 17:48 by tim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki