User Tools

Site Tools


doorcontroller2

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
doorcontroller2 [2016-06-26 01:09] – [PCB] timdoorcontroller2 [2019-02-24 00:40] (current) tim
Line 1: Line 1:
-====== Door Controller V2 ====== +See [[door_access_controllers]].
- +
-===== Component Overview ===== +
- +
-  * Controller: Enclosure, PCB inc ESP8266, LED, push-button +
-  * Reader: PN532 module, laser-cut case, LED, piezo disc +
-  * Door Hardware: electric release, magnetic door-closed sensor, optional exit button/sensor +
-  * Software: ESP8266 [[https://github.com/timhawes/or2_firmware|firmware]], Python server application +
- +
-===== PCB ===== +
- +
-  * http://www.timhawes.com/or2 +
-  * http://gerblook.org/pcb/eo9gTTGjAYsqM4sJQJJBcW +
- +
-^ Reference ^ Component ^ Farnell ^ +
-| C1 | 1206 10uF 25V | 2320887 | +
-| C2 | 1206 22uF 6.3V | 2320911 | +
-| C3, C4 | 0603 0.1uF 6.3V | 1759016 | +
-| D1 | SMA diode B230A | 1843686 | +
-| D2 | SMA diode (flyback protection) | 1625280 | +
-| JP1 | PCB male header 2.54mm pitch 3-way | | +
-| JP2 | PCB male header 2.54mm pitch 2-way | | +
-| L1 | Coilcraft LPS6225-472MRB 4.7uH 2A | 2408256 | +
-| 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 | 2069541 | +
-| R1 | 0603 31K6 1% | 2059454 | +
-| R3 | 0603 56K 1% | 2303215 | +
-| R2, R4 | 0603 10K2 1% | 2059407 | +
-| R5, R6, R7, R9, R10, R11 | 0603 10K 1% | 2303192 | +
-| R8 | 0603 2K2 1% | 2303166 | +
-| SW1 | EVQPT5 tactile switch | 2425617 | +
-| U1 | ADP2301 | | +
-| U2 | SRD 12V relay | | +
-| U3 | ESP-12E | | +
-| between GND/12V_OUT | generic through-hole flyback diode | +
- +
-[todo: assembly notes, add diode to switched 12V output, configure relay mode with jumper] +
-===== Reader ===== +
- +
-CAD files: {{:nfc-reader-20160626.dwg|DWG}} {{:nfc-reader-20160626.dxf|DXF}} +
- +
-{{:nfc-reader-20160317-1.jpg?direct&200|}} +
-{{:nfc-reader-20160317-2.jpg?direct&200|}} +
-{{:nfc-reader-20160317-3.jpg?direct&200|}} +
- +
-Components: +
- +
-  * 3mm blue LED +
-  * 120R resistor (this is low, but an additional resistor is used on the controller PCB) +
-  * [[http://uk.farnell.com/multicomp/mcabt-456-rc/audio-element-piezo-9-5khz-12mm/dp/2433032|12mm piezo disc]] +
-  * [[http://www.elechouse.com/elechouse/index.php?main_page=product_info&cPath=90_93&products_id=2242|PN532 module]] +
-  * Cat 5 or other cable with at least 7 cores +
- +
-The reader enclosure is formed from three layers of 3mm black acrylic. The layers should be joined with cyanoacrylate adhesive. +
- +
-Configure the PN532 module to use I2C communications. +
- +
-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: +
- +
-| blue | GND | +
-| green | VCC | +
-| brown | RST | +
-| orange | SDA | +
-| white-green | SCL | +
-| white-brown | LED +ve | +
-| white-blue | Piezo | +
-| white-orange | not used | +
- +
-Note that on the G11 door and **in the photos**, orange=VCC and green=SDA. +
- +
-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 white-blue and VCC (green). The piezo may be secured with cyanoacrylate or hot-melt glue, but try to give the disc some freedom of movement or the sound output may be reduced. +
- +
-Test the reader and controller together before securing the reader to the wall with double-sided adhesive foam tape. +
- +
-===== Controller ===== +
- +
-Components: +
- +
-  * [[http://cpc.farnell.com/takachi/cue8214bk/enclosure-size-14-black-80x80x40mm/dp/EN83633|Takashi ABS enclosure 80x80x40mm CUE8214BK]] +
-  * 5mm blue LED +
-  * 120R resistor +
-  * [[http://cpc.farnell.com/kingbright/rtf5010/led-clip-prominent-5mm-pk25/dp/SC08862|5mm LED bezel]] +
-  * [[http://cpc.farnell.com/unbranded/r13-502ma-05-b/switch-black-push-button-spst/dp/SW03314|push-button switch]] +
-  * Laser-cut mounting plate: {{:nfc-controller-mount-20150925.dwg|DWG}} {{:nfc-controller-mount-20150925.dxf|DXF}} +
- +
-{{:nfc-controller-20151031-231947.jpg?200|}} +
-{{:nfc-controller-20151031-232003.jpg?200|}} +
-{{:nfc-controller-20151031-232022.jpg?200|}} +
-{{:nfc-controller-20151031-232046.jpg?200|}} +
-{{:nfc-controller-20151031-232109.jpg?150|}} +
-{{:nfc-controller-20151031-232124.jpg?150|}} +
- +
-The laser-cut mounting plate is designed to hold the PCB secure at the back of the enclosure. Attach the PCB with M3 nylon bolts and nylon or metal nuts (the nut should go above the board to minimise the space used below the mounting plate). +
- +
-The mounting plate should secure itself reasonably well with a push-fit, but consider adding a rubber foot or a blob of hot-melt glue to prevent it from rocking. +
- +
-Drill a large hole in the side of the enclosure for wiring. Drill screw holes for wall-mounting. Drill two holes in the enclosure lid for the LED and push-button. +
- +
-The push-button and LED may be wired as two separate pairs, or with a shared GND. The LED should have a 120R series resistor. +
- +
-Connect the reader cable to the 8-way screw terminals. The controller push-button should be connected to the GND/SNIB pair of terminals. The controller LED should be connected to GND and LED (shared with the reader). +
- +
-Take care to keep wiring away from the antenna. +
- +
-===== Firmware ===== +
- +
-[todo] +
- +
-===== Management Server ===== +
- +
-[todo]+
  
doorcontroller2.1466903355.txt.gz · Last modified: 2016-06-26 01:09 by tim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki