Network/Services/DoorLock: Difference between revisions

From NURDspace
No edit summary
Line 3: Line 3:


= Architecture =
= Architecture =
[[File:Door entry system architecture.svg|thumb]]
[[File:Door entry system architecture.svg]]


== Door scanner ==
== Door scanner ==

Revision as of 20:49, 26 August 2023

Summary

Our current access control system was not all that flexible, and we want to switch to a new system.

Architecture

Door entry system architecture.svg

Door scanner

We have an Asia-Teco scanner speaks the wiegand protocol (details can be found here: https://a.aliexpress.com/_EJOtZhl). It has the following pinout on the cable:

VCC (+12V) Red
GND Black
D0/RX/4R+ Green
D1/TX/4R- White
LED Blue
BEEP Yellow
WG26/WG34 Gray

An arduino combined with a stepup converter is used to translate the wiegand protocol to a text-based format which is exposed over usb-serial. The code for this can be found here: https://github.com/NURDspace/spacenanny-wiegand-arduino. This is linked together according to the following schematic, using a long piece of cat5 as the cable:

Doorlock scanner to usb.svg

This arduino is connected using USB to spacenanny, and we run the tag scanner software there (https://gitea.vm.nurd.space/NURDspace/tag-scanner).