CN106304485A - Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof - Google Patents

Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof Download PDF

Info

Publication number
CN106304485A
CN106304485A CN201610709132.0A CN201610709132A CN106304485A CN 106304485 A CN106304485 A CN 106304485A CN 201610709132 A CN201610709132 A CN 201610709132A CN 106304485 A CN106304485 A CN 106304485A
Authority
CN
China
Prior art keywords
module
desk lamp
stm32
user
clock
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.)
Pending
Application number
CN201610709132.0A
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.)
Jinan University
Original Assignee
Jinan 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 Jinan University filed Critical Jinan University
Priority to CN201610709132.0A priority Critical patent/CN106304485A/en
Publication of CN106304485A publication Critical patent/CN106304485A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • 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/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a kind of Multifunctional intelligent desk lamp based on STM32, including: context detection module, clock module, infrared touch induction module, LED projection module, speaker module, WiFi module, liquid crystal display device module, Keysheet module, power module, temperature control module and the relay module being all connected with single chip control module;The invention also discloses the intelligent control method of a kind of Multifunctional intelligent desk lamp based on STM32, comprise the following steps: 1, gather information is uploaded to cloud server;2, detection light is the most suitable, as being not suitable for, then and adjustable desk lamp brightness;3, detect whether that sitting posture is correct, if incorrect, then carry out reporting reminding;4, whether detection around has smog, if having, then reminds user to do escape measure;5, when temperature exceedes set temperature value, then desk lamp power supply is cut off;If 6 leave more than 15 minutes, then cut off desk lamp power supply.There is the advantages such as energy-conservation and strong adaptability.

Description

Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof
Technical field
The present invention relates to a kind of electronic technology and single chip application technology, particularly to a kind of based on STM32 multi-functional Intelligent desk lamp and intelligent control method thereof.
Background technology
The desk lamp huge number listed at present, but its function is the most single.But be as science and technology progress with And the improving constantly of living standard, the demand of desk lamp is gradually increased by people with requirement.Its function is also opened by simple illumination Beginning to aspect development such as the energy-conservation of other and eye protections, some desk lamp also added the functions such as non-illumination.List on a large scale at present In multi-function desk lamp, its function possessed is the most few, is limited only to the function such as alarm clock, timing.This for us is a Novel reading lamp, in addition to most basic illumination functions, it also has illuminant module can be automatically adjusted desk lamp according to ambient brightness Brightness;Its sensor judges that the sitting posture of user etc. is the most correct and proposes health prompt;We also use cloud communication skill Art, is controlled desk lamp by mobile phone A PP, and can obtain the picture before desk lamp display screen, Ke Yiguan by mobile phone Examining the study situation of child, it has fire hazard aerosol fog alarm module, the when of once having the generation of fire condition, and the meeting of mobile phone A PP Remind user peremptorily.Can provide convenient for our daily life.Its function also by simple light on to eye protection, joint The aspects such as energy change development;These functions desk lamp the most currently on the market does not has.
Summary of the invention
The primary and foremost purpose of the present invention is that the shortcoming overcoming prior art is with not enough, it is provided that a kind of many merits based on STM32 Energy intelligent desk lamp, this Multifunctional intelligent desk lamp with conventional table lamp & lantern seemingly, as long as plugging in, just can run, and difference is, its There is several functions but loaded down with trivial details setting need not be carried out, give user more functional experience, embody total system and set The novelty of meter and terseness, have wide industrial prospect, and this is that be similar to product cannot match in excellence or beauty;The present invention Big for multi-function desk lamp energy loss amount on market, spend the electricity charge many, and the problem that can not be automatically switched off, this TV station desk lamp is adopted With LED light source, energy-saving and environmental protection are the most durable, and can control whether to switch or be automatically switched off by network, embody in this respect The creativeness of functional design, allows the user be obtained in that the experience of hommization;Additionally, intelligent desk lamp of the prior art does not has The function of video monitoring, the intelligent desk lamp of the present invention can solve this well by the picture acquisition of the photographic head of desk lamp and ask Topic.
Another object of the present invention is to the shortcoming overcoming prior art with not enough, it is provided that one is applied to based on STM32 The intelligent control method of Multifunctional intelligent desk lamp.
The primary and foremost purpose of the present invention can be achieved through the following technical solutions: all with STM32 singlechip chip control module The ultrasound wave that is connected, camera module, fire hazard aerosol fog alarm module, clock module, infrared touch induction module, LED throw Shadow module, speaker module, WiFi module, liquid crystal display device module, Keysheet module, power module, temperature control module, relay module With app module;
STM32 singlechip chip control module: be the master controller of Multifunctional intelligent desk lamp, is used for coordinating environment measuring mould Block, clock module, infrared touch induction module, LED projection module, speaker module, WiFi module, liquid crystal display device module, Work between Keysheet module, power module, temperature control module and relay module;
Photographic head, ultrasonic wave module: for detecting the size of surrounding light intensity;
Fire hazard aerosol fog alarm module: for detecting the concentration of surrounding smog and harmful gas, it may be judged whether there is fire Situation or other poisonous gas leakages;Clock module: for providing temporal information to Single-chip Controlling;
Infrared touch induction module: for by touching the corresponding switch of this module control;
LED projection module: for projection time;
Speaker module: be used for exporting voice message;
WiFi module: be used for making Multifunctional intelligent desk lamp be connected with the Internet;
Liquid crystal display device module: for pointing out the output display of text;
Keysheet module: include function key and numeral keys, user arranges time, quarter-bell and control by the button of Keysheet module Electronic clock;
Power module: for civil power is converted into 5V voltage, power to Multifunctional intelligent desk lamp;
Temperature control module: automatically power off when desk lamp environment temperature is more than 80 DEG C, with the generation of fire preventing;
Relay module: for controlling according to the pin of single-chip microcomputer, automatic control switch disconnected and opening.
Described single chip control module uses STM32, and described context detection module uses photoconductive resistance, described clock module Use DS12C887+ clock chip.
Described LED projection module use LED light source, sensed by infrared touch, control LED projection module open with Close.
Described speaker module uses ISD1820 recording voice, horn module;Described WiFi module uses ESP8266 wireless Mixed-media network modules mixed-media, described liquid crystal display device module uses LCD1602 module, and described power module has reserve battery, during power-off, opens Dynamic reserve battery, it is ensured that the power supply of clock chip;Described temperature control module uses intelligent integrated temperature sensor DS18B20.
The primary and foremost purpose of the present invention can also be achieved through the following technical solutions: Multifunctional intelligent desk lamp based on STM32 Mainly include that STM32LQFP64 main controller module, ESP8266 serial ports turn WIFI module, photoconductive resistance module, ultrasonic mode Block, camera module, HC-SR501 human body infrared induction module, DS18B20 temperature sensor module, MQ-2 fire hazard aerosol fog detect Module and LCD12864 LCD MODULE.
ESP8266 serial ports is used to turn WIFI module, the information that photographic head and other various sensor collection are arrived, pass through Single-chip microcomputer is uploaded to cloud server after processing, then is received the information from server by mobile phone A PP client, can allow use Person recognizes the environmental aspect around desk lamp;In addition, mobile phone A PP can also send text message and be sent to desk lamp through high in the clouds Show at display screen.
Use photoconductive resistance module, detect surrounding light intensity, and be automatically adjusted the startup of LED according to this intensity Number or the regulation electric current by LED, to reach to export the brightness control function of light.
Detected by the superposition of ultrasound wave and camera module, accurately measure the distance between user head and desktop, If distance is less than 30 centimetres, then by the sound equipment output voice reminder of desk lamp, user is reminded to increase between head and desktop Distance.
Using MQ-2 fire hazard aerosol fog detection module, this module has reliable spirit to toxic gas, smog, fire temperature etc. Quick property.The situation of surrounding can be detected, fire can not only be monitored, the harmful gases such as natural gas also can be examined Measure, it is ensured that the health of user.
Using HC-SR501 human body infrared induction module, this module has multiple sensing form, can be adjusted according to demand. When user leave desk lamp can detection range more than 15 minutes after, desk lamp will turn off, and reaches energy-conservation effect with this.
DS18B20 temperature sensor, this sensor for temperature sensing sensitivity, the information provided according to it, processor are provided Can make a response rapidly.Automatically power off when desk lamp operating temperature is too high, prevent security incident from occurring.
The present invention is a multifunctional intellectual coordinating electronic circuit module composition with STM32 chip microprocessor for core Desk lamp, has a following functions:
Brightness regulation: use photoconductive resistance module, detects surrounding light intensity size, and automatically adjusts according to this intensity The startup number of joint LED or the regulation size of current by LED, to reach to export the brightness regulation of light;That is: energy The brightness of desk lamp it is automatically adjusted, to reach to be best suitable for the brightness of study according to ambient brightness.
Sitting posture prompting: detected by the superposition of ultrasound wave and camera module, accurately measure user head and desktop it Between distance, if distance is less than 30 centimetres, then by the sound equipment of desk lamp output voice reminder, remind user to increase head and table Distance between face;That is: by detection module, measure the distance of head and desktop, determine that posture is whether healthy and be given and carry Wake up, the most correct according to the sitting posture of user etc. and propose health prompt.
Clock alarm: use DS12C887+ clock chip to provide temporal information to STM32 Single Chip Microcomputer (SCM) system.
Fire hazard aerosol fog is reported to the police: using MQ-2 fire hazard aerosol fog detection module, this module is to toxic gas, smog, fire temperature Etc. there being reliable susceptiveness, the when of once having the generation of fire condition, mobile phone A PP can remind user peremptorily.
Mobile phone A pp: use computer advanced language to develop the systems such as mobile phone terminal App, adaptive Android, iOS, Windows Platform;Use cloud mechanics of communication, by mobile phone A PP, desk lamp is controlled, and desk lamp display screen can be obtained by mobile phone Picture before Mu, can observe the study situation of child.
WiFi controls: using ESP8266 serial ports to turn WIFI module, this module is that the UART-WiFi of a super low-power consumption is saturating Transmission module, it supports wireless 802.11b/g/n standard;Support tri-kinds of mode of operations of STA/AP/STA+AP;Built-in ICP/IP protocol Stack, supports that multichannel TCP Client connects;Support abundant Socket AT instruction;Support UART/GPIO data communication interface; Support Smart Link intelligent networking function;By WiFi control desk lamp on off state and when people leave a bit of time it The most automatically turn off the light;
Infrared induction module: use HC-SR501 human body infrared induction module, this module has multiple sensing form, can root It is adjusted according to demand.
Temperature sense module: use DS18B20 temperature sensor, this sensor for temperature sensing sensitivity, provide according to it Information, processor can be made a response rapidly.
The LED projection time can also be used, and there is clock and alarm clock calling function, it is also possible to this is multi-functional for time switch Intelligent desk lamp.
Another object of the present invention can be achieved through the following technical solutions: a kind of be applied to described based on STM32 The intelligent control method of Multifunctional intelligent desk lamp, comprises the following steps:
Step 1, when opening desk lamp, the information arrived by camera module and its corresponding sensor collection, pass through STM32 singlechip chip control module is uploaded to cloud server after processing;
Whether light is suitable for step 2, photoconductive resistance module detection surrounding, as being not suitable for, then and STM32 singlechip chip The brightness of control module adjustable desk lamp;
It is correct that step 3, ultrasonic wave module detect user whether sitting posture together with camera module, if incorrect, then Carried out reporting by speaker module and remind, remind user to increase the distance between head and desktop;
Whether step 4, fire hazard aerosol fog alarm module detection surrounding has smog or other harmful gass, if having, then Reminded user to lose no time to carry out escape measure and by network transmission danger signal to mobile phone App immediately by speaker module In, remind the household of user;
Desk lamp temperature is detected by step 5, temperature control module, when the temperature of desk lamp exceedes the temperature value of setting, at once Automatically cut off the power supply of desk lamp to close desk lamp, prevent the generation of security incident;
Step 6, sensed the most already out desk lamp of user together with clock module by human body induction module more than 15 minutes, The most then cut off the power supply of desk lamp to close desk lamp, reach energy-conservation effect with this;
As preferably, further comprising the steps of:
When needs use remotely monitor time, app module can be opened, app module from cloud server download data thus Realizing monitoring in real time, mobile phone A PP is sent to text message by high in the clouds the liquid crystal display device module of desk lamp.
Another object of the present invention can also be achieved through the following technical solutions: a kind of is applied to many merits based on STM32 The intelligent control method of energy intelligent desk lamp, comprises the following steps:
Step 1, when opening desk lamp, the information that camera module and other various sensor collection arrive, through single-chip microcomputer Cloud server it is uploaded to after process;
Step 2, suitable with photosensitive resistive module detection surrounding whether light, as being not suitable for, data are delivered to master control Chip thus regulate LED and start number or the electric current of LED, to realize the brightness regulation of output light;
Step 3, detect user whether sitting posture together with camera module by ultrasonic wave module correct, if the most just Really, then carried out reporting by voice module and remind, remind user to increase the distance between head and desktop;
Whether step 4, fire hazard aerosol fog module detection surrounding has smog or other harmful gass, if having, passes through sound Ring and remind user to lose no time to carry out escape measure and send danger signal by network to remind user in mobile phone App immediately Household, thus reach fire hazard aerosol fog warning function;
Desk lamp temperature is detected by step 5, cooperation temperature sensor, when temperature is too high, exceedes the temperature value horse determined On automatically cut off power-off desk lamp, prevent security incident from occurring;
Step 6, sensed the most already out desk lamp of user together with clock module by human body induction module more than 15 minutes, Cut off the electricity supply the most equally closedown desk lamp, reach energy-conservation effect with this;
Step 7, when needs use remotely monitor time, can open app, app can from cloud server download data from And realize monitoring in real time, it is sent at desk lamp display screen show it addition, mobile phone A PP can also send text message through high in the clouds.
The intelligent desk lamp of the present invention has the following characteristics that
(1) by photoconductive resistance module, according to environment illumination intensity, be automatically adjusted LED in desk lamp startup number or Size of current, thus change desk lamp brightness, to reach to be best suitable for the brightness of study;
(2) use photographic head and the combination of ultrasonic wave module, can detect with superposition, it is possible to accurately detect out head and table Distance between face, so that it is determined that real user's posture is the most healthy, if unhealthy, provides voice by the sound system of desk lamp Remind;
(3) provide clock alarm function by DS12C887+ clock chip, and by infrared touch module, touch Afterwards, LED projection is allowed to go out the corresponding time;
(4) application MQ-2 fire hazard aerosol fog detection module, this module is to reaction spirits such as toxic gas, smog, fire (high temperature) Quick, can strictly monitoring surrounding whether breaking out of fire, if confirming breaking out of fire, then reminding user to catch up with immediately by sound equipment Tightly carry out escape measure and by reminding the household of user in network transmission danger signal to mobile phone App, thus reach fire Calamity function of smoking alarm;
(5) by mobile phone A pp, send text message, through network, text message is sent to inside desk lamp, and warp Cross process then to show from display screen;
(6) by the ambient condition before the desk lamp camera module monitoring state of user and desk lamp, and can pass through Network, is sent to acquired video signal in mobile phone A pp, to reach monitoring effect;
(7) by mobile phone A pp, through network, thus the switch of desk lamp is controlled;
(8) by existing ultrasonic wave module, the distance between detection user and desk lamp, when user is beyond detection mould The detection range of block was automatically switched off desk lamp after 15 minutes;
(9) use built-in critesistor module, when desk lamp operating temperature is more than 80 degrees Celsius, automatically power off closedown platform Lamp, in case breaking out of fire.
The present invention has such advantages as relative to prior art and effect:
(1) it is automatically adjusted desk lamp brightness according to ambient lighting degree, to reach to be best suitable for the brightness of study, green energy conservation ring Protect.
(2) can detect that the distance used between experimenter's head and desktop, determine and make whether real user's posture is rectified, If improper canonical provides voice reminder.
(3) clock, alarm clock and timing function, timing can open desk lamp when going out family no one for a long time, simulate family Someone sight prevention thief patronizes.
(4) temperature control and fire hazard aerosol fog warning function, when desk lamp operating temperature is overheated, automatically powers off closedown desk lamp power supply, Avoid causing fire incident.
(5) monitor the ambient condition before the state of user and desk lamp in real time by desk lamp photographic head, reached the head of a family and Child's interaction and the effect of supervised learning.
(6) desk lamp is automatically opened up when user is close to desk lamp according to ambient conditions, beyond the detection range of detection module It is automatically switched off desk lamp, to embody energy-saving effect and ease of use after 15 minutes.
(7) Multifunctional intelligent desk lamp of the present invention is economical and practical, practical, can produce in batches and put goods on the market to meet People's daily life needs, and has wide industrialization prospect.
Accompanying drawing explanation
Fig. 1 is table lamp system overall framework figure;The desk lamp of the present invention is with STM32 microcontroller as host CPU, on this basis Set up correlation function physical module and constitute multifunctional student desk lamp hardware system, survey including photographic head and supersonic sensing Control module, liquid crystal display device module, WiFi module, LED projection module and various sensor.
Fig. 2 is table lamp system comprising modules.
Fig. 3 is the intelligent control method of Multifunctional intelligent desk lamp based on STM32.
Detailed description of the invention
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention do not limit In this.
Embodiment
As it is shown in figure 1, be the table lamp system overall frame structure of the present invention, this desk lamp uses ESP8266 serial ports to turn WIFI Module, the information that photographic head and other various sensor collection are arrived, after single-chip microcomputer processes, it is uploaded to cloud server, Received the information from server by mobile phone A PP client again, user can be allowed to recognize the environmental aspect around desk lamp;Remove Outside this, mobile phone A PP can also send text message and be sent at desk lamp display screen show through high in the clouds.
Use photoconductive resistance module, detect surrounding light intensity, and be automatically adjusted the startup of LED according to this intensity Number or the regulation electric current by LED, to reach to export the brightness control function of light.
Detected by the superposition of ultrasound wave and camera module, accurately measure the distance between user head and desktop, If distance is less than 30 centimetres, then by the sound equipment output voice reminder of desk lamp, user is reminded to increase between head and desktop Distance.
Using MQ-2 fire hazard aerosol fog detection module, this module has reliable spirit to toxic gas, smog, fire temperature etc. Quick property.The situation of surrounding can be detected, fire can not only be monitored, the harmful gases such as natural gas also can be examined Measure, it is ensured that the health of user.
Using HC-SR501 human body infrared induction module, this module has multiple sensing form, can be adjusted according to demand. When user leave desk lamp can detection range more than 15 minutes after, desk lamp will turn off, and reaches energy-conservation effect with this.
DS18B20 temperature sensor, this sensor for temperature sensing sensitivity, the information provided according to it, processor are provided Can make a response rapidly.Automatically power off when desk lamp operating temperature is too high, prevent security incident from occurring.
As in figure 2 it is shown, desk lamp is with STM32 single-chip microcomputer as main control chip, with photoconductive resistance module, photographic head, ultrasonic mode Block, DS12C887+ clock chip, MQ-2 fire hazard aerosol fog detection module, power module, infrared module, WiFi module, temperature control mould Block, speaker module, Keysheet module, LCD MODULE and relay module are as subsidiary module, to realize passing through main control platform Operation just can realize with an automatic light meter, and fire alarm automatically powers off, and combines app and monitor in real time..
(1) by photoconductive resistance module, according to environment illumination intensity, be automatically adjusted LED in desk lamp startup number or Size of current, thus change desk lamp brightness, to reach to be best suitable for the brightness of study;
(2) use photographic head and the combination of ultrasonic wave module, can detect with superposition, it is possible to accurately detect out head and table Distance between face, so that it is determined that real user's posture is the most healthy, if unhealthy, provides voice by the sound system of desk lamp Remind;
(3) provide clock alarm function by DS12C887+ clock chip, and by infrared touch module, touch Afterwards, LED projection is allowed to go out the corresponding time;
(4) application MQ-2 fire hazard aerosol fog detection module, this module is to reaction spirits such as toxic gas, smog, fire (high temperature) Quick, can strictly monitoring surrounding whether breaking out of fire, if confirming breaking out of fire, then reminding user to catch up with immediately by sound equipment Tightly carry out escape measure and by reminding the household of user in network transmission danger signal to mobile phone App, thus reach fire Calamity function of smoking alarm;
(5) by mobile phone A pp, send text message, through network, text message is sent to inside desk lamp, and warp Cross process then to show from display screen,;
(6) by the ambient condition before the desk lamp camera module monitoring state of user and desk lamp, and can pass through Network, is sent to acquired video signal in mobile phone A pp, to reach monitoring effect;
(7) by mobile phone A pp, through network, thus the switch of desk lamp is controlled;
(8) by existing ultrasonic wave module, the distance between detection user and desk lamp, when user is beyond detection mould The detection range of block was automatically switched off desk lamp after 15 minutes;
(9) use built-in critesistor module, when desk lamp operating temperature is more than 80 degrees Celsius, automatically power off closedown platform Lamp, in case breaking out of fire.
This intelligent desk lamp actuator mainly by STM32LQFP64 main controller module, ESP8266 serial ports turn WIFI module, Photoconductive resistance module, ultrasonic wave module, camera module, HC-SR501 human body infrared induction module, DS18B20 temperature sensor Module, MQ-2 fire hazard aerosol fog detection module and LCD12864 LCD MODULE composition.
(1) environment induction pattern: application DS18B20 temperature sensor module and MQ-2 fire hazard aerosol fog detection module, according to Environmental condition controls intelligent desk lamp switch brightness and sends alarm, it is to avoid accident occurs;
(2) energy saver mode: application HC-SR501 human body infrared induction module, when user leaves the model that desk lamp can detect that After enclosing 15 minutes, desk lamp will turn off, and saves electricity consumption.
(3) cell-phone customer terminal pattern: by the application program of system support, can send text instruction to desk lamp, through service Device is transferred at desk lamp display screen show.
As it is shown on figure 3, a kind of intelligent control method being applied to Multifunctional intelligent desk lamp based on STM32 is specific as follows: When being first turned on desk lamp, the information that photographic head and other various sensor collection arrive, after single-chip microcomputer processes, it is uploaded to cloud End server, with photosensitive resistive module detection surrounding, whether light is suitable, as being not suitable for, data is delivered to main control chip Thus regulate LED and start number or the electric current of LED, the most then continuation ultrasound wave is examined together with camera module Whether sitting posture is correct to survey user, if incorrect, then carried out reporting by voice module and reminds;The detection of fire hazard aerosol fog module is around Whether environment has smog or other harmful gass, if having, reminds user to lose no time to carry out escape measure also immediately by sound equipment And by reminding the household of user in network transmission danger signal to mobile phone App, thus reach fire hazard aerosol fog warning function;Connect Cooperation temperature sensor desk lamp temperature is detected, when temperature is too high, exceed the temperature value determined and automatically cut off electricity at once Desk lamp is closed in source, human body induction module sense the most already out desk lamp of user together with clock module more than 15 minutes, if It is, closedown desk lamp of cutting off the electricity supply the most equally that, when needs use and remotely monitor, can open app, app can be from cloud service Device is downloaded data thus is realized monitoring in real time.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention are not by above-described embodiment Limit, the change made under other any spirit without departing from the present invention and principle, modify, substitute, combine, simplify, All should be the substitute mode of equivalence, within being included in protection scope of the present invention.

Claims (6)

1. a Multifunctional intelligent desk lamp based on STM32, it is characterised in that including: all control mould with STM32 singlechip chip Camera module that block is connected, ultrasonic wave module, fire hazard aerosol fog alarm module, clock module, infrared touch induction module, LED projection module, speaker module, WiFi module, liquid crystal display device module, Keysheet module, power module, temperature control module, relay Device module and app module;
STM32 singlechip chip control module: be the master controller of Multifunctional intelligent desk lamp, be used for coordinating context detection module, Clock module, infrared touch induction module, LED projection module, speaker module, WiFi module, liquid crystal display device module, keyboard Work between module, power module, temperature control module and relay module;
Photographic head, ultrasonic wave module: for detecting the size of surrounding light intensity;
Fire hazard aerosol fog alarm module: for detecting the concentration of surrounding smog and harmful gas, it may be judged whether there is fire condition Or other poisonous gas leakages;
Clock module: for providing temporal information to Single-chip Controlling;
Infrared touch induction module: for by touching the corresponding switch of this module control;
LED projection module: for projection time;
Speaker module: be used for exporting voice message;
WiFi module: be used for making Multifunctional intelligent desk lamp be connected with the Internet;
Liquid crystal display device module: for pointing out the output display of text;
Keysheet module: include function key and numeral keys, user arranges time, quarter-bell and control electronics by the button of Keysheet module Clock;
Power module: for civil power is converted into 5V voltage, power to Multifunctional intelligent desk lamp;
Temperature control module: automatically power off when desk lamp environment temperature is more than 80 DEG C, with the generation of fire preventing;
Relay module: for controlling according to the pin of single-chip microcomputer, automatic control switch disconnected and opening;
App module: for cloud server data being downloaded and presenting, the most also camera module coordinates to realize in real time Monitoring.
Multifunctional intelligent desk lamp based on STM32 the most according to claim 1, it is characterised in that described Single-chip Controlling Module uses STM32, and described context detection module uses photoconductive resistance, and described clock module uses DS12C887+ clock chip.
Multifunctional intelligent desk lamp based on STM32 the most according to claim 1, it is characterised in that described LED projection module Use LED light source, sensed by infrared touch, control the Push And Release of LED projection module.
Multifunctional intelligent desk lamp based on STM32 the most according to claim 1, it is characterised in that described speaker module is adopted Record voice, horn module with ISD1820;Described WiFi module uses ESP8266 wireless network module, described liquid crystal display Module uses LCD1602 module, and described power module has reserve battery;Described temperature control module uses intelligent integrated temperature sensing Device DS18B20.
5. it is applied to an intelligent control method for Multifunctional intelligent desk lamp based on STM32 described in claim 1, its feature It is, comprises the following steps:
Step 1, the information arrived by camera module and its corresponding sensor collection, through STM32 singlechip chip control It is uploaded to cloud server after resume module processed;
Whether light is suitable for step 2, photoconductive resistance module detection surrounding, and as being not suitable for, then STM32 singlechip chip controls The brightness of module adjustable desk lamp;
Whether sitting posture is correct for step 3, ultrasonic wave module and camera module detection user, if incorrect, then by sound equipment mould Block carries out reporting to be reminded, and reminds user to increase the distance between head and desktop;
Whether step 4, fire hazard aerosol fog alarm module detection surrounding has smog or harmful gas, if having, then passes through sound equipment Module reminds user to lose no time to carry out escape measure immediately and by network transmission danger signal to mobile phone App, prompting makes The household of user;
Desk lamp temperature is detected by step 5, temperature control module, when the temperature of desk lamp exceedes the temperature value of setting, the most automatically Cut off the power supply of desk lamp to close desk lamp;
Step 6, by human body induction module and the clock module sensing the most already out desk lamp of user more than 15 minutes, the most then Cut off the power supply of desk lamp to close desk lamp.
Intelligent control method the most according to claim 5, it is characterised in that further comprising the steps of:
Opening app module, app module is downloaded data from cloud server thus is realized monitoring in real time, and mobile phone A PP passes through high in the clouds handle Text message is sent to the liquid crystal display device module of desk lamp.
CN201610709132.0A 2016-08-23 2016-08-23 Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof Pending CN106304485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610709132.0A CN106304485A (en) 2016-08-23 2016-08-23 Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610709132.0A CN106304485A (en) 2016-08-23 2016-08-23 Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof

Publications (1)

Publication Number Publication Date
CN106304485A true CN106304485A (en) 2017-01-04

Family

ID=57615514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610709132.0A Pending CN106304485A (en) 2016-08-23 2016-08-23 Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof

Country Status (1)

Country Link
CN (1) CN106304485A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686868A (en) * 2017-03-02 2017-05-17 成都信息工程大学 Intelligent table lamp
CN107062053A (en) * 2017-05-27 2017-08-18 欧普照明股份有限公司 Intelligent lamp, User Status system for prompting and User Status based reminding method
CN107084358A (en) * 2017-05-10 2017-08-22 中山市品匠电子科技有限公司 A kind of LED lamp based on Bluetooth technology
CN107940295A (en) * 2017-12-20 2018-04-20 宁波升耀光电科技有限公司 A kind of multifunctional intellectual LED eye-protecting lamps
CN108626603A (en) * 2018-04-13 2018-10-09 郑州东青信息科技有限公司 Intelligent-induction correcting sitting posture lamp
CN108770127A (en) * 2018-06-29 2018-11-06 上海电机学院 A kind of multi-functional LED desk lamp based on STC89C52 single chip control
CN108834271A (en) * 2018-05-10 2018-11-16 深圳市联芯互联科技有限公司 A kind of myopia prevention desk lamp based on MEMS technology, monitoring terminal and system
CN109640475A (en) * 2018-12-12 2019-04-16 浙江凯耀照明股份有限公司 A kind of desk lamp is self-service to place an order and extension system
CN109858376A (en) * 2019-01-02 2019-06-07 武汉大学 A kind of intelligent desk lamp with child healthy learning supervisory role
CN110113853A (en) * 2019-05-27 2019-08-09 贵州大学 A kind of Intelligent desk lamp controller
CN110769576A (en) * 2019-12-15 2020-02-07 华南理工大学广州学院 Control method for man-machine interaction and monitoring intelligent desk lamp
CN112565737A (en) * 2020-12-01 2021-03-26 黑龙江建筑职业技术学院 Three-dimensional display networking control method
CN113175634A (en) * 2021-04-26 2021-07-27 读书郎教育科技有限公司 Intelligent desk lamp and input method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204611452U (en) * 2015-06-03 2015-09-02 厦门理工学院 A kind of multi-functional intelligent lamp
CN104994631A (en) * 2015-06-23 2015-10-21 南昌航空大学 Energy-saving type LED lamp automatic control system
CN105485561A (en) * 2015-12-09 2016-04-13 深圳市华士科技有限公司 Intelligent multi-functional LED (Light-Emitting Diode) table lamp
CN205155684U (en) * 2015-12-11 2016-04-13 绍兴市柯桥区柯桥中学 Environmental quality and study state monitor function LED table lamp have
CN105554959A (en) * 2016-02-03 2016-05-04 申勇兵 Intelligent control circuit for multifunctional lighting device
CN205232529U (en) * 2015-11-02 2016-05-11 河南师范大学 Intelligent desk lamp lighting system of integration based on intelligent terminal observes and controls
CN105841025A (en) * 2016-03-25 2016-08-10 深圳市好时达电器有限公司 Intelligent table lamp and system thereof
CN205432674U (en) * 2015-12-05 2016-08-10 西安医学院 Desk with timing device
CN205486699U (en) * 2016-04-13 2016-08-17 河北工业大学 Position of sitting unscrambler based on face detection and ultrasonic ranging control

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204611452U (en) * 2015-06-03 2015-09-02 厦门理工学院 A kind of multi-functional intelligent lamp
CN104994631A (en) * 2015-06-23 2015-10-21 南昌航空大学 Energy-saving type LED lamp automatic control system
CN205232529U (en) * 2015-11-02 2016-05-11 河南师范大学 Intelligent desk lamp lighting system of integration based on intelligent terminal observes and controls
CN205432674U (en) * 2015-12-05 2016-08-10 西安医学院 Desk with timing device
CN105485561A (en) * 2015-12-09 2016-04-13 深圳市华士科技有限公司 Intelligent multi-functional LED (Light-Emitting Diode) table lamp
CN205155684U (en) * 2015-12-11 2016-04-13 绍兴市柯桥区柯桥中学 Environmental quality and study state monitor function LED table lamp have
CN105554959A (en) * 2016-02-03 2016-05-04 申勇兵 Intelligent control circuit for multifunctional lighting device
CN105841025A (en) * 2016-03-25 2016-08-10 深圳市好时达电器有限公司 Intelligent table lamp and system thereof
CN205486699U (en) * 2016-04-13 2016-08-17 河北工业大学 Position of sitting unscrambler based on face detection and ultrasonic ranging control

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686868A (en) * 2017-03-02 2017-05-17 成都信息工程大学 Intelligent table lamp
CN107084358B (en) * 2017-05-10 2020-07-07 大庆宏富来电气设备制造有限公司 LED lamps and lanterns based on bluetooth
CN107084358A (en) * 2017-05-10 2017-08-22 中山市品匠电子科技有限公司 A kind of LED lamp based on Bluetooth technology
CN107062053A (en) * 2017-05-27 2017-08-18 欧普照明股份有限公司 Intelligent lamp, User Status system for prompting and User Status based reminding method
CN107062053B (en) * 2017-05-27 2023-08-18 欧普照明股份有限公司 Intelligent lamp, user state reminding system and user state reminding method
CN107940295A (en) * 2017-12-20 2018-04-20 宁波升耀光电科技有限公司 A kind of multifunctional intellectual LED eye-protecting lamps
CN108626603A (en) * 2018-04-13 2018-10-09 郑州东青信息科技有限公司 Intelligent-induction correcting sitting posture lamp
CN108834271A (en) * 2018-05-10 2018-11-16 深圳市联芯互联科技有限公司 A kind of myopia prevention desk lamp based on MEMS technology, monitoring terminal and system
CN108770127A (en) * 2018-06-29 2018-11-06 上海电机学院 A kind of multi-functional LED desk lamp based on STC89C52 single chip control
CN109640475A (en) * 2018-12-12 2019-04-16 浙江凯耀照明股份有限公司 A kind of desk lamp is self-service to place an order and extension system
CN109858376A (en) * 2019-01-02 2019-06-07 武汉大学 A kind of intelligent desk lamp with child healthy learning supervisory role
CN110113853A (en) * 2019-05-27 2019-08-09 贵州大学 A kind of Intelligent desk lamp controller
CN110769576A (en) * 2019-12-15 2020-02-07 华南理工大学广州学院 Control method for man-machine interaction and monitoring intelligent desk lamp
CN112565737A (en) * 2020-12-01 2021-03-26 黑龙江建筑职业技术学院 Three-dimensional display networking control method
CN112565737B (en) * 2020-12-01 2024-01-30 黑龙江建筑职业技术学院 Networking control method for three-dimensional display
CN113175634A (en) * 2021-04-26 2021-07-27 读书郎教育科技有限公司 Intelligent desk lamp and input method thereof

Similar Documents

Publication Publication Date Title
CN106304485A (en) Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof
CN105892538B (en) Intelligent terminal and intelligent terminal system for building active fire system and wisdom building
CN102621905B (en) Intelligent sensing control vision protection method and device
CN105756466A (en) Control system of intelligent window
CN106778043A (en) Old man's monitor system, household terminal and cloud service platform based on smart home
CN206698484U (en) The control device and lighting device of lighting apparatus
CN205844869U (en) Home intelligent house keeper
CN206442461U (en) Low-power consumption and quick-response monitoring device
CN107688299A (en) A kind of anion intelligent domestic system and its operation method
CN105785750A (en) Intelligent alarm clock, terminal, system and method for carrying out prompting based on weather conditions
CN104577548B (en) Smart jack
CN106353774B (en) Intelligent Beidou searches and rescues report position instrument and its searches and rescues report position method
CN106162278A (en) A kind of low energy consumption terminal control system and method
Zhang et al. Design of smart home control system based on Cortex-A8 and ZigBee
CN208223550U (en) Confined space service personnel positioning and information monitoring device
CN206975491U (en) Intelligent residence control device
CN203771112U (en) Outdoor wireless inductive lamp
CN108050551A (en) A kind of long-range monitoring reminding type gas-cooker
CN205983043U (en) Intelligent control device of available door handle control
CN207865460U (en) A kind of long-range monitoring reminding type gas-cooker
CN206610404U (en) A kind of multifunction alarm device based on RFID
CN206400109U (en) The intelligent Big Dipper searches and rescues report position instrument
CN105467947A (en) Multi-functional environmental monitoring and electrical appliance control equipment
CN206323452U (en) A kind of home intelligent box
CN208283733U (en) A kind of smartwatch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170104