首页> 中文期刊>电子器件 >基于STM32的PS/2数字键盘通信协议模拟与实现

基于STM32的PS/2数字键盘通信协议模拟与实现

     

摘要

In order to widely use the digital keyboard in industry, it weaks to solve the cost of digital keyboard hardware circuit designing and the problem of conveniences of digital keyboard modularization using. By the study of PS/2 communication protocol,using the STM32 micro controller I/O Pin 5 V tolerant function,eliminating the in-consistency of electrical level of PS/2 and STM32 , a simulation method for PS/2 communication protocol is put forward. The method that used the software algorithm programming solved data communication and function realization from keyboard to STM32. After Keil software simulation and the test and verification of instrument,the expected results are obtained.%为了解决数字键盘硬件电路设计的成本和数字键盘模块使用的方便性,使得在工业上具有普遍使用性。通过对PS/2通信协议的研究,利用STM32系列控制器I/O管脚5 V容忍的功能,消除PS/2与STM32电平不一致性,提出一种对PS/2通讯协议模拟方法。该方法采用了软件算法编程,实现了从键盘到STM32数据通讯及功能实现。经过Keil软件仿真及仪表验证,最终得出预期结果。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号