Title :
Design and realization of general matrix keyboard based on STM32
Author :
Kai Shi ; Zhanquan Wang ; Fei Luo ; Chunhua Gu
Author_Institution :
Inst. of Inf. Sci. & Eng., East China Univ. of Sci. & Technol., Shanghai, China
Abstract :
The matrix keyboard is taken as the basic input device of MCU or embedded systems. For traditional matrix keyboard, the number of interface signal lines connected to the MCU will rapidly increase with the rise of the number of keys. And it uses row scanning to get key values in software. But this situation is not suitable for MCU (Micro-programmed Control Unit) or embedded chips which have limited hardware resources, especially in the application with human-computer interaction. A novel scheme of general matrix keyboard based on set mapping theory is proposed in this paper. It uses the combination of external interrupt and priority encoder to overcome the problems in the traditional matrix keyboard. The design details of the hardware and software are presented. Through the application in the interactive display board system, it shows that the proposed scheme is feasible and effective.
Keywords :
digital arithmetic; display devices; embedded systems; human computer interaction; keyboards; microprocessor chips; set theory; MCU; STM32; basic input device; embedded chips; embedded systems; external interrupt; general matrix keyboard design; human-computer interaction; interactive display board system; interface signal lines; microprogrammed control unit; priority encoder; set mapping theory; Encoding; Hardware; Jitter; Keyboards; Logic gates; Low voltage; Software; STM32; external interrupt; general matrix keyboard; priority encoder; the interactive display system;
Conference_Titel :
Systems and Informatics (ICSAI), 2014 2nd International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-1-4799-5457-5
DOI :
10.1109/ICSAI.2014.7009330