基于at89c51单片机的十进制计算器系统设计 design of decimal counter system based on at89c51 chip microcomputer.pdfVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于at89c51单片机的十进制计算器系统设计 design of decimal counter system based on at89c51 chip microcomputer
电 子 测 试 第9期
电子科技 ELECTRONIC TEST 2013年5月
基于AT89C51单片机的十进制计算器系统设计
吴宏杰,王 扬,王致杰,刘娇娇,孙玉娇
(上海电机学院电气学院,上海 200240)
摘要:本设计是基于 AT89C51 单片机进行的十进制计算器系统设计,可以完成计算器的键盘输入,进行加、减、乘、除 4 位无符
号数字的简单四则运算,并在 LED 上相应的显示结果。硬件方面从功能考虑,首先选择内部存储资源丰富的 AT89C51 单片机,
输入采用4×4矩阵键盘。显示采用4 位7段共阳极LED动态显示。软件方面从分析计算器功能、流程图设计,再到程序的编写
进行系统设计。
关键词 :计算器;AT89C51单片机;数码管;四则运算
中图分类号:TP368 文献标识码:B
Design of Decimal Counter System Based on AT89C51 Chip
Microcomputer
Wu Hongjie,Wang Yang,Wang Zhijie,Liu Jiaojiao,Sun Yujiao
(School of Electric Engineering,Shanghai DianJi University,Shanghai 200240,China)
Abstract :
The design is decimal counter system based on AT89C51chip microcomputer and can complete the
calculator keyboard input,4 bit unsigned numbers’four arithmetic operations of add,subtract,multiply,
divide,and can display results on the LED.About hardware,to consider function,selecting the AT89C51
internal storage abundant resources and using 4 * 4 matrix keyboard input.Using the 4-bit and 7 common
anode LED realize dynamic display.About software,from the analysis of the calculator function,flow chart,
and then to program the system design.
Keywords :
Calculator;AT89C51 Chip Microcomputer;Four Arithmetic Operations;Nixie Tube
0 引言 果不能超过9999。
(3)减法运算: 减法运算正常逻辑为大的数值减去小的数
本系统采用 AT89C51 单片机作为控制器,用来实现实现四 值,本计算器亦如此,只能进行正常逻辑的运算,如为小的数值减
位数的“+”,“-”,“*”,“/”运算,运算结果通过数码管显示,并具 去大的数值,则将得到的负数与 535 相加,得到相应的结果,即如
有有清零功能。AT89C51 具有如下特点:40 个引脚,4k Bytes 果想进行小数减大数的运算,则把得到的结果减去 535 即得到负
Flash 片内程序存储器,128 bytes 的随机存取数据存储器 数的正确结果。
(RAM),32 个外部双向输入 / 输出(I/O)口,5 个中断优先级 2
您可能关注的文档
- 基于arm9的小型dcs系统设计及应用 design and application of the small dcs system based on arm9.pdf
- 基于arm9的整数小波阈值压缩算法及其evc实现 integer wavelet threshold compression algorithm based on arm9 and its evc realization.pdf
- 基于arm9的指纹识别系统设计 the arm9-based design of the fingerprint identification system.pdf
- 基于arm9的同步发电机监控系统 synchronous generator monitoring system framework based on arm9.pdf
- 基于arm9的智能小车控制器设计 design of intelligent vehicle controller based on arm9.pdf
- 基于arm9和cpld的四导心音采集显示系统的设计 the design of four-channel heart sound acquisition and display system based on arm9 and cpld.pdf
- 基于arm9的高精度智能电表系统的设计 design of high accuracy smart meter system based on arm9.pdf
- 基于arm9和linux系统的状态监测代理系统开发 development of status monitoring agent system based on the arm9 and linux system.pdf
- 基于arm9和mpc56x的燃料电池发动机双核主控制器的研制 design of the arm9+mpc56x dual core based main controller of the fuel cell engine.pdf
- 基于arm9和labview的多路神经信号采集系统中afe的研制 research on afe in arm9 and labview based on multi-channel neural signal acquisition system.pdf
- 基于at89c51的刀闸自动操作控制系统 automatic switch operation control system based on at89c51.pdf
- 基于at89c51的同步发电机励磁控制系统设计 design of excitation control system for synchronous generator based on at89c51.pdf
- 基于at89c51的数字温度检测系统的硬件设计 hardware design of digital temperature test system based on at89c51.pdf
- 基于at89c51和bh1417f芯片的数字化调率发射机设计 based on at89c51 and bh1417f chip digital transfer rate transmitter design.pdf
- 基于at89c52单片机的步进电机控制系统研究 research of control system of two-phase hybrid stepping motor based on at89c52 microcontrollers.pdf
- 基于at89c52单片机的机器人关节控制系统设计 design of control system for multi-joint robot based on at89c52 mcu.pdf
- 基于at89c52单片机的洗衣机智能控制系统.pdf
- 基于at89c51的超声波治疗仪控制核心电路 the cybernetics core of ultrasonic treatment apparatus based on at89c51.pdf
- 基于at89c52的8路电压数据采集系统的设计与应用 the design and application of a eight channel voltage measurement system using at89c52.pdf
- 基于at89c52单片机控制的电机综合保护器 the composite protecter of a motor based on at89c52 chip microcomputer control.pdf
文档评论(0)