As people's living standard improves, bank cards have become a chief method of payment. However, to have sufficient payment channels and to use of bank cards fast and safely are two major concerns. In order to meet the demands, a new type of electronic payment and transaction terminal based on the PSTN communication network is created.In this thesis, a fixed-line phone payment terminal is developed, with STM32F103VE developed by ST Company as the microprocessor and IAR EWARM as IDE. This thesis mainly studies the modular design of the terminal hardware, the software design of the underlying drivers, and the final interactive man-machine interface. The terminal has the necessary peripheral functions of electronic payment, including card swiping module, PSAM card security encryption module, identity card authentication module, keyboard input module, LCD display module, and terminal communication module. The no-cash payment is thus achieved with terminal communication module connected to system operator platform via telecommunication channels. The terminal finally completed the application of Union Pay ISO8583 needed in communication application process. The on-site experiment shows that the terminal has fulfilled the expected functions and has performed stably. |