Elatec TWN4 Palon One Release Note

TWN4 Palon
Technical Handbook
DocRev5, March 5, 2021
ELATEC GmbH

Contents
Contents
1 Introduction .............................................. 3
2 Versions................................................ 4
3 Software Requirement for Non-USB Communication . . . . . . . . . . . . . . . . . . . . . . . . 6
4 TWN4 Palon One PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.1 Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.2 Dimensions and Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.3 DIP Switch and Main Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5 TWN4 Palon Compact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.1 Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.2 Antenna PCB T4WA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.2.1 Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.2.2 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.3 Pinout .............................................. 16
5.4 MainPCB ............................................ 16
5.4.1 Functional Overview MIFARE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.4.2 Dimensions MIFARE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.4.3 Functional Overview LEGIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.4.4 Dimensions LEGIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.5 DIP Switch and Main Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.5.1 Cable for RS232 and RS485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.5.2 IPE............................................ 21
6 TWN4 Palon Square PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.1 Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.2 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.3 Pinout .............................................. 25
7 Bluetooth Low Energy (BLE) Feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8 Power states and current consumption breakdown . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.1 TWN4 Palon One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.2 TWN4 Palon Compact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.2.1 TWN4 Palon Compact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.2.2 TWN4 Palon Compact Light . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.3 TWN4 Palon Compact LEGIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.3.1 TWN4 Palon Compact LEGIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.3.2 TWN4 Palon Compact LEGIC Light . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.4 TWN4 Palon Square . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9 OSDPTest .............................................. 34
9.1 Connector ............................................ 34
9.2 Cable............................................... 35
9.3 Test Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.3.1 Conformance Tester . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.4 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
10Disclaimer............................................... 36
Page 2 of 36

1 Introduction
1 Introduction
TWN4 Palon is a family of innovative and configurable Reader/Writer for RFID transponders. This addition
to the popular TWN4 line of multi-standard RFID readers is ideally suited for integration into devices
and behind front panels. The module has both low (125kHz, 134.2kHz) and high (13.56MHz) frequency
antennas, allowing the user access to a wide range of RFID standards. With the support of NFC and BLE,
mobile phones can also be used for secure identification. A variety of interfaces are supported, including
USB, RS485, RS232, Wiegand and Clock/Data. An optional OSDP protocol is additionally available. Up
to five RGB LEDs can be freely programmed for optical signaling. Along with that, a SAM slot is provided
for applications with enhanced security requirements.
This technical handbook provides the details needed to get started using the TWN4 Palon - a functional
overview of the board, listing the features and interface options available.
A custom user app can be loaded onto the module using the AppBlaster software. For more information re-
garding the programming of the TWN4 module please see the dedicated User Guide for AppBlaster.
Page 3 of 36

2 Versions
2 Versions
Various versions of TWN4 Palon are available. Table 2.1 lists the different features of the corresponding
model.
Feature TWN4 Palon One
LEGIC
TWN4 Palon
Compact LEGIC
TWN4 Palon
Compact
TWN4 Palon
Square
Variant: (Light) (Light)
PCB type Single board Two stacked
boards
Two stacked
boards
Single board
HF Frontend LEGIC LEGIC NXP NXP
LF √ √ √ √
HF √ √ √ √
BLE - √ √ -
Nr of SAM-Slots 1 1 1 2
LEDs 2 5 RGB (1 RGB) 5 RGB (1 RGB) 1 RGB
IPE1-√ √ √
RS232 - √ √ -
RS485 √ √ √ √
Tamper protection switch IR light barrier IR light barrier 3 axis sensor
Connection 6 Pin / USB 8 Pin / USB 8 Pin / USB 10 / 5 Pin / USB
Table 2.1: Different features of TWN4 Palon Versions
1) IPE = Intelligent Peripheral Extender
Page 4 of 36

2 Versions
Name Variant Article Number Contains
TWN4 Palon One LEGIC T4W1-B1B16 single PCB
TWN4 Palon Compact T4W2-F01C7 Mainboard T4WM-F1C17,
Antenna T4WA-1A16 or
Antenna T4WA-5A16
TWN4 Palon Compact Light T4W2-F02B6 Mainboard T4WM-F1B16,
Antenna T4WA-1A16 or
Antenna T4WA-5A16
TWN4 Palon Compact LEGIC T4W2-B01C7 Mainboard T4WM-B1C17,
Antenna T4WA-1A16 or
Antenna T4WA-5A16
TWN4 Palon Compact LEGIC Light T4W2-B02B6 Mainboard T4WM-B1C17,
Antenna T4WA-1A16 or
Antenna T4WA-5A16
TWN4 Palon Square T4WQ-F1F26 single PCB
Table 2.2: Article Numbers of TWN4 Palon Versions
Note: Do not mix mainboards and antenna boards of different TWN4 Palon Compact versions and
revisions.
Page 5 of 36

3 Software Requirement for Non-USB Communication
3 Software Requirement for Non-USB
Communication
If the TWN4 Palon is connected to RS232, RS485 or Wiegand / Clock & Data it is necessary to add the
following code to the TWN4 App.
const unsigned char AppManifest[] = { EXECUTE_APP, 1, EXECUTE_APP_ALWAYS, TLV_END };
This enables the App to start without USB enumeration.
To use the Host communication routines like HostWriteByte() with RS232 or RS485 connection, also add
following code to the TWN4 App.
SetHostChannel(CHANNEL_COM1);
A complete example of the TWN4 App is listed below.
#include "twn4.sys.h"
#include "apptools.h"
// necessary for Non-USB communication
const unsigned char AppManifest[] = { EXECUTE_APP, 1, EXECUTE_APP_ALWAYS, TLV_END };
int main(void)
{
SetHostChannel(CHANNEL_COM1); // necessary only for RS232 or RS485 communication
while (true)
{
// Do something
}
}
Page 6 of 36

4 TWN4 Palon One PCB
4 TWN4 Palon One PCB
4.1 Functional Overview
The TWN4 Palon One is a complete RFID Reader system with a LEGIC HF frontend. It supports both
low (125kHz, 134.2kHz) and high (13.56MHz) frequency transponders. For operation, it requires a 5.0V
(via USB) or 9.0V - 30V (via connector X2) power source and connection to a host. The device can be
connected to the host via USB or RS485 (RS232 optionally) interface. The TWN4 Palon One also offers
a SAM slot and a speaker on board, as well as two RGB LEDs. For sabotage detection, the board is
equipped with a micro tamper switch (SW2). A DIP switch can be used to set the address for RS485
operation.
Page 7 of 36

4 TWN4 Palon One PCB
Figure 4.1: TWN4 Palon One Functional Overview
Page 8 of 36

4 TWN4 Palon One PCB
4.3 DIP Switch and Main Connector
While the module can be connected via USB port, its main host connection is RS485. The RS485 interface
is accessable via X2. Table 4.1 shows the pinout of X2, figure 4.2 shows the polarity of the pins.
Pin Name
1 RS485_A
2 RS485_B
3 D0 or DATA
4 D1 or CLK
5 GND
6 UIN
Table 4.1: X2 Pinout
For RS485, the address of each module must be adjustable. This can be done with the DIP switches. Fur-
thermore, the RS485 bias and termination can be set. Table 4.2 shows the assignment of the DIP switches.
DIP Assignment
1 RS485 address 0 (LSB)
2 RS485 address 1
3 RS485 address 2
4 RS485 address 3 (MSB)
5 RS485 bias
6 RS485 baud rate (LSB)
7 RS485 baud rate (MSB)
8 RS485 Termination 120 Ohm
Table 4.2: DIP switches
The behaviour of the DIP switches 1-7 is controlled by firmware and may change in future.
When switch 5 / RS485 bias is switched on, a pull-up resistor is connected to RS485_A and a pull-down
resistor is connected to RS48_B signal. This prevents an undefined state of the bus when no transmitter
is active.
Switch 8 / RS485 Termination 120 Ohm connects a 120 Ohm resistor between RS485_A and RS485_B
signal, which prevents reflections on the bus.
Page 10 of 36

4 TWN4 Palon One PCB
The resulting RS485 address is shown in table 4.3.
DIP4 DIP3 DIP2 DIP1 RS485 address
OFF OFF OFF OFF 0
OFF OFF OFF ON 1
OFF OFF ON OFF 2
OFF OFF ON ON 3
OFF ON OFF OFF 4
OFF ON OFF ON 5
OFF ON ON OFF 6
OFF ON ON ON 7
ON OFF OFF OFF 8
ON OFF OFF ON 9
ON OFF ON OFF 10
ON OFF ON ON 11
ON ON OFF OFF 12
ON ON OFF ON 13
ON ON ON OFF 14
ON ON ON ON 15
Table 4.3: DIP switches for RS485 address
Table 5.5 shows the selectable baud rates with DIP6 and DIP7.
DIP7 DIP6 Baud rate
OFF OFF 9600
OFF ON 19200
ON OFF 38400
ON ON N/A
Table 4.4: DIP switches for RS485 baud rate
Page 11 of 36

5 TWN4 Palon Compact
5 TWN4 Palon Compact
5.1 Functional Overview
The TWN4 Palon Compact is a complete RFID Reader system with either MIFARE or LEGIC HF frontend.
It supports both low (125kHz, 134.2kHz) and high (13.56MHz) frequency transponders. For operation, it
requires a 5.0V (via USB) or 9.0V - 30V (via connector X2) power source and connection to a host. The
device can be connected to the host via USB, RS485 or RS232 interface. The TWN4 Palon Compact
also offers a SAM slot and a speaker on board, as well as up to five RGB LEDs. For sabotage detection,
the board is equipped with a reflection sensor. A DIP switch can be used to set the address for RS485
operation.
The TWN4 Palon Compact can interact with the user via Bluetooth Low-Energy interface. This develop-
ment pack contains documentation of BLE API implemented on the module.
TWN4 Palon Compact consist of two stacked PCBs which are connected via pin headers.
Note: Do not mix mainboards and antenna boards of different TWN4 Palon Compact versions and
revisions.
The TWN4 Palon Compact Light has a reduced feature set, some functionalities are omitted.
Page 12 of 36

5 TWN4 Palon Compact
Figure 5.1: Palon Compact Dimensions
All dimensions in mm unless otherwise stated.
Please note, that the antenna shield PCB is smaller than the mainboard PCB, which is related to the
housing.
Page 13 of 36

5 TWN4 Palon Compact
5.2 Antenna PCB T4WA
The antenna is one of two parts of the twin PCB unit T4W2 (Palon Compact) and is connected to the
mainboard via two 6-pin headers.
5.2.1 Functional Overview
Figure 5.2: TWN4 Palon Compact Antenna Functional Overview
Note: The pin headers X1 and X2 are only for internal connection of antenna PCB and mainboard.
Page 14 of 36

5 TWN4 Palon Compact
5.3 Pinout
X4 of the board T4WA-5 has an optional expansion connector for plug-in boards on the front (e.g. touch
screen). The pinout is shown in Table 5.1.
Pin Name
1 Output +5V
2 GND
3 I2C_SDA
4 I2C_SCL
5 OUTPUT Reset
6 INPUT Interrupt
7 GND
8 GND
9 RFU
10 RFU
Table 5.1: X4 Pinout
5.4 Main PCB
The mainboard is the second of two parts of the twin PCB unit T4W2 (Palon Compact) and is connected
to the antenna PCB via two 6-pin headers. There is a MIFARE and a LEGIC version available.
5.4.1 Functional Overview MIFARE
Note: The pin headers X1 and X2 are only for internal connection of antenna PCB and mainboard.
Page 16 of 36

5 TWN4 Palon Compact
T4WM-F1-100
L201
X2
X1
SW1
11.90
16.70
6.00
19.50
4.70
17.20
8.90
16.70
1 8
Figure 5.6: PCB Dimensions
5.4.3 Functional Overview LEGIC
Note: The pin headers X1 and X2 are only for internal connection of antenna PCB and mainboard.
Page 18 of 36

5 TWN4 Palon Compact
5.5 DIP Switch and Main Connector
While the module can be connected via USB port, its main host connection is either RS485 or RS232. The
RS485 / RS232 interface is accessable via X1. Table 5.2 shows the pinout of X1, figure 5.7 shows the
polarity of the pins.
Pin Name
1 RS232_RX
(Light: N/A)
2 RS232_TX
(Light: N/A)
3 RS485_A
4 RS485_B
5 Wiegand D0 or DATA
6 Wiegand D1 or CLK
7 VIN 9-30V
8 GND
Table 5.2: X1 Pinout
For RS485, the address of each module must be adjustable. This can be done with the DIP switches. Fur-
thermore, the RS485 bias and termination can be set. Table 5.3 shows the assignment of the DIP switches.
DIP Assignment
1 RS485 address 0 (LSB)
2 RS485 address 1
3 RS485 address 2
4 RS485 address 3 (MSB)
5 RS485 bias
6 RS485 baud rate (LSB)
7 RS485 baud rate (MSB)
8 RS485 Termination 120 Ohm
Table 5.3: DIP switches
The assignment of DIP switches relates to version with RS485. For RS232, Wiegand, Clock/Data and the
DIP switches are not in use.
The behaviour of the DIP switches 1-7 is controlled by firmware and may change in future.
When switch 5 / RS485 bias is switched on, a pull-up resistor is connected to RS485_A and a pull-down
resistor is connected to RS48_B signal. This prevents an undefined state of the bus when no transmitter
is active.
Switch 8 / RS485 Termination 120 Ohm connects a 120 Ohm resistor between RS485_A and RS485_B
signal, which prevents reflections on the bus.
Page 20 of 36
This manual suits for next models
10
Table of contents