CN209858954U - Timer based on singlechip - Google Patents
Timer based on singlechip Download PDFInfo
- Publication number
- CN209858954U CN209858954U CN201920621646.XU CN201920621646U CN209858954U CN 209858954 U CN209858954 U CN 209858954U CN 201920621646 U CN201920621646 U CN 201920621646U CN 209858954 U CN209858954 U CN 209858954U
- Authority
- CN
- China
- Prior art keywords
- pin
- chip
- decoder
- circuit
- display
- 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
Links
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
A timer based on a single chip microcomputer is provided with a single chip microcomputer circuit, a decoder circuit, a key circuit, a display circuit and an alarm circuit, wherein the single chip microcomputer circuit is respectively connected with the decoder circuit, the key circuit, the display circuit and the alarm circuit, and the decoder circuit is also connected with the display circuit. The timer based on the single chip microcomputer has the advantage of time prompt. Meanwhile, the timer based on the single chip microcomputer uses a common chip U1, and circuits and circuit components are simple to connect, so that the timer has the advantages of simple circuit and low cost. Simultaneously, the timer based on the single chip microcomputer has the advantage of high accuracy.
Description
Technical Field
The utility model relates to a timer field, in particular to timer based on singlechip.
Background
Timers are widely used in any electronic device and have become an essential item in people's daily life. Such as various alarm clocks, automatic time program control, timed broadcasting, timed switching on and off of an oven, on-off equipment and the like, all the devices with the time prompting function need to be based on a timer. However, the existing timer has high circuit cost and complex circuit.
Therefore, aiming at the defects in the prior art, it is necessary to provide a timer based on a single chip microcomputer to overcome the defects in the prior art.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to avoid the weak point among the prior art and provide a timer based on singlechip, this timer based on singlechip has the degree of accuracy height, the circuit is simple and the lower advantage of cost.
The above object of the present invention is achieved by the following technical means.
The timer based on the single chip microcomputer is provided with a single chip microcomputer circuit, a decoder circuit, a key circuit, a display circuit and an alarm circuit, wherein the single chip microcomputer circuit is respectively connected with the decoder circuit, the key circuit, the display circuit and the alarm circuit, and the decoder circuit is also connected with the display circuit.
Preferably, the single chip circuit is provided with a chip U1, a resistor R1, a coupling capacitor C1, a capacitor C2, a capacitor C3 and a crystal oscillator Y1, wherein pins 10, 11 and 12 of the chip U1 are respectively connected with the key circuit, pin 13 of the chip U1 is connected with the alarm circuit, pin 9 of the chip U1 is connected with the negative electrode of the coupling capacitor C1, the positive electrode of the coupling capacitor C1 is connected with a power supply input terminal VCC, pin 9 of the chip U1 is also connected with a series resistor R1 to ground, pin 18 of the chip U1 is connected with a capacitor C2 to ground, pin 19 of the chip U2 is connected with a capacitor C2 to ground, two ends of the crystal oscillator Y2 are respectively connected with pin 18 and pin 19 of the chip U2, pin 21, pin 22, pin 2 and pin 28 of the chip U2 are respectively connected with the display circuit, pin 31 of the chip U2 is connected with the power supply input terminal VCC, pin RP 72 of the chip U2 is connected with pin RP 72 of the chip U2, pin RP 2 is connected with the pin RP 72 of the chip U2, the 34 pin of the chip U1 is connected with the 7 pin of the resistor RP1, the 35 pin of the chip U1 is connected with the 6 pin of the resistor RP1, the 36 pin of the chip U1 is connected with the 5 pin of the resistor RP1, the 37 pin of the chip U1 is connected with the 4 pin of the resistor RP1, the 38 pin of the chip U1 is connected with the 3 pin of the resistor RP1, the 39 pin of the chip U1 is connected with the 2 pin of the resistor RP1, the 40 pin of the chip U1 is connected with the 1 pin of the resistor RP1, the 40 pin of the chip U1 is also connected with the power supply input terminal VCC, and the 32 pin, the 33 pin, the … … pin and the 39 pin of the chip U1 are respectively connected with the display circuit.
Preferably, the decoder circuit is provided with a decoder U2, pin 1 of the decoder U2 is connected to a power supply input terminal VCC, pin 19 of the decoder U2 is grounded, pin 2 of the decoder U2 is connected to pin 39 of the chip U1, pin 3 of the decoder U2 is connected to pin 38 of the chip U1, pin 4 of the decoder U2 is connected to pin 37 of the chip U1, pin 5 of the decoder U2 is connected to pin 36 of the chip U1, pin 6 of the decoder U2 is connected to pin 35 of the chip U1, pin 7 of the decoder U2 is connected to pin 34 of the chip U1, pin 8 of the decoder U2 is connected to pin 33 of the chip U1, pin 9 of the decoder U2 is connected to pin 32 of the chip U1, and pins 11, 12, … … and 18 of the decoder U2 are connected to the display circuit, respectively.
Preferably, the key circuit is provided with a key switch K1, a key switch K2 and a key switch K3, wherein pin 1 of the switch K1 is connected with pin 2 of the key switch K2, pin 2 of the key switch K1 is grounded, pin 3 of the key switch K1 is connected with pin 10 of the chip U1, pin 1 of the key switch K2 is connected with pin 2 of the key switch K3, pin 3 of the key switch K2 is connected with pin 11 of the chip U1, and pin 3 of the key switch K2 is connected with pin 12 of the chip U1.
Preferably, the display circuit is provided with a display LED1 and a display LED2, a pin 1 of the display LED1 is connected to a pin 14 of the decoder U2, a pin 2 of the display LED1 is connected to a pin 15 of the decoder U2, a pin 3 of the display LED1 is connected to a pin 11 of the decoder U2, a pin 4 of the display LED1 is connected to a pin 16 of the decoder U2, a pin 5 of the display LED2 is connected to a pin 12 of the decoder U2, a pin 6 of the display LED2 is connected to a pin 25 of the chip U2, a pin 7 of the display LED2 is connected to a pin 28 of the chip U2, a pin 8 of the display LED2 is connected to a pin 18 of the decoder U2, a pin 9 of the display LED2 is connected to a pin 13 of the decoder U2, a pin 10 of the display LED2 is connected to a pin 27 of the chip U2, a pin 11 of the display LED2 is connected to a pin 26 of the chip U2, a pin 11 of the decoder U2 is connected to a pin 12 of the display LED2, a pin of the decoder U2 is connected to a pin 2, a pin of the display LED2 is connected to a pin 1 of the decoder U2, a, pin 3 of the display LED2 is connected to pin 11 of the decoder U2, pin 4 of the display LED2 is connected to pin 16 of the decoder U2, pin 5 of the display LED2 is connected to pin 12 of the decoder U2, pin 6 of the display LED2 is connected to pin 21 of the chip U1, pin 7 of the display LED2 is connected to pin 25 of the chip U1, pin 8 of the display LED2 is connected to pin 18 of the decoder U2, pin 9 of the display LED2 is connected to pin 13 of the decoder U2, pin 10 of the display LED2 is connected to pin 23 of the chip U1, pin 11 of the display LED2 is connected to pin 22 of the chip U1, and pin 12 of the display LED2 is connected to pin 17 of the decoder U2.
Preferably, the alarm circuit is provided with a resistor R2, a transistor Q1 and a buzzer F1, one end of the resistor R2 is connected with a pin 13 of the chip U1, the other end of the resistor R2 is connected with a base of the transistor Q1, an emitter of the transistor Q1 is connected with one end of the buzzer F1, a collector of the transistor Q1 is grounded, and the other end of the buzzer F1 is connected with a power supply input terminal VCC.
Preferably, the model of the chip U1 is AT89C51, the resistance values of the resistor R1 and the resistor exclusion RP1 are both 10 kilo-ohms, the capacitance value of the coupling capacitor C1 is 10 microfarads, the capacitance values of the capacitor C2 and the capacitor C3 are both 30 farads, the crystal oscillator Y1 is 12 megahertz, the model of the decoder U2 is 74HC245, the models of the display LED1 and the display LED2 are both 7LED sdm, the resistance value of the resistor R2 is 2.2 kilo-ohms, the model of the triode Q1 is 9012, and the model of the buzzer F1 is FMQ.
The utility model discloses a timer based on singlechip is provided with singlechip circuit, decoder circuit, keying circuit, display circuit and warning circuit, and singlechip circuit is connected with decoder circuit, keying circuit, display circuit and warning circuit respectively, and decoder circuit still is connected with display circuit. The timer based on the single chip microcomputer has the advantage of time prompt. Meanwhile, the timer based on the single chip microcomputer uses a common chip U1, and circuits and circuit components are simple to connect, so that the timer has the advantages of simple circuit and low cost. Simultaneously, the timer based on the single chip microcomputer has the advantage of high accuracy.
Drawings
The present invention will be further described with reference to the accompanying drawings, but the contents in the drawings do not constitute any limitation to the present invention.
Fig. 1 is a schematic diagram of a timer circuit based on a single chip microcomputer.
Fig. 2 is a schematic diagram of a single chip microcomputer circuit.
FIG. 3 is a schematic diagram of a decoder circuit.
FIG. 4 is a diagram of a key circuit.
FIG. 5 is a schematic diagram of a display circuit.
FIG. 6 is a schematic diagram of an alarm circuit.
In fig. 1 to 6, the following components are included:
the device comprises a single chip microcomputer circuit 1, a decoder circuit 2, a key circuit 3, a display circuit 4 and an alarm circuit 5.
Detailed Description
The invention will be further described with reference to the following examples.
Example 1.
A timer based on a single chip microcomputer is provided with a single chip microcomputer circuit 1, a decoder circuit 2, a key circuit 3, a display circuit 4 and an alarm circuit 5, as shown in figures 1-6, wherein the single chip microcomputer circuit 1 is respectively connected with the decoder circuit 2, the key circuit 3, the display circuit 4 and the alarm circuit 5, and the decoder circuit 2 is also connected with the display circuit 4.
The single chip circuit 1 is provided with a chip U1, a resistor R1, a coupling capacitor C1, a capacitor C2, a capacitor C3 and a crystal oscillator Y1, pins 10, 11 and 12 of the chip U1 are respectively connected with the key circuit 3, pin 13 of the chip U1 is connected with the alarm circuit 5, pin 9 of the chip U1 is connected with the negative electrode of the coupling capacitor C1, the positive electrode of the coupling capacitor C1 is connected with a power supply input terminal VCC, pin 9 of the chip U1 is also grounded in series with a resistor R1, pin 18 of the chip U1 is grounded in series with a capacitor C2, pin 19 of the chip U2 is grounded in series with a capacitor C2, two ends of the crystal oscillator Y2 are respectively connected with pin 18 and pin 19 of the chip U2, pin 21, pin 22, pin 2 and pin 28 of the chip U2 are respectively connected with the display circuit 4, pin 31 of the chip U2 is connected with the power supply input terminal VCC, pin RP 72 is connected with the pin RP 72 of the chip RP 72, and the pin 2 of the chip U2 is connected with the pin 2 of the chip RP 72 and the pin 2 of the chip U, the 34 pin of the chip U1 is connected with the 7 pin of the resistor RP1, the 35 pin of the chip U1 is connected with the 6 pin of the resistor RP1, the 36 pin of the chip U1 is connected with the 5 pin of the resistor RP1, the 37 pin of the chip U1 is connected with the 4 pin of the resistor RP1, the 38 pin of the chip U1 is connected with the 3 pin of the resistor RP1, the 39 pin of the chip U1 is connected with the 2 pin of the resistor RP1, the 40 pin of the chip U1 is connected with the 1 pin of the resistor RP1, the 40 pin of the chip U1 is also connected with the power supply input terminal VCC, and the 32 pin, the 33 pin, the … … pin and the 39 pin of the chip U1 are respectively connected with the display circuit 4.
The decoder circuit 2 is provided with a decoder U2, a pin 1 of a decoder U2 is connected with a power supply input terminal VCC, a pin 19 of a decoder U2 is grounded, a pin 2 of the decoder U2 is connected with a pin 39 of a chip U1, a pin 3 of the decoder U2 is connected with a pin 38 of a chip U1, a pin 4 of the decoder U2 is connected with a pin 37 of the chip U1, a pin 5 of a decoder U2 is connected with a pin 36 of the chip U1, a pin 6 of the decoder U2 is connected with a pin 35 of the chip U1, a pin 7 of the decoder U2 is connected with a pin 34 of the chip U1, a pin 8 of the decoder U2 is connected with a pin 33 of the chip U1, a pin 9 of the decoder U2 is connected with a pin 32 of the chip U1, and pins 11, 12, … … and 18 of the decoder U2 are respectively connected with the.
The key circuit 3 is provided with a key switch K1, a key switch K2 and a key switch K3, wherein a pin 1 of the switch K1 is connected with a pin 2 of the key switch K2, a pin 2 of the key switch K1 is grounded, a pin 3 of the key switch K1 is connected with a pin 10 of a chip U1, a pin 1 of the key switch K2 is connected with a pin 2 of a key switch K3, a pin 3 of the key switch K2 is connected with a pin 11 of a chip U1, and a pin 3 of the key switch K2 is connected with a pin 12 of a chip U1.
The display circuit 4 is provided with a display LED1 and a display LED2, a 1 pin of the display LED1 is connected to the 14 pin of the decoder U2, a 2 pin of the display LED1 is connected to the 15 pin of the decoder U2, a 3 pin of the display LED1 is connected to the 11 pin of the decoder U2, a 4 pin of the display LED1 is connected to the 16 pin of the decoder U2, a 5 pin of the display LED2 is connected to the 12 pin of the decoder U2, a 6 pin of the display LED2 is connected to the 25 pin of the decoder U2, a 7 pin of the display LED2 is connected to the 28 pin of the decoder U2, an 8 pin of the display LED2 is connected to the 18 pin of the decoder U2, a 9 pin of the display LED2 is connected to the 13 pin of the decoder U2, a 10 pin of the display LED2 is connected to the 27 pin of the chip U2, an 11 pin of the display LED2 is connected to the pin of the decoder U2, a display LED 3612 pin of the decoder U2 is connected to the display LED2, a display LED2 is connected to the display LED2, a pin of the decoder U2 is connected to the decoder U2, a display LED2, a, pin 3 of the display LED2 is connected to pin 11 of the decoder U2, pin 4 of the display LED2 is connected to pin 16 of the decoder U2, pin 5 of the display LED2 is connected to pin 12 of the decoder U2, pin 6 of the display LED2 is connected to pin 21 of the chip U1, pin 7 of the display LED2 is connected to pin 25 of the chip U1, pin 8 of the display LED2 is connected to pin 18 of the decoder U2, pin 9 of the display LED2 is connected to pin 13 of the decoder U2, pin 10 of the display LED2 is connected to pin 23 of the chip U1, pin 11 of the display LED2 is connected to pin 22 of the chip U1, and pin 12 of the display LED2 is connected to pin 17 of the decoder U2.
The alarm circuit 5 is provided with a resistor R2, a triode Q1 and a buzzer F1, one end of the resistor R2 is connected with a pin 13 of a chip U1, the other end of the resistor R2 is connected with a base electrode of a triode Q1, an emitting electrode of the triode Q1 is connected with one end of the buzzer F1, a collector electrode of the triode Q1 is grounded, and the other end of the buzzer F1 is connected with a power supply input end VCC.
The utility model discloses a buzzer F1's sound production principle passes through solenoid for the electric current, just can drive the vibrating diaphragm sound production when solenoid produces the magnetic field, consequently need use the electric current to drive at buzzer F1, and the electric current of chip U1's IO mouth pin output is less than, and the TTL level of chip U1 output is normally not enough to drive buzzer, so the utility model discloses increase a circuit that the electric current is enlarged, specifically be through a triode Q1 enlarged drive buzzer. The base electrode of the triode Q1 is controlled by a P3.7 pin of the chip U1 after passing through the current-limiting resistor R12, when the P3.7 is connected with a low level, the triode Q1 is in a conducting state, the current of the buzzer forms a loop, and at the moment, sound is emitted; when P3.7 is high, it is blocked, i.e. no current remains in the coil, and the buzzer does not sound. This therefore allows the buzzer to sound and turn off by controlling the level of P3.7.
The 74HC245 decoder of the utility model is a high-performance storage decoder, and can be used as a data transmission system with short time delay, and the decoding performance is higher. When a high-speed memory is used for quickly enabling a circuit, the delay time and the enabling time are generally smaller than the access time of the memory, so that some system time can be ignored.
The display circuit 4 is composed of a plurality of light emitting diodes. The number "8" is formed by seven segments of LEDs, and the decimal point is displayed by a light emitting diode. An electrode is respectively LED out from each section of LED, the names of the electrodes are a, b, c, d, e, f, g and dp, wherein dp is the electrode LED out from the decimal point section, and the diode can be correspondingly lightened when being conducted. The display circuit 4 of the utility model is a nixie tube. The nixie tube has two connection methods, i.e. common anode connection method and common cathode connection method. The cathodes of the diodes are connected together to form a common cathode, when the cathodes are connected to a low level, the diodes are bright, the anodes of the diodes are connected together to form a common anode, when the anodes are connected to a high level, the diodes are bright. The LED display nixie tube is usually completed by a hardware 7-segment decoding integrated circuit to finish decoding driving from numbers to display codes. The utility model discloses be the model STC89C 52's chip U1's P0.0 ~ P0.7 and quadbit is a ~ g and dp with positive pole code pipe are linked to each other respectively, and when connecing the charactron of low level to become dark, when connecing the charactron of high potential to brighten to realize display circuit 4's control.
The three key switches of the key circuit 3 are all independent keys. There is no restriction relation between them, and a single key circuit 3 is formed by I/O port lines, and one I/O port line can only be connected with one key.
The working principle of the utility model is as follows: the power module provides power for the timer based on the single chip microcomputer, a user sets the single chip microcomputer circuit 1 in a timing mode through the key circuit 3, the single chip microcomputer circuit 1 starts timing, the single chip microcomputer circuit 1 displays real-time remaining time in the display circuit 4 through the decoder, and when the set time is up, the single chip microcomputer circuit 1 sends out a prompt signal through the alarm circuit 5.
The utility model discloses a timing function of timer is realized through single chip microcomputer circuit 1, because single chip microcomputer circuit 1 has a 12MHz crystal oscillator, and this crystal oscillator is every through 1 machine cycle's time, then the count frequency is 1MHz, just can calculate regularly time from this.
Through many times simulation experiment verification, the utility model discloses a timer based on singlechip compares with prior art's timer, and the rate of timing error is less. Just the utility model discloses the electronic components total number that only is provided with 5 circuits and every circuit is less, consequently when the welding the utility model discloses a time of timer cost is less, so the utility model discloses a timer based on singlechip still has the lower advantage of the simple cost of circuit connection.
The timer based on the single chip microcomputer is provided with a single chip microcomputer circuit 1, a decoder circuit 2, a key circuit 3, a display circuit 4 and an alarm circuit 5, wherein the single chip microcomputer circuit 1 is respectively connected with the decoder circuit 2, the key circuit 3, the display circuit 4 and the alarm circuit 5, and the decoder circuit 2 is also connected with the display circuit 4. The timer based on the single chip microcomputer has the advantage of time prompt. Meanwhile, the timer based on the single chip microcomputer uses a common chip U1, and circuits and circuit components are simple to connect, so that the timer has the advantages of simple circuit and low cost. Simultaneously, the timer based on the single chip microcomputer has the advantage of high accuracy.
Example 2.
A timer based on a single chip microcomputer is the same as that of the embodiment 1 in other characteristics, and is different in that: the model of the chip U1 is AT89C51, the resistance values of a resistor R1 and an exclusion RP1 are both 10 kilo-ohms, the capacitance value of a coupling capacitor C1 is 10 microfarads, the capacitance values of a capacitor C2 and a capacitor C3 are both 30 farads, the crystal oscillator Y1 is 12 megahertz, the model of a decoder U2 is 74HC245, the models of a display LED1 and a display LED2 are both 7LEDSMG, the resistance value of a resistor R2 is 2.2 kilo-ohms, the model of a triode Q1 is 9012, and the model of a buzzer F1 is FMQ.
The present invention uses binary weighting of the 74HC245 decoder that can accept 3 bits to input addresses and, when energized, the decoder provides eight mutually exclusive low outputs (Y0 to Y7). Three inputs unique to the 74HC245 decoder: two sole active inputs and one foot high active input. The composite enabling characteristic of the user is fully utilized, and the method can be easily completed and expanded.
The timer based on the single chip microcomputer is provided with a single chip microcomputer circuit 1, a decoder circuit 2, a key circuit 3, a display circuit 4 and an alarm circuit 5, wherein the single chip microcomputer circuit 1 is respectively connected with the decoder circuit 2, the key circuit 3, the display circuit 4 and the alarm circuit 5, and the decoder circuit 2 is also connected with the display circuit 4. The timer based on the single chip microcomputer has the advantages of simple circuit and low cost.
It should be finally noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and not to limit the scope of the present invention, and although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention can be modified or replaced with equivalents without departing from the spirit and scope of the technical solutions of the present invention.
Claims (6)
1. A timer based on singlechip, its characterized in that: the single chip microcomputer circuit is respectively connected with the decoder circuit, the key circuit, the display circuit and the alarm circuit, and the decoder circuit is also connected with the display circuit;
the single chip circuit is provided with a chip U1, a resistor R1, a coupling capacitor C1, a capacitor C2, a capacitor C3 and a crystal oscillator Y1, wherein pins 10, 11 and 12 of the chip U1 are respectively connected with a key circuit, pin 13 of the chip U1 is connected with an alarm circuit, pin 9 of the chip U1 is connected with the negative electrode of the coupling capacitor C1, the positive electrode of the coupling capacitor C1 is connected with a power supply input terminal VCC, pin 9 of the chip U1 is also grounded in series with a resistor R1, pin 18 of the chip U1 is grounded in series with a capacitor C2, pin 19 of the chip U2 is grounded in series with a capacitor C2, two ends of the crystal oscillator Y2 are respectively connected with pin 18 and pin 19 of the chip U2, pin 21, pin 22, pin 2 and pin 28 of the chip U2 are respectively connected with a display circuit, pin 31 of the chip U2 is connected with the power supply input terminal VCC, pin RP 32 of the chip U2 is connected with the pin 2, pin 2 of the chip U2 is connected with the pin 368, the 34 pin of the chip U1 is connected with the 7 pin of the resistor RP1, the 35 pin of the chip U1 is connected with the 6 pin of the resistor RP1, the 36 pin of the chip U1 is connected with the 5 pin of the resistor RP1, the 37 pin of the chip U1 is connected with the 4 pin of the resistor RP1, the 38 pin of the chip U1 is connected with the 3 pin of the resistor RP1, the 39 pin of the chip U1 is connected with the 2 pin of the resistor RP1, the 40 pin of the chip U1 is connected with the 1 pin of the resistor RP1, the 40 pin of the chip U1 is also connected with the power supply input terminal VCC, and the 32 pin, the 33 pin, the … … pin and the 39 pin of the chip U1 are respectively connected with the display circuit.
2. The timer based on the single chip microcomputer according to claim 1, characterized in that: the decoder circuit is provided with a decoder U2, a pin 1 of a decoder U2 is connected with a power supply input end VCC, a pin 19 of a decoder U2 is grounded, a pin 2 of the decoder U2 is connected with a pin 39 of a chip U1, a pin 3 of the decoder U2 is connected with a pin 38 of a chip U1, a pin 4 of the decoder U2 is connected with a pin 37 of the chip U1, a pin 5 of a decoder U2 is connected with a pin 36 of the chip U1, a pin 6 of the decoder U2 is connected with a pin 35 of the chip U1, a pin 7 of the decoder U2 is connected with a pin 34 of the chip U1, a pin 8 of the decoder U2 is connected with a pin 33 of the chip U1, a pin 9 of the decoder U2 is connected with a pin 32 of the chip U1, and pins 11, 12, … … and 18 of the decoder U2 are respectively connected with a.
3. The timer based on the single chip microcomputer according to claim 2, characterized in that: the key circuit is provided with a key switch K1, a key switch K2 and a key switch K3, wherein a pin 1 of the switch K1 is connected with a pin 2 of the key switch K2, a pin 2 of the key switch K1 is grounded, a pin 3 of the key switch K1 is connected with a pin 10 of the chip U1, a pin 1 of the key switch K2 is connected with a pin 2 of the key switch K3, a pin 3 of the key switch K2 is connected with a pin 11 of the chip U1, and a pin 3 of the key switch K2 is connected with a pin 12 of the chip U1.
4. The timer based on the single chip microcomputer according to claim 3, characterized in that: the display circuit is provided with a display LED1 and a display LED2, a pin 1 of the display LED1 is connected with a pin 14 of a decoder U2, a pin 2 of the display LED1 is connected with a pin 15 of the decoder U2, a pin 3 of the display LED1 is connected with a pin 11 of the decoder U2, a pin 4 of the display LED1 is connected with a pin 16 of the decoder U2, a pin 5 of the display LED2 is connected with a pin 12 of the decoder U2, a pin 6 of the display LED2 is connected with a pin 25 of the decoder U2, a pin 7 of the display LED2 is connected with a pin 28 of the decoder U2, a pin 8 of the display LED2 is connected with a pin 18 of the decoder U2, a pin 9 of the display LED2 is connected with a pin 13 of the decoder U2, a pin 10 of the display LED2 is connected with a pin 27 of the chip U2, a pin 11 of the display LED2 is connected with a pin 26 of the decoder U2, a pin 12 of the display LED2 is connected with a pin 1 of the decoder U2, a pin 2 is connected with a pin 2 of the decoder U2, a pin 2 is connected with a pin of the display LED2, a pin of, pin 3 of the display LED2 is connected to pin 11 of the decoder U2, pin 4 of the display LED2 is connected to pin 16 of the decoder U2, pin 5 of the display LED2 is connected to pin 12 of the decoder U2, pin 6 of the display LED2 is connected to pin 21 of the chip U1, pin 7 of the display LED2 is connected to pin 25 of the chip U1, pin 8 of the display LED2 is connected to pin 18 of the decoder U2, pin 9 of the display LED2 is connected to pin 13 of the decoder U2, pin 10 of the display LED2 is connected to pin 23 of the chip U1, pin 11 of the display LED2 is connected to pin 22 of the chip U1, and pin 12 of the display LED2 is connected to pin 17 of the decoder U2.
5. The timer based on the single chip microcomputer according to claim 4, wherein: the alarm circuit is provided with a resistor R2, a triode Q1 and a buzzer F1, one end of the resistor R2 is connected with a pin 13 of a chip U1, the other end of the resistor R2 is connected with a base electrode of a triode Q1, an emitting electrode of the triode Q1 is connected with one end of the buzzer F1, a collector electrode of the triode Q1 is grounded, and the other end of the buzzer F1 is connected with a power supply input end VCC.
6. The timer based on the single chip microcomputer according to claim 5, wherein: the model of the chip U1 is AT89C51, the resistance values of a resistor R1 and an exclusion RP1 are both 10 kilo-ohms, the capacitance value of a coupling capacitor C1 is 10 microfarads, the capacitance values of a capacitor C2 and a capacitor C3 are both 30 farads, a crystal oscillator Y1 is 12 megahertz, the model of a decoder U2 is 74HC245, the models of a display LED1 and a display LED2 are both 7LEDSMG, the resistance value of a resistor R2 is 2.2 kilo-ohms, the model of a triode Q1 is 9012, and the model of a buzzer F1 is FMQ.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920621646.XU CN209858954U (en) | 2019-05-05 | 2019-05-05 | Timer based on singlechip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920621646.XU CN209858954U (en) | 2019-05-05 | 2019-05-05 | Timer based on singlechip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209858954U true CN209858954U (en) | 2019-12-27 |
Family
ID=68940053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920621646.XU Expired - Fee Related CN209858954U (en) | 2019-05-05 | 2019-05-05 | Timer based on singlechip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209858954U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102021117728A1 (en) | 2020-12-08 | 2022-06-09 | Ningbo Everflourish Smart Technology Corp., Ltd. | timer control circuit |
-
2019
- 2019-05-05 CN CN201920621646.XU patent/CN209858954U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102021117728A1 (en) | 2020-12-08 | 2022-06-09 | Ningbo Everflourish Smart Technology Corp., Ltd. | timer control circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104202034B (en) | A kind of recyclable multi-center selection circuit system | |
CN103426292A (en) | Infrared remote control, infrared code learning method and infrared code emission method | |
CN209858954U (en) | Timer based on singlechip | |
CN103886697A (en) | Reminding device and method of unread messages | |
CN108364599A (en) | A kind of control circuit and method of MCU driving charactron | |
CN201425777Y (en) | Infrared signal learning device | |
CN208754027U (en) | Power supply trigger circuit | |
CN203151786U (en) | Decoration light fixture | |
CN103516552A (en) | State indication method and state indication device of electronic device | |
CN207039557U (en) | Lowering freqyency device based on watchdog chip | |
CN105225377A (en) | A kind of question-and-answer game apparatus | |
CN220586013U (en) | Lithium battery charging indication circuit | |
CN111809967A (en) | Coded lock drive control circuit | |
CN205814675U (en) | A kind of old people's intelligent medicine box | |
CN206849474U (en) | LED display | |
CN214336298U (en) | Nixie tube display circuit | |
CN221205013U (en) | Digital display screen of intelligent water dispenser | |
CN209858953U (en) | Electronic metronome based on single chip microcomputer | |
CN203259808U (en) | Circuit breaker characteristic detection test bed automatic-carry timer | |
CN209789862U (en) | Hand speed measuring device | |
CN215073039U (en) | Flashing circuit of horse race lamp | |
CN204832791U (en) | Electronic clock core alarm clock | |
CN108988437A (en) | Power supply trigger circuit | |
CN218692110U (en) | Intelligent coal washer controller | |
CN214675107U (en) | Time delay driving circuit for small electric appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191227 |