CN211352566U - Intelligence light control system based on singlechip - Google Patents

Intelligence light control system based on singlechip Download PDF

Info

Publication number
CN211352566U
CN211352566U CN201922196148.8U CN201922196148U CN211352566U CN 211352566 U CN211352566 U CN 211352566U CN 201922196148 U CN201922196148 U CN 201922196148U CN 211352566 U CN211352566 U CN 211352566U
Authority
CN
China
Prior art keywords
module
chip microcomputer
single chip
light
light control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201922196148.8U
Other languages
Chinese (zh)
Inventor
倪超
陈启航
李振业
邹红艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Forestry University
Original Assignee
Nanjing Forestry University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Forestry University filed Critical Nanjing Forestry University
Priority to CN201922196148.8U priority Critical patent/CN211352566U/en
Application granted granted Critical
Publication of CN211352566U publication Critical patent/CN211352566U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The utility model discloses an intelligent light control system based on singlechip, including singlechip module and power module, singlechip module input electricity is connected with infrared detection module and light collection module, singlechip module output electricity is connected with light control module, power module is connected with other module electricity of this system respectively and provides the power, infrared detection module is used for responding to human body signal and sends data signal to singlechip module processing; the light ray acquisition module is used for acquiring light ray signals and sending the signals to the single chip microcomputer module for processing; the output end of the light control module is connected with the lamp and can control the light to be on or off. The system can control the lamp to be on or off according to the situation of classroom personnel and the light situation in a full-automatic state, is simple and intelligent, saves electric power, can also control local light according to the use scene, and is convenient for personnel to use; all lamps in a classroom can be controlled at one place under the semi-automatic state, and the use is convenient.

Description

Intelligence light control system based on singlechip
Technical Field
The utility model belongs to the technical field of light intelligent control, concretely relates to intelligence light control system based on singlechip.
Background
With the increasing global energy crisis and the increasing problem of climate warming, green energy conservation has become a global common concern, and people are looking for new energy conservation ways through various ways. The electricity waste of schools is particularly serious. In order to provide a good learning environment for students, the light of a school classroom is normally turned on in the daytime and is also turned on when no one is in the daytime. Because classroom light lacks personnel's management, and the student leaves the classroom and just can forget to turn off the light, so the extravagant condition of school's classroom electric energy is very serious, and school's classroom light application method is single simultaneously can not be according to the local switch of in-service use demand, is unfavorable for the student to use under various scenes.
SUMMERY OF THE UTILITY MODEL
The purpose of the invention is as follows: the utility model aims at providing a be not enough to prior art existence, the utility model aims at providing a can control the lamp and shine to go out according to classroom personnel condition and light condition based on the singlechip to can be according to the intelligent control system that the bright of classroom instrument in service behavior control local lamp goes out.
The technical scheme is as follows: in order to achieve the above purpose, the technical solution adopted by the present invention is as follows: an intelligent light control system based on a single chip microcomputer comprises a single chip microcomputer module and a power supply module, wherein the input end of the single chip microcomputer module is electrically connected with an infrared detection module and a light collection module, the output end of the single chip microcomputer module is electrically connected with a light control module, the power supply module is respectively electrically connected with other modules of the system and provides power, and the infrared detection module is used for sensing human body signals and sending data signals to the single chip microcomputer module for processing; the light ray acquisition module is used for acquiring light ray signals and sending the signals to the single chip microcomputer module for processing; the output end of the light control module is connected with the lamp and can control the light to be on or off.
Preferably, the single chip microcomputer module is an STC85C5 single chip microcomputer.
Preferably, the number of the light control modules is more than one, and each light control module is connected with more than one lamp.
Preferably, the infrared detection module is an HC-SR501 human body infrared sensor, the working voltage is 4.5V-20V, and the high level 3.3V and the low level 0V are output.
Preferably, the light collection module comprises an ADC0832 chip, a photoresistor and a 10K resistor, the photoresistor is an MG45 photoresistor, the bright resistor is 2-10K Ω, the dark resistor is 1-10M Ω, the photoresistor and the 10K resistor are connected in parallel to a CH0 pin of the ADC0832 chip, and ends D0 and D1 of the ADC0832 chip are connected in parallel to a P21 pin of an STC85C5 single chip microcomputer; the CS end is connected with a P23 pin of the STC85C5 singlechip; and the CLK terminal is connected with a P20 pin of the STC85C5 singlechip.
Preferably, the light control module comprises a relay, a 4.7K inductor and a triode, and is connected with a pin P03 port of the STC85C5 singlechip.
Preferably, the single chip microcomputer module is electrically connected with a computer through an RS232 serial port, and the computer (1) can control the lamp switch through the single chip microcomputer module.
Preferably, the computer comprises a projector signal unit, and the projector signal unit controls the lamp above the projector to be turned on or off through the single chip microcomputer module.
Preferably, the power module is electrically connected with a computer, and the computer controls the power supply of the system to be switched on and off through the power module.
Has the advantages that: compared with the prior art, the utility model has the advantages of it is following: the lighting control system can control the lighting of the lamp according to the personnel condition and the light condition in the classroom in a full-automatic state, is simple and intelligent, saves electric power, can control local light according to the use scene, and is convenient for personnel to use; all lamps in a classroom can be controlled at one place under the semi-automatic state, and the use is convenient.
Drawings
Fig. 1 is a system block diagram of an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of the present invention;
FIG. 3 is a schematic diagram of a circuit of a single chip microcomputer STC85C5 in FIG. 2;
FIG. 4 is a schematic diagram of the human infrared sensor circuit of FIG. 2;
FIG. 5 is a schematic circuit diagram of the light collection module of FIG. 2;
FIG. 6 is a schematic diagram of an RS232 serial port circuit in FIG. 2;
Detailed Description
The invention will be further elucidated with reference to a specific embodiment and a drawing.
As shown in fig. 1, an intelligent light control system based on a single chip microcomputer comprises a single chip microcomputer module 3 and a power supply module 7, wherein the input end of the single chip microcomputer module 3 is electrically connected with an infrared detection module 6 and a light collection module 5, the output end of the single chip microcomputer module 3 is electrically connected with a light control module 4, the power supply module 7 is respectively electrically connected with other modules of the system and supplies power, and the infrared detection module 6 is used for sensing a human body signal and sending a data signal to the single chip microcomputer module 3 for processing; the light ray collection module 5 is used for collecting light ray signals and sending the signals to the singlechip 3 for processing; 4 outputs of light control module link to each other and can control the light and shine and go out with the lamp, single chip module 3 links to each other with 1 electricity of computer through RS232 serial ports 2, 1 accessible single chip module 3 control light switch of computer, including projecting apparatus signal unit 11 in the computer 1, projecting apparatus signal unit 11 can control the light of projecting apparatus top through single chip module 3 and shine and go out, power module 7 links to each other with 1 electricity of computer, computer 1 passes through other module power break-make of 7 control system of power module.
The system has two modes of automation and semi-automation when working in a classroom.
The classroom lighting device comprises a power module, a light collection module 5, a single-chip microcomputer module 3, an infrared detection module 6, a light control module 4, a classroom lamp and an automatic lighting module, wherein the power module is connected with a power supply to supply power to other modules, in an automatic mode, the light collection module 5 automatically detects the illumination condition in a classroom and sends an illumination condition signal to the single-chip microcomputer module 3, the infrared detection module 6 automatically detects the condition of personnel in the classroom and sends a personnel condition signal to the single-chip microcomputer module 3, the single-chip microcomputer module 3 controls the on and off of the classroom lamp through the light control module 4 according to the obtained illumination condition signal and the personnel condition signal, when the light collection module 5 detects that the classroom is not bright in light and the infrared detection module 6 detects that personnel exist in; when the light collection module 5 detects that the illumination of the classroom is bright, no matter whether the infrared detection module 6 detects the existence of a person in the classroom, the classroom lamp is turned off, and the situation that the lamp is turned on by mistake when the illumination is sufficient in the daytime to cause power waste is realized; when the infrared detection module 6 detects that no person exists in the classroom, the classroom lamp is turned off, people can go out, and the fact that the person forgets to turn off the lamp is prevented, so that power resources are saved. This system can also come the bright of control local lamp to go out according to classroom projecting apparatus in service behavior, has projecting apparatus signal unit 11 in the computer 1, and when classroom projecting apparatus used, computer 1 received the signal and closed through the lamp of single chip module 3 control projecting apparatus top again, has prevented the interference of front row light to the projecting apparatus, makes things convenient for classmates to see the projection clearly.
Under the semi-automatic mode, use computer 1 to close the power of light collection module 5 and infrared detection module 6 through power module 7 and make it out of work, the lamp in classroom includes that the bright of local lamp goes out and is controlled by computer 1 through single chip module 3 direct control, realizes the function of every lamp in the full classroom of control in one department, closes unnecessary module power supply and prevents the module malfunction and can also reduce module loss and improve module life. When the power supply module 7 is not used for a long time in a classroom, for example, in the case of a cold or hot day, the power supply module can be disconnected, so that the system is shut down and does not work, and the waste of electric energy caused by standby power consumption of the module is avoided.
As shown in fig. 2 and 3, the single chip microcomputer module (3) is an STC85C5 single chip microcomputer, and the whole minimum single chip microcomputer system mainly comprises two parts: a crystal oscillator circuit and a reset circuit. The RESET pin RESET of the single chip microcomputer is effective on the falling edge. When the vcc terminal is energized, the capacitor is in a conducting state, so the RESET pin is directly connected to the power source vcc. When the capacitor is fully charged, the capacitor is in a high-resistance state, and the singlechip cannot receive a power supply. At this time, the RESET terminal is connected with the GND terminal, and the voltage of the RESET terminal is released and drops from +5v to 0 v. At this time, the RESET terminal is operated. The crystal oscillator circuit consists of a crystal oscillator and two capacitors. The single chip microcomputer works once when receiving 12 sine waves. The crystal oscillator is used for generating sine waves, like the heart of a human body supplying blood, a 12M crystal oscillator generates 12000000 sine waves every second, and the singlechip can execute codes 1000000 times every second. Two 30uf capacitors are used to help the crystal oscillator generate sine waves, and without the two capacitors, the crystal oscillator cannot normally generate sine waves. The size of the capacitor is typically chosen to be 22 uf;
as shown in fig. 2 and 4, the infrared detection module (6) is a HC-SR501 human body infrared sensor which can detect infrared rays emitted by a human body and output an electric signal after conversion, and the detection is a non-contact type detection. That is, the sensor can detect the infrared rays emitted from the human body without the human body contacting the sensor. The sensor converts the thermal signal into an electrical signal and amplifies and then outputs this voltage signal. The connection of the human body infrared detection circuit is shown in fig. 2, only 3 pins are led out from the module, wherein the first pin is connected with a power supply, the third pin is grounded, the 2 nd pin is connected with a P22 port of an STC85C5 single chip microcomputer, when a person appears in the detection range of the module, the pin outputs a high level, and when no person approaches, the pin outputs a low level.
As shown in fig. 2 and 5, the light collection module (5) is formed by an ADC0832 chip and a photo-resistor, a 10K resistor. The photoresistor 52 is an MG45 photoresistor, the bright resistance is 2-10K omega, the dark resistance is 1-10M omega, the photoresistor 52 and the 10K resistor (53) are connected with a CH0 pin of an ADC0832 chip (51) in parallel, and ends D0 and D1 of the ADC0832 chip 51 are connected with a P21 pin of an STC85C5 singlechip; the CS end is connected with a P23 pin of the STC85C5 singlechip; and the CLK terminal is connected with a P20 pin of the STC85C5 singlechip. The scheme of using is that the input voltage is changed through the change of the resistance value of the photoresistor, and the resistance value of the photoresistor adopted by the design is reduced along with the increase of light. The resistor R6 and the photosensitive resistor R1 divide voltage, and the voltage of the resistor R6 is acquired by the singlechip. Therefore, the stronger the illumination is, the larger the voltage received by the single chip microcomputer is, the ADC0832 is used for converting the illumination analog quantity into the digital quantity and then transmitting the digital quantity to the single chip microcomputer for processing. ADC0832 is an 8-bit double-buffer A/D conversion chip, and the highest resolution can reach 256 levels, which can meet the general requirements of analog conversion. The working voltage of the ADC0832 is +5 v. The operating voltage divided by the resolution yields the resolution frequency of ADC0832, which is about 0.02V. That is, when the input voltage changes by 0.02V, the digital quantity of the output changes by 1. For example, the input voltage is 0.02V, the digital quantity output is 00000001, and when the input voltage is 0.04V, the digital quantity output is 00000010. The chip has a change-over time of 32us, so the chip has rapid reaction and strong stability.
As shown in fig. 2 and 6, the RS232 serial port includes an RS232 chip and an interface seat DB9, the RS232 chip R20UT is connected to a pin P31 of an STC85C5 single chip microcomputer, and the RS232 chip T2IN is connected to a pin P30 of an STC85C5 single chip microcomputer, so as to realize communication between the STC85C5 single chip microcomputer and a computer.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. The utility model provides an intelligence light control system based on singlechip which characterized in that: the intelligent human body detection system comprises a single chip microcomputer module (3) and a power supply module (7), wherein the power supply module (7) is electrically connected with a computer (1), the computer (1) controls the on-off of a power supply of the system through the power supply module (7), the input end of the single chip microcomputer module (3) is electrically connected with an infrared detection module (6) and a light collection module (5), the output end of the single chip microcomputer module (3) is electrically connected with a light control module (4), the power supply module (7) is respectively electrically connected with other modules of the system and provides power, and the infrared detection module (6) is used for sensing human body signals and sending data signals to the single chip microcomputer module (3) for processing; the light ray collection module (5) is used for collecting light ray signals and sending the signals to the single chip microcomputer module (3) for processing; the output end of the light control module (4) is connected with the lamp and can control the on and off of the light.
2. The intelligent light control system based on the single chip microcomputer according to claim 1, characterized in that: the single chip microcomputer module (3) is an STC85C5 single chip microcomputer.
3. The intelligent light control system based on the single chip microcomputer according to claim 1, characterized in that: the number of the light control modules (4) is more than one, and each light control module (4) is connected with more than one lamp.
4. The intelligent light control system based on the single chip microcomputer according to claim 1, characterized in that: the infrared detection module (6) is an HC-SR501 human body infrared sensor, the working voltage is 4.5V-20V, and the high level 3.3V and the low level 0V are output.
5. The intelligent light control system based on the single chip microcomputer according to claim 2, characterized in that: the light ray collection module (5) comprises an ADC0832 chip (51), a photoresistor (52) and a 10K resistor (53), wherein the photoresistor (52) is an MG45 photoresistor, the bright resistance is 2-10K omega, the dark resistance is 1-10M omega, the photoresistor (52) and the 10K resistor (53) are connected with a CH0 pin of the ADC0832 chip (51) in parallel, and ends D0 and D1 of the ADC0832 chip (51) are connected with a P21 pin of an STC85C5 singlechip in parallel; the CS end is connected with a P23 pin of the STC85C5 singlechip; and the CLK terminal is connected with a P20 pin of the STC85C5 singlechip.
6. The intelligent light control system based on the single chip microcomputer according to claim 2, characterized in that: the lighting control module (4) comprises a relay, a 4.7K inductor and a triode, and the lighting control module (4) is connected with a P03 port of a pin of an STC85C5 singlechip.
7. The intelligent light control system based on the single chip microcomputer according to claim 1, characterized in that: the single chip microcomputer module (3) is electrically connected with the computer (1) through the RS232 serial port (2), and the computer (1) can control the lamp to be turned on or off through the single chip microcomputer module (3).
8. The intelligent light control system based on the single chip microcomputer according to claim 7, is characterized in that: the computer (1) comprises a projector signal unit (11), and the projector signal unit (11) controls the lamp above the projector to be turned on or off through the single chip microcomputer module (3).
CN201922196148.8U 2019-12-09 2019-12-09 Intelligence light control system based on singlechip Expired - Fee Related CN211352566U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922196148.8U CN211352566U (en) 2019-12-09 2019-12-09 Intelligence light control system based on singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922196148.8U CN211352566U (en) 2019-12-09 2019-12-09 Intelligence light control system based on singlechip

Publications (1)

Publication Number Publication Date
CN211352566U true CN211352566U (en) 2020-08-25

Family

ID=72103387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922196148.8U Expired - Fee Related CN211352566U (en) 2019-12-09 2019-12-09 Intelligence light control system based on singlechip

Country Status (1)

Country Link
CN (1) CN211352566U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020191A (en) * 2020-09-21 2020-12-01 上海谷元电气科技有限公司 Intelligent building light control device and control method based on HPLC

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020191A (en) * 2020-09-21 2020-12-01 上海谷元电气科技有限公司 Intelligent building light control device and control method based on HPLC

Similar Documents

Publication Publication Date Title
CN201234376Y (en) Number of people indoor detecting energy saving control apparatus for lighting and electricity using devices
CN105828494A (en) Home smart lighting system and control method
CN203554755U (en) Intelligent table-lamp control device
CN211352566U (en) Intelligence light control system based on singlechip
CN104837242A (en) Classroom illumination energy-saving control apparatus and control method thereof
CN205596391U (en) Classroom intelligence LED lamp based on single chip microcomputer control
CN104703361A (en) Intelligent energy-saving table lamp
CN209070716U (en) A kind of tool management system
CN104582155B (en) Intelligent analog controller for tunnel lamps
CN201303451Y (en) Lighting energy-saving controller for classroom
CN204335087U (en) A kind of home intelligent illuminator
CN203015202U (en) Energy-saving device for automatically controlling lighting equipment
CN202856395U (en) Mine lamp charging device
CN107690217A (en) A kind of energy-saving intelligent street lamp
CN204634130U (en) A kind of energy-saving illumination TT&C system
CN204377209U (en) Detect the wireless sensing system of street lamp light intensity
CN209748856U (en) Little night-light of intelligence response
CN209627744U (en) Lighting system and lighting control system
CN105050294A (en) Intelligent light emitting diode (LED) lighting system
CN203219586U (en) Light intelligent control system for public place
CN203251488U (en) A classroom light intelligent control apparatus
CN104955242A (en) Energy-saving device with high adaptability
CN210202131U (en) Induction energy-saving lamp controller capable of automatically adjusting brightness
CN205160852U (en) Economize on electricity automatic control system of family
CN105188196A (en) LED track lamp with intelligent light sensing and light modulation functions

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200825

Termination date: 20201209