The invention discloses a functional intelligent table lamp based on STM32. The table lamp includes an environment detection module, a
clock module, an
infrared touch sensing module, a LED projection module, an
acoustics module, a WiFi module, a
liquid crystal display module, a keyboard module, a power supply module, a
temperature control module and a
relay module which are all connected to a single-
chip microcomputer control module. The invention also discloses an
intelligent control method of the functional intelligent table lamp based on STM32. The method comprises the following steps: 1. collecting information and uploading the information to a
cloud server; 2. detecting whether a light is proper, and if the light is improper, adjusting the brightness of the table lamp; 3. detecting whether a user sits properly, and if the user sits improperly, playing an alert; 4. detecting whether there is
smoke around, and if there is
smoke, alerting the user to make escape preparations; 5. when the temperature exceeds a set temperature
score, powering off the table lamp; and 6. and when the user leaves the table
desk more than 15 minutes, powering off the table lamp. The functional intelligent table lamp and the
intelligent control method are advantaged by energy saving and strong suitability.