User Tools

Site Tools


doorcontroller2

This is an old revision of the document!


Door Controller V2

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 firmware, Python server application

PCB

Reader

CAD files: DWG DXF

Components:

  • 3mm blue LED
  • 120R resistor (this is low, but an additional resistor is used on the controller PCB)
  • 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:

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 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.

doorcontroller2.1466901035.txt.gz · Last modified: 2016-06-26 00:30 by tim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki