Air Quality Monitoring and Alarm System Based on 51 Microcontroller with LCD1602 Display (Proteus Simulation + Program + Design Report + Schematic + Explanation Video)
Simulation software: Proteus 7.8 and above
Compiler: Keil 4 / Keil 5
Programming Language: C
Design Number: S0085
Main Functions:
Design of Air Quality Alarm System Based on 51 Microcontroller
1. LCD1602 displays the air quality alarm values and the detected air quality;
2. Can adjust the air quality alarm value through buttons;
3. When the air quality is below the alarm value, the green indicator light is on.
When the air quality exceeds the threshold, the buzzer alarms, and the red indicator light is on;
4. Collect the voltage change of the air quality sensor MQ-135 using ADC0832 with a potentiometer.
Note that the 51 microcontroller chip in the simulation is compatible; AT89C51 and AT89C52 are specific models of the 51 microcontroller, and the core is the same. In the same schematic, whether it’s STC or AT, the pin functions are the same, the programs are compatible, and the chips can be replaced with STC89C52/STC89C51/AT89C52/AT89C51 and other 51 microcontroller chips.
Download Link:
[Tencent Document] S0085 Cloud Disk Link
https://docs.qq.com/doc/DS0lKdWJsRnhYT0p0
The following is a display of the design materials:
Explanation Video:
The explanation video includes simulation operation explanation and code explanation.
Simulation Design:
Open the simulation project, double-click the microcontroller in Proteus, select the hex file path, and then start the simulation. After starting the simulation, the LCD1602 displays the current concentration of harmful gases, with a measurement value of 590 ppm and an alarm value of 600 ppm, and the green indicator light is on.
By adjusting the resistance value of the potentiometer, when the value exceeds the upper limit of 600 ppm, the buzzer alarms, and the red indicator light is on.
Program Code
Use Keil 4 or Keil 5 to compile, the code is commented, and can be understood in conjunction with the video.
Design Report
8018-word design report, including hardware design, software design, hardware and software block diagrams, debugging, conclusions, etc.
With the increasing severity of environmental issues, global attention to air quality has reached unprecedented heights. The popularity of air quality monitoring devices in daily life and their application in industrial production processes have become increasingly important. They not only provide real-time and accurate air quality data to help people understand the current environmental situation but also provide strong data support for environmental protection decisions, pollution prevention, and optimization of work and living environments. Therefore, designing and implementing a high-performance, intelligent, and user-friendly air quality alarm system has become an important topic in technological development and environmental protection.
This course design project is based on this background, selecting the classic 51 series microcontroller as the core controller and simulating implementation with the powerful Proteus simulation platform. The intelligent air quality alarm system has multiple functions such as real-time monitoring of air quality parameters, setting and adjusting alarm thresholds, and implementing alarm prompts, fully reflecting the flexibility and practicality of embedded technology in real applications.
Schematic Diagram
The schematic diagram is drawn using AD and can be used for physical reference. Simulation is different from the physical device; do not easily attempt physical devices without sufficient experience.
The differences between Proteus simulation and physical works:
1. Operating Environment: Proteus simulation runs on a computer, while the physical device runs on a hardware circuit board.
2. Debugging Method: In Proteus simulation, single-step debugging and observing variable value changes can be easily performed, while in physical devices, debugging must be done through a debugger or serial output.
3. Circuit Connection Method: In Proteus simulation, circuit connection modifications can be made through software settings, while in physical devices, modifications must be made through hardware circuit boards and connecting wires.
4. Operating Speed: Proteus simulation is usually faster than physical devices because simulation runs on a computer, while physical devices must consider physical limitations and device response times.
5. Function Implementation: In Proteus simulation, different functions can be implemented through software settings, while in physical devices, implementation must be based on circuit design and device performance.
Design Material Content List & Download Link
The material design includes simulation, program code, explanation video, functional requirements, design report, hardware and software design block diagrams, etc.
0. Common usage problems and solutions – must-read!!!!
1. Program
2. Proteus simulation
3. Functional requirements
4. Hardware and software flowchart
5. Project report
6. Design report
7. Schematic diagram
8. Explanation video
Altium Designer installation and cracking
KEIL + Proteus microcontroller simulation design tutorial
KEIL installation and cracking
MQ-138.pdf
Proteus component search
Proteus installation
Proteus simple usage tutorial
Microcontroller learning materials
Related data sheets
Defense skills
Common descriptions used in design reports
Double click to open and find the Jiasheng microcontroller 51 STM32 microcontroller course graduation design.url
Method 1: Copy to the browser to open
Material download link (clickable):
https://docs.qq.com/doc/DS0lKdWJsRnhYT0p0
More resources click the link below:
https://docs.qq.com/sheet/DS0xIa0llTmtNakRW
Method 2: Long press to scan the QR code
WeChat Official Account
Jiasheng Microcontroller
Website | www.eemcu.cn
Leave a Comment
Your email address will not be published. Required fields are marked *