基于Proteus的LED时钟电路设计和仿真毕业论文外文翻译.docx
《基于Proteus的LED时钟电路设计和仿真毕业论文外文翻译.docx》由会员分享,可在线阅读,更多相关《基于Proteus的LED时钟电路设计和仿真毕业论文外文翻译.docx(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
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于Proteus的LED时钟电路设计和仿真 毕业论文外文翻译 基于 Proteus LED 时钟 电路设计 仿真 毕业论文 外文 翻译
限制150内