r/accesscontrol • u/Abdallah_Eleyan • 1h ago
QR reader -> PC -> relay. Is this chain reliable?
Hi all, I'm a first-time installer building QR entry for a self-storage building. I'm doing the install myself with an electrician and want a reality check before I order everything.
The goal: a customer gets a QR code and it opens the car barrier. The code expires when the booking ends.
How I think it works:
- Secukey QR7 reader. The maker confirmed in writing that a QR containing at least one letter is sent as plain text over RS485, ending with a carriage return.
- RS485 goes into a Waveshare RS485-to-Ethernet serial server (PoE powered).
- The serial server sends the text over the network to a PC program, which checks the code against our booking system.
- If the code is valid, the PC sends a Modbus TCP command to a Waveshare PoE relay.
- The relay contacts (NO + COM) go to the Rising Control input of a Hikvision DS-TMG320 barrier.
Some questions:
1. Reader to PC: will the QR text really reach the PC through the serial server, every time?
2. PC to relay: will the Modbus command from the PC really make the relay click?
3. Relay to barrier: will the TMG320 open when the relay closes for about 100 ms on Rising Control? Or does it need the contact held closed?