Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

The complete set of materials can be obtained at the end of this article!

Click the blue text·to follow us

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

(Program, Proteus Simulation, Program Flowchart)

01

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

Function Introduction

Specific Functions:

1. This design is based on STC89C51/52 (compatible with AT89S51/52, AT89C51/52).

2. Accurate measurement of temperature and humidity using the DHT11 temperature and humidity sensor.

3. The LCD1602 display shows temperature, humidity, dust (PM2.5), and their upper and lower limit thresholds.

4. The value of dust (PM2.5) is collected and adjusted using a sliding potentiometer.

5. The upper and lower limit thresholds for temperature, humidity, and dust (PM2.5) can be set using buttons.

6. When temperature, humidity, or dust (PM2.5) exceeds the upper limit or falls below the lower limit, the buzzer will sound an alarm. The corresponding LED light will also illuminate.

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

02

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

Hardware Design

Components Used:

51 Microcontroller, DHT11 Temperature and Humidity Sensor, LCD1602 Display, Buzzer, LED Light

Microcontroller: 51;

(Note: The microcontroller is universal, whether 51 or 52, whether STC or AT, the pin functions are the same. The program is also the same.)

03

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

Design Materials

01

Simulation Diagram

This design uses Proteus for design! As shown in the figure!

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

02

Program Source Code

This design uses Keil for programming design! As shown in the figure!

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

03

Design Materials

All materials include the program (with comments), Proteus simulation, program flowchart, etc. The specific content is as follows, the most comprehensive on the internet!

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 MicrocontrollerThreshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

Material Acquisition

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

Like and share, let’s learn and improve together

If you need the complete materials, you can scan the business card below to request the Baidu Cloud download link and extraction code for the resource package.

Threshold Setting Alarm System for Temperature, Humidity, and PM2.5 Detection Based on 51 Microcontroller

Or V: yx235611

Leave a Comment