Today is 2025-12-06 Saturday,Welcome to this site 

More
Corporate News
Contact us

Card Reader

card reader

Word:[Big][Middle][Small] QR Code 2020-10-16     Viewed:    

1. Product introduction

1.1 Functional features

 Comply with ISO14443A, comply with ISO7816-3 standard;

 Integrated operation commands of Mifare1 S50 card;

 Support serial port, can support TTL, RS232

 High cost performance, universal for AC and DC charging piles.

1.2 Technical parameters


1.3 Product pictures and dimensions



1.4 Interface description

You can know the module interface description according to the product picture.


2. Serial communication format

1 Serial data communication

In serial communication, the host sends a command to the module. After receiving the command, the module parses and executes it. After the execution is completed, it actively sends the data to the host. If the command is wrong, the module directly discards the received data without making any response.

A. The command frame issued by the host computer has a uniform length of variable bytes;

B. The number of bytes returned in the response frame uploaded by the lower computer is different depending on the command of the upper computer;

C. Card number: 4 bytes, high byte first, low byte last;

D. Communication parameters: 19200, 1 start bit, 8 data bits, 1 stop bit, no parity;

E. Return code definition:


F F. Without special instructions, a single square in the table represents 1 byte of data, and the byte is represented by B or Byte;

3. Standard data packet format

The basic format of data packets sent by the host computer


The basic format of the data packet sent by the lower computer


Note: The data length refers to how much valid data is left behind, excluding the check byte.

4. Communication protocol

1. Roll call


2. Read the card number


3. Load password


Note: Just put the password into the RAM of the MCU, at A/B: 00=password A, 01=password B

4. Read data (card search mode is ALL)


5. Write data (card search mode is ALL)


6. Value added


Note: During the value-added operation, the password B needs to be verified, so the password must be sent before each operation, and the password is the password. The value-added data of B is 4 bytes, with the low byte first, and there are positive and negative distinctions.

7. Impairment


Note: During the depreciation operation, the password A needs to be verified, so the password must be sent before each operation, and the password is password A. The depreciation data of A is 4 bytes, with the low byte first, and it can be positive or negative.

8. Feng Ming


9. Block value operation initialization


Note: The initialization value is 4 bytes, with the low byte first, and there are positive and negative values.

10. Read the current block value


Note: The current block value is 4 bytes, with the low byte first, and there are positive and negative values.

15. Buzzer (the length of the buzzer can be controlled)


Note: The unit is 10MS. If the number is 10, it means the time is 100MS.

Recommended usage process:

1. Roll call is used to determine whether the card reader is communicating normally.

2. Read the card number

3.load password

4. Read the internal data of the card

5. Deduction

6. End of process

Communication protocol routine:

A. Roll call

Send data: 12 00 ff a1 00 4c

Return data: 21 FF 00 E1 04 C2 06 04 10 EB

B. Read card number

Send data: 12 00 FF A2 00 4F

Return data: 21 FF 00 E1 04 11 22 33 44 7F

C. Read wallet operation (data: 300000)

Send data: 12 00 ff aa 01 06 40

Return data: 21 FF 00 E1 04 E0 93 04 00 4C

D. Impairment 20,000 operations

Send data: 12 00 ff a7 05 06 20 4e 00 00 27

Return data: 21 FF 00 E1 00 3F

E.LOAD A password

Send data: 12 00 ff a3 08 12 34 56 78 9A BC 07 00 41

Return data: 21 FF 00 E1 00 3F

5. Disclaimer

All services provided by Hefei Qiangu New Energy Technology Co., Ltd. are designed to assist customers in accelerating product development progress. Any procedures, documents, test results, plans, support and other materials and information provided during the service process are for reference only. Customers have the right not to use or modify them for reference. The company does not provide any guarantee of integrity, reliability, etc. The company does not assume any responsibility for special, incidental or indirect losses caused by any reason during the customer's use.

Go Back
Print
400-893-7893