Difference between revisions of "Gatekeeper"

From Nottinghack Wiki
Jump to navigation Jump to search
(Featured page)
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Gatekeeper is the first node of our Hackspace Instrumentation project to go live and is responsible for access control to the space through the front "Airlock" door.
+
'''Gatekeeper''' is the first node of our Hackspace Instrumentation project to go live and is responsible for access control to the space through the front "Airlock" door. An updated version is also used for the back entrance [[upstairs]] and several access doors [[downstairs]].
  
 
=== Pics ===
 
=== Pics ===
{{#widget:Flickr gallery|mode=photoset|id=72157626982918585}}
+
{{#widget:Flickr|photoset=72157626982918585}}
  
 
=== Source Code ===
 
=== Source Code ===
The firmware that runs on the arduino cane be found here <br />
+
The firmware that runs on the arduino can be found here <br />
https://github.com/NottingHack/Gatekeeper <br/>
+
https://github.com/NottingHack/instrumentation-arduino <br/>
 
The code for the database and the process that run on [[Holly]] can be found here <br/>
 
The code for the database and the process that run on [[Holly]] can be found here <br/>
https://code.google.com/p/nottinghack-instrumentation/
+
https://github.com/NottingHack/instrumentation, the relevant part is [https://github.com/NottingHack/instrumentation/blob/master/cpp/GateKeeper.cpp GateKeeper.cpp]
 +
The PCB and housing designs can be found here<br>
 +
https://github.com/NottingHack/Gatekeeper-eagle<br>
  
 
=== Schematic ===
 
=== Schematic ===
Line 19: Line 21:
  
 
=== Quick Breakdown ===
 
=== Quick Breakdown ===
* Nanode
+
* Arduino with Wiznet shield
 
* RFID reader  
 
* RFID reader  
 
* Doorbell button (interrupt pin)
 
* Doorbell button (interrupt pin)
 
* magnetic release (MOSFET switch 12v)  
 
* magnetic release (MOSFET switch 12v)  
 
* Magnetic contact
 
* Magnetic contact
* Doorbell sounder (Relay)
+
* Doorbell sounder (Relay) - activated either by attached doorbell button, or doorbell on outer door (connected to main [[LED Matrix]] display)
* Magnetic release status led's red/blue
+
* Magnetic release status led's red/blue (TODO)
 
* Matrix keypad and HD44780 LCD controlled via I2C AtTiny2313
 
* Matrix keypad and HD44780 LCD controlled via I2C AtTiny2313
 
* MQTT
 
* MQTT
* MQTT scripts on holly push to irc twitter cacti and log
+
* MQTT scripts on holly push door opened & last man switch events to irc twitter and log
* Card numbers in 'Instrumentation' mySQL on [[Holly]]
+
* Card numbers in 'Instrumentation' MySQL database on [[Holly]]
* Web page to manage mqsl db, intranet only, htacess passwd
+
* Database managed by [[HMS]]
  
 
=== Notes ===
 
=== Notes ===
Line 38: Line 40:
 
* last man switch on blue and red cores
 
* last man switch on blue and red cores
  
[[Category:Projects]]
+
[[Category:Arduino]]
 +
[[Category:Projects (complete)]]
 
[[Category:Network]]
 
[[Category:Network]]
 
[[Category:Infrastructure]]
 
[[Category:Infrastructure]]
 
[[Category:Instrumentation]]
 
[[Category:Instrumentation]]
 
[[Category:Featured]]
 
[[Category:Featured]]

Revision as of 12:12, 3 February 2020

Gatekeeper is the first node of our Hackspace Instrumentation project to go live and is responsible for access control to the space through the front "Airlock" door. An updated version is also used for the back entrance upstairs and several access doors downstairs.

Pics

Source Code

The firmware that runs on the arduino can be found here
https://github.com/NottingHack/instrumentation-arduino
The code for the database and the process that run on Holly can be found here
https://github.com/NottingHack/instrumentation, the relevant part is GateKeeper.cpp The PCB and housing designs can be found here
https://github.com/NottingHack/Gatekeeper-eagle

Schematic

Gatekeeper Shield.png

Station Controller Interface.png

Logic Flow

Gatekeeper Logic Flow.jpg

Quick Breakdown

  • Arduino with Wiznet shield
  • RFID reader
  • Doorbell button (interrupt pin)
  • magnetic release (MOSFET switch 12v)
  • Magnetic contact
  • Doorbell sounder (Relay) - activated either by attached doorbell button, or doorbell on outer door (connected to main LED Matrix display)
  • Magnetic release status led's red/blue (TODO)
  • Matrix keypad and HD44780 LCD controlled via I2C AtTiny2313
  • MQTT
  • MQTT scripts on holly push door opened & last man switch events to irc twitter and log
  • Card numbers in 'Instrumentation' MySQL database on Holly
  • Database managed by HMS

Notes

6 Core alarm cable run to airlock door

  • magnetic contact on black and white core
  • door magnetic release green and yellow cores
  • last man switch on blue and red cores