摘要
以AT89S51单片机为核心部件,实现了机车故障显示屏测试仪的硬件和软件设计。介绍了AT89S51型单片机与HS12864型液晶显示屏、A6微型打印机、串行输出模块等接口电路在机车故障显示屏测试仪中的应用,并以Keil C51为软件开发平台,用C语言编程实现液晶显示屏驱动,微型打印机驱动,串行输出模块驱动,按键扫描等功能。建立了比较友好的用户界面,通过按键选择功能模式,实现对机车故障显示屏工作性能的检测,为设备检修提供方便。
Based on AT89S51 which is the core component, the hardware and software design of locomotive fault display tester are implemented in this paper. AT89S51 single-chip microcomputer is introduced with HS12864 type liquid crystal display,micro printer A6, serial output module interface circuit in the application of locomotive fault display tester, and the Keil C51 as the software development platform, which is used C language programming to realize LCD driver, miniature printer driver, serial output module driver, key scan, and other functions. The friendly user interface is establishment, through the selection of key function model, implement for detecting the working performance of the locomotive fault display, provide convenience for equipment maintenance.
出处
《电子设计工程》
2016年第13期157-160,共4页
Electronic Design Engineering
基金
广西省自然科学基金项目(2012GXNSFBA053167)
湖南省教育厅科学研究项目(15B155)