在仪器仪表电路中,人机交互界面是必不可少的环节。为了解决单纯采用单片机制作的系统功耗高、速度慢、电路结构繁琐的问题,同时为了发挥出单片机的灵活性和FPGA的高速性,系统采用C8051F020单片机和CycloneⅡFPGA作为系统核心,设计实现了键盘、LCD等人机交互功能,同时预留了部分I/O接口作为扩展接口使用。采用FPGA扫描键盘可以极大程度地节省单片机的资源,利用单片机和FPGA共同控制LCD可以更好地体现出人机交互的特色。
- Abstract:
- Man-machine interface is one of the most important parts of instrumentation circuit. In order to solve the problem of high consumption, slow speed and complicated circuit in the system of MCU structure only, and to exert the flexibility of MCU and the high spend of FPGA, this paper used the C8051F020 microcontroller and CycloneII FPGA as the core of the system. The keyboard , LCD and other human-computer interaction function were designed, and part of the I / O interface were reserved as the expansion interface. Using FPGA to scan keyboard can greatly save the resource of MCU, and controling LCD through both MCU and FPGA can better reflect the characteristics of human-computer interaction.

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉