Use RTMU86 with ZKTeco access control panel via Wiegand interface

for access control system

RTMU86 is a scanner specially designed for access control systems. It can scan 1D 2D bar codes and read NFC cards, and supports Wiegand 26 and Wiegand 34 output. The read information is transmitted to the access controller through the Wiegand signal and the control door to be opened.

In theory, RTMU86 can be connected to any Wiegand controller. In this article, we will take ZKTeco’s access control panel as an example to demonstrate the hardware connection method and software configuration.

Hardware:

The ZK access control panel

RTMU86 reader

 

Hardware connecting

Use RTMU86 Wiegand cable to connect to the READER interface of the ZK access control panel

Connect lock with access control panel:

Connect the network cable on the control board to the router lan port or directly plug it into the network port of the computer:

Software preparation

ZKAccess3.5.16

ScannerConfigV2.3.7

 

RTMU86 settings

Manually select the scanner model to RTMU86

Click Next

Work mode settings

  • Word mode: Wigan,
  • Development mode: Protocol
  • Wiegand format: Wigan34

Click Next

Select Advanced->Output format->Digital Char turn Hex

Click config code to generate a configuration QR code, use the MU86 to read the QR code to complete the configuration

ZK Access control system software installation and setting

1. Install ZKAccess3.5.16

2. Log in to the ZKAccess control management system

The default account is admin and the password is admin

3. Add access controller device

Click Devie->Search Device-> Search to find and add the ZK controller device in the LAN

Modify the file controller IP.

Select the found controller, right-click and choose Modify Address to configure the device IP address, or you can also specify the IP address for the device in the router DHCP server.

Click Add Device to add the device

4. Add personnel and card number

Select Personnel->Personnel->Add to add personnel and information

Add card number

Click the card icon behind Card Number to select the device that reads the card number, and wait a moment

Swipe the card or scan the bar code to add the card number

5. Personnel registration and access control binding

Add working time zone, Access Control ->Time zone

Add group

Add the previously added personnel to the group, then the personnel have the privilege to open and close doors

6. Real-time monitoring of access control

Click Access Control -> Real-Time Monitoring

Swipe card or read bar code to control the switch

7. Attention!

Once the configuration is changed, the configuration needs to be synchronized to the device

 

Related Products:


 

Read More


Simple Access Control System: Use Barcode Scanner RTMU86 Control The Lock Directly, Without Use Access Control Panel.

RTMU86 uploads the scan data to the server and controls the door lock

 

In most cases, the composition of the access control system is like this: barcode scanner / NFC reader + access control panel + lock + control software/server.

However, if you use our RTMU86, we can make the system more simple.

Firstly, connect use RTMU86 scanner with the lock, and then connect RTMU86 to the server via Ethernet. The scanned content is sent to the server through the Ethernet. After the server verifies the content and sends the unlock command to the RTMU86, the RTMU86 directly controls the lock to be opened. So the solution becomes:

barcode scanner / NFC reader+ lock + control software/server.

 

Through this solution, we do not need to use the access control panel, thereby reducing the cost and greatly simplifying the difficulty of system integration. So

Tips:

  1. If you use this solution, customers need to develop/build their own access control management software.
  2. In this article, we introduce a solution without the use of an access controller, but you can also use the RTMU86 to work together with the access controller and then connect with the lock. To learn more about this solution, please read:  https://www.rtscan.net/wiegand-barcode-scanner-and-zkteco-access-control-system/

Below, we describe the hardware connection and scanner configuration in detail.

 

1. Hardware connection

(1) RTMU86 connection with a lock

12V is connected to the RTMU86 com terminal input, and NO is connected to the positive pole of the electromagnetic lock power supply. After mu86 receives the unlock command, the com and no ports are turned on, and the electromagnetic lock is energized and unlocked.

Door lock connection diagram

(2) RTMU86 network port connection

The RTMU86 Ethernet version (the other version is the Wiegand version) directly leads out four network cable pins, which can be connected to four of the standard eight-core network cables according to the color. The network cable adopts the 568B connection method. Please refer to the table for wiring according to the color.

RTMU86 pins Pin4 Pin3 Pin2 Pin1
Network cable color Orange Orange white Green Green white
Network cable color icon

 

2.RTMU86 Configuration

(1).Select RTMU86

Click next

(2)Setup work mode

work mode:Develop,

Output: Ethernet

Development:Protocol

WIFI/Ethernet/2G output: TCP

(3) Set NET

SuccessAction:flash Green (Optional)

FailAction:flash red(Optional)

Set the service address and port to which the data is uploaded (*necessary settings)

Address: server address, such as 192.168.4.1

Port num: server port

IP mode setting

Dynamic IP: dynamic IP, IP address is automatically assigned by the router

Static IP: manually specify the IP address, when set to static IP, you must specify the IP address, Subnet mask, Gateway, the format is as follows

(4) Device scan code configuration

Click config code to generate configuration code. Device scan code configuration code to complete the configuration

For detailed usage of the configuration tool, please refer to “ScannerConfig Configuration Tool User Manual”.

After the configuration is complete, the device automatically connects to the specified server, and then reports the scan data after scanning the code.

3. Connect to the server

As a client, the MU86 scanner can establish a long TCP connection to the server and process the response returned by the server. The interface specification is defined as follows

TCP/TCP protocol

The format of the requested TCP/IP server IP address is: xxx.xxx.xxx.xxx

The format of the requested TCP/IP server port is: 0-65535

The scanner sends the original scanned data to the server

server:

4. Register account and control door lock

Use the server to build TCP server, accept the data reported by the scanner, determine the uploaded data, and issue the unlock command

Relay control command: (command is a hexadecimal array)

Command header Command word Data length Byte 1 Byte 2 Check word
2Byte 1Byte 2Byte 1Byte 1Byte 1Byte
0X55 0XAA 0x2a 0X02 0X00 0x01 On

0x00 Off

Duration (unit: 50MS) 0x00: Default time

E.g:

55 aa 2a 02 00 01 02 d4 Relay on 100ms

55 aa 2a 02 00 00 02 d5 off relay

More instructions reference<>

In this test, the server side uses python to build tcpsever, reads the data uploaded by the device, and judges whether it meets the registered id and is in compliance with the issued unlock instruction

Run py

The device establishes a connection

Uploaded data received

ID is the same as the saved id, issue the unlock command

Reference source code

import binascii

from quopri import HEX

from socket import *

from time import ctime

HOST = '192.168.4.1'

PORT = 8888

BUFSIZ = 1024

ADDR = (HOST, PORT)

tcpSerSock = socket(AF_INET, SOCK_STREAM)

tcpSerSock.bind(ADDR)

tcpSerSock.listen(5)

id_list = ["12345678", "abcdefg"]


def calculate_bbc(data, len):
    bbc = 0
    for i in range(len):
        bbc ^= data[i]
    return bbc


def detection_id(data):
    data_len = len(data)
    if data_len < 8:
        return 0

    if data[0] == 0x55 and data[1] == 0xaa and data[2] == 0x30 and data[3] == 0x00:

        bbc = calculate_bbc(data, data_len - 1)

        if bbc == data[data_len - 1]:
            id_len = data[4] + data[5] * 256
            read_id = data[6:6 + id_len]
            print("read id=", read_id)

            for cid in id_list:
                if read_id == cid.encode("UTF-8"):
                    return 1
                else:
                    print("Id not registered:", read_id)
                    return 0
    return 0


def send_lock_open(client, ms):
    buf = [0x55, 0xaa, 0x2a, 0x02, 0x00, 0x01, 0x00, 0x00]

    if ms < 50:
        ms = 50

    buf[6] = int(ms / 50)
    buf[7] = calculate_bbc(buf, 7)

    # print("send:", bytes(buf))

    client.send(bytes(buf))

    recv = client.recv(BUFSIZ)

    if not recv:
        return -1

    # print(recv)

    if recv == b'\x55\xaa\x2a\x00\x00\x00\xd5':
        return 1
    else:
        return 0


def send_lock_close(client):
    buf = [0x55, 0xaa, 0x2a, 0x02, 0x00, 0x00, 0x00]

    buf[6] = calculate_bbc(buf, 6)

    client.send(bytes(buf))


while True:

    print('waiting for connection...')

    tcpCliSock, addr = tcpSerSock.accept()

    print('...connnecting from:', addr)

    while True:

        data = tcpCliSock.recv(BUFSIZ)

        if not data:
            break

        # print(data)

        if detection_id(data):

            print('open the door')

            if send_lock_open(tcpCliSock, 1000):
                print('open the door success')

tcpCliSock.close()
tcpSerSock.close()

 

Related Products:


For any questions, please consult our sales engineer sales@rtscan.net or support team support@rtscan.net.

Thanks!

 

Read More


Wiegand Barcode Scanner & NFC reader And Access Control Solution

 

Introduction:

Most of the barcode scanners do not have Wiegand output. In addition, much often when we configure a barcode scanner with an access control panel,  we would meet these problems: 1. the output data are wrong–different from the original bar code content. 2. no output. These problems are usually because the data format does not match the requirements of the control panel. For example data length, ASCII, hex, or direct output data, with or without prefix/ suffix…

Now we can use the RTWG01 Wiegand converter to achieve Wiegand output and solve the above problems. Via this RTWG01, we can easily customize the output data transferred to the access controller board. Data length, ASCII, hex, or direct output data, with or without prefix/ suffix… For example: if a barcode includes information: “William zhang, 2345666677, ****224455555*…” we can pick up number “34566667” or “23456666” or “5666677”…

 

Firstly, we have the RTMU86 that output by the Wiegand interface directly:

 

Wiegand NFC and 2D Barcode Scanner: RTMU86

 

 

 

And we also developed solutions for three types of barcode scanners:

1. Wiegand solution for barcode scan engines:

2. Wiegand solution for embedded barcode scanner:

3. Wiegand solution for NFC & barcode scanner:

 

 

In this article, we take barcode & NFC reader RTX200 as an example and tell you how to build the solution: configure the scanner and RTWG01 converter, detailed introduction for program the access control software. If you want to learn more about the above solutions for scan engines or embedded scanners, please email us: sales@rtscan.net.

 

A. Hardware preparation:

  • RTX200 Barcode& NFC Scanner
  • RTWG01 converter
  • Type 5 and above 8 core RT45 wire

 

Hardware connection

Connection diagram

RTX200 output the TTL signal through the RJ45 network cable, the other side of the network cable is connected to the RTWG01 which output with Wiegand signal and then connect to the access controller

Connect RTX200 with Wiegand Converter RTWG01 via RT45 wire cable

Connect RTWG01 Wiegand port using wire to access control board Wiegand port

 

B. Software preparation

  • Access control system:  AccessControlV7.61en(ask RTscan sales engineers sales@rtscan.net to learn more about this system)
  • RTX200 Scanner Configuration Software:
  • Config Tool V2.3.12_JF
  • RTWG01 configuration software:
  • RTSCAN RTWG01Config Tool V1.1

Firstly, use Config Tool V2.3.12_JF to set up RTX200 parameters, then connect the RTX200 with the RTWG01 converter, and configure the RTWG01 by RTSCAN RTWG01 Config Tool V1.1.

C. RTX200 Scanner Settings

The RTX200 needs to be set up to TTL output, baud rate 9600, 8 n 1; output mode: direct output, decoded data output to TTL directly.

1. Select Product Model

Run the Config Tool V2.3.12_JF, select: TX

Click next

2. Set Working Mode

Set work mode to ordinary

  • Output T TL
  • Serial port setting
  • Baud rate:9600
  • Data Bit:8
  • Check Digit: NONE
  • Stop Bit:1

Click next

3 Setting the output format

Select Output format->Direct in the “Advanced” option

4. Save Configuration

Click config code to generate the configuration QR code, use the device to scan the QR code to complete the configuration

D. RTWG01 converter settings

RTWG01 default baud rate 9600, the output mode is the digital string to digital output, Wiegand format for automatic recognition, interception function off

1.Set output format

Select “Digital char turn Hex” output format

After scanning the barcode, “Digital char turn Hex” converts the digital string to digital output.

For example: scan a barcode “987654321”, and the access controller will also get data”987654321”.

2. Set the Wiegand format

Set the Wiegand format “auto”

Set to auto mode, automatically output the corresponding format Wiegand signal according to the input content length.

  • 0-16777216 output Wiegand 26 signal
  • 16777216-4294967296 output Wiegand 34 signal
  • 429496729-18446744073709551616 output Wiegand 66 signal

3. Save Configuration

Connect RTWG01 with RTX200 scanner, use the scanner to read the configuration code generated by the RTWG01 config Tool.

E. Installation and Setting of Access Control System Software

1. installation AccessControlV7.61en

This software comes with RTscan’s access controller board, if you want, please contact the RTscan sales team to get the controller and the software. But you can also use your own access control software & system.

 

2.Run and log in to the Access Control System

Login Control Software

Default User Name: abc, password 123

3. Add Access Controller device

Click “1. add C controllers by Searching” scan to add a master controller board inside the LAN

Or click on the Configuration>Controllers ->Search to scan the control access controller in your LAN

4. Modify file controller IP

Select the scanned controller, right-click to select “Configure” to configure the device IP address. You can also specify the device address in the router DHCP server.

Click “Add Found To Database” Add Device

5. Add Person and Card Number

Choose Configuration ->Personnel->Auto Add Add Person

Select the device to enter the door card and Click next

Add card number to the list by reading the barcode or NFC card

Click OK to enter these card numbers

You can also manually enter user information by: Configuration ->Personnel->Add manually

6. Access permissions

Click Configuration ->Access Privilege->Change Privileges to assign permissions to users

Click on > and >> to add users and access control

Click Allow And Download to save the card number to the control panel

7. Real-time monitoring

Click Operation ->Real-Time Monitoring

Read NFC card or scan bar code to control switch on/off of the access

F. Intercepting data to output Wiegand signal to access controller

More often, the bar code data or NFC card data exceeds the Wiegand length or contains other non-numeric characters. In these kinds of applications, we need to make the scanner intercept and only pick up the data we want, and then output to the Wiegand signal.

For example: If a barcode contains information “mobile:11223344, emailuser@rtscan.net “, and we need to intercept the 11223344 only to output via Wiegand interface to the access controller, then we do like this:

Run and Setup intercept function in RTWG01Config Tool

The start bit is the starting position, the length is the intercept length, for the above example: “mobile:11223344,emailuser@rtscan.net”, to intercepts 11223344, we setup:

“mobile:” length 6 byte and number “1” begin from the 7th

“11223344: “8 bytes long

So set to intercept 8 characters from bit 7

When the length is set to 0, the intercept length is all the remaining data.

For example:

If “6914068019529” and we want to intercept 068019529, it is set to:

Notes

You need to set the RTX200 scanner to TTL output of 9600 8-N-1,  then work with RTWG01.

 

 

For any questions, please consult our sales engineer sales@rtscan.net or support team support@rtscan.net.

Thanks!

 

Read More


Presently, more and more access control system begins to combine bar code reading and NFC reading together, while traditionally, the Wiegand interface is widely used for the access control system. But at the same time, wireless or Ethernet data transfer becomes a trend and would be more and more popular for access control data transfer, because wireless or Ethernet is somehow more convenient, easy to install, supports remote control, and also it would be more cost-effective.

In order to meet these different requirements of our clients and different projects, RTscan recently launched a new product RTMU86.   

This RT-MU86 aims to meet this market requirement and the trend, it supports either Wiegand interface or Ethernet, read both bar codes and NFC.

It’s an ideal choice for current and future all kinds of access control projects.

This RT-MU86 is outstanding in:

1. Capable to read both bar code and NFC card

The RT-MU86 can read 1d code, 2d and QR bar code, and NFC card. This makes it a two-in-one terminal.

2. Support Ethernet or Wiegand (optional)

Except for the USB (USB-HID) interface and RS232 interface, the RT-MU86 also supports Wiegand and Ethernet communication. It’s a Wiegand barcode Scanner and also an ethernet barcode scanner.

3.Built-in relay

With a Built-in relay and 12V-24V wide voltage input, the RTMU86 can connect to the access control system directly, and no need for Voltage conversion equipment.

4.Holder design for easy installation

Just fix the holder in the wall via 2 screws, then fix the reader in the holder and lock it by the screw from the bottom, done.

Application:

Can be widely used for all kinds of access control applications.

Office visitors access control

Building access control

Factory  access control

Museum

Tourist sites

School

Video Demo:

 

For full detailed information of this new product, please read:

https://www.rtscan.net/Code-Readers/wiegand-and-ethernet-barcode-scanner/
Read More