CN205719300U - A kind of digital temperature alarm device based on STC89C52 single-chip microcomputer - Google Patents
A kind of digital temperature alarm device based on STC89C52 single-chip microcomputer Download PDFInfo
- Publication number
- CN205719300U CN205719300U CN201620266561.0U CN201620266561U CN205719300U CN 205719300 U CN205719300 U CN 205719300U CN 201620266561 U CN201620266561 U CN 201620266561U CN 205719300 U CN205719300 U CN 205719300U
- Authority
- CN
- China
- Prior art keywords
- circuit
- temperature
- chip microcomputer
- stc89c52 single
- alarm
- 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
Abstract
This utility model relates to a kind of digital temperature alarm device based on STC89C52 single-chip microcomputer, achieve the temperature controlled with STC89C52 single-chip microcomputer for core to show, and the function of sound and light alarm can be realized when temperature is beyond set scope, a kind of digital temperature alarm device based on STC89C52 single-chip microcomputer of this utility model has only to a small amount of peripheral circuit, it just can be made properly functioning, described comprise reset circuit, clock circuit, alarm temperature arranges key circuit, temperature bound indicating circuit, audible alarm circuit, display circuit and DC source supply module, have low in energy consumption, volume is little, low cost, amendment is convenient, the features such as technology maturation are easy to production debugging and batch production thereof.
Description
Technical field
This utility model relates to a kind of digital temperature alarm device based on STC89C52 single-chip microcomputer, relates generally to domestic temperature and shows and temperature measurement and control in temperature alarming, and industrial processes.
Background technology
Developing rapidly along with electronic technology in the last few years, the single-chip microcomputer application in each field is the most deeply, also driven traditional control detection constantly more new development simultaneously, the Detection & Controling of temperature are one of most important technological parameters in industrial processes, along with sensor is producing and wider application in life, based on single-chip microcomputer digital thermometer compared with conventional temperature meter, having the advantage of the aspects such as convenient reading, temperature-measuring range is wide, numerical value is more accurate, development has temperature and shows that the device with warning function can more preferably realize detection and the control of temperature.
Summary of the invention
This utility model relates to a kind of digital temperature alarm device based on STC89C52 single-chip microcomputer, and hardware components includes that reset circuit, clock circuit, temperature collection circuit, alarm temperature arrange key circuit, temperature bound indicating circuit, audible alarm circuit, temperature display circuit and DC source supply module;Described a kind of digital temperature alarm device based on STC89C52 single-chip microcomputer, it is characterized in that alarm temperature arranges key circuit and by button, ground is connected with P1.3 to the P1.5 mouth of STC89C52 single-chip microcomputer, by detecting the level signal of P1.3 to P1.5 mouth, perform corresponding function setting;Temperature collection circuit is connected with the P3.7 of STC89C52 single-chip microcomputer, is sent in STC89C52 single-chip microcomputer by the temperature data collected and processes;Audible alarm circuit is to control LM386 amplifier by the P1.6 output level of STC89C52 single-chip microcomputer, makes speaker send too alarm sound;Pin RS, RW of LM016L display screen in display circuit and E P3.0, P3.1 and P3.2 with STC89C52 single-chip microcomputer respectively is connected, and D1 to the D7 pin of LM016L is connected with P2.0 to the P2.7 pin of STC89C52 single-chip microcomputer respectively;Temperature bound indicating circuit is controlled the light on and off of display lamp by P1.0 and the P1.3 output level of STC89C52 single-chip microcomputer;Reset circuit is made up of electric capacity, resistance, a button;Clock circuit is made up of the crystal oscillator of a 12M and two capacity earths;Alternating current 220V after transformator output AC 9V, rectified bridge rectification, capacitor filtering and three linear voltage stabilizing chip LM7805 voltage stabilizing, is exported stable 5V DC voltage and powers to whole system by DC source supply module.
Accompanying drawing explanation
Fig. 1 is this utility model entire block diagram;
Fig. 2 is this utility model main loop circuit figure;
Fig. 3 is this utility model DC source supply module figure.
Detailed description of the invention
Fig. 1 is entire block diagram, D.C. regulated power supply is powered to whole system, clock circuit carrys out the clock cycle of control single chip computer, stable operating frequency is provided for STC89C52 single-chip microcomputer, reset circuit can restart the operation of program when program fleet, STC89C52 single-chip microcomputer is by the real-time detection to button, and the temperature data collecting DS18B20 processes in real time, and then control temperature bound display lamp and the speaker corresponding action of execution, control LM016L display screen simultaneously and temperature is shown in real time.
Fig. 2 is main loop circuit figure, the described concrete connection presenting STC89C52 single-chip processor i/o mouth, clock circuit is that STC89C52 single-chip microcomputer provides the clock cycle, can be divided by procedure Selection, so that it is determined that the clock cycle of STC89C52 single-chip microcomputer, reset circuit can make whole system rework, and removes the data starting to set, and S1 is reset key;During STC89C52 monolithic processor resetting, I/O mouth acquiescence is high level, as long as so button one connects I/O mouth, one ground connection, when detecting that low level signal then illustrates that this button is pressed, so STC89C52 single-chip microcomputer just can accurately detect the button pressed, button S2 arranges button for entering and exiting, when detecting that S2 presses, S2 flag bit flat is from adding one, by judging the numerical value of S2 flag bit flat, just can forward corresponding temperature bound to adjust, button S3 is that temperature bound arranges increase key, when pressing S3, the selected bound Temperature numerical of institute increases by 1, S4 is that bound temperature arranges minimizing key, press the selected bound Temperature numerical of S4 institute and reduce 1, by these three buttons, bound temperature can be set;Temperature collection circuit gathers the temperature data of surveyed environment by DS18B20, and the temperature data collected is sent into process in STC89C52 single-chip microcomputer, STC89C52 single-chip microcomputer is according to the temperature data after processing, judge that whether temperature is in set scope, and control the display lamp in temperature bound indicating circuit and make corresponding instruction, control whether audible alarm circuit sends alarm simultaneously, in time testing the upper limit that temperature is higher than set temperature, amber light is just lighted, speaker sends too sound, when test temperature is waited at a temperature of set in limited time, green light is lighted, speaker sends too sound, the when that test temperature being within the temperature range of setting, two lamps all do not work, speaker does not the most send sound;Display module is as human-computer interaction interface, and shows the temperature of surveyed environment in real time.
Fig. 3 is DC source supply module figure, and alternating current 220V, after transformator output AC 9V, rectified bridge rectification, capacitor filtering and three linear voltage stabilizing chip LM7805 voltage stabilizing, exports stable 5V DC voltage and powers to whole system.
Claims (1)
1. a digital temperature alarm device based on STC89C52 single-chip microcomputer, mainly includes that reset circuit, clock circuit, alarm temperature arrange key circuit, temperature bound indicating circuit, audible alarm circuit, temperature display circuit and DC source supply module;STC89C52 single-chip microcomputer arranges key circuit respectively with reset circuit, clock circuit, alarm temperature, temperature bound indicating circuit, audible alarm circuit, temperature display circuit, DC source supply module are connected;It is characterized in that alarm temperature arranges key circuit and by button, ground is connected with P1.3 to the P1.5 mouth of STC89C52 single-chip microcomputer, by detecting the level signal of P1.3 to P1.5 mouth, perform function setting;Temperature collection circuit is connected with the P3.7 of STC89C52 single-chip microcomputer, is sent in STC89C52 single-chip microcomputer by the temperature data collected and processes;Audible alarm circuit is to control LM386 amplifier by the P1.6 output level of STC89C52 single-chip microcomputer, makes speaker send too alarm sound;Pin RS, RW of LM016L display screen in display circuit and E P3.0, P3.1 and P3.2 with STC89C52 single-chip microcomputer respectively is connected, and D1 to the D7 pin of LM016L is connected with P2.0 to the P2.7 pin of STC89C52 single-chip microcomputer respectively;Temperature bound indicating circuit is controlled the light on and off of display lamp by P1.0 and the P1.3 output level of STC89C52 single-chip microcomputer;Reset circuit is made up of electric capacity, resistance, a button;Clock circuit is made up of the crystal oscillator of a 12M and two capacity earths;After the rectified bridge rectification of DC source supply module, capacitor filtering and three linear voltage stabilizing chip LM7805 voltage stabilizing, export stable 5V DC voltage and power to whole system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620266561.0U CN205719300U (en) | 2016-04-01 | 2016-04-01 | A kind of digital temperature alarm device based on STC89C52 single-chip microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620266561.0U CN205719300U (en) | 2016-04-01 | 2016-04-01 | A kind of digital temperature alarm device based on STC89C52 single-chip microcomputer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205719300U true CN205719300U (en) | 2016-11-23 |
Family
ID=57311496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620266561.0U Expired - Fee Related CN205719300U (en) | 2016-04-01 | 2016-04-01 | A kind of digital temperature alarm device based on STC89C52 single-chip microcomputer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205719300U (en) |
-
2016
- 2016-04-01 CN CN201620266561.0U patent/CN205719300U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103048017A (en) | Intelligent temperature-humidity electronic measuring system based on SHT sensor | |
CN104236729B (en) | A kind of implementation method of moisture recorder | |
CN205280139U (en) | Portable intelligent water quality testing device | |
CN205719300U (en) | A kind of digital temperature alarm device based on STC89C52 single-chip microcomputer | |
CN104615520A (en) | Test method for evaluating startup and shutdown life of server | |
CN104165658A (en) | PM 2.5 on-line monitoring system and method based on mobile terminal | |
CN204028064U (en) | A kind of portable soil humidity quick test device | |
CN203396740U (en) | Double-temperature single-rod insertion type tobacco leaf moisture meter | |
CN204244546U (en) | A kind of portable intensity of illumination real-time detecting system | |
CN103940958A (en) | Formaldehyde detector based on WIFI | |
CN204719195U (en) | A kind of portable digital chip detector | |
CN105675517A (en) | Portable equipment for rapid water quality detection and detection method | |
CN206102624U (en) | Bluetooth thermometer | |
CN207024051U (en) | A kind of wearable smart motion wrist strap based on the monitoring of more health parameters | |
CN201892659U (en) | Infrared methane alarm instrument | |
CN206102627U (en) | Children's bluetooth thermometer | |
CN204439855U (en) | A kind of portable PM2.5 air quality detector | |
CN204177955U (en) | The self-service calibrating installation of a kind of three-phase electric energy meter based on man-machine touth-interactive | |
CN209529147U (en) | Tester and test macro when reaction based on Internet of Things when reaction | |
CN106768413A (en) | Multipoint temperature detecting device | |
CN203606258U (en) | Simple tester for particulate matter (PM)2.5 content in air | |
CN207335761U (en) | Home environment intelligent detection device based on FPGA | |
CN102818594A (en) | Low-temperature grain dynamic detector with thermostat automatic control system | |
CN206102625U (en) | Blue tooth body temperature meter | |
CN205016101U (en) | Low -power consumption wireless sensor network tests platform |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161123 Termination date: 20170401 |