Changes between Version 9 and Version 10 of KyoshoICserialcom


Ignore:
Timestamp:
10/27/09 11:08:47 (16 years ago)
Author:
pinwc4
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KyoshoICserialcom

    v9 v10  
    22= Kyosho IC lap counter communication overview = 
    33 
    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.  
     4The 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. 
    55 
    66 
     
    3737In this case the data from block 2 is in reverse byte order, showing up as DD CC BB AA.   
    3838 
     39To stop the automatic polling mode you need to send the following command: 
     40 
     41{{{ 
     4232 03 31 
     43}}} 
     44 
    3945= Checksum = 
    4046 
     
    4349= Collisions = 
    4450 
    45 Collision information here!!!! 
     51The 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. 
    4652 
    4753= Tag Initialization = 
     
    6268Byte 1 will be 5F for the start of the frame 
    6369Byte 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] 
     70Byte 3 will be the length of the packet EXCLUDING checksum, typically 0B in this case 
    6571Bytes 4-11 will be the UID in reverse byte order 
    6672Byte 12 will be the checksum, calculated using XOR operation 
    6773}}} 
     74 
     75An 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{{{ 
     785F A1 0B 2E F8 53 11 00 01 04 E0 DB 
     79}}} 
     80 
     81If no tag is in the field the reader will return solely a 5F as the response. 
     82 
     83= Read Data Blocks = 
     84 
     85how to read data blocks 
     86 
     87= Write Data Blocks = 
     88 
     89When 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{{{ 
     92Byte 1 is 37 for the start of the frame 
     93Byte 2 is 10 for the length of the packet INCLUDING the checksum 
     94Byte 3 is the data block number being written to but is based on 0 being the first block 
     95Bytes 4-7 are the data to be written 
     96Bytes 8-15 are the UID to be written to in reverse byte order 
     97Byte 16 is the checksum calculated using a XOR operation 
     98}}} 
     99 
     100An example of this command being used to write the word Test to block 3 on the RFID would look like this: 
     101 
     102{{{ 
     10337 10 03 54 65 73 74 06 BD E3 1C 00 01 04 E0 B3 
     104}}} 
     105 
     106The reader will respond to this command with a 5F A7 04 00 A3