Difference between revisions of "Physical access control"

1,363 bytes added ,  23:36, 27 October 2021
Line 12: Line 12:


= Hardware =  
= Hardware =  
== Computers ==
The Omni front door uses a Beagle Bone Black with battery backup present in the same box.
The sudo/ccl door currently doesn't have a computer but we are working on it.
== Microcontrollers ==
The Omni front door uses an Arduino hooked to the BBB. Jake knows more. It is powered from the BBB.
The sudo/ccl door uses an ESP32 running [https://esphome.io/ ESPHome] firmware. The yml config is [https://github.com/sudoroom/esphome-omnidoor-rfid here]. It talks to an RC522 RFID module over SPI, reading every second and returns the read as the event "tag_scanned" with the NFC tag ID. It has an API service that Home Assistant can call, named "unlock_door" which turns on the GPIO pin controlling the solenoid. Changing the PWM power and amount requires re-flashing which can be done over the air (OTA). It uses a few transistors to control the 12 VDC for the solenoid. Alex made this circuit. The ESP32 board is powered from a 5 V regulator which is powered by the same 12 V as the solenoid.
It is planned that the power for the ESP32 and solenoid will ultimately come from PoE with a central battery backup in the server closet which will also server as power backup for the new access control computer.


== Electric strikes ==
== Electric strikes ==


Both the Omni front door and sudo/ccl door use electric strikes. These just need 12 V and enough amps.
Both the Omni front door and sudo/ccl door use electric strikes. These just need 12 V and enough amps.
To control the strikes from a microcontroller the Omni front door arduino uses some sort of motor controller board. Jake knows about it.


== Smart locks ==
== Smart locks ==