Network/Services/DoorLock: Difference between revisions

From NURDspace
No edit summary
Line 6: Line 6:


== Door scanner ==
== Door scanner ==
We have some chinese rfid scanner that is sealed in epoxy and supposedly has some ip rating. Vendor/brand is unknown, but it speaks the wiegand protocol. It has the following pinout on the cable:
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:


{|
{|
Line 31: Line 31:
|}
|}


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


This is linked together accordind to the following schematic, using a long piece of cat5 as the cable:
[[File:Doorlock scanner to usb.svg]]


[[File: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).

Revision as of 15:52, 26 August 2023

Summary

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

Architecture

TODO

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