液晶显示终端与单片机接口的讨论 摘 要液晶显示屏是当代科技不断进展的产物。它不仅色彩逼真,超薄平面。而且还具有可使用时间长,耗电省,防爆,抗震等等许多优点,是机电设备,工业仪表等众多行业更新换代的理想显示器。目前市场上的液晶产品的种类繁多、规格各异。当前的液晶分为字符点阵式,段式和全点阵式。其中段式和字符式点阵液晶进展已经比较成熟,而全点阵式液晶的控制还没有通用的控制器件,其接口和应用软件还不完善。该设计所选择的就是以一种常用的液晶屏产品为例,来制作出一种通用性能良好的以单片机和 DGUS 液晶屏为使用核心的客户终端操作界面。通过这样的有代表性的实践工作,使大家能较好的了解液晶产品的工作原理和使用方法。为今后更加深化的去接触和使用液晶产品打下基础。液晶是神奇而有魅力的,在今后的学习和工作中您会逐渐体会到这点。本课题就是通过对专用的 DGUS 液晶屏显示终端和约定的命令集的讨论,通过汇编语言程序编程连接 89C51 单片机和 DGUS 液晶显示终端通,通过键盘借助串行 RS232 接口向液晶显示终端发送命令完成对液晶显示终端的控制,可以直观地实现液晶显示终端的所有功能,达到使用户可以方便使用液晶显示终端的目的,同时在相应的 LED 数码管上显示相应的功能代码和参数。此外通过液晶屏也能向单片机发送命令,来实现单片机的一些功能。关键词:液晶显示终端 89C51 单片机 RS232 接口The Interface of LCD Display Terminal and MCUABSTRACTThe LCD screen is the product of the development of contemporary science and technology. It is not only vivid color, thin plane.,can be used for a long time, but also is low power consumption, explosion, earthquake and so on many merits, and is the ideal mechanical and electrical equipment, display instrument in many industries such as industrial upgrading.The types of LCD products on the market have many kinds of different specifications. The liquid crystal is divided into character dot matrix, segment and the dot matrix. The type and character dot matrix liquid crystal has been more mature, and control the dot matrix liquid crystal is not universal control...