Currently door system contains 3 services
(Ping Arti for more info)
Old system used upgrid.
We use AY-H6255 NFC Card Reader in Wiegand mode
Wire Color | Function |
---|---|
Red | Power |
Black | Ground |
Green | Data 0 / Data |
White | Data 1 / Clock |
Orange | Green LED Control* |
Brown | Red LED Control* |
Purple | Tamper Output |
Yellow | Buzzer Control* |
Blue | RS-485 – A / OSDP** |
Gray | RS-485 – B / OSDP** |
* These wires have programmable functions that may be adjusted by presenting
a configuration card within 10 seconds upon powering on the unit. See the
CS-CCT Configuration Card Tool for the DR-6255 Software Manual for how
you can create a configuration card.
** RS-485 is used for firmware update
Takes 12V and has a MOSFET for door solenoid and inputs for Wiegand data pins
Used for reading a card without leaving your desk, usually in the scope of introducing a new card to the system.
Here's a py2 script to uno reverse card the uno reverse card:
import struct
import sys
while True:
buf = sys.stdin.readline().decode("ascii")
print(" ".join([j.encode("hex") for j in struct.pack("I",int(buf))]).upper())