Specific implementation functions
The system consists of STC89C52 single chip microcomputer + ZE08-CH2O formaldehyde sensor + LCD1602 liquid crystal display + button + buzzer + indicator light + power supply.
Specific functions:
1. The formaldehyde data measured by the formaldehyde sensor is processed by the single chip microcomputer and displayed in real time by LCD1602;
2. The formaldehyde alarm threshold can be set by pressing buttons;
3. When the measured formaldehyde concentration exceeds the alarm threshold, the sound and light alarm will start.
design background
Nowadays, the degree of automation and informatization is getting higher and higher. With the development of society, the progress of science and technology, and the gradual improvement of people's living standards, various automatic control systems that are convenient for life have begun to enter people's lives, and it also marks that the field of automatic control has become a member of the digital age. The automatic door system with single-chip microcomputer as the core is one of them. It is highly practical, fully functional, and technologically advanced, making people believe that this is the result of scientific and technological progress. It also makes people understand that the development of the digital age will change human life and accelerate the development of science and technology. The application field of single-chip microcomputers is becoming more and more extensive, becoming an indispensable part of people's lives.
Currently, the application of single-chip microcomputers has penetrated into every field of our lives, and it is almost difficult to find a field without traces of single-chip microcomputers.
With the development of society, people's living standards are constantly improving. The development of the real estate industry has led to the rapid development of a series of affiliated industries. Consumers' lives have changed from "quantity-oriented" to "quality-oriented", and "safety, health and comfort" have become the core concepts of life.
Decoration has penetrated into our lives, and the decoration materials are also varied. The harmful element formaldehyde emitted from the decoration materials has brought great threats to our lives. At the same time, different concentrations of formaldehyde have different harms to the human body, and people of different ages and physiques have different resistance to formaldehyde. Formaldehyde is a highly toxic substance and ranks second on the priority control list of toxic chemicals in my country. Formaldehyde has been identified by the World Health Organization as a carcinogenic and teratogenic substance.
hardware design
The function of this design is to detect the concentration of formaldehyde and display it on the LCD. When the formaldehyde concentration exceeds the upper limit set by the user, an alarm will be issued. The system block diagram is as follows.
software design
When no interrupt occurs, the display, key processing and over-limit detection programs are executed again; when an interrupt occurs, the interrupt service program is executed.
Schematic
The schematic diagram of this system was designed using Altium Designer19, as shown in the figure.
program
This design uses KEIL5 software to implement program design, as shown in the figure.
Simulation Implementation
This design uses protues8.7 software to implement simulation design, as shown in the figure.
Previous article:46-Design of GPS positioning and GSM SMS reporting system based on 51 single chip microcomputer
Next article:44-Design of GPS positioning system based on 51 single chip microcomputer
Recommended posts
- ADI & WT · World Health——Live Broadcast | MCU application problems are solved with all our strength! The live broadcast has begun~
- ADI&WT·ShijianMCUPainPointExplorationSeason ——Secondstop:Livebroadcast|MCUapplicationproblemsaresolvedwithallourstrength!Thelivebroadcasthasbegun~ Clickheretoenterthelivebroadcast MCUapplicationsface
- EEWORLD社区 ADI ·Excelpoint industrial technology
- WiFi will soon face challenges from other technologies or will be replaced
- ManypeoplemaynotbeabletolivewithoutWIFI!Thisisabitofanexaggeration,butWIFIhasindeeddeeplypenetratedintothelivesofyoungpeople.Don'tworryaboutthis,becauseWIFIislikelytobereplaced.Accordingtorelevantinformation
- maiyoua RF/Wirelessly
- Ask
- DoesanyonehereneedtouseElanorSaiyuanMicro'sMCU? No Ithurtshahahahahahahahaha SupportSaiyuanMicro'sdomesticallyproducedmicrocontroller Elan,along-establishedTaiwaneseMCU,seemstoneedadedicatedemulator,highcostp
- zhugao719 MCU
- Why can't the output of the following figure be 5V? Now the output voltage is 0V. I don't know where the problem is.
- "Theoutputvoltageisnow0V.Idon'tknowwheretheproblemis." Chipdamage,solderingerror...it'sallpossible. Checkifthereisvoltageonpins1,2,4,and7. First,carefullycheckthesoldering,whichisthemostlikelyplacefor
- cxq742536574 Analog electronics
- ①、Development board received
- Aftercommunicatingwiththeorganizer,thedevelopmentboardwasreceivedinadvance.SFExpresswasindeedveryfast.Let'sunboxandtakealookatthedevelopmentboardtoday.Thecartoncontainingthedevelopmentboardwasprintedwithth
- yin_wu_qing GD32 MCU
- The east-west direction of the compass is reversed
- OntheCompassandlevelappIcreated,Ifoundthatthecompassneedlewaspointingtothewestwhenitshouldbepointingtotheeast. Belowaretwopicturesshowingthedifferenceindirectionbetweenthephone'sbuilt-incompassandtheSTs
- liangtom125 ST MEMS Sensor Creative Design Competition
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- Europe's three largest chip giants re-examine their supply chains
- Breaking through the intelligent competition, Changan Automobile opens the "God's perspective"
- The world's first fully digital chassis, looking forward to the debut of the U7 PHEV and EV versions
- Design of automotive LIN communication simulator based on Renesas MCU
- When will solid-state batteries become popular?
- Adding solid-state batteries, CATL wants to continue to be the "King of Ning"
- The agency predicts that my country's public electric vehicle charging piles will reach 3.6 million this year, accounting for nearly 70% of the world
- U.S. senators urge NHTSA to issue new vehicle safety rules
- Giants step up investment, accelerating the application of solid-state batteries
- Guangzhou Auto Show: End-to-end competition accelerates, autonomous driving fully impacts luxury...
- TI C6000 Factors that cause software pipelining failure
- Use protues8.6 to simulate, SRF04 simulation fails, the code is correct,
- DM648 FVID_exchange failed
- Photoelectronic thermometer circuit diagram
- Research on high power DC/DC converter based on UC3846
- MicroPython - Python for microcontrollers
- Wireless transmission power quality monitoring system circuit
- New changes are brewing amid ups and downs in the global semiconductor industry
- Learn the data types that you must master in Siemens S7-200 series PLC
- DVSDK_3.01.00.10 compilation notes