更新时间:08-30 (小时代)提供原创文章
摘要:当今时代,是一个新技术层出不穷的时代。在电子领域,尤其是自动化智能控制领域,传统的分立元件或数字逻辑电路构成的控制系统正以前所未见的速度被单片机智能控制系统所取代。单片机具有体积小、功能强、成本低、应用面广等优点,可以说,智能控制与自动控制的核心就是单片机。目前,一个学习与应用单片机的高潮正在工厂、学校及企事业单位大规模地兴起。过去习惯于传统电子领域的工程师、技术员正面临着全新的挑战,如不能在较短时间内学会单片机,势必会被时代所遗弃,只有勇敢地面对现实,挑战自我,加强学习,争取在较短的时间内将单片机技术融会贯通,才能跟上时代的步伐。
51系列单片机是目前应用最为广泛的一类微处理器,它以低廉的价格和强大的功能,受到广大电子设计爱好者和工程师的欢迎。51系列单片机内部具有丰富的硬件资源,例如定时器/计数器、中断系统、串行接口,并且它还提供了详尽的指令操作系统,可以供初学者很方便地进行程序设计。在51系列单片机的开发过程中,程序设计是重点也是难点。
51系列单片机所给人带来的方便也是不可否定的,它在一块芯片内集成了计算机的各种功能部件,构成一种单片式的微型计算机。国际上单片机的发展迅速,其产品之多令人目不暇接,单片机应用不断深入,新技术层出不穷。20世纪末,电子技术获得了飞速的发展,在其推动下,现代电子产品几乎渗透了社会的各个领域,有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高,产品更新换代的节奏也越来越快。
本设计是由单片机实现的模拟计算器,它不仅能实现数据的加减乘除、开方乘方和三角函数运算,而且还能使数据及其计算结果在数码管上显示出来,本设计是用单片机STC89C52来控制,12864LCD液晶显示,用C语言来编写的。
关键词:单片机、LCD、键盘、设计、编程
ABSTRACT:In the present era, is a new technology emerge in an endless stream time. In the field of electronics, especially the intelligent automatic control field, the traditional discrete components or digital logic circuit of the control system is at an unprecedented pace was replaced by intelligent control system. SCM has the advantages of small volume, strong function, low cost, wide application range and other advantages, can say, intelligent control and automation is the core of scm. At present, a single-chip learning and application of the climax is factories, schools and enterprises, the emergence of a large scale. Used to the traditional field of electronic engineer, technician is facing new challenges, if not in a relatively short period of time to learn microcontroller, it is bound to be abandoned by time, only the brave to face the reality, to challenge themselves, strengthen study, for a short period of time in a single slice machine technology together, in order to keep up with the times pace.
51 series single-chip microcomputer is the most widely used a kind of microprocessor, its low price and strong function, by the vast number of electronic design enthusiasts and engineer welcome. 51 series single chip microcomputer has abundant hardware resources, such as counters / timers, interrupt system, serial interface, and it also provides detailed instructions for operating system, for beginners can easily program design. In the 51Series MCU development process, program design is a key and difficult problem.
The 51Series MCU bring convenience is undeniable, it onto a chip integrates various functions of the computer components, constitute a monolithic computer. The MCU development is rapid, its products more dizzying, single chip microcomputer application unceasingly thorough, the new technology emerge in an endless stream. At the end of twentieth Century, electronic technology has obtained the rapid development, under its impetus, the modern electronic products almost infiltrated every field of the society, effectively promoted the development of social productivity and social information of the extent of the increase, but also makes the modern electronic products to further improve the performance, product upgrading has become increasingly fast pace.
This design is achieved by the single-chip analog calculator, it can not only realize data add, subtract, multiply and divide, prescribing involution and trigonometric operations, but also make the data and results in the digital tube display, the design of MCU to control STC89C52,12864LCD liquid crystal display, using C language to write.
Key words: SCM, LCD, keyboard, programming, design