资源预览内容
第1页 / 共9页
第2页 / 共9页
第3页 / 共9页
第4页 / 共9页
第5页 / 共9页
第6页 / 共9页
第7页 / 共9页
第8页 / 共9页
第9页 / 共9页
亲,该文档总共9页全部预览完了,如果喜欢就下载吧!
资源描述
Tell the time a system design according to the auto of list slice machineAbstract :Especially appear and live the change of bringing the root for mankind with the large scale integration along with the quick development of electronics technique. From it is list slice the machine is technical of applied the product has already walked into thousand 10000. The emergence of the electronics ten thousand calendars brings peoples life of many conveniences. Automatically tell the time the system is used of the single slice of machine chip is AT89 C51 chipses, in addition still include: DS1302 chips, crystal flap electric circuit and reset the electric circuit composing list slice machines least application system, there is also independent type key electric circuit, the dynamic state shows an electric circuit etc. It not only can carry out various function of number electronics clock, if have to compare, adjust, in fixed time, alarm clock etc. function, and can also carry out the function that the fixed-point tells the time.Key words :MCU,The single slice of machine makes bell clock, code, segment code, showForeword: Actually and always the clock can provide second, cent, , the day, week, month and year are small can automatically adjust, and have leap year repair function with 31 weathers for a month. This design is still additional the fixed-point tells the time of function, thus and further completed automatically a design of telling the time the system. In brief described the work principle of hardware system first in the text, and attached diagram with the design frame of the hardware system, discuss this graduation design connects the function and work process that a peoples technique and each one connect a people mold piece various hardware applying, and concrete described to circumscribe electric circuit to connect of soft, the hardware adjust to try.1. Single slice of machine total design way of thinking(1) Design minimum hardware system of a single slice of machine of ability normal work, the outer circle electric circuit includes to establish a keyboard, the monitor of LCD or LED; (2) Carry on a software design, make use of single slice of machine system the clock design the internal clock system of high accuracy first, minimum and accurate time is period 1; (3) Design on second foundation that counts a machine for a 24 hours, clock, and design some in fixed time function; (4) Design a dozen of bells performance organization, complete an auto to beat bell function.2. The alternative of hardwareAutomatically tell the time system, it needs to be walked accurately, compare, adjust, in fixed time, the fixed-point tell the time etc., therefore what I chose is one AT89 C51 list slice machine chip, then go together with with the DS12 C887, key electric circuit, crystal flap electric circuit and reset electric circuit and LED dynamic state of display, can carry out. The key connects, is completed by P1.0, P1.1, P1.2 and P1.3, four functions of keys respectively BE: One is the function key K1; One is a number to adjust the key K2; One is cancel to establish the key K3, use to establish time; One is K4 keyses, use to establish in fixed time time. Seven type figures tubes drive mold piece, buzzer to drive a mold piece and reset a mold piece, keyboard mold piece and crystal to flap to concuss an electric circuit mold a piece five parts to constitute. And all pass AT89 C51 to carry out.2.1 seven type figures tubes drive a mold piece Adopt a dynamic state scanning method, through a set of single slice of machine port drive to merge together of LCD give out light a tube of on carrying(total Yin or total sun carry), LCD gives out light another feet of tube to connect to use an I/O and control it bright put out. The method can drive more LCD and control a way more vivid, and economical list the resources of the slice machine.2.2 buzzers drive a mold piece The adoption presses electricity type buzzer and presses an electricity type buzzer to be mainly flapped by many Xies to concuss a machine and press to give or get an electric shock Feng to blare slice, resistance to match machine and sympathy box, and outer shell.etc. to constitute. Many Xies flap to concuss the machine constitutes tofrom the transistor or the integrated circuit, when after connecting the power(1.5-15 V direct current work electric voltage), many Xies flap to concuss machine to flap and output the audio frequency signal with 1.52.5 khzs, the resistance matches a machine push to press to give or get an electric shock Feng to blare a slice of phonation. 2.2 Reset a mold pieceList slice machine while switching on or make procedure lose control because of interference in the work, or the procedure in the work is placed in a certain dead circulating status and all needs to be reset in this case. The function of resetting is the beginning that makes CPU CPU and other function partses all resume to an
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号