|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
基于单片机的简易计算器论文毕业设计
5 ~2 M2 H; M- U9 e" B
3 U. l) D0 S$ g) W摘 要
5 P& F- q2 p* q2 c9 Q' p, H. Y5 @3 ]% A
近年来随着科技的飞速发展,以单片机技术为基础的电子产品在不断推广和应用,单片机技术的发展也带来了传统计算方式的改变。 在目前市场上采用的计算器大部分都是基于单片机技术设计的,采用单片机结合软件编程技术实现的电子计算器,可以控制多种显示单元,同时可以根据需要方便对产品功能的升级和完善。考虑到价格成本的约束,本系统中央处理器由市场上较为成熟的 51 单片机来承担, 51 单片机价格低廉操作简单,外围接口丰富,可以很好的实现系统的各项功能要求,键盘输入部分采用 4*4 矩阵键盘来实现, 16 个按键分别完成 0-9 数字的输入和加、减、乘、除、等号、 5 个计算键的功能,最后一个按键实现清除计算内容的功能,显示 单元采用 LCD1602 液晶显示屏显示,液晶显示效果相比数码管更加稳定,无闪烁同时显示字符内容丰富。& \1 k' M. |: Q& t6 o
4 s I2 a% {- {# o( m8 ]3 z3 g
关键词 : 单片机 计算器 液晶显示器$ G5 m# x$ y4 |. G" I* B
# v0 s$ v- g$ @! b, {5 F$ B5 m5 n0 p# u) @% m2 z/ ?6 l& l0 _
m. j. u2 j0 P9 K+ A: D
1 Q }' M c) K$ e" t5 _* U1 ?
" V+ I+ w r0 W* ^$ D4 h& S
Simple calculator design base on mcu9 {9 [8 J5 @4 H1 T I# L2 V5 `
2 T: _, n' M7 J3 @3 l) k- V- ~( ]/ O6 B6 @$ y
Abstract In recent years with the rapid development of technology, SCM technology-based electronic products continue to spread and the application of SCM technology development has also brought a change in the traditional method of calculation. In the current calculator market, most of which are microcontroller-based, which is designed by single-chip combination of software programming technology of electronic calculators, you can control a variety of display units, at the same time also easily to upgrade and improve product functionality required. Taking into account constraints of the cost price, the central processor of the system take use of the more mature microcontroller 51 in the market, which has low price and rich peripheral inteRFaces, also simple to operate, so it can be very good to achieve the functional requirements of the system, the keyboard input part 4 * 4 matrix/ E5 A; a5 ?" z) t& ?
keypad, or 16 keys are 0-9 complete input and processing, subtraction, multiplication, division, equals, five key functions to calculate, calculate the final key to achieve clear content features, the display unit using LCD1602 display, LCD digital effects compared to more stable, flicker-free display rich character content simultaneously.
3 a) ]% H' k3 B0 u# e) W" ~8 E; D2 h& f- j3 E
& w. |. p3 l) c0 o- g. J8 CKeyword : MCU calculator LCD display( K" {( L' g; V9 K
3 B+ W. g* R- m; C! q
3 g( m; F( u$ S# K# @* {' x. t* J7 W, u/ h
1 v2 u. c3 j) h9 |. S- S
) {! S- _' y2 v. Z
( m, W% v/ c. {; J& t& x& y; `4 r0 h
- ?$ @7 H" W; C
|
|