Você está na página 1de 12

ID Innovations

Datasheet for ID-20LF-WR series v1.02 2011-3-01

ID-20LF
Reader/Write Module
User Manual

ID Innovations
Advanced Digital Reader Technology
------Better by Design

V1.02Mar 1, 2011

-1-

ID Innovations
Datasheet for ID-20LF-WR series v1.02 2011-3-01

Summary
The ID-20LF series contactless card Read/Write module is based on 3 types 125khz read
and write chip. They come with the choice of internal antenna (optional) or external antenna
and are suitable and for embedded applications and general Electronic Devices. The
ID-20LF-EM series are user friendly and can be controlled by command from a UART
(serial port). Functions are selected by a Pin jumper allowing full control of all functions.

Characteristic
.
.
.
.

2 options antenna setting: internal antenna (optional) or external antenna (standard)


ISP(In System Program)function
Small outline
Low power consumption

Specification
. Supports Hitags, EM4205/4305,
ModelID-20MFIA (with internal antenna)
. T5557/5567.
.
.
.
.
.
.
.
.
.
.

ID-20MFWA (without internal antenna)

Frequency 125KHz
Rear/Write distance external antennaup to 50-60mm
External antenna inductance: 345uH
Read/write speed:

<0.3s

Communication Port (RS232) TTL / 9600, N,8,1


Power 5V DC
Current consumption

<50mA

PK<100MA

Weight 80g
Operating temperature -20 --- +75
Storage temperature

-40 --- +85

-2-

ID Innovations
Datasheet for ID-20LF-WR series v1.02 2011-3-01

Dimensions and Pins (bottom view)

1
2
3
4
5

37.5mm

14
13
12
11
ID-20LF-WR 10
Bottom View 9
8
7
6

2.54 mm

9.2m m
11.7mm

21mm
40mm
0.6 mm

12.5 mm
6.8 mm

1------GND
2------external antenna TX1
3------external antenna TX2
4------external antenna RX1
5------CP
6------Future
7-----+/- (Format Select)
8-----D1(Data Pin 1)
9----D0(Data Pin 0)
10----LED(LED/BEEPER)
11----NC
12----RXD
13----TXD
14----+5V

-3-

ID Innovations
Datasheet for ID-20LF-WR series v1.02 2011-3-01

Pin Description & Output Data Formats


Pin.NO

Magnet Emulation

Wiegand26

(optional)

(optional)

GND 0V

GND 0V

GND 0V

To External antenna

To External antenna

To External antenna

To External antenna

TX1

TX1

TX1

TX1

To External antenna

To External antenna

To External antenna

To External antenna

TX2

TX2

TX2

TX2

To External antenna

To External antenna

To External antenna

To External antenna

RX1

RX1

RX1

RX1

Card Present

No function

Card Present

No function

Future

Future

Future

Future

Format Selector (+/-)

Strap to GND

Strap to Pin 10

Strap to +5V

Data 1

No function

Clock

One Output

Data 0

No function

Data

Zero Output

10

LED(LED/BEEPER)

Beeper / LED

Beeper / LED

Beeper / LED

11

No Connection

No Connection

No Connection

No Connection

12

RXD

TTL RXD

No function

No function

13

TXD

TTL TXD

No function

No function

14

DC Voltage Supply

+5V

+5V

+5V

Description

Zero

Volts

ASCII

and

tuning Capacitor
Ground
2

-4-

UART Protocols
l

Command frame9600,N,8,1
STX
VALUE

0x02

LENGTH

1byte

ID

CMD/STATUS LEN

DATA

1 byte

1 byte

LEN bytes 1 byte

BCC

ETX
0x03

1 byte

1 byte

Device ID: 0x000xff, When Sent:


Address: 0-255
CMD
Description

When receive:
STATUS (ok DATA NUM
or Error)

Start Frame
default:0x01

DATA

XOR From STX


Frame end
to DATA

CMD/STAUSDATA LENGTHDATA
Command
Type

Send

Function

DATA Length

Command
Link

0x00

Return
DATA

0x00

STAUS

DATA Length

Ok=0

0x00

DATA

Err=Other
0x00,0x00

For Example
Reset

0x01

0x00

0x00,0x00
Ok=0

0x00

Err=Other
0x01,0x00

For Example

Buzzer control

0x03

0x04 or 0x00

System
Command

0x00,0x00

ABCD

OK=0

A=0x00 buzzer off


=0x01 buzzer on
=0x02 buzzer on BCD*10 ms

Err=other

0x00

BCD: When A=2 the time is given


by the value BCD
For example, if the time value is
123, then B=0x01, C=0x02,
D=0x03

For example:

02 01 03 04 00 00 00 00 04 03

buzzer off

02 01 00 00 03 03

02 01 03 04 01 00 00 00 05 03

buzzer on

02 01 00 00 03 03

02 01 03 04 02 00 01 00 07 03 buzzer on for10ms

02 01 00 00 03 03

A=0 or 1 : 0x03,0x04,0x00
0x00,, 0x00,

A=2

:0x03,0x04,0x02,0x01,0x02,0x03

Command list for different types card


Command
Type

Send

Function

Command
Read
EM4001
0xA4
compatible format

Return

DATA Length

DATA

STAUS

DATA Length

DATA

0x01

0x00

0x05

DDDDD
(5 bytes data)

Nreading formate
010D
1: 16H

For example:
EM4001
compatible
read and
write
operating Write
EM4001
command compatible format

02 01 A4 01 00 A6 03 read decimal

02 01 00 05 00 01 39 17 74 5D 03

02 01 03 04 01 00 00 00 05 03

02 01 00 00 03 03

reading decimal

Card ID in Decimal 0001391774

02 01 A4 01 01 A7 03

02 01 00 05 82 00 15 3C 9E 33 03

reading HEX
0xA5

Card ID in HEX8200153C9E

0x01

NUPPPPCHHHHH

0x00

0x00

U:=0----password not used


U:=1----using password
PPPP: 4 byte password
C: card type
C=0 T5557
C=1 EM4469
C=2 HITAGS
HHHHH: 5bytes card data in hex

02 01 A5 0B 00 00 00 00 00 00 12 34 56 78 90 35 03
For example:

card type: 5557, password not using, hex card number: 12 34 56 78 90

02 01 00 00 03 03

Command
Type

Send

Function

Command
Read 11784 format card 0xA7

Return

DATA Length

DATA

STAUS

DATA Length

DATA

0x01

0x00

when N=0,
NNNNNNCCDRRRA

Nreading method
when N=1
N=0: 13 bytes data

DDDDDDDDDDDDDDDD

Varified decimal ASCII data

when N=2

6 bytes national ID

DDDDDDDDDD

2 bytes Country ID
1 hex data (half byte) Data block
5 hex data (2.5 bytes)
reserved
1byte animal flag

N=1: 16
original 128bit data

ISO
11784/11785
compatible
read and
write
operating
command

Varifying decimal ASCII data

when N=2

6 bytes national ID

DDDDDDDDDD

2 bytes Country ID
1 hex data (half byte) Data block
5 hex data (2.5 bytes)
reserved
1byte animal flag
N=2: 10 bytes
8 bytes data + 2bytes varify data

02 01 A7 01 00 A5 03

02 01 00 0C 11 22 33 44 55 68 01 23 00 00 00 10 44 03

read with method 0


national id: 11 22 33 44 55 68
Country ID01 23
DATA BLOCK0
Reserved 00000
For example:

Animal FLAG1

02 01 A7 01 01 A4 03

02 01 00 10 00 04 8E 57 74 48 ED 1E 01 02 16 7D 1B 20 40 80 92 03

read with method 1

16bytes original data

02 01 A7 01 02 A7 03

02 01 00 0A C0 78 A2 21 DA 1E 00 80 A2 B7 63 03

read with method 2

8 bytes data + 2bytes varifing data

Send

Function

Command

DATA Length

Write 11784 format card 0xA8

0x16

DATA

Return
STAUS

DATA Length

DATA

UPPPPCDDDDDDDDDDDDDDDD
U:=0, password not using
U =1, use password
PPPP:4byes password
C:card type

ISO
11784/11785
compatible
read and
write
operating
command

C=0 T5557
C=1 EM4469
C=2 HITAGS
DDDDDDDDDDDDDDDD:16bytes 4
BLOCK card data
02 01 A8 16 00 00 00 00 00 00 00 2F B1 EA 2E 12 B7 78 80 40 6D 7F 08 04 02 01 E7 03 02 01 00 0C 11 22 33 44 55 68 01 23 00 00 00 10 44 03
Password not using
T5557
Read data: 2F B1 EA 2E 12 B7 78 80 40 6D 7F 08 04 02 01
For example:

above data was from below:


national id: 11 22 33 44 55 66
Country ID01 23
DATA BLOCK0
Reserved 00000
Animal FLAG1

Command
Type

Send

Function

Initialize card

Return

Command

DATA Length

DATA

STAUS

DATA Length

DATA

0xA0

0x0A

BUPPPPDDDD

0x00

0x00

0x00

B: blocknumber=0

U:=0, password not using


U =1, use password
PPPP:4byes password
DDDD:4byes data
02 01 A0 0A 00 00 00 00 00 00 00 08 80 E8 C9 03
For example:

02 01 00 00 03 03

BLOCK=0
Password not using
Data: 00 08 80 E8

Read data

0xA1

0x01

B:

0x00

4*N
N = total block qty

B: block number=1--7

4 bytes data

02 01 A2 0A 01 00 00 00 00 00 11 11 11 11 AA 03
buzzer off

TEMIC
T5557
T5567

For example:

02 01 00 00 03 03

BLOCK=1
Password not using
Data:11 11 11 11

Changing password

0xA3

0x0A

BUPPPPDDDD

0x00

0x00

B: blocknumber=7

U:=0, password not using


U =1, use password
PPPP:4byes password
DDDD:4byes data
02 01 A3 0A 07 00 00 00 00 00 11 11 11 11 AD 03
For example:

02 01 00 00 03 03

BLOCK7
old password00 00 00 00
new password11 11 11 11

reading serial number

0xA6

0x00

BUPPPPDDDD

02 01 A6 00 A5 03
For example:

0x00

0x00

DDDDDDDD 8 bytes data

02 01 00 08 E0 15 01 55 76 77 95 DC E2 03

Conditionthe card format must be RF/32 MANCHETER


8 bytes serail number: E0 15 01 55 76 77 95 DC

Command
Type

Send

Function

Command

Read data

0xB1

DATA Length
0x06

Return

DATA

STAUS

DATA Length

DATA

BUPPPPN

0x00

0x04

DDDD

B: blocknumber = 0-15, " 2" not


allowed to use for B

4 bytes data

U:=0, password not using


U: =1, using password

PPPP:4 byes password


N:
N=0 read according to RF/64 Manchster
N=1 read according to RF/32 Biphse
format

EM4469
EM4569
EM4205

02 01 B1 06 00 00 00 00 00 00 B4 03
For example:

02 01 00 04 00 01 8C 5F D5 03

Read block 0
Conditionthe card format must be RF/64 MANCHETER

Write data

0xB2

0x0A

BUPPPPN

0x00

0x00

B: blocknumber = 0-15, " 2" not


allowed to use for B
U:=0, password not using
U: =1, using password

PPPP:4 byes password


DDDD:4 byes data
02 01 B2 0A 05 00 00 00 00 00 11 11 11 11 BE 03
For example:

write BLOCK5 with "11 11 11 11"

00 00 00 00 00 00

Command
Type

Send

Function

Command

UID REQUES

DATA Length

0xC0

0x01

Return

DATA

STAUS

DATA Length

DATA

0x00

0x04

UID0+UID1+UID2+UID3
4 bytes data

B=0 standard model


B=1uplevel model
B=2 fast up level model
02 01 C0 01 00 C2 03

02 01 00 04 D8 C9 7E 72 1A 03

For example:

AC SEQUENCE

0xC1

SELECT_UID

0xC2

0x04

UUUU

0x00

0x03

U= 4 bytes UID
For example:

HITAG-S32
S256 S2048

02 01 C2 04 D8 C9 7E 72 D8 03

CHALLENGE

0xC3

SELECT_QUIET

0xC4

READ_PAGE

0xC5

0x01

02 01 00 04 C9 24 00 AA 40 03

0x00

0x04

P:1byte page number


For example:

02 01 C5 01 04 C3 03

READ_BLOCK

0xC6

WRITE_PAGE

0xC7

PDDDD

0x00

0x00

P:1byte page number


DDDD: 4 bytes data
For example:

02 01 C7 05 04 11 11 11 11 C5 03

write page 4 data: 11111111

WRITE _BLOCK

0xC8

QUIET

0xC9

DDDD
4 bytes data

02 01 00 04 EB FE 00 00 12 03
0x05

CON0+CON1+CON2
3bytes control letter

02 01 00 00 03 03

Você também pode gostar