单片机常用lcd显示屏的c语言程序 正弦波图形,(参考)基于单片机的LCD显示屏设计.doc...

摘 要

本文从LCD显示屏的研究背景和国内外发展现状入手,了解了LCD显示屏显示的原理和软硬件设计。首先通过凌阳单片机与SPLC501液晶显示器的硬件连接,以及利用C语言进行软件编程,顺利地实现了对字符“Automation is developing”的显示。其次通过DM Tool工具,利用字模提取方法将汉字提取出ASCII码字模,将编写的C语言编译成汇编语言,在液晶屏上实现了对汉字“自动化申志华”的显示。最后与汉字字模数据类似,利用DM Tool 字模提取工具提取了BMP位图字模,通过软件编译实现了对BMP位图的显示。

利用凌阳单片机的实验箱,将液晶显示屏与单片机相连通过反复调试,掌握了LCD显示屏的工作原理以及使用方法,顺利实现了液晶显示,达到了设计的要求。

关键词:液晶显示屏;单片机;字模提取

Abstract

This article starts from explaining the study background and the developing state all around the world of liquid crystal display, then knowing the work principle and the design of LCD. Firstly, by joining the single chip with SPLC501 liquid crystal display,and proramming with C language, realizing the characer display of “Automation is dveloping ”. Secondly, by using DM tool and the way of captions abstracting turn the chinese into ASCII captions, then changing the C language into assembler language, realizing the chinese show of “Automation Shen Zhihua”. At last, like the chinese show,using DM Tool turn the BMP image into ASCII captions,by software programming realize the display of the BMP image.

By taking anvantage of single chip of experiment box, joining the LCD with the single chip and repeatly debugging,I can master the operation principle and the methods of LCD.I also realized the display of LCD and achieved the demands of design.

Key words: liquld crystal display ; single chip ;captions abstract

目 录

第1章 概 述1

1.1 LCD显示屏设计的背景1

1.2 液晶显示屏的国内外研究现状及发展趋势1

1.3 凌阳单片机简介3

第2章 LCD显示屏设计6

2.1 液晶显示原理6

2.2 液晶显示的特点与结构6

2.2 LCD显示屏的电路设计8

2.3 LCD显示屏的程序设计9

第3章 软件设计11

3.1 字模提取方法11

3.2 SPLC501液晶显示模组API函数介绍15

第4章 硬件设计20

4.1 硬件框图20

4.2 硬件连接图22

第5章 线路的搭建与调试25

5.1 显示字符 “Automation is developing ”25

5.2 显示汉字 “自动化申志华”29

5.3 显示图片33

第6章 LCD显示屏的评价与推广37

结论38

参考文献39

致 谢40

第1章 概 述

1.1 LCD显示屏设计的背景

液晶显示器(LCD)已广泛应用于计算机、电视及智能仪表中,它的主要优点是功耗低、控制电压低、集成电路容易控制。LCD显示屏的体积小、重量轻、超薄等特点是其它显示屏无法比拟的。近几年来被广泛用于单片机控制的智能仪器、仪表和低功耗电子产品中。LCD可分为段式LCD、字符式LCD和点阵式LCD。其中段位式LCD和字符式LCD只能用于字符和数字的简易显示,而不能够满足图形曲线和汉字显示的要求;而点阵式LCD不仅可以显示字符、数字,还可

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值