The invention discloses an automatic card
insertion and taking device for testing a
card reader and a control method, and belongs to the technical field of automated testing. The device includes a shell, rubber wheels and sensors, the shell includes an upper shell and a lower shell which are vertically arranged at an interval, a card channel is formed between the upper shell and the lower shell, and the card channel is connected with a card opening of the
card reader; the two groups of rubber wheels are located on the upper shell and the lower shell respectively and directly face each other, can rotate under the driving of a motor, and are used for driving a card to move along the card channel; and the sensors include first sensors located at one sides of the rubber wheels close to the card opening and second sensors located at one sides of the rubber wheels away from the card opening. When the
card reader returns the card, the device takes the card, when the card reader reads the card, the device inserts the card, thereby omitting actions of manual card
insertion and taking, continuous card
insertion / card taking tests can be carried out on the card reader, human cost is saved, and the automatic card insertion and taking device for testing the card reader is simple and practical in structure, convenient to operate, fast in speed, high in
test efficiency and low in manufacturing cost.