CN205068219U - Clock circuit for computer - Google Patents

Clock circuit for computer Download PDF

Info

Publication number
CN205068219U
CN205068219U CN201520842121.0U CN201520842121U CN205068219U CN 205068219 U CN205068219 U CN 205068219U CN 201520842121 U CN201520842121 U CN 201520842121U CN 205068219 U CN205068219 U CN 205068219U
Authority
CN
China
Prior art keywords
control chip
model
hummer
pin
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201520842121.0U
Other languages
Chinese (zh)
Inventor
孙震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sheng Hongrui (tianjin) Network Technology Co Ltd
Original Assignee
Sheng Hongrui (tianjin) Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sheng Hongrui (tianjin) Network Technology Co Ltd filed Critical Sheng Hongrui (tianjin) Network Technology Co Ltd
Priority to CN201520842121.0U priority Critical patent/CN205068219U/en
Application granted granted Critical
Publication of CN205068219U publication Critical patent/CN205068219U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

The utility model discloses a clock circuit for computer, its characterized in that: including single chip microcomputer control chip, display module and keyboard module, the single chip microcomputer control chip respectively with display module, keyboard module be connected, the utility model discloses utilize the inside timer / counter of singlechip to realize, overall structure is simple for this circuit owing to there is not outside extension chip, therefore greatly reduced the cost of product.

Description

A kind of computing machine clock circuit
Technical field
The utility model relates to a kind of clock circuit, particularly relates to a kind of clock circuit being exclusively used in computing machine.
Background technology
In 20 end of the centurys, electronic technology obtains development at full speed, it is same under it promotes, modern electronic product has almost penetrated into each neck of society, strong promotion and improve development and the level of informatization of social productive forces, also make modern electronic product performance promote further, the rhythm of model change is also more and more faster simultaneously;
Time concerning always so valuable people, work, study, life busy and numerous and diversely easily make people forget the current time, computer clock brings great convenience to the life of people;
For the common requirements of computer system to real-time clock function, each large chip manufacturer is proposed a series of real-time clock integrated circuit successively, as DS1287, DS12887, PCF8563 etc., these real-time timepiece chips possess year, month, day, hour, min, second clocking capability and multiple spot timing function, the renewal of chronometric data is per second to be carried out once automatically, does not need program intervention; Computing machine reads chronometric data by interruption or inquiry mode and shows, and therefore the realization of clocking capability is without the need to taking the time of CPU, and program is simple; In addition, real-time timepiece chip majority makes back-up source with lithium battery, possesses non-stop clocking capability forever, there is square wave output function able to programme, can be used as the sampled signal etc. of real-time, some real-time timepiece chip inside is also with non-volatile ram, can be used to deposit needs long-term preservation but the data sometimes also needing change, due to perfect in shape and function, precision is high, software program design is relatively simple, and timing does not take CPU time, and this class special chip is used more in industrial real-time.
Summary of the invention
The utility model, in order to make up the deficiencies in the prior art, provides a kind of structure simple clock circuit, and this circuit integrity structure is simple, do not have outside extended chip, can reduce the cost of product;
For achieving the above object, the technical scheme that the utility model is taked is:
A kind of computing machine clock circuit, is characterized in that: comprise singlechip control chip, display module and Keysheet module; Described singlechip control chip is connected with described display module, Keysheet module respectively;
Further improvement, described singlechip control chip comprises control chip, crystal oscillating circuit, warning circuit; 18,19 pin of described crystal oscillating circuit connection control chip; 28 pin of described warning circuit connection control chip;
Further improvement, the model of described control chip is AT89C51;
Further improvement, described warning circuit comprises hummer B1 and hummer driver module T1; 28 pin of one end connection control chip of described hummer driver module T1, the other end connects a pin of hummer B1; Another pin ground connection of described hummer B1;
Compared with prior art, adopt such scheme, the beneficial effects of the utility model are: the utility model, utilize the timer/counter of single-chip microcomputer inside to realize, it is processing procedure: the timer/counter first setting single-chip microcomputer inside works in timing mode, reference time is formed to machine cycle counting, then by the method for another timer/counter or software counting, is formed to counting reference time second; With second hand 60 carry compositions; Divide counting 60 carries one-tenth hour; Then to count for 24 times be completely one day for hour meter, then by charactron their content in corresponding position display out; This circuit integrity structure is simple, owing to not having outside extended chip, therefore greatly reduces the cost of product.
Accompanying drawing explanation
Fig. 1 is structural representation of the present utility model;
Fig. 2 is circuit theory diagrams of the present utility model;
Fig. 3 is control flow chart of the present utility model;
Fig. 4 is timing program control flow chart of the present utility model;
Fig. 5 is set of time of the present utility model and alarm clock timing program control flow chart;
Fig. 6 is keyboard setting program control flow chart of the present utility model;
Fig. 7 is keyboard scan program control flow chart of the present utility model;
Fig. 8 is display routine control flow chart of the present utility model;
Fig. 9 is timing comparison program control flow chart of the present utility model;
Embodiment
Below in conjunction with drawings and Examples, the utility model is further illustrated.
As shown in Figure 1, a kind of computing machine clock circuit, is characterized in that: comprise singlechip control chip, display module and Keysheet module; Described singlechip control chip is connected with described display module, Keysheet module respectively;
As shown in Figure 2, described singlechip control chip comprises control chip, crystal oscillating circuit, warning circuit; 18,19 pin of described crystal oscillating circuit connection control chip; 28 pin of described warning circuit connection control chip;
Preferably, the model of described control chip is AT89C51;
Further improvement, described warning circuit comprises hummer B1 and hummer driver module T1; 28 pin of one end connection control chip of described hummer driver module T1, the other end connects a pin of hummer B1; Another pin ground connection of described hummer B1;
Preferably, the model of hummer driver module T1 is 74LS02;
Circuit working principle: the making of computer clock circuit uses AT80C51 single-chip microcomputer to be core, its inside with the FlashROM of 4KB, without the need to extending out program storage; Computer clock does not have a large amount of computings and temporal data, and the ROM in existing 128B sheet can meet the demands, need not the outer RAM of outer spread sheet yet; System disposition 6 draws LED to show and 4*3 keyboard, adopt the parallel port of single-chip microcomputer as keypad/display interface circuit, mouth is selected in the position utilizing P0 mouth to show as 6 LED, wherein, P0.0 ~ P0.5 is corresponding position LED0 ~ LED5 respectively, P1 mouth then selects mouth as section, and low 3 of P2 mouth is input through keyboard mouth, and corresponding 0 ~ 2; P0 mouth is used as the column scan mouth of keyboard simultaneously, owing to adopting common cathode charactron, and therefore corresponding position in the selection of P0 mouth output low level, and P1 mouth output high level lights corresponding section.P2.7 connects hummer, and low level drives buzzer call to open noisy;
As shown in Fig. 3 ~ Fig. 9, the workflow of system:
1, computer clock is 24 hours systems, possesses following functions: 1) clock display: when 6 LED show from left to right successively, minute, second, adopts 24 hours timing modes; 2) keypad function: adopt 4*3 keyboard, comprising: 0 ~ 9: numerical key, key number is 00H ~ 09H, has time proofreading function easily; 3) C/R key: the time sets/start timing key; 4) ALM key: alarm clock arrange/open noisy/stop noisy key, key number is: 0BH;
2, the workflow of clock: 1) time showing: after powering on, system enters clock display automatically, timing from 00:00:00, now can set current time; 2) time adjustment: press C/R key, system stops timing, entry time set condition, system keeps original display, wait for and key in current time, press ten key when can sequentially arrange, minute, second, and show settings in corresponding LED pipe, until 6 setting completed, system by automatic by the time after setting timing display; 3) alarm clock arrange/open noisy/stop making a noise: press ALM key, system continues timing, display 00:00:00, enter alarm clock and arrange state, wait for that the noisy time is opened in key entry, pressing ten key sequentially can carry out corresponding set of time, and settings are shown in corresponding LED pipe, until 6 setting completed, this by startup timing open noisy function, and release time display.Timing arrives, then buzzer call, stops making a noise until again press ALM key, and cancels alarm clock setting;
The utility model, utilize the timer/counter of single-chip microcomputer inside to realize, it is processing procedure: the timer/counter first setting single-chip microcomputer inside works in timing mode, reference time is formed to machine cycle counting, then by the method for another timer/counter or software counting, is formed to counting reference time second; With second hand 60 carry compositions; Divide counting 60 carries one-tenth hour; Then to count for 24 times be completely one day for hour meter, then by charactron their content in corresponding position display out; This circuit integrity structure is simple, owing to not having outside extended chip, therefore greatly reduces the cost of product;
The utility model directly uses the parallel port of single-chip microcomputer as display interface, without the need to extending out interface chip, but it is many to take mouthful resource, and the display mode of dynamic scan need take the CPU more time, does not have can adopt when too many peripheral interface and real-tune TT & C task at single-chip microcomputer;
The utility model is not limited to above-mentioned concrete embodiment, and those of ordinary skill in the art is from above-mentioned design, and without performing creative labour, done all conversion, all drop within protection domain of the present utility model.

Claims (4)

1. a computing machine clock circuit, is characterized in that: comprise singlechip control chip, display module and Keysheet module; Described singlechip control chip is connected with described display module, Keysheet module respectively.
2. a kind of computing machine clock circuit according to claim 1, is characterized in that: described singlechip control chip comprises control chip, crystal oscillating circuit, warning circuit; 18,19 pin of described crystal oscillating circuit connection control chip; 28 pin of described warning circuit connection control chip.
3. a kind of computing machine clock circuit according to claim 2, is characterized in that: the model of described control chip is AT89C51.
4. a kind of computing machine clock circuit according to claim 2, is characterized in that: described warning circuit comprises hummer B1 and hummer driver module T1; 28 pin of one end connection control chip of described hummer driver module T1, the other end connects a pin of hummer B1; Another pin ground connection of described hummer B1.
CN201520842121.0U 2015-10-28 2015-10-28 Clock circuit for computer Expired - Fee Related CN205068219U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520842121.0U CN205068219U (en) 2015-10-28 2015-10-28 Clock circuit for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520842121.0U CN205068219U (en) 2015-10-28 2015-10-28 Clock circuit for computer

Publications (1)

Publication Number Publication Date
CN205068219U true CN205068219U (en) 2016-03-02

Family

ID=55394751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520842121.0U Expired - Fee Related CN205068219U (en) 2015-10-28 2015-10-28 Clock circuit for computer

Country Status (1)

Country Link
CN (1) CN205068219U (en)

Similar Documents

Publication Publication Date Title
CN105260255A (en) Method for implementing watchdog on system on chip with multiple processor cores
CN204904716U (en) Electron perpetual calendar based on singlechip
CN112530056A (en) Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium
WO2022052492A1 (en) Gas meter with program embedded in nb-iot communication module, and data processing method
CN101364993A (en) Method and apparatus for reducing sensor node dormancy power consumption
CN205068219U (en) Clock circuit for computer
CN102890445B (en) Multi-functional timer
CN108762473A (en) A kind of method that can effectively reduce smart lock stand-by power consumption
CN109062624A (en) It is a kind of to interrupt the processing method waken up for vehicle electronic control unit
CN101329595A (en) Emulator of low power consumption mode
CN202771174U (en) Infrared remote sensing clock
CN205540397U (en) Low -power consumption real -time clock
CN201594788U (en) Frequency converter operating panel with parameter storage and Chinese character display functions
CN205507046U (en) Lithium ion battery electric quantity monitoring system
CN201974664U (en) LCD (liquid crystal display) electronic manipulator of novel revolving door control system
CN204613603U (en) The synchro system of clock information and air conditioner
CN204719425U (en) A kind of to ring a bell system based on GPS time service Intelligent Single-Chip Based music
CN205507382U (en) Multifunctional timer
CN201747354U (en) Intelligent winch measurement panel
CN202258112U (en) Small-sized integrated information processing system
CN202033814U (en) Frame controller of 16 times of failure records
CN202533780U (en) Workshop tool operation monitoring device
CN204143173U (en) A kind of charactron electronic clock
CN203870558U (en) Main control chip for dynamic token system
CN201788460U (en) Reset circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160302

Termination date: 20161028

CF01 Termination of patent right due to non-payment of annual fee