
EHUOYAN YHY522R
RFID module
Page 2 of 36
CONTENT
1.Introduction......................................................................................................................................4
2.Gengral description..........................................................................................................................4
3.Features.............................................................................................................................................4
4.Application information ..................................................................................................................5
5.Quick reference data........................................................................................................................5
6.Ordering information ......................................................................................................................6
7.Block diagram...................................................................................................................................6
8.Pinning information.........................................................................................................................7
8.1.Pining...........................................................................................................................…….7
8.2.Pin description............................................................................................................…….7
9.Functional description.....................................................................................................................7
10.Digital interface..............................................................................................................................8
10.2.RS232 interface.........................................................................................................…….8
10.3.Selection of the transfer speeds...............................................................................…….8
10.4.Transfer protocol .....................................................................................................…….9
10.4.1.Host to YHY522R transfer protocol.........................................................…….9
10.4.2. YHY522R to Host transfer protocol......................................................…….10
12.Power reduction mode.................................................................................................................10
12.1.Hard power-down ..................................................................................................…….11
12.2.Transmitter soft power-down ...............................................................................…….11
13.Reset...............................................................................................................................................11
14.YHY522R Command set ..........................................................................................................12
14.1.Commands overview..............................................................................................…….12
14.2.Commands and response.......................................................................................…….12
14.2.1.Detect_Clone................................................................................................…….13
14.2.2.MSleep..........................................................................................................…….13
14.2.3.MConfigure..................................................................................................…….14
14.2.4.Download_Keys...........................................................................................…….17
14.2.7.Antenna_Control.........................................................................................…….17
14.2.8.Sense_mode..................................................................................................…….18
14.2.13.Change_Card_Keys ..................................................................................…….19
14.2.15.Card_Sleep.................................................................................................…….20
14.2.16.Card_Type .................................................................................................…….21
14.2.17.Card_ID......................................................................................................…….21
14.2.18.Block_Read................................................................................................…….22
14.2.19.Block_Write...............................................................................................…….23
14.2.20.Value_Init...................................................................................................…….24
14.2.21.Value_Read................................................................................................…….25
14.2.22. Value_Inc..................................................................................................…….26
14.2.23. Value_Dec .................................................................................................…….26
14.2.24. Value_Backup...........................................................................................…….28
14.2.25.Sector_Read...............................................................................................…….29
14.2.26.Sector_Write..............................................................................................…….30
15.Electrial Characteristics..............................................................................................................34
15.1.Operating condition...............................................................................................…….34
15.2.Current consumption.............................................................................................…….34