Site Tools


libsc_reader_kit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
libsc_reader_kit [2017/11/15 07:18]
mabel [How to place the card]
libsc_reader_kit [2017/12/06 09:11] (current)
mabel [Quick Start]
Line 35: Line 35:
 ===== Quick Start ===== ===== Quick Start =====
  
-1.Install arduino [[https://drive.google.com/file/d/​0BzXJhN5FPrE5S0JFZnFWXzVyelk/​view?usp=sharing|development environment]]. ​ \\ +1.Install arduino [[https://javacardos.com/javacardforum/viewtopic.php?f=19&t=1352|development environment]]. ​ \\ 
 2.Install serial device driver. Please download the cooresponding driver according to your platform and requirement. \\  ​ 2.Install serial device driver. Please download the cooresponding driver according to your platform and requirement. \\  ​
-[[https://drive.google.com/open?id=0BzXJhN5FPrE5UVpzU2J6eXhrOTA|windows]]\\  +[[https://javacardos.com/javacardforum/​viewtopic.php?f=19&​t=1352&​p=4348#p4348|CH341SER-windows]]\\  
-[[https://drive.google.com/file/d/0BzXJhN5FPrE5MDlkTUhXRTFzZ2s/​view?usp=sharing|linux]]\\  +[[https://javacardos.com/javacardforum/viewtopic.php?f=19&​t=1352&​p=4348#p4348|CH341SER-linux]]\\  
-[[https://drive.google.com/file/d/​0BzXJhN5FPrE5WExpRmpuNC0zb28/​view?usp=sharing|mac]]\\ ​+[[https://javacardos.com/javacardforum/viewtopic.php?f=19&​t=1352&​p=4348#p4348|CH341SER-mac]]\\ ​
 3.Please refer to connect each component.\\ ​ 3.Please refer to connect each component.\\ ​
 {{:​lrk_arduino-uno-r3-with-rfid-rc522.png?​400|}}\\ ​ {{:​lrk_arduino-uno-r3-with-rfid-rc522.png?​400|}}\\ ​
Line 133: Line 133:
  
 Please install python and pip before installing pyserial. Please install python and pip before installing pyserial.
-Enter the command below in the console to install pyserial, then you can communicate with  arduino core board via serial port.   +Enter the command below in the console to install pyserial, then you can communicate with  arduino core board via serial port.  ​\\  
-`pip install pyserial`+  
 +  ​`pip install pyserial`
  
 ===== Run LibSC Reader ===== ===== Run LibSC Reader =====
Line 155: Line 156:
 ===== Console mode verification ===== ===== Console mode verification =====
  
-Open the console, switch to the directory src/client and execute the below command  +Open the console, switch to the directory src/client and execute the below command ​\\  
-`LibSC_Client.py com12` + 
-"​com12"​ is the port number assigned by the system.The port number will be different on different computers. ​  +  ​`LibSC_Client.py com12`\\  
-If the card placed on the card reader module is MIFARE card, you will get the logs similar as the following. ​  +  ​ 
-[MIFARE test log](./​log/​mifare.log  +"​com12"​ is the port number assigned by the system.The port number will be different on different computers. ​\\   
-If the card placed on the card reader module is CPU card, you will get the logs similar as the following. ​  +If the card placed on the card reader module is MIFARE card, you will get the logs similar as the following. ​\\   
-[CPU card test log](./​log/​cpucard.log +[[https://​github.com/​JavaCardOS/​LibSC-Reader-Kit/​blob/​master/​log/​mifare.log|MIFARE test log]]  \\  
 +If the card placed on the card reader module is CPU card, you will get the logs similar as the following.  ​\\  
 +[[https://​github.com/​JavaCardOS/​LibSC-Reader-Kit/​blob/​master/​log/​cpucard.log|CPU card test log]] \\  
   ​   ​
 ===== Clone a MIFARE card by LibSC_tools ===== ===== Clone a MIFARE card by LibSC_tools =====
  
-  ​LibSC_tools is a GUI program, which is developed based on wxPython.You can implement some basic operations on MIFARE card or MIFARE CLONE card via this program.+LibSC_tools is a GUI program, which is developed based on wxPython.You can implement some basic operations on MIFARE card or MIFARE CLONE card via this program.
    
  
-  ​Please install [wxPython3.0-win64-3.0.2.0-py27.exe](https://​drive.google.com/​drive/​folders/​0BzXJhN5FPrE5QWU5UURVWHdqajA) ​in advance before using the program. And also remember to select the installation version according to your own system.+Please install [[https://​drive.google.com/​drive/​folders/​0BzXJhN5FPrE5QWU5UURVWHdqajA|wxPython3.0-win64-3.0.2.0-py27.exe]in advance before using the program. And also remember to select the installation version according to your own system.
   ​   ​
 ===== Start program ===== ===== Start program =====
Line 174: Line 177:
 Put the card,which is to be copied, to the effective position of  Put the card,which is to be copied, to the effective position of 
 MFRC522 antenna. Start program and execute "​LibSC_Tools.py"​ in the console.Then enter COM port and MIFARE sector password.\\ ​ MFRC522 antenna. Start program and execute "​LibSC_Tools.py"​ in the console.Then enter COM port and MIFARE sector password.\\ ​
-{{:​dlg_setting.png?400|}}\\ +{{:​dlg_setting.png|}}\\ ​
 After selecting the corresponding port, click "​OK"​ to jump to program main interface. In the new dialogbox, you can see the current card type according to the item "Card Type" and it will also shows whether the card is cloneable.\\  ​ After selecting the corresponding port, click "​OK"​ to jump to program main interface. In the new dialogbox, you can see the current card type according to the item "Card Type" and it will also shows whether the card is cloneable.\\  ​
-{{:​main_ui.png?400|}}\\ +{{:​main_ui.png|}}\\ ​
 Currently we only provide ​ *Read Card* function and *CopyUID* function. The *Write Card* function is not available. You can modify the source code (./src) according to your own requirement.\\ ​ Currently we only provide ​ *Read Card* function and *CopyUID* function. The *Write Card* function is not available. You can modify the source code (./src) according to your own requirement.\\ ​
  
Line 197: Line 200:
 ===== Discussion ===== ===== Discussion =====
  
-If you have any problem on LibSC Reader Module Development Kit, please feel free to post them in our forum. [[https://​javacardos.com/​javacardforum/​viewforum.php?f=44|JavaCardOS DISCUSSION]]+If you have any problem on LibSC Reader Module Development Kit, please feel free to post them in our forum. [[https://​javacardos.com/​javacardforum/​viewtopic.php?f=19&​t=1352|JavaCardOS DISCUSSION]]
  
 ===== TODO ===== ===== TODO =====
  
-Verify the below platforms+Verify the below atforms: 
- ​arduino mega256 + 
- ​arduino mini +arduino mega256\\  
- ​arduino micro+ 
 +arduino mini\\  
 + 
 +arduino micro\\ 
  
libsc_reader_kit.1510730300.txt.gz · Last modified: 2017/11/15 07:18 by mabel