基于proteus的led时钟电路设计和仿真外文翻译

上传人:suns****4568 文档编号:82967104 上传时间:2019-02-25 格式:DOCX 页数:5 大小:2.72MB
返回 下载 相关 举报
基于proteus的led时钟电路设计和仿真外文翻译_第1页
第1页 / 共5页
基于proteus的led时钟电路设计和仿真外文翻译_第2页
第2页 / 共5页
基于proteus的led时钟电路设计和仿真外文翻译_第3页
第3页 / 共5页
基于proteus的led时钟电路设计和仿真外文翻译_第4页
第4页 / 共5页
基于proteus的led时钟电路设计和仿真外文翻译_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《基于proteus的led时钟电路设计和仿真外文翻译》由会员分享,可在线阅读,更多相关《基于proteus的led时钟电路设计和仿真外文翻译(5页珍藏版)》请在金锄头文库上搜索。

1、Design and Simulation of LED Clock Circuit Based on ProteusAbstract:Based on the Proteus simulation software, the circuits of MCV controlling LED clock have been designed. The circuits include four parts: Hardware design, software programming, software simulation and physical display. Eventually, th

2、rough the Proteus software simulation and physical display prove that the method of the circuit design is correct. This paper systematically introduces the design method of MCV controlling circuits and provides a complete design idea for the design of display circuit.Keywords:Proteus; LED; clock cir

3、cuitI. INTRODUCTIONProteus is EDA software developed by the UK Labcenter Company, which can not only realize fundamental circuit simulation, but also simulate, debug MCU and peripheral circuits. With the Proteus powerful simulation capabilities and extensive resource libraries,the design process of

4、hardware circuit can be effectively simplified. The Proteus simulation software can be firstly used in the design, simulation and debugging of the hardware circuit. When the results reach the demand, the physical circuits would been finally set up and debugged.This makes sure not only a high effecti

5、ve, low invested circuit design but also reduces the loss caused by burning of debugging in practice . In addition, it has also provided an effective design approach for hardware circuit design under scarce resource conditions in laboratory.II. HARDWARE DESIGN80C52 is the control center of the whole

6、 hardware circuit. PO pins connect with six LED nixie tubes through two latches 74HC573 respectively. P2.6 and P2.7 in P2 pins of 80C52 respectively control the nixie tube segments elected and bit-selected signals. The Key connects with the P3.7 pin, which can clear the display . Six nixie tubes are

7、 divided into three groups from left to right,which presents respectively: hour (Hour_H, Hour_L),minute(Min_H, Min_L), second (Sec_H, Sec_L) ; PO pins connect with 74HC373 through external pull-up resistors;Using two latches is mainly to save 80C52 port resources, in order to facilitate follow-up de

8、velopment of circuit design. Peripheral circuits include input power circuit, power supply filter circuit, reset circuit and the LED indicating circuit and so on. The whole hardware circuits have been displayed in figure .Figure 1. LED clock circuitsIII. SOFTWARE DESIGNThrough using C language to co

9、ntrol each pin of the 80C52 MCU, the designed circuits are required to achieve the electronic clock function. The display contents of LED nixie tubes 0-9 are coded according to a-h display segments, which could control segment selection and bit selection through the pins P2.6 and p 2.7. When P2.6 =

10、I,the segment selection is selected, then the output data through PO connect to a-h of nixie tubes in order to achieve the corresponding display, finally commanding P2.6 = 0 to close the latch; when P2.7 = 1, the bit selection is selected, then the output data through PO connect to six nixie tubes i

11、n order to control which one to display, finally commanding P2.7 = 0 to close the latch.That means, segment selection P2.6 achieves the control for the display; while, bit selection P2.7 controls the bit of nixie tubes.The designed electronic clock program includes two key points: (1) timer settings

12、. The display time of nixie tube is controlled according to the delay time of second hand; (2) counter settings. When the second hand, minute hand counts to 60, respectively, it starts to carry and clear;it starts to clear when the hour hand counts to 24.The clock control programming can be designed

13、 trough two ways: (1) Using delay function controls second hand to count. In the Keil 11 Vision2 software virtual environment, it debugs the delay function and sets the delay parameter just for a second, and then setting the count methods of second hand, minute hand and hour hand. Advantages of this

14、 method are simple and easy to understand, easy to implement, a little knowledge points involved; drawback is that some delay error exits during counting time. (2) The internal microcontroller timer counter tImmg. Advantages of this method are time accurate, error small; drawback is difficult to ach

15、ieve,hard to understand, much knowledge involved. By contrast, the two methods of time-setting having been used demonstrate their advantages and disadvantages in order to provide a theoretical reference for the software design in future. Keil llVision2 software compiler interface is compiled success

16、fully and displayed in Figure 2 (0 errors and 0 warnings). It generates .HEX hexadecimal file for the next step of the simulation.IV. SIMULATION AND PHYSICAL DISPLAYUnder the control of C language to each pin of MCU 80C52, after the success of Keil 11 Vision2 software compile, .HEX hexadecimal file generates. In Proteus7.5 simulation software, according to circuit principle and structure displayed in Figure 1, it draws a complete circuit.Then downloading .

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号