![EHUOYAN YHY521X User Manual Download Page 12](http://html1.mh-extra.com/html/ehuoyan/yhy521x/yhy521x_user-manual_2368776012.webp)
EHUOYAN
YHY521X
Manual
Page 12 of 36
that YHY521X is ready.
If a Mifare
®
tag detected by the module, pin SIG will change from “1” to “0”
and the red led on board will light till the tag moves out of RF field.
The RED led will flash during data stream exchanging between host and
YHY521X.
14.2.1
Detect_Clone
This command will detect the UID clone card, if it is a clone card, it will
reply success, else reply failure.
Table 9. Command--:Host
Æ
YHY521X
Send
Header
Length
Command
Data
XOR Checksum
0xAA
0xBB
0x02
0x0c
BCC
Table 10. Response--: YHY521X
Æ
Host
Receive
Head
Length
Status
Data
XOR Checksum
Success 0xAA
0xBB 0x02
0x0C
0x0E
Failure 0xAA
0xBB 0x02
0XF3
0Xf1
Table 11 Example
Send
AA BB 02 0C 0E
Description
AA BB
02
0C
0E
Head
Length
COMMAND
BCC=02
⊕
0C
Receive(Success)
AA BB 02 0C 0E
Description
AA BB
02
0C
0E
Head
Length
Status
BCC
Receive(Failure)
AA BB 02 F3 FE
Description
AA BB
02
F3
F1
Head
Length
Error
BCC
14.2.3
MConfigure
This command will configure parameters to the YHY521X. After Reset
YHY521X the configuration will active.
Table 15. Command--:Host
Æ
YHY521X
Send
Header
Length
Command
Data
XOR Checksum
0xAA
0xBB
0x12
0x04
Configure data:
16 bytes
BCC
Configure data:
16 bytes.
Table 16. Configure data