Intelligent equipment management system based on ESP32 single-chip microcomputer
The intelligent device management system based on the ESP32 microcontroller solves the problems of brand compatibility and operational complexity of intelligent devices, achieves seamless integration and unified control, improves user experience and device integration, simplifies operation processes, and optimizes power management.
Patent Information
- Application Number
- CN202422930689.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2034-11-29
AI Technical Summary
Existing intelligent control devices suffer from poor brand compatibility and high operational complexity, which affect user experience and increase the difficulty of system integration, and lack unified technical standards.
The system employs an intelligent device management system based on the ESP32 microcontroller, which includes a motor rotary screen, an ESP32 minimum system, a power management module, a magnetic encoder module, a motor drive module, and a TFT-LCD module. It controls intelligent devices via a wireless connection to a server, supports Wi-Fi and Bluetooth functions, and integrates a variety of practical functions and power management circuits.
It enables seamless integration and unified control of smart devices, enhances user experience, simplifies operation processes, improves device integration and compatibility, optimizes power consumption, and provides a convenient interactive interface and efficient power management.
Smart Images

Figure CN223526643U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to the field of intelligent equipment control, specifically relates to a kind of intelligent equipment management system based on ESP32 single-chip microcomputer. BACKGROUND
[0002] In recent years, with the rapid progress of Internet of Things technology and the continuous emergence of smart home products, the market demand for intelligent control devices has shown a significant growth trend. These devices are not limited to traditional remote controls, but also include a series of highly intelligent controllers that can perform basic functions such as PC page flipping, image scaling, volume and screen brightness adjustment, and more complex operations such as tool switching and parameter adjustment in professional design software. These functions greatly enhance the user's daily experience, making life more convenient.
[0003] However, despite the rich functionality of current market intelligent control devices, as product types increase and technical complexity improves, user experience issues have gradually emerged. On the one hand, due to the lack of unified technical standards among brands, there are significant compatibility barriers between different brands of smart home products. This not only limits user flexibility in selecting and using products, but also increases system integration difficulty and cost. On the other hand, with the diversification of functions, the device's operation interface and process have become increasingly complex, creating a learning and usage barrier for users and affecting overall user experience.
[0004] In view of the above problems, the market urgently needs an intelligent control device that can effectively simplify the operation process, improve compatibility, and have multiple practical functions, as well as the corresponding hardware module system. In this way, the device can seamlessly interface with various smart home products by integrating current connection technologies and standardized communication protocols. In addition, the device should also focus on improving power consumption. Therefore, developing such a hardware control system for an intelligent device is not only a necessary trend for market development, but also an important way to improve user quality of life. INVENTION CONTENTS
[0005] The utility model aims at providing a new hardware system that supports controlling smart home devices and PC interface flipping, picture scaling, volume, brightness adjustment, etc. Therefore, an intelligent device management system based on ESP32 single-chip microcomputer is proposed. The system overall realizes control of intelligent devices through wireless connection server and PC mode, providing a more convenient unified control solution for people's smart life.
[0006] The utility model adopts the following technical solutions to achieve the purpose:
[0007] The application discloses an intelligent device management system based on an ESP32 single-chip microcomputer, which comprises a motor knob screen and an ESP32 minimum system, wherein the ESP32 minimum system is connected with a power management module, a magnetic encoder module, a motor driving module, a TFT-LCD module and a key module respectively; the ESP32 minimum system is connected to a server of an intelligent device through a wireless connection mode; the motor knob screen comprises a motor, a knob and a display screen, wherein the motor is connected with the knob and is used for providing force feedback when the knob rotates; the motor driving module is used for driving the motor, and the magnetic encoder module is used for acquiring the rotating direction and rotating angle of the motor.
[0008] Preferably, the ESP32 minimum system comprises a master control chip, the master control chip is provided with a wireless module, the master control chip is connected to the server of the intelligent device through a Wi-Fi function provided by the wireless module, and the master control chip is connected to a PC through a Bluetooth function provided by the wireless module.
[0009] Specifically, the ESP32 minimum system further comprises an EN / BOOT circuit, the EN / BOOT circuit is used for switching the reset and boot mode of the master control chip; the EN / BOOT circuit is connected with the key module at the same time, when a key corresponding to the key module is pressed, the EN pin level of the master control chip is pulled down, the master control chip is reset, and the GPIO0 pin level of the master control chip is also pulled down, so that the master control chip enters the boot mode after being reset.
[0010] Preferably, the master control chip is an ESP32 S3 chip.
[0011] Specifically, the power management module provides USB power supply and / or battery power supply for the ESP32 minimum system and connected components; when the battery power supply is performed, a lithium battery is used as the power supply.
[0012] Preferably, the power management module comprises a power charging circuit, a power management circuit, a power switching circuit and a step-down circuit; wherein:
[0013] The power charging circuit is used for inputting a charging current into a battery in the power management module and / or providing power supply for the motor driving module;
[0014] The power management circuit is used for realizing the battery voltage boosting in the power management module and the switching of the battery as the power supply;
[0015] The power switching circuit switches the USB power supply and the battery power supply through a P-channel MOSFET and a PNP triode, and simultaneously performs overcurrent protection on the circuit through a self-restoring fuse;
[0016] The step-down circuit is used for inputting the voltage output by the power switching circuit into the ESP32 minimum system, the magnetic encoder module and the TFT-LCD module after the voltage is stepped down, so as to provide corresponding power supply.
[0017] Specifically, the power charging circuit is implemented by using an ME4054B-N type chip, the power management circuit is implemented by using an MT3608 type chip, and the step-down circuit is implemented by using an MT2492 type chip.
[0018] Preferably, the motor driving module is implemented by using an EG2133 type chip, and the EG2133 type chip is peripherally connected with an H-bridge circuit, which is used to generate positive and negative voltages; the motor driven by the motor driving module is an unlimited three-phase direct-current brushless motor.
[0019] Preferably, the magnetic encoder module is implemented by using an MT6701 type sensor, and the MT6701 type sensor is configured with a decoupling capacitor and a resistor for maintaining the high level of an I2C signal line.
[0020] Specifically, the TFT-LCD module includes an LCD backlight control circuit and a wire-to-board pin seat interface; the LCD backlight control circuit is connected to the LCD display screen of the motor knob screen, and is used to control the on-off state of the backlight LED of the LCD display screen; the wire-to-board pin seat interface is used to realize the connection between the pins of the LCD display screen and the ESP32 minimum system.
[0021] In summary, due to the adoption of the technical solutions, the present application has the following advantages:
[0022] By using an ESP32 series chip as the master control unit, the present application not only supports Wi-Fi wireless connection and smart home control, but also integrates Bluetooth function, realizing efficient interconnection control among multiple devices. This design significantly improves the integration and functional diversity of the intelligent device management system, providing a more flexible and convenient smart home control solution for users.
[0023] In order to ensure the stable operation of the intelligent device management system under different power input conditions, the present application adopts various power management and regulation circuits, including an MT3608 step-up converter and an MT2492 step-down converter chip. The application of these two chips enables the system to maintain efficient and stable power output within a wide voltage range, ensuring reliable operation of the system in various environments.
[0024] In addition, the present application realizes seamless switching between USB and battery power supply by using a combination of P-channel MOSFET and PNP triode. This design not only optimizes the power management strategy of the system, but also improves the user experience, especially in mobile or outdoor use scenarios, ensuring continuous and stable operation of the device. At the same time, a self-resetting fuse is added to the system to provide overcurrent protection, further enhancing the safety and reliability of the intelligent device management system.
[0025] The utility model also is equipped with a TFT-LCD display module, cooperation motor drive module and magnetic encoder module provide an intuitive interactive interface for the user. The user can easily check and operate intelligent equipment management system through the display screen and physical knob, the design of a plurality of force feedback modes under the action of motor, not only has promoted the accuracy of operation, has strengthened the operation experience of user. BRIEF DESCRIPTION OF DRAWINGS
[0026] Figure 1 It is the connection structure schematic diagram of the utility model system;
[0027] Figure 2 It is the circuit schematic diagram of ESP32 minimum system in the utility model system;
[0028] Figure 3 It is the circuit schematic diagram of power supply charging circuit in the utility model system;
[0029] Figure 4 It is the circuit schematic diagram of power management circuit in the utility model system;
[0030] Figure 5 It is the circuit schematic diagram of power supply switching circuit in the utility model system;
[0031] Figure 6 It is the circuit schematic diagram of step-down circuit in the utility model system;
[0032] Figure 7 It is the circuit schematic diagram of motor drive module in the utility model system;
[0033] Figure 8 It is the circuit schematic diagram of magnetic encoder module in the utility model system;
[0034] Figure 9 It is the circuit schematic diagram of TFT-LCD module in the utility model system;
[0035] Figure 10 It is the circuit schematic diagram of button module in the utility model system. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical scheme and advantage of the utility model embodiment more clear, the technical scheme in the utility model embodiment will be described clearly and completely in the following with the drawings in the utility model embodiment, obviously, the described embodiment is a part of the embodiment of the utility model, instead of all the embodiment. The components of the utility model embodiment described and shown in the drawing here can be arranged and designed in various different configurations.
[0037] The following detailed description of the embodiments of the application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents the selected embodiments of the application. Based on the embodiments in the application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the application.
[0038] Embodiment 1
[0039] As Figure 1 shown, an intelligent device management system based on an ESP32 single-chip microcomputer, the supported functions include controlling smart home, controlling PC interface page turning, picture zooming, volume, brightness adjustment, etc.; including a motor knob screen and an ESP32 minimum system, the ESP32 minimum system is respectively connected with a power management module, a magnetic encoder module, a motor driving module, a TFT-LCD module and a key module; the ESP32 minimum system is simultaneously connected to the server of the intelligent device through a wireless connection mode; the motor knob screen includes a motor, a knob and a display screen, wherein the motor is connected with the knob, and the motor is used to provide force feedback when the knob rotates; the motor driving module is used to drive the motor, and the magnetic encoder module is used to obtain the rotation direction and rotation angle of the motor.
[0040] In this embodiment, the ESP32 minimum system includes a master control chip, the master control chip has a wireless module, the master control chip is connected to the MQTT server of the intelligent device through the Wi-Fi function provided by the wireless module, so that the intelligent device in the smart home can be controlled through, for example, the HomeAssistant platform, and the communication protocol used is the TCP protocol. MQTT is a message queue telemetry transmission protocol, designed for efficient data transmission in resource-constrained devices and high-latency or unreliable network environments; it is particularly suitable for Internet of Things (IoT) scenarios such as smart home, industrial automation, etc., so it is the main connection object of the system in this embodiment.
[0041] In this embodiment, the master control chip is also connected to the PC through the Bluetooth function provided by the wireless module, and the communication protocol used is the HID protocol, so as to realize the application operation function on the PC.
[0042] Figure 2 A circuit schematic of the ESP32 minimum system is shown, which can be used as an implementation reference. The ESP32 minimum system further includes an EN / BOOT circuit, which is used to switch the reset and boot mode of the master control chip; the EN / BOOT circuit is also connected with the key module, when the key corresponding to the key module is pressed, the EN pin level of the master control chip is pulled low, the master control chip is reset, and at the same time, the GPIO0 pin level of the master control chip is also pulled low, and the master control chip enters the boot mode after being reset.
[0043] In this embodiment, the main control chip is the ESP32 S3 chip, which is the minimum configuration for the normal operation of the ESP32 minimum system, and is the core of the entire system. Figure 2 In the given circuit diagram, the resistor is used for pull-up to ensure that the corresponding pin is in a defined high-level state when the button is not pressed; the capacitor is used for filtering to stabilize the voltage of the GPIO0 pin.
[0044] In this embodiment, the motor-driven rotary knob screen, as one of the components that directly interact with the user, possesses a unique force feedback mechanism supported by the system hardware. The motor can provide corresponding force feedback based on the user's operation or setting mode, simulating different physical sensations, thereby enhancing the user experience. Combined with the use of an LCD display screen, it provides a multi-dimensional interaction method combining visual and tactile feedback. The magnetic encoder module ensures high-precision detection of the knob's position, enabling even minute rotational changes to be accurately captured. The entire system, leveraging the excellent processing power and flexible communication capabilities of the ESP32 S3, combined with the designed motor-driven rotary knob screen, achieves seamless integration between smart home control and PC application operation, providing an efficient, convenient, and highly interactive user interface.
[0045] Example 2
[0046] Based on Example 1, this example introduces a detailed scheme for the power management module in the system.
[0047] The power management module provides USB power and / or battery power to the ESP32 minimum system and its connecting components; when battery powered, a lithium battery is used as the power source. In this embodiment, the power management module includes a power charging circuit, a power management circuit, a power switching circuit, and a buck circuit.
[0048] See the example of the power supply charging circuit. Figure 3 Specifically, it is a 5V power supply charging circuit used to convert the charging current into 0.5A input to the battery or to power the motor drive module. This embodiment uses the ME4054B-N chip to implement this circuit. This chip has excellent stability, can continuously provide a stable voltage to the lithium battery, and has overcharge protection, which can cut off the power in time after the battery is fully charged.
[0049] See the example of a power management circuit. Figure 4 This embodiment uses an MT3608 chip to implement the circuit, thereby boosting the battery-supplied power voltage to 5V. In this circuit, the BAT_ADC pin is used to read the lithium battery voltage, and the PUSH_LOW, PUSH, and IO_ON_OFF pins are used to control the wake-up and sleep modes, as well as the power on / off switch.
[0050] See the example of the power switching circuit. Figure 5The circuit uses a P-channel MOSFET and a PNP transistor to realize the switching between USB power supply and battery power supply, and uses a self-resetting fuse to realize overcurrent protection, so as to prevent the downstream circuit elements from being damaged due to overcurrent.
[0051] For an example of the voltage reduction circuit, please refer to Figure 6 The embodiment uses an MT2492 chip to realize the circuit, so as to reduce the voltage output by the power supply switching circuit from 5V to 3.3V, and to supply power to the ESP32 minimum system, the magnetic encoder module, and the TFT-LCD module. The voltage at the input end is decoupled by a capacitor to provide a stable input voltage, and the voltage after the inductor is filtered by a capacitor to smooth the voltage and provide a stable 3.3V output voltage.
[0052] Embodiment 3
[0053] Based on any of the above embodiments, this embodiment introduces a detailed scheme of the motor driving module in the system. This embodiment uses an EG2133 chip to realize the motor driving module; for the corresponding circuit, please refer to the schematic of Figure 7 The chip internally integrates a logic signal input processing circuit, a dead-time control circuit, a latching circuit, a level shifting circuit, a pulse filtering circuit, and an output driving circuit. The circuit controls the switching state of the MOSFET through the EG2133 chip, converts the direct-current power supply into a three-phase alternating-current power supply, and the peripheral circuit is composed of an H-bridge circuit.
[0054] In combination with Figure 7 When Q1 of the upper bridge arm of the H-bridge circuit is turned on and Q3 of the lower bridge arm is turned on, the current flows through the load to generate a forward voltage. When Q2 of the upper bridge arm is turned on and Q4 of the lower bridge arm is turned on, the current flows through the load to generate a reverse voltage. By adjusting the PWM signal, the speed and direction of the motor can be accurately controlled. The user rotates the stator of the motor through the knob to realize the operation of switching the screen interface.
[0055] Embodiment 4
[0056] Based on any of the above embodiments, this embodiment introduces a detailed scheme of the magnetic encoder module in the system. This embodiment uses an MT6701 sensor to realize the magnetic encoder module; for the corresponding circuit, please refer to the schematic of Figure 8 The MT6701 sensor is used to read the change of the magnetic field inside the motor, so as to determine the rotation angle and rotation direction of the motor, and realize the UI interface switching of the screen.
[0057] In the MT6701 sensor, the x-y sensor plane rotates in a magnetic field to provide two sinusoidal output signals indicating the angle between the sensor and the magnetic field direction, providing an incremental ABZ output mode, making the chip suitable for replacing various optical encoders. In binary mode, the maximum resolution is 1024 pulses / 4096 steps per revolution. As shown in Figure 8 The capacitance in the circuit acts as a decoupling capacitor to filter out power supply noise and ensure stable operation of the chip, and the resistor is used to ensure that the I2C signal line remains high when idle.
[0058] Embodiment 5
[0059] On the basis of any of the above embodiments, this embodiment introduces the related content of the TFT-LCD module and the key module in the system.
[0060] The TFT-LCD module includes an LCD backlight control circuit and a wire-to-board pin seat interface, and the related circuit can refer to the schematic shown in Figure 9 The LCD backlight control circuit is connected to the LCD display screen of the motor knob screen, and the main function is to control the on-off state of the backlight LED of the LCD module by controlling the level of the BLK pin. The transistor of the LCD backlight control circuit acts as a switching element, the resistor is used for current limiting and to ensure that the transistor is off when there is no control signal, and the capacitor is used for filtering. The wire-to-board pin seat interface is used to realize the connection between the pins of the LCD display screen and the ESP32 minimum system.
[0061] The circuit of the key module can refer to the schematic shown in Figure 10 , in which the PUSH pin is connected to the PUSH pin of the ESP32 S3 chip, and the function of this module is to press down to determine the execution of the corresponding function when selecting each function, and the resistor in it is a pull-up resistor that pulls the high level when the key is not pressed.
Claims
1. An ESP32 single-chip microcomputer-based intelligent device management system, characterized by: The motor knob screen and the ESP32 minimum system are connected with a power management module, a magnetic encoder module, a motor drive module, a TFT-LCD module and a key module respectively; the ESP32 minimum system is connected to the server of the intelligent device through a wireless connection mode; the motor knob screen comprises a motor, a knob and a display screen, wherein the motor is connected with the knob and is used for providing force feedback when the knob rotates; the motor drive module is used for driving the motor, and the magnetic encoder module is used for acquiring the rotation direction and rotation angle of the motor; The ESP32 minimum system comprises a master control chip, the master control chip has a wireless module, the master control chip is connected to the server of the intelligent device through the Wi-Fi function provided by the wireless module, and the master control chip is connected to a PC through the Bluetooth function provided by the wireless module; The master control chip is an ESP32 S3 chip.
2. The intelligent device management system of claim 1, wherein: The ESP32 minimum system further comprises an EN / BOOT circuit, the EN / BOOT circuit is used for switching the reset and boot mode of the master control chip; the EN / BOOT circuit is connected with the key module at the same time, when the key corresponding to the key module is pressed, the EN pin level of the master control chip is pulled down, the master control chip is reset, and at the same time, the GPIO 0 pin level of the master control chip is also pulled down, the master control chip enters the boot mode after being reset.
3. The intelligent device management system of claim 1, wherein: The power management module provides USB power supply and / or battery power supply for the ESP32 minimum system and the connected components; when the battery power supply is performed, a lithium battery is used as the power supply.
4. The intelligent device management system of claim 1, wherein: The power management module comprises a power charging circuit, a power management circuit, a power switching circuit and a step-down circuit; wherein: The power charging circuit is used for inputting the charging current into the battery in the power management module and / or providing power supply for the motor drive module; The power management circuit is used for realizing the battery voltage boosting in the power management module and the switching of the battery as the power supply; The power switching circuit switches the USB power supply and the battery power supply through a P-channel MOSFET and a PNP triode, and at the same time, the overcurrent protection of the circuit is realized through a self-resetting fuse; The step-down circuit is used for inputting the voltage output by the power switching circuit into the ESP32 minimum system, the magnetic encoder module and the TFT-LCD module after the voltage is stepped down, so as to provide corresponding power supply.
5. The intelligent device management system of claim 4, wherein: The power charging circuit is realized by using an ME4054B-N type chip, the power management circuit is realized by using an MT3608 type chip, and the step-down circuit is realized by using an MT2492 type chip.
6. The intelligent device management system of claim 1, wherein: The motor drive module is realized by using an EG2133 type chip, the EG2133 type chip is connected with an H-bridge circuit outside, the H-bridge circuit is used for generating positive and negative voltages; the motor driven by the motor drive module is an unlimited three-phase direct-current brushless motor.
7. The intelligent device management system of claim 1, wherein: The magnetic encoder module is realized by using an MT6701 type sensor, the MT6701 type sensor is configured with a decoupling capacitor and a resistor for maintaining the high level of the I2C signal line.
8. The intelligent device management system of claim 1, wherein: The TFT-LCD module comprises an LCD backlight control circuit and a wire-to-board pin seat interface; the LCD backlight control circuit is connected to an LCD display screen of the motor knob screen, and is used for controlling the on-off state of a backlight LED of the LCD display screen; and the wire-to-board pin seat interface is used for realizing the connection between the pins of the LCD display screen and an ESP32 minimum system.