Function overview:
1. Use 51 microcontroller STC89C52, clock chip DS1302, liquid crystal screen LCD1602, photoresistor, and infrared tube to design a classroom intelligent lighting control system;
2. Use 4 LED lights to simulate classroom lighting. When turned on according to the conditions, one light will light up for less than 10 people, two lights will light up for 10-20 people, three lights will light up for 20-30 people, and all four lights will light up for more than 30 people. ;
3. The classroom uses two infrared tubes to detect whether someone has entered and to count the number of people. The number of people can be counted to a two-digit number of 99 people, and the number of people is displayed on the LCD screen in real time. The LCD screen also displays the real-time date/time/week;
4 . Use photoresistor to detect the light intensity in the classroom;
5. The system is divided into automatic/manual modes. You can switch modes by pressing the button, and there is an LED to indicate the current mode. In automatic mode, you can set a time period. During the time period, when there are people in the classroom (the number of people is greater than 0) , if the light is dim, the lights will be turned on automatically. The number of lights on depends on the number of people. All lights will be turned off when not in the scheduled time period or when there is no one in the classroom. In addition, in manual mode, the lighting can be controlled by manual switches. When the lights turn on and off, the people counting part is still valid;
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet