ImageVerifierCode 换一换
格式:DOCX , 页数:7 ,大小:48.97KB ,
资源ID:5764448      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/5764448.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(基于单片机的电子万年历设计 外文翻译.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

基于单片机的电子万年历设计 外文翻译.docx

1、基于单片机的电子万年历设计 外文翻译毕 业 设 计(论文)外 文 文 献 翻 译题 目:IIR数字滤波器的设计研究和MATLAB仿真学 院: 电气与电子信息工程学院 专业名称: 电气工程及其自动化 学 号: 学生姓名: 指导教师: 2014 年 1 1 月 28 日基于实时钟芯片的电子万年历的设计摘要:电子万年历以AT89S52单片机为控制核心,采用Dallas公司的DS12C887A实时钟芯片构成计时电路,实现了时间和日期的显示,还增加了温度显示和整点报时的功能。文章对该系统的硬件电路、工作原理做了详细介绍,同时给出了软件设计的流程图及主要程序源代码。关键词:单片机,实时钟.温度测量1. 引

2、言电子万年历在家庭居室、学校、车站和广场使用越来越广泛,给人们的生活、学习、工作带来极大的方便。针对以往的电子万年历断电后需重新调整时间与日期,且计时误差大的现象。本系统设计采用实时钟芯片(DS12C887A)作为计时器件,该芯片内部自带晶体振荡器,这样就有效的保证了计时的精确性,并且内部自带铿电池使得在断电情况能继续更新时间信息。本设计采用AT89S52作为主控制器,为了提高电路的实用性加入温度测量电路、报时和闹钟功能。2. 系统硬件的设计电路原理图如图所示: 该系统的结构框图系统的工作原理是:主控制器每隔一段时间(小于一秒钟)读一次时钟芯片的内部寄存器的值,将读出的日历、时间信息实时的显示

3、在LED数码显示器一上。同时,主控制器不断的扫描按键电路和温度测量电路,当有键按下时,识别出按键的值并调整相应的时间或日历的值再写入时钟芯片内部。温度数据由测量电路(DS1280)获得的温度值送入显示电路显示。2. 1电源电路为了减少电路成本,本系统电源电路由变压器变压、三端集成稳压(L7805电路产生5V,具有简单、可靠、价格低廉等特点。2. 2主控制器主控制器采用ATMEL公司的最新系列单片机产品AT89S52。该单片机除了拥有MCS-51系列单片机的所有优点外,内部还具有8KB的在系统可编程FLASH存储器,低功耗的空闲和掉电模式,极大的降低了电路的功耗。另外,还具有一个看门狗电路,为电

4、路的可靠工作提供了更大的保证。2. 3数码管显示电路显示电路采用具有高亮度、使用寿命长、价格低廉等特点的LED数码管。整个显示电路由LED数码管和显示驱动电路和译码电路构成。由于本系统中显示的内容较多,共需要16个数码管,分别用八位显示年、月、日,四位显示时间,二二位显示星期,二位显示温度。为了节省控制器的资源,在控制器和显示器之间加入一个译码电路使本来需要16根控制线的电路变成只需四根控制线,极大的节省了系统资源。该译码器由两个3-8译码器构成。2. 4实时钟芯片本设计采用美国Dallas公司的DS12C887A,该芯片能够自动产生世纪、年、月、日、时、分、秒等时间信息。利用内部的世纪寄存器

5、,配合软件就能解决千年,的问题。该芯片内部自带有铿电池,外部掉电时,其内部的时间信息还能够保持10年之久。对于一天内的时间记录有 12小时制和24小时制两种模式。时间的表示方法也有两种,一种用二进制数表示,另一种用BCD码表示。该芯片内部带有128字节的RAM,其中11字节用来存储时间信息,4字节用来存储芯片的控制信息,称为控制寄存器,113字节通用RAM可供用户存储临时信息。此外,用户还可以对芯片进行编程控制输出各种方波,并可对其内部的三路中断通过软件进行屏蔽。2. 5按键与温度测且电路本系统为了使电路更简单,按键电路只设计了三个按键,分别是设置、+、-,三个键用来调整日历以及时钟。本系统为

6、了提高电路的实用性,增加了一个温度显示功能。该系统的温度测量电路采用Dallas公司的DS1280。该器件由于其具有价格低廉、电路简单、测量精确等优点。2. 6音频信号产生及驱动电路本电路的功能是接收控制电路发送来的整点报时及定时信号,根据系统设定产生不同频率的音频信号,由驱动电路加以放大驱动扬声器发出声音,从而实现整点报时及闹钟的功能。 3. 系统的软件设计本系统程序由主程序、中断服务函数和多个子函数构成。主函数主要完成各子函数和中断函数的初始化。定时中断函数主要完成时钟芯片的定时扫描及键盘扫描。时钟芯片的读写函数主要是将时间、日历信息读出来,并把要修改的具体值写入时钟芯片内部。4. 参考文

7、献1胡乾斌,李光斌,李玲,喻红单片微型计算机原理与应用.华中科技大学出版社,19962刘勇数字电路电子工业出版社,20043陈正振电子电路设计与制作广西交通职业技术学院信息工程系,20074杨子文单片机原理及应用西安电子科技大学出版社,20065王萍电子技术实验教程机械工业出版社,20096沈红卫.单片机应用系统设计实例与分析,北京:北京航空航天大学出版社.20037李光飞.单片机课程设计实例指导,北京:北京航空航天大学出版社.20048王法能.单片机原理及应用,科学出版社.20049楼然苗,李光飞51系列单片机设计实例M北京航空航天大学出版社,200310朱定华,戴汝平单片微机原理与应用M清

8、华大学出版社,200311胡汉才.单片机原理与接口技术M清华大学出版社,200412余家春Protel99SE电路设计实用教程M中国铁道出版社,200413张培仁基于汇编语言编程MCS-51单片机原理与应用北京:清华大学出版社,200314TSomeya,JSmall,PKim,CNuckolls,JTYardleyAlcoholvaporsensorsbasedonsingle-walledcarbonnanotubefieldeffecttransistorsMNanoLetters,200315MPenzaetalAlcoholdetectionusingcarbonnanotubesa

9、cousticandopticalsensorsMAppliedPhysicsLetters,200416FRettig,RMoosDirectthermoelectricgassensorsDesignaspectsandfirstgassensorsMSensActuatorsB,2007Design of the digital Perpetual Calendar based onreal-time clock chipAbstract: This Electronic calendar uses the AT89S52 microcontroller as the core for

10、the control. Time Circuit which is constituted by Dallass DS12C887A real-time clock chip achieved a time and date display, it increased functionality for the temperature display and the whole point timekeeping. This paper discusses the hardware circuit of the system, principle in detail, and gives t

11、he flow chart of the software design and the major source code. Keywords: microcontroller; real-time clock; Temperature measurement1. Introduction E-calendar-bedroom at home, schools, stations and more and more extensive use of plaza for peoples lives, study, work great convenience. Electronics cale

12、ndar for the past need to re-adjust after power-off time and date, and time is a big error. Designed the system using real-time clock chip (DS12C887A) as a timer parts, the chip comes with an internal crystal oscillator, so that effectively guarantee the accuracy of the time and hang own internal ba

13、ttery power makes the situation will continue to update the time information . This design uses AT89S52 as the main controller, in order to improve the practicality of the circuit add temperature measurement circuit, timekeeping and alarm functions. 2. System hardware design Schematic circuit shown

14、in Figure 2: System architecture diagram2.1 Power Supply Circuit In order to reduce circuit costs, the system power supply circuit by the transformer , three-terminal integrated regulator (L7805 circuit 5V, has a simple, reliable, inexpensive and so on. 2.2 Host Controller Host controller using ATME

15、Ls latest MCU Products AT89S52. Apart from the single-chip microcomputer has a MCS-51 series single-chip all the benefits of things, also has 8KB of internal in-system programmable FLASH memory, free and low-power brown-out mode, greatly reducing the power circuit. In addition, also has a watchdog c

16、ircuit, a reliable job for the circuit provides greater assurance. 2.3 digital tube display circuit Show circuit with a high brightness, long life, low cost features such as the LED digital tube. Throughout the show circuit by the digital control and display LED drive circuit and decoding circuit. B

17、ecause of the system to display the contents of more, a total of 16 digital tube, respectively, with eight shows year, month, day, four show time, show that 22 weeks,2 show the temperature. Controller in order to save resources, between the controller and displays add a decoding circuit 16 so that w

18、ould have required the line of control into the circuit only 4 control lines, a great save system resources. The decoder by the decoder constitute both 3-8. 2.4 Real-time clock chip This design uses the United States Dallas company DS12C887A, the chip can automatically generate century, year, month,

19、 day, hour, minute, second, such as time information. Century the use of internal registers with the software will be able to resolve the Millennium, the problem. The chip has its own internal battery-keng, external brown-out, the internal time information also be able to maintain for 10 years. Time

20、 for a single day record of 12 hours and there is a 24-hour mode. Time Table Ways that also has two kinds of binary numbers, and the other with BCD code express. The chip with 128 bytes of internal RAM, one of 11 bytes used to store time information,4 bytes of memory chips used to control informatio

21、n, known as the control register,113-byte general-purpose RAM for users to store temporary information. In addition, users can also program the chip to control a variety of square-wave output, and its internal three-way through the software interrupt shielding. 2.5 Buttons and temperature measuremen

22、ts and circuit The system in order to make the circuit more easy, button circuit design only three keys, which are set,+,-, three keys to adjust the calendar and clock. The system in order to improve the practicality of the circuit, an increase of a temperature display. The system temperature measur

23、ement circuit using Dallass DS1280. The device because of its low price, easy circuits, measurement precision, etc. 2.6 audio signal generator and driver circuit The circuits function is to receive control circuit to send to the entire point of time and timing signal, according to system settings pr

24、oduce different frequencies of audio signals, amplification by the drive circuit to drive speakers to voice their opinions in order to realize the whole point timekeeping and alarm functions. 3. system software design Procedures of the system by the main program interrupt service function and pose a

25、 number of Functions. Main function and interrupt the completion of the initialization function. Timer interrupt function main timing clock chip to complete scanning and keypad scanning. Clock chip main function is to read and write time, read out the calendar information and to amend the specific v

26、alue of the internal write clock chip. The main source code is as follows: 4. Reference 1 Hu Qianbin,Li Guangbin,Li Ling,Yu Hong.The principle and application ofsingle chip microcomputer.Huazhong University of Science and Technology press,19962Liu Yong.Digitalcircuit.Publishing House of electronics

27、industry,20043Chen Zhengzhen.Design and makingelectroniccircuit.The Guangxi Vocational and Technical College of CommunicationsDepartment of information engineering,20074Yang Ziwen.Single chip microcomputer principle and application.Xian Electronic and Science University press,20065Wang Ping.Electron

28、ic technologyexperiment tutorial. MechanicalIndustry Press,20096Shen Hongwei.Single chip microcomputer application system designexamples andanalysis,Beijing: Beihang Universitypress,.20037Li Guangfei.SCM curriculumdesign guide,Beijing:Beihang University press.20048Wang Faneng.Single chip microcomput

29、er principle and application,Science Press.20049Lou Ranmiao,Li Guangfei.The 51series singlechipdesign exampleM.Beihang University press,200310 Zhu Dinghua,Dai Ruping.the principle and application ofsingle chip microcomputer M.Tsinghua University press,200311Hu Hancai.Single chip microcomputer princi

30、ple and interface technologyM.Tsinghua University press,200412Yu Jiachun.Practical Protel99 SEcircuitdesign tutorialM.ChinaRailway Publishing House,200413Zhang Peiren.The principle and application ofassembly language programmingbased on single chip microcomputer MCS-51. Beijing:Tsinghua University p

31、ress,200314TSomeya,JSmall,PKim,CNuckolls,JTYardleyAlcoholvaporsensorsbasedonsingle-walledcarbonnanotubefieldeffecttransistorsMNanoLetters,200315MPenzaetalAlcoholdetectionusingcarbonnanotubesacousticandopticalsensorsMAppliedPhysicsLetters,200416FRettig,RMoosDirectthermoelectricgassensorsDesignaspectsandfirstgassensorsMSensActuatorsB,2007

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1