An intelligent system based on single-chip microcomputer control

By integrating light intensity detection and human body detection modules into a microcontroller-based intelligent system, the problems of limited functionality and energy waste in desk lamps have been solved, achieving intelligent control and vision protection.

CN224935820UActive Publication Date: 2026-11-03NINGBO UTEC ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522117984.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-09-30
Publication Date
2026-11-03
Estimated Expiration
2035-09-30

AI Technical Summary

Technical Problem

Existing desk lamps have limited functionality, and the design limitations of their control circuits result in high energy consumption and can cause eye damage with prolonged use.

Method used

It adopts a microcontroller-based intelligent system that integrates a light intensity detection module, a human body detection module, an alarm module, a Bluetooth module, and a signal light module. It achieves intelligent operation through light intensity detection and human body detection, and realizes remote control and alarm functions by combining the Bluetooth module.

Benefits of technology

It enables intelligent control of the desk lamp, reduces energy consumption, protects eyesight, and provides posture reminders and adaptive adjustment to ambient light.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224935820U_ABST
    Figure CN224935820U_ABST
Patent Text Reader

Abstract

The utility model relates to an intelligent system based on singlechip control, including main control module, light intensity detection module, display module, human body detection module, alarm module, bluetooth module and signal light module, and main control module is composed of singlechip, and light intensity detection module is composed of photosensitive resistance, resistance three, and display module is composed of OLED screen, and human body detection module is composed of interface four, interface one that connects an ultrasonic sensor respectively, and alarm module is composed of buzzer, and bluetooth module is composed of switch five, switch six, electric capacity no.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model belongs to the field of lighting circuits, specifically relating to an intelligent system based on microcontroller control. Background Technology

[0002] Currently, the functions of desk lamps on the market are too limited. With the development of the times and the improvement of people's living standards, a single desk lamp can no longer meet the needs. The fundamental reason is the limitation of its control circuit design, which not only increases energy consumption, but also causes eye damage if desk lamps are used for a long time. Utility Model Content

[0003] The purpose of this invention is to overcome the shortcomings of the existing technology and provide a microcontroller-based intelligent system for use in desk lamps.

[0004] The technical solution adopted by this utility model to solve its technical problem is: A microcontroller-based intelligent system includes a main control module, a light intensity detection module, a display module, a human body detection module, an alarm module, a Bluetooth module, and an indicator light module. The main control module is composed of a microcontroller with pins 5, 6, 9, 11, 15, 16, 21, 22, 26, 27, and 35. Pin 5 is connected to network label PA0, pin 6 to network label PA1, pin 9 to network label PA4, pin 11 to network label PA6, pin 15 to network label SCL, and pin 16... Connect the following network labels: SDA, PB12 (microcontroller pin 21), PB13 (microcontroller pin 22), RX (microcontroller pin 26), TX (microcontroller pin 27), and PB7 (microcontroller pin 35). The light intensity detection module consists of a photoresistor and a resistor. One end of the photoresistor and one end of the resistor are connected to network label PA1. The other end of the photoresistor operates at 3V3V, and the other end of the resistor is grounded. The display module consists of an OLED screen. Pin 1 of the OLED screen is connected to network label SDA, and pin 2 is connected to network label RX. SCL, OLED screen pin 3 is connected to the working voltage of 3V3, OLED screen pin 4 is grounded; the human body detection module consists of interface 4 and interface 1, which are respectively connected to an ultrasonic sensor. Interface 1 pin 1 is connected to the working voltage of 3V3, interface 1 pin 2 is grounded, interface 1 pin 3 is connected to network label TX, interface 1 pin 4 is connected to network label RX, interface 4 pin 1 is connected to the working voltage of 5V, interface 4 pin 2 is grounded, interface 4 pin 3 is connected to network label PA4, and interface 4 pin 4 is connected to network label PA6; the alarm module consists of a buzzer, where buzzer pin 1 is connected to network label PB7, and buzzer pin 2 is grounded; blue The tooth module consists of switch five, switch six, capacitor two, and capacitor five. Switch five pins 1 and 2 are connected to network label PB12, and pins 3 and 4 are grounded. Switch six pins 1 and 2 are connected to network label PB13, and pins 3 and 4 are grounded. One end of capacitor two is connected to network label PB12, and the other end is grounded. One end of capacitor five is connected to network label PB13, and the other end is grounded. The signal light module consists of a signal light and resistor one. The positive terminal of the signal light is connected to the operating voltage of 3V3, the negative terminal of the signal light is connected to one end of resistor one, and the other end of resistor one is grounded.

[0005] Preferably, the microcontroller is an STM32F103C8T6.

[0006] Preferably, the model of Interface 1 and Interface 4 is HDR-M-2.54.

[0007] Preferably, the photoresistor is a GL4537.

[0008] Compared with the prior art, this utility model has the following advantages and effects: The structure is reasonably designed, and the circuit achieves intelligent operation through the cooperation of the light intensity detection module and the human body detection module. Attached Figure Description

[0009] Figure 1 The circuit diagram of the main control module is shown in the example.

[0010] Figure 2 The circuit of the light intensity detection module is shown in the example.

[0011] Figure 3 The circuit of the display module is shown in the example.

[0012] Figure 4 The circuit diagram for the human body detection module is shown in the example.

[0013] Figure 5 The circuit diagram of the alarm module is shown in the example.

[0014] Figure 6 The circuit diagram for the Bluetooth module is shown in the example.

[0015] Figure 7 The circuit diagram of the signal light module is shown in the example.

[0016] The accompanying drawings, which are provided to further illustrate this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. Detailed Implementation

[0017] To make the above-mentioned objectives, features and advantages of this utility model more apparent and understandable, the specific embodiments of this utility model will be described in detail below with reference to the accompanying drawings. Example

[0018] like Figures 1-7 As shown, the intelligent circuit includes a main control module, a light intensity detection module, a display module, a human body detection module, an alarm module, a Bluetooth module, and a signal light module.

[0019] like Figure 1As shown, the main control module consists of a microcontroller with pins 5, 6, 9, 11, 15, 16, 21, 22, 26, 27, and 35. Pin 5 is connected to network label PA0, pin 6 to network label PA1, pin 9 to network label PA4, pin 11 to network label PA6, pin 15 to network label SCL, pin 16 to network label SDA, pin 21 to network label PB12, pin 22 to network label PB13, pin 26 to network label RX, pin 27 to network label TX, and pin 35 to network label PB7. In this embodiment, the microcontroller is an STM32F103C8T6.

[0020] like Figure 2 As shown, the light intensity detection module consists of a photoresistor and a resistor. One end of the photoresistor and one end of the resistor are connected to network label PA1. The other end of the photoresistor operates at 3V3V, and the other end of the resistor is grounded. In this embodiment, the photoresistor is a GL4537.

[0021] like Figure 3 As shown, the display module consists of an OLED screen, where pin 1 of the OLED screen is connected to network label SDA, pin 2 of the OLED screen is connected to network label SCL, pin 3 of the OLED screen is connected to the operating voltage 3V3, and pin 4 of the OLED screen is grounded.

[0022] like Figure 4 As shown, the human body detection module consists of Interface 4 and Interface 1, each connected to an ultrasound sensor. Interface 1 has pin 1 connected to a 3V operating voltage, pin 2 grounded, pin 3 connected to network label TX, and pin 4 connected to network label RX. Interface 4 has pin 1 connected to a 5V operating voltage, pin 2 grounded, pin 3 connected to network label PA4, and pin 4 connected to network label PA6. In this embodiment, Interface 1 and Interface 4 are of model HDR-M-2.54.

[0023] like Figure 5 As shown, the alarm module consists of a buzzer, with buzzer pin 1 connected to network label PB7 and buzzer pin 2 grounded.

[0024] like Figure 6As shown, the Bluetooth module consists of switch five, switch six, capacitor two, and capacitor five. Pins 1 and 2 of switch five are connected to network label PB12, and pins 3 and 4 of switch five are grounded. Pins 1 and 2 of switch six are connected to network label PB13, and pins 3 and 4 of switch six are grounded. One end of capacitor two is connected to network label PB12, and the other end of capacitor two is grounded. One end of capacitor five is connected to network label PB13, and the other end of capacitor five is grounded.

[0025] like Figure 7 As shown, the signal light module consists of a signal light and a resistor. The positive terminal of the signal light is connected to the working voltage of 3V3, the negative terminal of the signal light is connected to one end of the resistor, and the other end of the resistor is grounded.

[0026] This embodiment provides a system based on the above circuit: Interface 4 and Interface 1 are connected to an ultrasonic sensor. After the circuit is powered on, the system starts. When the ultrasonic sensor detects a human body in front and the ambient light intensity is lower than a set threshold, the indicator light illuminates and the timing function is activated. After the timing ends, the buzzer will be activated to emit a prompt sound. Users can connect their smartphones to the system's built-in Bluetooth module and use the accompanying Bluetooth debugging application in the main control module to achieve remote control functions, including setting the timing duration and manually controlling the buzzer's start and stop.

[0027] The detection feedback results from the ultrasonic sensor include: Poor posture alarm: When the user's posture is poor, causing the distance between them and the desk lamp to be less than 10cm, the buzzer will sound to remind them; Correct sitting posture: When the user maintains a correct sitting posture and the distance is greater than 10cm, the buzzer will turn off and the alarm will stop.

[0028] The operating modes of the light intensity detection module include: Sufficient lighting: When the ambient light intensity L>3000 lx, the signal lights remain off; Insufficient lighting: When the ambient light intensity L < 3000 lx, the signal light will turn on. The above description in this specification is merely illustrative of the present invention. Those skilled in the art to which this invention pertains may make various modifications or additions to the described specific embodiments or use similar methods to replace them, as long as they do not depart from the content of this specification or exceed the scope defined in the claims, all of which shall fall within the protection scope of this invention.

Claims

1. A microcontroller-based intelligent system, comprising a main control module, a light intensity detection module, a display module, a human body detection module, an alarm module, a Bluetooth module, and a signal light module, characterized in that: The main control module consists of a microcontroller with pins 5, 6, 9, 11, 15, 16, 21, 22, 26, 27, and 35. Pin 5 is connected to network label PA0, pin 6 to network label PA1, pin 9 to network label PA4, pin 11 to network label PA6, pin 15 to network label SCL, pin 16 to network label SDA, pin 21 to network label PB12, pin 22 to network label PB13, pin 26 to network label RX, pin 27 to network label TX, and pin 35 to network label PB7. The light intensity detection module consists of a photoresistor and a resistor. One end of the photoresistor and one end of the resistor are connected to network label PA1. The other end of the photoresistor operates at 3V3, and the other end of the resistor is grounded. The display module consists of an OLED screen, where pin 1 of the OLED screen is connected to network label SDA, pin 2 of the OLED screen is connected to network label SCL, pin 3 of the OLED screen is connected to the working voltage 3V3, and pin 4 of the OLED screen is grounded. The human body detection module consists of interface 4 and interface 1, which are respectively connected to an ultrasonic sensor. Interface 1 pin 1 is connected to the working voltage of 3V3, interface 1 pin 2 is grounded, interface 1 pin 3 is connected to network label TX, interface 1 pin 4 is connected to network label RX, interface 4 pin 1 is connected to the working voltage of 5V, interface 4 pin 2 is grounded, interface 4 pin 3 is connected to network label PA4, and interface 4 pin 4 is connected to network label PA6. The alarm module consists of a buzzer, with buzzer pin 1 connected to network label PB7 and buzzer pin 2 grounded. The Bluetooth module consists of switch 5, switch 6, capacitor 2, and capacitor 5. Switch 5 pins 1 and 2 are connected to network label PB12, and switch 5 pins 3 and 4 are grounded. Switch 6 pins 1 and 2 are connected to network label PB13, and switch 6 pins 3 and 4 are grounded. One end of capacitor 2 is connected to network label PB12, and the other end of capacitor 2 is grounded. One end of capacitor 5 is connected to network label PB13, and the other end of capacitor 5 is grounded. The signal light module consists of a signal light and a resistor. The positive terminal of the signal light is connected to the working voltage of 3V3, the negative terminal of the signal light is connected to one end of the resistor, and the other end of the resistor is grounded.

2. The intelligent system based on single-chip microcomputer control according to claim 1, characterized in that: The microcontroller is an STM32F103C8T6.

3. The intelligent system based on single-chip microcomputer control according to claim 1, characterized in that: The model of Interface 1 and Interface 4 is HDR-M-2.

54.

4. The intelligent system based on single-chip microcomputer control according to claim 1, characterized in that: The photoresistor is model GL4537.