Illumination and temperature and humidity detection alarm based on 51 single chip microcomputer

1. Design content

It is composed of STC89C52 single-chip microcomputer + LCD1602 LCD display + ADC0832 module + buzzer + DHT11 temperature and humidity sensor + light sensor + LED + keys.
Specific functions:
1. The first line of LCD1602 LCD displays the current light value, and the second line displays the current temperature And humidity value;
2. You can set the upper and lower limit alarm values ​​of light, temperature and humidity. There are 4 buttons in total: reset button, minus button, plus button, setting button; the set parameters are saved when power-off, and are stored in the STC microcontroller, without resetting
when power-on; 3. When the light level is higher than the set alarm If the value or temperature and humidity exceed the upper and lower limits, the buzzer and indicator light will give an audible and visual alarm;
4. When the temperature and humidity value is lower or higher than the set range, the corresponding indicator light will light up and the buzzer will alarm.

2. Simulation implementation

The data includes simulation schematics and programs, perfect simulation: https://www.cirmall.com/circuit/19622 

For more MCU design and information, please pay attention to the WeChat public account "Electronic Engineer Growth Diary"! !

Guess you like

Origin blog.csdn.net/weixin_41017942/article/details/108673995