Link to this comparison view

Both sides previous revision Previous revision
Previous revision
infrastructure:services:accesscontrol [2018/10/15 14:35]
infrastructure:services:accesscontrol [2021/10/20 23:31] (current)
jabelone [Hardware]
Line 1: Line 1:
-===== Our Current System ​(September 2018 Update) ​=====+ 
 +===== Our Current System =====
 Our current system uses ESP8266 based hardware for WiFi-enabled doors, interlocks and vending machine controls. ​ Our current system uses ESP8266 based hardware for WiFi-enabled doors, interlocks and vending machine controls. ​
  
-=== Hardware === +==== Hardware ​==== 
-The door and interlock control hardware is in a waterproof project storage box near each door/​interlocked machine. ​The hardware consists of an off the shelf Sonoff ​Switch, a relay, and 12v power supply. All components are off the shelf and require very little soldering ​to assemble. This makes them easy to maintain ​and update in the future. Each door is secured with an electronic door strike, or maglock. The vending machines run a USB powered ESP8266 board (digistump oak) that triggers a drink dispense via a relay.+The door and interlock control hardware is in a waterproof project storage box near each door/​interlocked machine. ​ 
 + 
 +=== Doors === 
 +Door contains a Sonoff ​TH10, a 240v to 12v cage power supply and uses a GX16 4 pin connector for serial ​to an external RFID reader ​and a GX12 to the door bolt/​strike/​magnet. Each door is secured with an electronic door strike, or maglock ​depending on whether it is required to fail safe or fail secure. 
 + 
 +Wiring Diagram: {{ :​infrastructure:​espdoor_v1_wiring_diagram.pdf |}} 
 + 
 +=== Interlocks === 
 +{{:​infrastructure:​interlockoutside.jpg?​400|}} 
 + 
 +Interlocks contains a Sonoff TH10, a 240v 20A 2Pole NO contactor, a 3.3v RFID reader and a single 20mm threaded case WS2812b led on a custom PCB that is wired into a TRRS connector on the sonoff. 
 + 
 +PCB Project: https://​easyeda.com/​wodann/​Interlock_Buzzer-10cdd361c1e342e8851967c3ef5db927 
 + 
 +Wiring Diagram:  
 +{{ :​infrastructure:​interlock_v2_wiring_diagram.pdf |}} 
 + 
 +=== Drinks Vending Machines === 
 +The vending machines run a USB powered ESP8266 board (Wemos D1 Mini) that triggers a drink dispense via a relay. 
 + 
 +PCB Project: https://​easyeda.com/​wodann/​Spacebucks-Drinks-D1 
 + 
 +=== Magnetic Door Holders === 
 +{{:​infrastructure:​maglocks.jpg?​400|}} 
 + 
 +Our magnetic door holders use a Sonoff SV with a commercial 24v magnetic door holder and a reed switch. The firmware turns on the relay output for 150 seconds after the reed switch closes. 
 + 
 +=== Useful Info === 
 +**Author(s):​** Brendan (@nog3)\\  
 +**Current Maintainer(s):​** No one :(\\  
 +**Running On:** Various ESP8266 based devices around HSBNE.\\  
 +**GitHub:** [[https://​github.com/​HSBNE/​AccessControl|Access Control]]
  
-=== Software ===+==== Software ==== 
 +== Door/​Interlock Firmware ​==
 The firmware running on the Door and Interlock control boxes is stored in GitHub and uses the Arduino development environment. It was written by Brendan Halliday (@nog3). You can see the code [[https://​github.com/​HSBNE/​AccessControl|here]]. The firmware running on the Door and Interlock control boxes is stored in GitHub and uses the Arduino development environment. It was written by Brendan Halliday (@nog3). You can see the code [[https://​github.com/​HSBNE/​AccessControl|here]].
  
 +== Drinks Vending Machine Firmware ==
 The firmware running on the Vending Machine hardware is also stored in GitHub and uses the Arduino development environment. It was written by Brendan Halliday (@nog3) and updated by Jaimyn Mayer (@jabelone). You can see the code [[https://​github.com/​HSBNE/​VendingMachine|here]]. The firmware running on the Vending Machine hardware is also stored in GitHub and uses the Arduino development environment. It was written by Brendan Halliday (@nog3) and updated by Jaimyn Mayer (@jabelone). You can see the code [[https://​github.com/​HSBNE/​VendingMachine|here]].
  
-Finally, our member portal is a web app written in python ​(django) ​and runs on our main server at the space. This portal contains the access control system API so that the readers can check access, debit spacebucks, etc. It was written by Jaimyn Mayer (@jabelone) and available on GitHub [[https://​github.com/​HSBNE/​hsbneportal|here]]. You can access the live portal [[https://​portal.hsbne.org|here]].+== Backend System (Member Portal) == 
 +Finally, our [[infrastructure:​services:​memberportal|member portal]] is a web app written in python and runs on server at the space. This portal contains the access control system API so that the readers can check access, debit spacebucks, etc. You can access the live portal [[https://​portal.hsbne.org|here]]. More information,​ links to GitHub etc is available at [[infrastructure:​services:​memberportal|member portal]].
  
 ===== A history of our Access System ===== ===== A history of our Access System =====
Line 21: Line 56:
 Now we have Netrol (http://​circuitcellar.com/​wp-content/​uploads/​2014/​10/​WZ1262_Project_Pic-150x150.jpg and https://​github.com/​lhovo/​Netrol which is also designed by the same guy as the Snarc+. It's sexy, can operate 12v door strikes and bolts with ease via PoE and is a nicely integrated system at this point. We have these installed in waterproof boxes with ip67 cable glands and waterproof external potted RFID coils that talk rs232, as we ended up giving several Snarc and Snarc+ boards viking burials after someone hot glued them against plywood boards and the weather got in. Now we have Netrol (http://​circuitcellar.com/​wp-content/​uploads/​2014/​10/​WZ1262_Project_Pic-150x150.jpg and https://​github.com/​lhovo/​Netrol which is also designed by the same guy as the Snarc+. It's sexy, can operate 12v door strikes and bolts with ease via PoE and is a nicely integrated system at this point. We have these installed in waterproof boxes with ip67 cable glands and waterproof external potted RFID coils that talk rs232, as we ended up giving several Snarc and Snarc+ boards viking burials after someone hot glued them against plywood boards and the weather got in.
  
-We're now running entirely on Netrols (mostly) and Snarc+ boards at 12 different endpoints within our site and I'm currently implementing zone-control code on the server end that has been needed for a while.+In 2018 we moved to the most recent version, which is described above.
  • infrastructure/services/accesscontrol.1539578127
  • Last modified: 4 years ago
  • (external edit)