Changes between Version 9 and Version 10 of KyoshoICserialcom
- Timestamp:
- 10/27/09 11:08:47 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KyoshoICserialcom
v9 v10 2 2 = Kyosho IC lap counter communication overview = 3 3 4 The Kyosho IC lap counter is based on the Melexis 90121 RFID chip with an Atmel microcontroller. In order to communicate with this RFID reader you must set your serial device to 38400 baud, 8 data bits, 1 stop bit, no parity. 4 The Kyosho IC lap counter is based on the Melexis 90121 RFID chip with an Atmel microcontroller. In order to communicate with this RFID reader you must set your serial device to 38400 baud, 8 data bits, 1 stop bit, no parity. This reader is using the [wiki:ISO15693] protocol like the [wiki:S6350 TI reader]. Though the protocol is the same the commands used to execute the protocol are different. The Kyosho IC lap counter also supports a [wiki:KyoshoICserialcom#AutomaticPollingMode automatic polling mode] that the TI reader does not support. 5 5 6 6 … … 37 37 In this case the data from block 2 is in reverse byte order, showing up as DD CC BB AA. 38 38 39 To stop the automatic polling mode you need to send the following command: 40 41 {{{ 42 32 03 31 43 }}} 44 39 45 = Checksum = 40 46 … … 43 49 = Collisions = 44 50 45 Collision information here!!!! 51 The Kyosho IC lap counter does not appear to be using any collision detection. When using the [wiki:KyoshoICserialcom#AutomaticPollingMode automatic polling mode] the reader would only return at most 1 tag if multiple tags were in the field at the same time. Sometimes it would not return any results. 46 52 47 53 = Tag Initialization = … … 62 68 Byte 1 will be 5F for the start of the frame 63 69 Byte 2 will be A1 for the protocol 64 Byte 3 will be the length of the packet EXCLUDING checksum, typically 0B in this case because it EXCLUDES the [wiki:KyoshoICserialcom#Checksum checksum]70 Byte 3 will be the length of the packet EXCLUDING checksum, typically 0B in this case 65 71 Bytes 4-11 will be the UID in reverse byte order 66 72 Byte 12 will be the checksum, calculated using XOR operation 67 73 }}} 74 75 An example of a response packet with a tag in the field with the [wiki:ISO15693tags#UID UID] of E0 04 01 00 11 53 F8 2E would look like this: 76 77 {{{ 78 5F A1 0B 2E F8 53 11 00 01 04 E0 DB 79 }}} 80 81 If no tag is in the field the reader will return solely a 5F as the response. 82 83 = Read Data Blocks = 84 85 how to read data blocks 86 87 = Write Data Blocks = 88 89 When using the Kyosho IC lap counter to write to data blocks data must be written one block at a time. The command format to write data is the following: 90 91 {{{ 92 Byte 1 is 37 for the start of the frame 93 Byte 2 is 10 for the length of the packet INCLUDING the checksum 94 Byte 3 is the data block number being written to but is based on 0 being the first block 95 Bytes 4-7 are the data to be written 96 Bytes 8-15 are the UID to be written to in reverse byte order 97 Byte 16 is the checksum calculated using a XOR operation 98 }}} 99 100 An example of this command being used to write the word Test to block 3 on the RFID would look like this: 101 102 {{{ 103 37 10 03 54 65 73 74 06 BD E3 1C 00 01 04 E0 B3 104 }}} 105 106 The reader will respond to this command with a 5F A7 04 00 A3