CN209858954U - A timer based on single chip microcomputer - Google Patents

A timer based on single chip microcomputer Download PDF

Info

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
pins
decoder
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
Application number
CN201920621646.XU
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.)
Guangdong Ocean University
Original Assignee
Guangdong Ocean University
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 Guangdong Ocean University filed Critical Guangdong Ocean University
Priority to CN201920621646.XU priority Critical patent/CN209858954U/en
Application granted granted Critical
Publication of CN209858954U publication Critical patent/CN209858954U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

一种基于单片机的定时器,设置有单片机电路、译码器电路、按键电路、显示电路和报警电路,单片机电路分别与译码器电路、按键电路、显示电路和报警电路连接,译码器电路还与显示电路连接。该基于单片机的定时器具有具有时间提示的优点。同时该基于单片机的定时器使用常见的芯片U1、各电路及各电路元器件的连接简单,所以该定时器具有电路简单和成本较低优点。同时该基于单片机的定时器具有准确度高优点。

A timer based on a single-chip microcomputer is provided with a single-chip microcomputer circuit, a decoder circuit, a button circuit, a display circuit and an alarm circuit, and the single-chip computer circuit is respectively connected with the decoder circuit, the button circuit, the display circuit and the alarm circuit, and the decoder circuit It is also connected with the display circuit. The microcontroller-based timer has the advantage of having a time prompt. At the same time, the timer based on the single-chip microcomputer uses a common chip U1, and the connection of each circuit and each circuit component is simple, so the timer has the advantages of simple circuit and low cost. At the same time, the timer based on the single-chip microcomputer has the advantage of high accuracy.

Description

一种基于单片机的定时器A timer based on single chip microcomputer

技术领域technical field

本实用新型涉及定时器领域,特别涉及一种基于单片机的定时器。The utility model relates to the field of timers, in particular to a timer based on a single-chip microcomputer.

背景技术Background technique

定时器被广泛应用于任何电子设备,已经成为人们日常生活中不可少的物品。比如各式各样的闹钟、时间程序自动控制、定时广播、定时开关烘箱和通断设备等,所有具有时间提示功能的备,都要以定时器为基础。但是现有的定时器的电路成本较高且电路复杂。Timers are widely used in any electronic equipment and have become an indispensable item in people's daily life. For example, various alarm clocks, time program automatic control, timing broadcast, timing switch oven and on-off equipment, etc., all equipment with time reminder function should be based on timer. However, the circuit cost of the existing timer is relatively high and the circuit is complicated.

因此,针对现有技术不足,提供一种基于单片机的定时器以克服现有技术不足甚为必要。Therefore, aiming at the deficiencies of the prior art, it is very necessary to provide a timer based on a single-chip microcomputer to overcome the deficiencies of the prior art.

实用新型内容Utility model content

本实用新型的目的在于避免现有技术中的不足之处而提供一种基于单片机的定时器,该基于单片机的定时器具有准确度高、电路简单和成本较低的优点。The purpose of the utility model is to avoid the deficiencies in the prior art and provide a timer based on a single-chip microcomputer. The timer based on a single-chip microcomputer has the advantages of high accuracy, simple circuit and low cost.

本实用新型的上述目的通过如下技术手段实现。The above-mentioned purpose of the utility model is achieved through the following technical means.

提供一种基于单片机的定时器,设置有单片机电路、译码器电路、按键电路、显示电路和报警电路,单片机电路分别与译码器电路、按键电路、显示电路和报警电路连接,译码器电路还与显示电路连接。A timer based on a single-chip microcomputer is provided, which is provided with a single-chip microcomputer circuit, a decoder circuit, a key circuit, a display circuit and an alarm circuit, and 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 The circuit is also connected to the display circuit.

优选的,上述单片机电路设置有的芯片U1、排阻RP1、电阻R1、耦合电容C1、电容C2、电容C3和晶振Y1,芯片U1的10脚、11脚和12脚分别与按键电路连接,芯片U1的13脚与报警电路连接,芯片U1的9脚与耦合电容C1的负极连接,耦合电容C1的正极与电源输入端VCC连接,芯片U1的9脚还串连电阻R1接地,芯片U1的18脚串连电容C2接地,芯片U1的19脚串连电容C3接地,晶振Y1的两端分别与芯片U1的18脚和19脚连接,芯片U1的20脚接地,芯片U1的21脚、22脚、……、28脚分别与显示电路连接,芯片U1的31脚与电源输入端VCC连接,芯片U1的32脚与排阻RP1的9脚连接,芯片U1的33脚与排阻RP1的8脚连接,芯片U1的34脚与排阻RP1的7脚连接,芯片U1的35脚与排阻RP1的6脚连接,芯片U1的36脚与排阻RP1的5脚连接,芯片U1的37脚与排阻RP1的4脚连接,芯片U1的38脚与排阻RP1的3脚连接,芯片U1的39脚与排阻RP1的2脚连接,芯片U1的40脚与排阻RP1的1脚连接,芯片U1的40脚还与电源输入端VCC连接,芯片U1的32脚、33脚、……、39脚分别与显示电路连接。Preferably, the chip U1, the exclusion RP1, the resistor R1, the coupling capacitor C1, the capacitor C2, the capacitor C3 and the crystal oscillator Y1 provided with the above-mentioned single-chip microcomputer circuit, the 10 pins, 11 pins and 12 pins of the chip U1 are respectively connected to the button circuit, and the chip Pin 13 of U1 is connected to the alarm circuit, pin 9 of chip U1 is connected to the negative pole of coupling capacitor C1, the positive pole of coupling capacitor C1 is connected to the power input terminal VCC, pin 9 of chip U1 is also connected in series with resistor R1 to ground, pin 18 of chip U1 The pin series capacitor C2 is grounded, the 19-pin series capacitor C3 of the chip U1 is grounded, the two ends of the crystal oscillator Y1 are respectively connected to the 18-pin and 19-pin of the chip U1, the 20-pin of the chip U1 is grounded, and the 21-pin and 22-pin of the chip U1 , ..., 28 pins are respectively connected to the display circuit, the 31 pin of the chip U1 is connected to the power input terminal VCC, the 32 pin of the chip U1 is connected to the 9 pin of the resistance RP1, the 33 pin of the chip U1 is connected to the 8 pin of the resistance RP1 Connection, the 34 pins of the chip U1 are connected with the 7 pins of the exclusion RP1, the 35 pins of the chip U1 are connected with the 6 pins of the exclusion RP1, the 36 pins of the chip U1 are connected with the 5 pins of the exclusion RP1, the 37 pins of the chip U1 are connected with the The 4 pins of the exclusion RP1 are connected, the 38 pins of the chip U1 are connected with the 3 pins of the exclusion RP1, the 39 pins of the chip U1 are connected with the 2 pins of the exclusion RP1, the 40 pins of the chip U1 are connected with the 1 pin of the exclusion RP1, Pin 40 of the chip U1 is also connected to the power input terminal VCC, and pins 32, 33, . . . , 39 of the chip U1 are respectively connected to the display circuit.

优选的,上述译码器电路设置有译码器U2,译码器U2的1脚与电源输入端VCC连接,译码器U2的19脚接地,译码器U2的2脚与芯片U1的39脚连接,译码器U2的3脚与芯片U1的38脚连接,译码器U2的4脚与芯片U1的37脚连接,译码器U2的5脚与芯片U1的36脚连接,译码器U2的6脚与芯片U1的35脚连接,译码器U2的7脚与芯片U1的34脚连接,译码器U2的8脚与芯片U1的33脚连接,译码器U2的9脚与芯片U1的32脚连接,译码器U2的11脚、12脚、……、18脚分别与显示电路连接。Preferably, the above-mentioned decoder circuit is provided with a decoder U2, the 1 pin of the decoder U2 is connected to the power input terminal VCC, the 19 pin of the decoder U2 is grounded, and the 2 pin of the decoder U2 is connected to the 39 pin of the chip U1. pin connection, the 3 pins of the decoder U2 are connected with the 38 pins of the chip U1, the 4 pins of the decoder U2 are connected with the 37 pins of the chip U1, the 5 pins of the decoder U2 are connected with the 36 pins of the chip U1, and the decoding Pin 6 of U2 is connected to pin 35 of chip U1, pin 7 of decoder U2 is connected to pin 34 of chip U1, pin 8 of decoder U2 is connected to pin 33 of chip U1, pin 9 of decoder U2 It is connected with the 32-pin of the chip U1, and the 11-pin, 12-pin, ..., 18-pin of the decoder U2 are respectively connected with the display circuit.

优选的,上述按键电路设置有按键开关K1、按键开关K2和按键开关K3,开关K1的1脚与按键开关K2的2脚连接,按键开关K1的2脚接地,按键开关K1的3脚与芯片U1的10脚连接,按键开关K2的1脚与按键开关K3的2脚连接,按键开关K2的3脚与芯片U1的11脚连接,按键开关K2的3脚与芯片U1的12脚连接。Preferably, the key switch circuit is provided with a key switch K1, a key switch K2 and a key switch K3, pin 1 of the switch K1 is connected to 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 to the chip Pin 10 of U1 is connected, pin 1 of key switch K2 is connected with pin 2 of key switch K3, pin 3 of key switch K2 is connected with pin 11 of chip U1, pin 3 of key switch K2 is connected with pin 12 of chip U1.

优选的,上述显示电路设置有显示器LED1和显示器LED2,显示器LED1的1脚与译码器U2的14脚连接,显示器LED1的2脚与译码器U2的15脚连接,显示器LED1的3脚与译码器U2的11脚连接,显示器LED1的4脚与译码器U2的16脚连接,显示器LED1的5脚与译码器U2的12脚连接,显示器LED1的6脚与芯片U1的25脚连接,显示器LED1的7脚与芯片U1的28脚连接,显示器LED1的8脚与译码器U2的18脚连接,显示器LED1的9脚与译码器U2的13脚连接,显示器LED1的10脚与芯片U1的27脚连接,显示器LED1的11脚与芯片U1的26脚连接,显示器LED1的12脚与译码器U2的17脚连接,显示器LED2的1脚与译码器U2的14脚连接,显示器LED2的2脚与译码器U2的15脚连接,显示器LED2的3脚与译码器U2的11脚连接,显示器LED2的4脚与译码器U2的16脚连接,显示器LED2的5脚与译码器U2的12脚连接,显示器LED2的6脚与芯片U1的21脚连接,显示器LED2的7脚与芯片U1的25脚连接,显示器LED2的8脚与译码器U2的18脚连接,显示器LED2的9脚与译码器U2的13脚连接,显示器LED2的10脚与芯片U1的23脚连接,显示器LED2的11脚与芯片U1的22脚连接,显示器LED2的12脚与译码器U2的17脚连接。Preferably, the above-mentioned display circuit is provided with display LED1 and display LED2, 1 pin of display LED1 is connected with 14 pins of decoder U2, 2 pins of display LED1 are connected with 15 pins of decoder U2, 3 pins of display LED1 are connected with The 11-pin connection of the decoder U2, the 4-pin connection of the display LED1 and the 16-pin connection of the decoder U2, the 5-pin connection of the display LED1 and the 12-pin connection of the decoder U2, the 6-pin connection of the display LED1 and the 25-pin chip U1 Connection, the 7 pins of the display LED1 are connected with the 28 pins of the chip U1, the 8 pins of the display LED1 are connected with the 18 pins of the decoder U2, the 9 pins of the display LED1 are connected with the 13 pins of the decoder U2, and the 10 pins of the display LED1 Connect with pin 27 of chip U1, connect pin 11 of display LED1 with pin 26 of chip U1, connect pin 12 of display LED1 with pin 17 of decoder U2, connect pin 1 of display LED2 with pin 14 of decoder U2 , the 2 pins of the display LED2 are connected with the 15 pins of the decoder U2, the 3 pins of the display LED2 are connected with the 11 pins of the decoder U2, the 4 pins of the display LED2 are connected with the 16 pins of the decoder U2, the 5 pins of the display LED2 Pin 12 of the decoder U2 is connected, 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 Connection, the 9 pins of the display LED2 are connected with the 13 pins of the decoder U2, the 10 pins of the display LED2 are connected with the 23 pins of the chip U1, the 11 pins of the display LED2 are connected with the 22 pins of the chip U1, the 12 pins of the display LED2 are connected with the translator The 17-pin connection of encoder U2.

优选的,上述报警电路设置有电阻R2、三极管Q1和蜂鸣器F1,电阻R2的一端与芯片U1的13脚连接,电阻R2的另一端与三极管Q1的基极连接,三极管Q1的发射极与蜂鸣器F1的一端连接,三极管Q1的集电极接地,蜂鸣器F1的另一端与电源输入端VCC连接。Preferably, the above-mentioned alarm circuit is provided with a resistor R2, a transistor Q1 and a buzzer F1, one end of the resistor R2 is connected to pin 13 of the chip U1, the other end of the resistor R2 is connected to the base of the transistor Q1, and the emitter of the transistor Q1 is connected to the base of the transistor Q1. One end of the buzzer F1 is connected, the collector of the transistor Q1 is grounded, and the other end of the buzzer F1 is connected to the power input terminal VCC.

优选的,上述芯片U1的型号为AT89C51,电阻R1和排阻RP1的电阻值都为10千欧,耦合电容C1的电容值为10微法,电容C2和电容C3的电容值都为30法,晶振Y1为12兆赫兹,译码器U2的型号为74HC245,显示器LED1和显示器LED2的型号都为7LEDSMG,电阻R2的电阻值为2.2千欧,三极管Q1的型号为9012,蜂鸣器F1的型号为FMQ。Preferably, the model of the above-mentioned chip U1 is AT89C51, the resistance values of the resistor R1 and the exclusion RP1 are both 10 kΩ, the capacitance value of the coupling capacitor C1 is 10 microfarads, and the capacitance values of the capacitor C2 and the capacitor C3 are both 30 farads. The crystal oscillator Y1 is 12 MHz, the model of the decoder U2 is 74HC245, the models of the display LED1 and the display LED2 are both 7LEDSMG, the resistance value of the resistor R2 is 2.2 kΩ, the model of the transistor Q1 is 9012, and the model of the buzzer F1 for FMQ.

本实用新型的一种基于单片机的定时器,设置有单片机电路、译码器电路、按键电路、显示电路和报警电路,单片机电路分别与译码器电路、按键电路、显示电路和报警电路连接,译码器电路还与显示电路连接。该基于单片机的定时器具有具有时间提示的优点。同时该基于单片机的定时器使用常见的芯片U1、各电路及各电路元器件的连接简单,所以该定时器具有电路简单和成本较低优点。同时该基于单片机的定时器具有准确度高优点。A kind of timer based on single-chip microcomputer of the present utility model is provided with single-chip microcomputer circuit, decoder circuit, button circuit, display circuit and alarm circuit, and single-chip computer circuit is connected with decoder circuit, button circuit, display circuit and alarm circuit respectively, The decoder circuit is also connected with the display circuit. The microcontroller-based timer has the advantage of having a time prompt. At the same time, the timer based on the single-chip microcomputer uses a common chip U1, and the connection of each circuit and each circuit component is simple, so the timer has the advantages of simple circuit and low cost. At the same time, the timer based on the single-chip microcomputer has the advantage of high accuracy.

附图说明Description of drawings

利用附图对本实用新型作进一步的说明,但附图中的内容不构成对本实用新型的任何限制。Utilize accompanying drawing to further illustrate the utility model, but the content in the accompanying drawing does not constitute any limitation to the utility model.

图1为一种基于单片机的定时器电路的示意图。Fig. 1 is a schematic diagram of a timer circuit based on a microcontroller.

图2为单片机电路的示意图。Figure 2 is a schematic diagram of the microcontroller circuit.

图3为译码器电路的示意图。FIG. 3 is a schematic diagram of a decoder circuit.

图4为按键电路的示意图。FIG. 4 is a schematic diagram of a button circuit.

图5为显示电路的示意图。Figure 5 is a schematic diagram of the display circuit.

图6为报警电路的示意图。Figure 6 is a schematic diagram of the alarm circuit.

图1至图6中,包括有:Figures 1 to 6 include:

单片机电路1、译码器电路2、按键电路3、显示电路4和报警电路5。SCM circuit 1, decoder circuit 2, button circuit 3, display circuit 4 and alarm circuit 5.

具体实施方式Detailed ways

结合以下实施例对本实用新型作进一步描述。The utility model is further described in conjunction with the following examples.

实施例1。Example 1.

一种基于单片机的定时器,如图1-6所示,设置有单片机电路1、译码器电路2、按键电路3、显示电路4和报警电路5,单片机电路1分别与译码器电路2、按键电路3、显示电路4和报警电路5连接,译码器电路2还与显示电路4连接。A timer based on a single-chip microcomputer, as shown in Figure 1-6, is provided with a single-chip microcomputer circuit 1, a decoder circuit 2, a button circuit 3, a display circuit 4 and an alarm circuit 5, and the single-chip microcomputer circuit 1 is connected to the decoder circuit 2 respectively. , button circuit 3, display circuit 4 and alarm circuit 5 are connected, and decoder circuit 2 is also connected with display circuit 4.

单片机电路1设置有的芯片U1、排阻RP1、电阻R1、耦合电容C1、电容C2、电容C3和晶振Y1,芯片U1的10脚、11脚和12脚分别与按键电路3连接,芯片U1的13脚与报警电路5连接,芯片U1的9脚与耦合电容C1的负极连接,耦合电容C1的正极与电源输入端VCC连接,芯片U1的9脚还串连电阻R1接地,芯片U1的18脚串连电容C2接地,芯片U1的19脚串连电容C3接地,晶振Y1的两端分别与芯片U1的18脚和19脚连接,芯片U1的20脚接地,芯片U1的21脚、22脚、……、28脚分别与显示电路4连接,芯片U1的31脚与电源输入端VCC连接,芯片U1的32脚与排阻RP1的9脚连接,芯片U1的33脚与排阻RP1的8脚连接,芯片U1的34脚与排阻RP1的7脚连接,芯片U1的35脚与排阻RP1的6脚连接,芯片U1的36脚与排阻RP1的5脚连接,芯片U1的37脚与排阻RP1的4脚连接,芯片U1的38脚与排阻RP1的3脚连接,芯片U1的39脚与排阻RP1的2脚连接,芯片U1的40脚与排阻RP1的1脚连接,芯片U1的40脚还与电源输入端VCC连接,芯片U1的32脚、33脚、……、39脚分别与显示电路4连接。The single chip microcomputer circuit 1 is provided with a chip U1, an exclusion RP1, 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 to the button circuit 3, and the pins of the chip U1 Pin 13 is connected to alarm circuit 5, pin 9 of chip U1 is connected to the negative pole of coupling capacitor C1, and the positive pole of coupling capacitor C1 is connected to power input terminal VCC. The series capacitor C2 is grounded, the 19-pin series capacitor C3 of the chip U1 is grounded, the two ends of the crystal oscillator Y1 are respectively connected to the 18-pin and 19-pin of the chip U1, the 20-pin of the chip U1 is grounded, the 21-pin, 22-pin, ..., 28 pins are respectively connected to the display circuit 4, the 31 pin of the chip U1 is connected to the power input terminal VCC, the 32 pin of the chip U1 is connected to the 9 pin of the resistance RP1, the 33 pin of the chip U1 is connected to the 8 pin of the resistance RP1 Connection, the 34 pins of the chip U1 are connected with the 7 pins of the exclusion RP1, the 35 pins of the chip U1 are connected with the 6 pins of the exclusion RP1, the 36 pins of the chip U1 are connected with the 5 pins of the exclusion RP1, the 37 pins of the chip U1 are connected with the The 4 pins of the exclusion RP1 are connected, the 38 pins of the chip U1 are connected with the 3 pins of the exclusion RP1, the 39 pins of the chip U1 are connected with the 2 pins of the exclusion RP1, the 40 pins of the chip U1 are connected with the 1 pin of the exclusion RP1, Pin 40 of the chip U1 is also connected to the power input terminal VCC, and pins 32, 33, . . . , 39 of the chip U1 are connected to the display circuit 4 respectively.

译码器电路2设置有译码器U2,译码器U2的1脚与电源输入端VCC连接,译码器U2的19脚接地,译码器U2的2脚与芯片U1的39脚连接,译码器U2的3脚与芯片U1的38脚连接,译码器U2的4脚与芯片U1的37脚连接,译码器U2的5脚与芯片U1的36脚连接,译码器U2的6脚与芯片U1的35脚连接,译码器U2的7脚与芯片U1的34脚连接,译码器U2的8脚与芯片U1的33脚连接,译码器U2的9脚与芯片U1的32脚连接,译码器U2的11脚、12脚、……、18脚分别与显示电路4连接。The decoder circuit 2 is provided with a decoder U2, the 1 pin of the decoder U2 is connected to the power input terminal VCC, the 19 pin of the decoder U2 is grounded, the 2 pin of the decoder U2 is connected to the 39 pin of the chip U1, Pin 3 of decoder U2 is connected to pin 38 of chip U1, pin 4 of decoder U2 is connected to pin 37 of chip U1, pin 5 of decoder U2 is connected to pin 36 of chip U1, and pin 4 of decoder U2 is connected to pin 36 of chip U1. Pin 6 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 the chip U1 The 32 pins of the decoder U2 are connected, and the 11 pins, 12 pins, ..., 18 pins of the decoder U2 are respectively connected with the display circuit 4.

按键电路3设置有按键开关K1、按键开关K2和按键开关K3,开关K1的1脚与按键开关K2的2脚连接,按键开关K1的2脚接地,按键开关K1的3脚与芯片U1的10脚连接,按键开关K2的1脚与按键开关K3的2脚连接,按键开关K2的3脚与芯片U1的11脚连接,按键开关K2的3脚与芯片U1的12脚连接。The key circuit 3 is provided with a key switch K1, a key switch K2 and a key switch K3, the 1 pin of the switch K1 is connected with the 2 pin of the key switch K2, the 2 pin of the key switch K1 is grounded, the 3 pin of the key switch K1 is connected with the 10 pin of the chip U1 Pin connection, pin 1 of key switch K2 is connected with pin 2 of key switch K3, pin 3 of key switch K2 is connected with pin 11 of chip U1, pin 3 of key switch K2 is connected with pin 12 of chip U1.

显示电路4设置有显示器LED1和显示器LED2,显示器LED1的1脚与译码器U2的14脚连接,显示器LED1的2脚与译码器U2的15脚连接,显示器LED1的3脚与译码器U2的11脚连接,显示器LED1的4脚与译码器U2的16脚连接,显示器LED1的5脚与译码器U2的12脚连接,显示器LED1的6脚与芯片U1的25脚连接,显示器LED1的7脚与芯片U1的28脚连接,显示器LED1的8脚与译码器U2的18脚连接,显示器LED1的9脚与译码器U2的13脚连接,显示器LED1的10脚与芯片U1的27脚连接,显示器LED1的11脚与芯片U1的26脚连接,显示器LED1的12脚与译码器U2的17脚连接,显示器LED2的1脚与译码器U2的14脚连接,显示器LED2的2脚与译码器U2的15脚连接,显示器LED2的3脚与译码器U2的11脚连接,显示器LED2的4脚与译码器U2的16脚连接,显示器LED2的5脚与译码器U2的12脚连接,显示器LED2的6脚与芯片U1的21脚连接,显示器LED2的7脚与芯片U1的25脚连接,显示器LED2的8脚与译码器U2的18脚连接,显示器LED2的9脚与译码器U2的13脚连接,显示器LED2的10脚与芯片U1的23脚连接,显示器LED2的11脚与芯片U1的22脚连接,显示器LED2的12脚与译码器U2的17脚连接。The display circuit 4 is provided with a display LED1 and a display LED2, the 1 pin of the display LED1 is connected with the 14 pin of the decoder U2, the 2 pins of the display LED1 are connected with the 15 pin of the decoder U2, and the 3 pins of the display LED1 are connected with the decoder U2 Connect pin 11 of U2, pin 4 of display LED1 connects pin 16 of decoder U2, pin 5 of display LED1 connects pin 12 of decoder U2, pin 6 of display LED1 connects pin 25 of chip U1, display Pin 7 of LED1 is connected to pin 28 of the chip U1, pin 8 of the display LED1 is connected to pin 18 of the decoder U2, pin 9 of the display LED1 is connected to pin 13 of the decoder U2, pin 10 of the display LED1 is connected to the chip U1 The 27-pin connection of the display LED1 is connected with the 26-pin of the chip U1, the 12-pin of the display LED1 is connected with the 17-pin of the decoder U2, the 1-pin of the display LED2 is connected with the 14-pin of the decoder U2, and the display LED2 Pin 2 of the display is connected to pin 15 of the decoder U2, 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 the decoder U2 The 12-pin connection of the encoder U2, the 6-pin connection of the display LED2 and the 21-pin connection of the chip U1, the 7-pin connection of the display LED2 and the 25-pin connection of the chip U1, the 8-pin connection of the display LED2 and the 18-pin connection of the decoder U2, the display Pin 9 of LED2 is connected to pin 13 of decoder U2, pin 10 of display LED2 is connected to pin 23 of chip U1, pin 11 of display LED2 is connected to pin 22 of chip U1, pin 12 of display LED2 is connected to decoder U2 The 17-pin connection.

报警电路5设置有电阻R2、三极管Q1和蜂鸣器F1,电阻R2的一端与芯片U1的13脚连接,电阻R2的另一端与三极管Q1的基极连接,三极管Q1的发射极与蜂鸣器F1的一端连接,三极管Q1的集电极接地,蜂鸣器F1的另一端与电源输入端VCC连接。The alarm circuit 5 is provided with a resistor R2, a transistor Q1 and a buzzer F1, one end of the resistor R2 is connected to pin 13 of the chip U1, the other end of the resistor R2 is connected to the base of the transistor Q1, and the emitter of the transistor Q1 is connected to the buzzer. One end of F1 is connected, the collector of transistor Q1 is grounded, and the other end of buzzer F1 is connected to power input terminal VCC.

本实用新型的蜂鸣器F1的发声原理为电流通过电磁线圈,当电磁线圈产生磁场就能驱动振动膜发声,因此需要在蜂鸣器F1使用电流来驱动,芯片U1的IO口引脚输出的电流比较小,芯片U1输出的TTL电平正常是不足以驱动蜂鸣器,所以本实用新型增加一个电流放大的电路,具体为通过一个三极管Q1放大驱动蜂鸣器。三极管Q1的基极经过限流电阻R12后由芯片U1的P3.7引脚控制,P3.7接低电平的时候,三极管Q1会处于导通状态,蜂鸣器的电流会形成回路,此时会发出声音;当P3.7接高电平的时候,此时被截流,也就是没有电流留过线圈,这个时候蜂鸣器是不会发声的。所以,这个可以通过控制P3.7的电平让蜂鸣器发出和关闭声音了。The sounding principle of the buzzer F1 of the utility model is that the current passes through the electromagnetic coil, and when the electromagnetic coil generates a magnetic field, the vibrating membrane can be driven to sound, so the buzzer F1 needs to be driven by current, and the output of the IO port pin of the chip U1 The current is relatively small, and the normal TTL level output by the chip U1 is not enough to drive the buzzer, so the utility model adds a current amplifying circuit, specifically through a triode Q1 to amplify and drive the buzzer. The base of the transistor Q1 is controlled by the P3.7 pin of the chip U1 after passing through the current limiting resistor R12. It will make a sound; when P3.7 is connected to a high level, the current is cut off at this time, that is, there is no current flowing through the coil, and the buzzer will not make a sound at this time. Therefore, this can make the buzzer sound on and off by controlling the level of P3.7.

本实用新型的74HC245译码器为高性能的存贮译码,同时也可以作为一个延时短的数据传输系统,它的译码性能较高。高速存贮器快速赋能电路的时候,那么延迟时间和赋能时间一般都会小于存贮器存取时间,所以有些系统时间可以忽略不计。The 74HC245 decoder of the utility model is high-performance storage decoding, and can also be used as a data transmission system with short delay, and its decoding performance is high. When the high-speed memory enables the circuit quickly, the delay time and enabling time are generally less than the memory access time, so some system times can be ignored.

显示电路4是由若干个发光的二极管组成。“8”这个数字是有七段LED构成的,小数点是通过一个发光二极管显示。每段LED分别引出一个电极,电极的名为a、b、c、d、e、f、g、dp,其中dp是小数点段引出的电极,二极管导通时相应的就会亮起来。本实用新型的显示电路4为数码管。其中数码管有两种接法,共阳极接法和共阴极接法。二极管中的阴极连在一起叫做共阴极,此时阴极接低电平时,二极管会亮,二极管中的阳极连在一起叫做共阳极,此时阳极接高电平时,二极管会亮。LED显示数码管通常由硬件7段译码集成电路,完成从数字到显示码的译码驱动。本实用新型将型号为STC89C52的芯片U1的P0.0~P0.7分别与四位共阳极码管的a~g及dp相连,接低电平的数码管变暗时,接高电位的数码管变亮时,从而实现显示电路4的控制。The display circuit 4 is made up of several light-emitting diodes. The number "8" is composed of seven segments of LEDs, and the decimal point is displayed through a light-emitting diode. Each segment of LED leads to an electrode respectively, and the names of the electrodes are a, b, c, d, e, f, g, dp, where dp is the electrode led out of the decimal point segment, and the corresponding one will light up when the diode is turned on. The display circuit 4 of the present utility model is a digital tube. Among them, the digital tube has two connection methods, common anode connection and common cathode connection. The cathodes of the diodes connected together are called common cathodes. At this time, when the cathodes are connected to a low level, the diode will light up. The anodes in the diodes are connected together to be called a common anode. LED display digital tubes are usually driven by hardware 7-segment decoding integrated circuits to complete the decoding from numbers to display codes. The utility model connects P0.0-P0.7 of the chip U1 of the model STC89C52 with the a-g and dp of the four common anode code tubes respectively, and when the digital tubes of low level are darkened, the digital tubes of high potential are connected. When the tube becomes bright, the control of the display circuit 4 is realized.

按键电路3的三个按键开关都是独立按键。它们之间相互没有制约关系,用I/O口线构成的单个按键电路3,一根I/O口线只能接一个按键。The three key switches of the key circuit 3 are all independent keys. There is no restrictive relationship between them, and the single key circuit 3 formed by I/O lines can only be connected to one key.

本实用新型的工作原理如下:电源模块为该基于单片机的定时器提供电源,用户通过按键电路3对单片机电路1进行定时设置,单片机电路1启动计时,单片机电路1通过译码器在显示电路4中显示出实时剩余的时间,当设定的时间到达后,单片机电路1通过报警电路5发出提示信号。The working principle of the present utility model is as follows: the power supply module provides power for the timer based on the single-chip microcomputer, the user carries out timing setting to the single-chip microcomputer circuit 1 through the button circuit 3, the single-chip microcomputer circuit 1 starts timing, and the single-chip microcomputer circuit 1 is displayed on the display circuit 4 through the decoder. The real-time remaining time is displayed in , and when the set time arrives, the single-chip microcomputer circuit 1 sends a prompt signal through the alarm circuit 5 .

本实用新型的定时器的定时功能是通过单片机电路1实现的,因为单片机电路1具有一个12MHz的晶振,这个晶振即每经过1个机器周期的时间,则计数频率为1MHz,由此就可以计算出定时的时间。The timing function of the timer of the present utility model is realized by the single-chip microcomputer circuit 1, because the single-chip microcomputer circuit 1 has a 12MHz crystal oscillator, and this crystal oscillator promptly passes through the time of 1 machine cycle, then the counting frequency is 1MHz, thus just can calculate out of time.

经多次仿真实验验证,本实用新型的基于单片机的定时器与现有技术的定时器相比,定时误差率较小。且本实用新型仅设置有5个电路且每个电路的电子元器件总数较少,因此在焊接时本实用新型的定时器花费的时间较少,所以本实用新型的基于单片机的定时器还具有电路连接简单成本较低的优点。It has been verified by multiple simulation experiments that the timing error rate of the timer based on the single-chip microcomputer of the utility model is smaller than that of the prior art. And the utility model is only provided with 5 circuits and the total number of electronic components of each circuit is less, so the timer of the utility model spends less time when welding, so the timer based on the single-chip microcomputer of the utility model also has The advantages of simple circuit connection and low cost.

该基于单片机的定时器,设置有单片机电路1、译码器电路2、按键电路3、显示电路4和报警电路5,单片机电路1分别与译码器电路2、按键电路3、显示电路4和报警电路5连接,译码器电路2还与显示电路4连接。该基于单片机的定时器具有具有时间提示的优点。同时该基于单片机的定时器使用常见的芯片U1、各电路及各电路元器件的连接简单,所以该定时器具有电路简单和成本较低优点。同时该基于单片机的定时器具有准确度高优点。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, and the single-chip microcomputer circuit 1 is respectively connected with the decoder circuit 2, the key circuit 3, the display circuit 4 and the The alarm circuit 5 is connected, and the decoder circuit 2 is also connected with the display circuit 4 . The microcontroller-based timer has the advantage of having a time prompt. At the same time, the timer based on the single-chip microcomputer uses a common chip U1, and the connection of each circuit and each circuit component is simple, so the timer has the advantages of simple circuit and low cost. At the same time, the timer based on the single-chip microcomputer has the advantage of high accuracy.

实施例2。Example 2.

一种基于单片机的定时器,其他特征与实施例1相同,不同之处在于:芯片U1的型号为AT89C51,电阻R1和排阻RP1的电阻值都为10千欧,耦合电容C1的电容值为10微法,电容C2和电容C3的电容值都为30法,晶振Y1为12兆赫兹,译码器U2的型号为74HC245,显示器LED1和显示器LED2的型号都为7LEDSMG,电阻R2的电阻值为2.2千欧,三极管Q1的型号为9012,蜂鸣器F1的型号为FMQ。A timer based on a single-chip microcomputer, other features are the same as in Embodiment 1, the difference is that the model of the chip U1 is AT89C51, the resistance value of the resistor R1 and the resistance RP1 are both 10 kilohms, and the capacitance value of the coupling capacitor C1 is 10 microfarads, the capacitance value of capacitor C2 and capacitor C3 is 30 farads, the crystal oscillator Y1 is 12 MHz, the model of decoder U2 is 74HC245, the model of display LED1 and display LED2 are both 7LEDSMG, and the resistance value of resistor R2 is 2.2 kohms, the model of transistor Q1 is 9012, and the model of buzzer F1 is FMQ.

本实用新型使用74HC245译码器的能够接受3位的二进制加权来输入地址,并且在供能时,译码器提供了八个互斥的低输出(Y0至Y7)。74HC245译码器特有的三个输入端:两个脚底有效输入端和一个脚高有效输入端。充分利用他的复合使能特性,即可以轻松完成和扩展。The utility model uses a 74HC245 decoder that can accept 3-bit binary weighting to input addresses, and when power is supplied, the decoder provides eight mutually exclusive low outputs (Y0 to Y7). The 74HC245 decoder has three unique input terminals: two valid input terminals for the bottom of the feet and one effective input terminal for the high feet. Take full advantage of his composite enabling features, which can be easily completed and extended.

该基于单片机的定时器,设置有单片机电路1、译码器电路2、按键电路3、显示电路4和报警电路5,单片机电路1分别与译码器电路2、按键电路3、显示电路4和报警电路5连接,译码器电路2还与显示电路4连接。该基于单片机的定时器具有电路简单和成本较低优点。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, and the single-chip microcomputer circuit 1 is respectively connected with the decoder circuit 2, the key circuit 3, the display circuit 4 and the The alarm circuit 5 is connected, and the decoder circuit 2 is also connected with the display circuit 4 . The microcontroller-based timer has the advantages of simple circuit and low cost.

最后应当说明的是,以上实施例仅用以说明本实用新型的技术方案而非对本实用新型保护范围的限制,尽管参照较佳实施例对本实用新型作了详细说明,本领域的普通技术人员应当理解,可以对本实用新型的技术方案进行修改或者等同替换,而不脱离本实用新型技术方案的实质和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present utility model rather than limiting the protection scope of the present utility model. Although the utility model has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should It is understood that the technical solution of the utility model can be modified or equivalently replaced without departing from the essence and scope of the technical solution of the utility model.

Claims (6)

1.一种基于单片机的定时器,其特征在于:设置有单片机电路、译码器电路、按键电路、显示电路和报警电路,单片机电路分别与译码器电路、按键电路、显示电路和报警电路连接,译码器电路还与显示电路连接;1. a timer based on single-chip microcomputer, it is characterized in that: be provided with single-chip microcomputer circuit, decoder circuit, button circuit, display circuit and alarm circuit, single-chip computer circuit is respectively connected with decoder circuit, button circuit, display circuit and alarm circuit connected, the decoder circuit is also connected with the display circuit; 所述单片机电路设置有的芯片U1、排阻RP1、电阻R1、耦合电容C1、电容C2、电容C3和晶振Y1,芯片U1的10脚、11脚和12脚分别与按键电路连接,芯片U1的13脚与报警电路连接,芯片U1的9脚与耦合电容C1的负极连接,耦合电容C1的正极与电源输入端VCC连接,芯片U1的9脚还串连电阻R1接地,芯片U1的18脚串连电容C2接地,芯片U1的19脚串连电容C3接地,晶振Y1的两端分别与芯片U1的18脚和19脚连接,芯片U1的20脚接地,芯片U1的21脚、22脚、……、28脚分别与显示电路连接,芯片U1的31脚与电源输入端VCC连接,芯片U1的32脚与排阻RP1的9脚连接,芯片U1的33脚与排阻RP1的8脚连接,芯片U1的34脚与排阻RP1的7脚连接,芯片U1的35脚与排阻RP1的6脚连接,芯片U1的36脚与排阻RP1的5脚连接,芯片U1的37脚与排阻RP1的4脚连接,芯片U1的38脚与排阻RP1的3脚连接,芯片U1的39脚与排阻RP1的2脚连接,芯片U1的40脚与排阻RP1的1脚连接,芯片U1的40脚还与电源输入端VCC连接,芯片U1的32脚、33脚、……、39脚分别与显示电路连接。The chip U1, the exclusion RP1, the resistor R1, the coupling capacitor C1, the capacitor C2, the capacitor C3 and the crystal oscillator Y1 provided with the single-chip microcomputer circuit, the 10 pins, 11 pins and 12 pins of the chip U1 are respectively connected with the button circuit, and the chip U1 Pin 13 is connected to the alarm circuit, pin 9 of the chip U1 is connected to the negative pole of the coupling capacitor C1, the positive pole of the coupling capacitor C1 is connected to the power input terminal VCC, pin 9 of the chip U1 is also connected in series with a resistor R1 to ground, pin 18 of the chip U1 is connected in series The capacitor C2 is grounded, the 19-pin series capacitor C3 of the chip U1 is grounded, the two ends of the crystal oscillator Y1 are respectively connected to the 18-pin and 19-pin of the chip U1, the 20-pin of the chip U1 is grounded, and the 21-pin, 22-pin, ... ..., 28 pins are respectively connected to the display circuit, the 31 pin of the chip U1 is connected to the power input terminal VCC, the 32 pin of the chip U1 is connected to the 9 pin of the resistance RP1, the 33 pin of the chip U1 is connected to the 8 pin of the resistance RP1, Pin 34 of chip U1 is connected to pin 7 of RP1, pin 35 of chip U1 is connected to pin 6 of RP1, pin 36 of chip U1 is connected to pin 5 of RP1, pin 37 of chip U1 is connected to pin 6 of RP1 The 4 pins of RP1 are connected, the 38 pins of the chip U1 are connected with the 3 pins of the exclusion RP1, the 39 pins of the chip U1 are connected with the 2 pins of the exclusion RP1, the 40 pins of the chip U1 are connected with the 1 pins of the exclusion RP1, and the chip U1 Pin 40 of the chip U1 is also connected to the power input terminal VCC, and pins 32, 33, ..., 39 of the chip U1 are respectively connected to the display circuit. 2.根据权利要求1所述的一种基于单片机的定时器,其特征在于:所述译码器电路设置有译码器U2,译码器U2的1脚与电源输入端VCC连接,译码器U2的19脚接地,译码器U2的2脚与芯片U1的39脚连接,译码器U2的3脚与芯片U1的38脚连接,译码器U2的4脚与芯片U1的37脚连接,译码器U2的5脚与芯片U1的36脚连接,译码器U2的6脚与芯片U1的35脚连接,译码器U2的7脚与芯片U1的34脚连接,译码器U2的8脚与芯片U1的33脚连接,译码器U2的9脚与芯片U1的32脚连接,译码器U2的11脚、12脚、……、18脚分别与显示电路连接。2. A kind of timer based on single-chip microcomputer according to claim 1, it is characterized in that: described decoder circuit is provided with decoder U2, and 1 foot of decoder U2 is connected with power supply input terminal VCC, decoding 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 Connection, the 5 pins of the decoder U2 are connected with the 36 pins of the chip U1, the 6 pins of the decoder U2 are connected with the 35 pins of the chip U1, the 7 pins of the decoder U2 are connected with the 34 pins of the chip U1, the decoder Pin 8 of 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, pins 11, 12, ..., 18 of the decoder U2 are respectively connected to the display circuit. 3.根据权利要求2所述的一种基于单片机的定时器,其特征在于:所述按键电路设置有按键开关K1、按键开关K2和按键开关K3,开关K1的1脚与按键开关K2的2脚连接,按键开关K1的2脚接地,按键开关K1的3脚与芯片U1的10脚连接,按键开关K2的1脚与按键开关K3的2脚连接,按键开关K2的3脚与芯片U1的11脚连接,按键开关K2的3脚与芯片U1的12脚连接。3. A kind of timer based on single-chip microcomputer according to claim 2, it is characterized in that: described key circuit is provided with key switch K1, key switch K2 and key switch K3, 1 foot of switch K1 and 2 pins of key switch K2 Pin connection, pin 2 of key switch K1 is grounded, pin 3 of key switch K1 is connected to pin 10 of chip U1, pin 1 of key switch K2 is connected to pin 2 of key switch K3, pin 3 of key switch K2 is connected to pin 1 of chip U1 The 11 pins are connected, and the 3 pins of the key switch K2 are connected with the 12 pins of the chip U1. 4.根据权利要求3所述的一种基于单片机的定时器,其特征在于:所述显示电路设置有显示器LED1和显示器LED2,显示器LED1的1脚与译码器U2的14脚连接,显示器LED1的2脚与译码器U2的15脚连接,显示器LED1的3脚与译码器U2的11脚连接,显示器LED1的4脚与译码器U2的16脚连接,显示器LED1的5脚与译码器U2的12脚连接,显示器LED1的6脚与芯片U1的25脚连接,显示器LED1的7脚与芯片U1的28脚连接,显示器LED1的8脚与译码器U2的18脚连接,显示器LED1的9脚与译码器U2的13脚连接,显示器LED1的10脚与芯片U1的27脚连接,显示器LED1的11脚与芯片U1的26脚连接,显示器LED1的12脚与译码器U2的17脚连接,显示器LED2的1脚与译码器U2的14脚连接,显示器LED2的2脚与译码器U2的15脚连接,显示器LED2的3脚与译码器U2的11脚连接,显示器LED2的4脚与译码器U2的16脚连接,显示器LED2的5脚与译码器U2的12脚连接,显示器LED2的6脚与芯片U1的21脚连接,显示器LED2的7脚与芯片U1的25脚连接,显示器LED2的8脚与译码器U2的18脚连接,显示器LED2的9脚与译码器U2的13脚连接,显示器LED2的10脚与芯片U1的23脚连接,显示器LED2的11脚与芯片U1的22脚连接,显示器LED2的12脚与译码器U2的17脚连接。4. A kind of timer based on single-chip microcomputer according to claim 3, it is characterized in that: described display circuit is provided with display LED1 and display LED2, and 1 pin of display LED1 is connected with 14 pins of decoder U2, and display LED1 Pin 2 of LED1 is connected to pin 15 of decoder U2, pin 3 of display LED1 is connected to pin 11 of decoder U2, pin 4 of display LED1 is connected to pin 16 of decoder U2, pin 5 of display LED1 is connected to pin 11 of decoder U2 The 12-pin connection of the encoder U2, the 6-pin connection of the display LED1 and the 25-pin connection of the chip U1, the 7-pin connection of the display LED1 and the 28-pin connection of the chip U1, the 8-pin connection of the display LED1 and the 18-pin connection of the decoder U2, the display The 9 pins of LED1 are connected with the 13 pins of the decoder U2, the 10 pins of the display LED1 are connected with the 27 pins of the chip U1, the 11 pins of the display LED1 are connected with the 26 pins of the chip U1, the 12 pins of the display LED1 are connected with the decoder U2 The 17-pin connection of the display LED2 is connected to the 14-pin of the decoder U2, the 2-pin of the display LED2 is connected to the 15-pin of the decoder U2, the 3-pin of the display LED2 is connected to the 11-pin of the decoder U2, Connect pin 4 of display LED2 to pin 16 of decoder U2, pin 5 of display LED2 to pin 12 of decoder U2, pin 6 of display LED2 to pin 21 of chip U1, pin 7 of display LED2 to chip The 25 pins of U1 are connected, the 8 pins of the display LED2 are connected with the 18 pins of the decoder U2, the 9 pins of the display LED2 are connected with the 13 pins of the decoder U2, the 10 pins of the display LED2 are connected with the 23 pins of the chip U1, and the display The 11 pins of LED2 are connected with the 22 pins of the chip U1, and the 12 pins of the display LED2 are connected with the 17 pins of the decoder U2. 5.根据权利要求4所述的一种基于单片机的定时器,其特征在于:所述报警电路设置有电阻R2、三极管Q1和蜂鸣器F1,电阻R2的一端与芯片U1的13脚连接,电阻R2的另一端与三极管Q1的基极连接,三极管Q1的发射极与蜂鸣器F1的一端连接,三极管Q1的集电极接地,蜂鸣器F1的另一端与电源输入端VCC连接。5. a kind of timer based on single-chip microcomputer according to claim 4 is characterized in that: described alarm circuit is provided with resistance R2, triode Q1 and buzzer F1, and one end of resistance R2 is connected with 13 pins of chip U1, The other end of the resistor R2 is connected to the base of the transistor Q1, the emitter of the transistor Q1 is connected to one end of the buzzer F1, the collector of the transistor Q1 is grounded, and the other end of the buzzer F1 is connected to the power input terminal VCC. 6.根据权利要求5所述的一种基于单片机的定时器,其特征在于:所述芯片U1的型号为AT89C51,电阻R1和排阻RP1的电阻值都为10千欧,耦合电容C1的电容值为10微法,电容C2和电容C3的电容值都为30法,晶振Y1为12兆赫兹,译码器U2的型号为74HC245,显示器LED1和显示器LED2的型号都为7LEDSMG,电阻R2的电阻值为2.2千欧,三极管Q1的型号为9012,蜂鸣器F1的型号为FMQ。6. A kind of timer based on single-chip microcomputer according to claim 5, it is characterized in that: the model of described chip U1 is AT89C51, and the resistance value of resistance R1 and exclusion resistance RP1 is all 10 kilohms, and the capacitance of coupling capacitor C1 The value is 10 microfarads, the capacitance value of capacitor C2 and capacitor C3 is 30 farads, the crystal oscillator Y1 is 12 MHz, the model of decoder U2 is 74HC245, the model of display LED1 and display LED2 are both 7LEDSMG, the resistance of resistor R2 The value is 2.2 kohms, the model of transistor Q1 is 9012, and the model of buzzer F1 is FMQ.
CN201920621646.XU 2019-05-05 2019-05-05 A timer based on single chip microcomputer Expired - Fee Related CN209858954U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920621646.XU CN209858954U (en) 2019-05-05 2019-05-05 A timer based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920621646.XU CN209858954U (en) 2019-05-05 2019-05-05 A timer based on single chip microcomputer

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 A timer based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN209858954U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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
CN206763251U (en) A kind of SCM Based music fountain control system
CN209858954U (en) A timer based on single chip microcomputer
CN205450845U (en) Simple and easy greenhouse control system
CN108734805A (en) Clothing enterprise piece counting device based on single chip microcomputer
CN206650884U (en) SCM Based novel intelligent LED desk lamp
CN204373229U (en) A kind of Intelligent warm air blower control circuit
CN209103591U (en) An intelligently controlled single-chip learning board
CN110286633A (en) Control circuit for expanding multiple IO ports by using 74HC164 chip
CN211209687U (en) Self-holding switch circuit for sleep function based on triode and microcontroller
CN214586431U (en) An intelligent timer based on single chip microcomputer
CN211857223U (en) A kind of electronic clock control circuit based on single chip microcomputer
CN205942337U (en) Rural household automatic water pumping system
CN201654918U (en) Economical and Applicable Alarm Event Reminder
CN204515419U (en) A kind of SCM Based disinfection cabinet control circuit
CN214581864U (en) Single-chip microcomputer solar water heater measurement and control instrument circuit system
CN204117562U (en) A kind of charactron panel and key control circuit
CN216410254U (en) Tobacco planting detection system based on 51 single chip microcomputer
CN214586569U (en) A liquid level control system
CN211482306U (en) Intelligence is irrigated and soil moisture detection circuitry based on singlechip
CN219916526U (en) Experimental teaching development system based on singlechip
CN210626950U (en) Basketball score indicator control circuit based on single chip microcomputer
CN204029239U (en) There is the singlechip experimental box of circuit state visualization function
CN203838909U (en) Intelligent meter reading device for wireless data transmission applied to wireless communication courses
CN210629916U (en) Lamp drive control circuit based on single chip microcomputer
CN215642335U (en) A smart clothes collection reminder

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191227

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