Touch knob control system, method, equipment, medium and product
Through the touch knob control system integrating the MCU controller and rotary encoder, the problem of smart home appliances relying on external media is solved, the user's direct operation and intuitive interactive experience is realized, and the device's independent control capabilities are improved.
Patent Information
- Application Number
- CN202510415995.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-08-19
AI Technical Summary
The human-computer interaction function of existing smart home appliances relies on external media such as mobile phones or remote controls, which makes it impossible for users to obtain device status information and effective control in real time, limiting the convenience of use and popularity.
It adopts a touch knob control system, integrates an MCU controller and a rotary encoder, and analyzes user input signals and command generation through bus and UART interfaces, supports touch and rotation operations, provides intuitive interaction methods, and controls the backlight brightness through PWM to achieve independent operation of the device.
It improves the convenience of user operation and the independent operation of the device. Users can directly control smart home appliances through touch knobs, providing intuitive interface feedback and flexible interactive experience.
Smart Images

Figure CN120508235A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of touch knobs, and in particular to a touch knob control system, method, device, medium and product. Background Art
[0002] With the continuous advancement of technology and people's pursuit of a higher quality of life, smart home appliances have emerged and gradually become the mainstream of the market. By integrating advanced sensors, microprocessors, and communication modules, smart home appliances have achieved diversified and intelligent functions, greatly improving the user experience.
[0003] However, most current smart home appliances still rely on external media such as mobile phones or remote controls for human-computer interaction. While this interaction method facilitates user operation to a certain extent, without these media, users lose access to real-time appliance status information and cannot effectively control the appliance. This significantly limits the ease of use and popularity of smart home appliances. Summary of the Invention
[0004] The purpose of this application is to provide a touch knob control system, method, device, medium and product that can improve the convenience of user operation.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] In a first aspect, the present application provides a touch knob control system for controlling a touch knob, the touch knob control system comprising: an MCU controller and a rotary encoder;
[0007] The MCU controller is connected to the touch knob via a first bus, the MCU controller is connected to the UART interface via a second bus, and the MCU controller is connected to the rotary encoder via a first input pin;
[0008] The MCU controller is used to:
[0009] After receiving and parsing the user input signal sent by the touch display component of the touch knob and / or the rotary encoder, generating a control instruction, the control instruction includes an external device control instruction and a PWM control instruction;
[0010] The control instruction is sent to the UART interface through the second bus to realize data communication between the MCU controller and the external device, and the control instruction is sent to the touch knob through the first bus to realize control of the screen display of the touch knob.
[0011] Optionally, the touch knob includes a touch display component and a knob component, the touch display component includes a touch panel and a display screen, the knob component includes the rotary encoder and a PCB, and the MCU controller is integrated on the PCB.
[0012] Optionally, the first bus can be selectively configured as an I2C bus or an SPI bus. In terms of receiving the task instruction sent by the touch knob and / or receiving the task instruction sent by the rotary encoder; parsing the task instruction sent by the touch knob and / or the task instruction sent by the rotary encoder and generating a control instruction, the MCU controller is specifically configured to:
[0013] After the user performs a touch-screen operation on the touch panel of the touch knob according to demand, receiving a first instruction sent by the touch panel through the I2C bus;
[0014] After the user rotates the touch knob as required, the user receives a pulse signal sent by the rotary encoder. The touch knob drives the rotary encoder to rotate in a specific rotational motion, wherein the rotational motion includes a rotation direction and a rotation angle. The rotary encoder generates a corresponding pulse signal according to the rotational motion.
[0015] The first instruction and / or the pulse signal are analyzed to generate the control instruction.
[0016] Optionally, the touch knob control system further includes a backlight control module, the backlight control module is connected to the MCU controller via a first output pin, the touch display assembly further includes a backlight assembly, the touch panel, the display screen, and the backlight assembly are stacked in sequence and integrated into one; the backlight control module is integrated on the PCB, the backlight assembly is controlled by the backlight control module, and the backlight control module is integrated on the PCB;
[0017] In terms of controlling the backlight assembly through the backlight control module, the MCU controller is further used to:
[0018] Sending the PWM control instruction to the backlight control module through the first output pin, and sending the PWM control instruction to the touch knob through the first bus, so as to control the screen display of the touch knob;
[0019] The PWM control instruction includes PWM signal parameters required for adjusting the backlight brightness. The backlight control module adjusts the current and / or voltage output to the backlight assembly according to the PWM signal parameters to change the backlight brightness.
[0020] Optionally, the MCU controller is connected to the DC / DC circuit through a second input pin, the DC / DC circuit is connected to the first output end of the input protection circuit, the second output end of the input protection circuit is connected to the backlight control module, the input end of the input protection circuit is connected to the input power supply, and the DC / DC circuit and the input protection circuit are integrated on the PCB.
[0021] Optionally, the input protection circuit includes a voltage stabilizing diode, a fuse, a reverse polarity protection diode and a TVS tube;
[0022] The positive pole of the input power supply is connected to one end of the fuse, the other end of the fuse is connected to the cathode of the reverse polarity protection diode, the anode of the reverse polarity protection diode is grounded, the cathode of the reverse polarity protection diode is connected to the cathode of the Zener diode, the anode of the Zener diode is grounded, the cathode of the Zener diode is connected to one end of the TVS tube, and the other end of the TVS tube is grounded.
[0023] In a second aspect, the present application provides a touch knob control method, comprising:
[0024] receiving a task instruction sent by the touch knob, and / or receiving a task instruction sent by the rotary encoder;
[0025] Parsing the task instruction sent by the touch knob and / or the task instruction sent by the rotary encoder to generate a control instruction, wherein the control instruction includes an external device control instruction and a PWM control instruction;
[0026] The control instruction is sent to the UART interface through the second bus to realize data communication between the MCU controller and the external device, and the control instruction is sent to the touch knob through the first bus to realize control of the screen display of the touch knob.
[0027] In a third aspect, the present application provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any one of the above-described touch knob control methods.
[0028] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any one of the above-mentioned touch knob control methods when executed by a processor.
[0029] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which implements the steps of any one of the above-mentioned touch knob control methods when executed by a processor.
[0030] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0031] Compared with the existing technology, on the one hand, this application integrates the MCU controller, rotary encoder and touch display component into a touch knob control system, providing users with an intuitive and convenient operation method. Users can more finely control smart home appliances by rotating and touching, thereby improving the user experience. On the other hand, this application does not rely on external media such as mobile phones or remote controls to control the device, improving the independent operability of smart home appliances. Users can interact with the device directly through the touch knob control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0033] Figure 1 This is a schematic diagram of a touch knob control system in one embodiment of the present application;
[0034] Figure 2 A schematic diagram of a touch knob control system provided in yet another embodiment of the present application;
[0035] Figure 3 A schematic diagram of a touch knob control system provided in yet another embodiment of the present application;
[0036] Figure 4 A schematic flow chart of a touch knob control method provided in one embodiment of the present application;
[0037] Figure 5 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0039] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0040] In an exemplary embodiment, Figure 1 As shown, a touch knob control system is provided for controlling smart home appliances. The touch knob control system includes: an MCU controller and a rotary encoder, and the MCU controller and the rotary encoder are built into the touch knob; the MCU controller is connected to the touch knob via a first bus, the MCU controller is connected to the UART interface via a second bus, and the MCU controller is connected to the rotary encoder via a first input pin.
[0041] Specifically, a touch knob is an input device that receives user commands and converts them into electrical signals. These signals can be recognized by the MCU controller and perform corresponding operations. The touch knob integrates multiple interaction methods, such as touch and rotation, allowing users to control various functions of home appliances through intuitive operations. For example, users can adjust the temperature of the air conditioner by rotating the touch knob, switch TV channels by touching different areas on the knob, or select the type of coffee (such as espresso, Americano, etc.) by touching specific areas on the knob, or adjust the strength of the coffee by rotating the knob.
[0042] The first bus is responsible for transmitting the user input signal from the touch knob to the MCU controller, and also sends the control instructions of the MCU controller back to the touch knob to realize the control of the displayed content. When the user operates through the touch panel (such as touching, sliding) or rotates through the knob assembly, these actions are converted into electrical signals and transmitted to the MCU controller through the first bus. The MCU controller parses these signals, identifies the user's operation intention, and generates corresponding control instructions. The MCU controller sends the control instructions back to the touch knob through the first bus to control the content update on the display screen, such as displaying the current settings, operation feedback or system status information. This two-way communication mechanism ensures real-time updates of the user interface and smooth interaction.
[0043] The UART interface is a serial communication protocol that allows the MCU controller to exchange data with other devices, such as smart home appliances or other external devices. The MCU controller sends generated control instructions to the UART interface via a secondary bus. These instructions are then transmitted to the external device via serial communication. Similarly, external devices can send data back to the MCU controller via the UART interface, such as device status updates, error reports, or other feedback information. The UART interface supports a variety of communication rates and data formats, and the MCU controller must configure the corresponding communication parameters according to the requirements of the external device. This flexibility enables the MCU controller to communicate with a variety of different external devices, expanding the system's application range.
[0044] The touch knob includes a touch display component and a knob component. The touch display component includes a touch panel and a display screen. The knob component includes a rotary encoder and a PCB. The MCU controller is integrated on the PCB.
[0045] The touch panel uses capacitive sensing technology. When a user's finger or other conductor approaches or touches the panel, a coupling capacitor is formed between the electrodes on the panel, which draws a tiny current. This tiny change in current is detected by the controller inside the touch module, which determines the location of the touch point by calculating the current ratio. For example, on a smart coffee machine, the user can control the operation of the coffee machine by touching different icons on the touch panel (such as coffee type, strength selection, etc.). The UART interface will output different signals to the coffee machine control system based on the touch operation.
[0046] The display utilizes TFT (Thin Film Transistor) liquid crystal technology, offering rich colors, rich details, and clear display. TFT LCDs can implement and customize UI (User Interface) interfaces, providing an intuitive and user-friendly experience. For example, in a smart air conditioning system, the display can display information such as current temperature, selected mode, and fan speed, all of which can be adjusted using the touch panel.
[0047] The rotary encoder is a 360-degree rotary encoder that detects the knob's rotational motion, including the direction and angle of rotation. When the user rotates the knob, the rotary encoder converts the rotational motion into a pulse signal for the MCU controller to interpret. For example, in a smart audio system, the user can adjust the volume by rotating the knob. The rotary encoder converts the rotational motion into a pulse signal. The MCU controller interprets these signals and generates corresponding control instructions, which are sent to the audio control system via the UART interface. The PCB (printed circuit board) serves as the support and connection platform for the knob assembly, providing physical support and electrical connections for the MCU controller and other electronic components.
[0048] The MCU controller is integrated on the PCB and its main functions include:
[0049] Receives signals from the touch panel and rotary encoder, and processes and parses these signals to identify user intent and operational instructions. Based on the parsed user input signals, generates corresponding control instructions, which may include adjusting device settings, switching modes, or sending data to other systems. Communicates data with external devices (such as smart home appliances) through the UART interface, sends control instructions and receives feedback information. Controls content updates on the TFT display, including displaying device status, user interface elements, and operational feedback to provide an intuitive user interaction experience. Through the MCU controller integrated on the PCB, the touch knob can achieve highly integrated and intelligent control functions, providing users with a convenient and intuitive operation experience and effective interaction with smart home appliances.
[0050] For example, the user selects the type of coffee by touching a coffee type icon (such as espresso, American coffee, etc.) on the touch panel.
[0051] The user adjusts the coffee strength by turning the knob. The rotary encoder converts the rotation into pulse signals. The MCU analyzes these signals and generates corresponding control instructions, which are sent to the coffee machine control system via the UART interface. The TFT display shows the currently selected coffee type and strength setting, providing intuitive feedback.
[0052] For example, a user changes TV channels by touching the channel switch icon on the touch panel. The volume is adjusted by rotating the knob. The rotary encoder converts the rotation into pulse signals. The MCU controller interprets these signals and generates corresponding control commands, which are sent to the TV control system via the UART interface. The TFT display shows the current channel and volume setting, providing intuitive feedback.
[0053] The MCU controller is used to:
[0054] After receiving and parsing the user input signal sent by the touch display component and / or the rotary encoder of the touch knob, the control instruction is generated, which includes the external device control instruction and the PWM control instruction;
[0055] The control instruction is sent to the UART interface through the second bus to realize data communication between the MCU controller and the external device, and the control instruction is sent to the touch knob through the first bus to realize the screen display of the touch knob.
[0056] Specifically, in a touch knob control system, when a user operates the touch panel, such as touching, sliding, or clicking an icon on the screen, the touch display component detects these actions and converts them into electrical signals. These electrical signals are then sent to the MCU controller, which uses a built-in algorithm to analyze these signals and identify the user's specific operating intention.
[0057] Users adjust settings such as volume, temperature, or brightness by rotating a knob. A rotary encoder detects the knob's rotation and converts it into pulse signals. These pulse signals are also sent to the MCU controller, which interprets them to determine the direction and angle of the knob's rotation, thereby understanding the user's intended adjustment. Based on the interpreted user input, the MCU controller generates commands for controlling external devices. These commands may include starting, stopping, and adjusting parameters. For example, if the user selects "heat" on the touch panel and sets the temperature by rotating the touch button, the MCU controller generates corresponding control commands and sends them to the smart oven via the UART interface. To adjust the backlight brightness of the touch knob, the MCU controller generates PWM control commands. These commands control the backlight brightness by adjusting the duty cycle of the PWM signal. The MCU controller sends the generated control commands to the UART interface via the second bus. These commands are then transmitted to the external device via serial communication.
[0058] User actions may trigger both the touch display component and the rotary encoder simultaneously. For example, a user might touch the "Play" button on the screen and rotate the knob to adjust the volume. In this case, the MCU controller receives input signals from the touch display component and the rotary encoder and generates corresponding control commands, including external device control commands and PWM control commands.
[0059] User operations may also involve only one of the touch display component or the rotary encoder. For example, a user might select a menu item solely through the touch panel or adjust a setting solely by rotating the knob. In this case, the MCU controller receives input signals from only one component and generates corresponding control instructions. This flexible processing approach enables the touch knob control system to adapt to various user operation scenarios, providing efficient and accurate control functions.
[0060] In an exemplary embodiment, the first bus may be selectively configured as an I2C bus or an SPI bus. In terms of receiving a task instruction sent by the touch knob and / or receiving a task instruction sent by the rotary encoder; parsing the task instruction sent by the touch knob and / or the task instruction sent by the rotary encoder and generating a control instruction, the MCU controller is specifically configured to:
[0061] After the user touches the touch panel of the touch knob according to the needs, the 2 The C bus receives a first instruction sent by the touch panel;
[0062] After the user rotates the touch knob as needed, the touch knob receives a pulse signal sent by the rotary encoder. The touch knob drives the rotary encoder to rotate in a specific rotational motion. The rotational motion includes a rotation direction and a rotation angle. The rotary encoder generates a corresponding pulse signal according to the rotational motion.
[0063] The first instruction and / or the pulse signal is analyzed and a control instruction is generated.
[0064] Specifically, the user performs touch-screen operations on the touch panel of the touch knob according to needs, such as clicking, sliding, or long pressing. The touch panel uses capacitive sensing technology. When the user's finger touches the panel, a coupling capacitor is formed between the electrodes on the panel, thereby absorbing a small current. This small current change is detected by the controller inside the touch module, and the position of the touch point is determined by calculating the current ratio. The touch panel converts the detected touch position information into a first instruction and transmits it to the touch panel through I 2 C bus to the MCU controller.
[0065] The user rotates the touch knob as desired, such as clockwise or counterclockwise. The touch knob drives the rotary encoder to rotate in a specific direction and angle. The rotary encoder detects the knob's rotation and generates pulse signals based on the direction and angle. These pulse signals are sent to the MCU controller to indicate the user's rotation operation.
[0066] MCU controller through I 2 The C bus receives the first instruction sent by the touch panel and receives the pulse signal sent by the rotary encoder through the input pin. The MCU controller parses the first instruction and / or pulse signal to identify the user's intention and operation instruction. The parsing process may include the identification of the touch position, rotation direction and rotation angle, as well as the judgment of the operation mode (such as click, long press, rotation, etc.). Based on the parsed user input, the MCU controller generates corresponding control instructions. The control instructions may include external device control instructions and PWM control instructions. External device control instructions are used to control various functions of smart devices, such as starting, stopping, adjusting parameters, etc. PWM control instructions are used to adjust the display of the touch knob itself, such as backlight brightness.
[0067] For example, the user clicks the "play / pause" button through the touch panel, and the touch panel converts the touch position information into a first instruction and controls the touch position information through I 2The first instruction is sent to the MCU controller via the C bus. The user adjusts the volume by rotating the knob. The rotary encoder generates a pulse signal based on the rotation and sends it to the MCU controller. The MCU controller interprets the first instruction and the pulse signal, generates a control command, and sends it to the smart audio system via the UART interface to implement play / pause and volume adjustment.
[0068] In an exemplary embodiment, Figure 2 As shown, the touch knob control system also includes a backlight control module, which is connected to the MCU controller through a first output pin. The touch display component also includes a backlight component. The touch panel, display screen and backlight component are stacked in sequence and integrated into one. The backlight control module is integrated on the PCB, and the backlight component is controlled by the backlight control module. The backlight control module is integrated on the PCB.
[0069] The backlight control module's primary function is to control the backlight component in the touch display assembly to adjust the display's brightness. This module adjusts backlight brightness based on user preferences, providing a comfortable viewing experience and enhancing readability in low-light environments. The backlight control module is electrically connected to the MCU controller via its first output pin and receives PWM control commands from the MCU.
[0070] The backlight assembly, touch panel, and display are stacked and integrated into a compact display unit. The backlight control module is integrated onto a printed circuit board (PCB), sharing the same circuit board with the MCU controller and other electronic components. This integrated design reduces external wiring and improves system reliability and stability. The backlight control module adjusts the backlight assembly's brightness based on a PWM signal sent by the MCU controller. The PWM signal's duty cycle determines the average current drawn by the backlight assembly, thereby controlling the backlight's brightness level.
[0071] For example, in a smart thermostat, the touch-sensitive knob control system's display needs to clearly display the temperature and settings in all lighting conditions. The backlight control module adjusts the backlight brightness based on the user's manual settings. Users can adjust the temperature setting using a rotary encoder, while the backlight control module ensures the display remains clearly visible at night or in dimly lit environments.
[0072] In terms of controlling the backlight assembly through the backlight control module, the MCU controller is also used to:
[0073] Sending the PWM control instruction to the backlight control module through the first output pin, and sending the PWM control instruction to the touch knob through the first bus, so as to realize the screen display of the touch knob;
[0074] The PWM control instruction includes PWM signal parameters required for adjusting the backlight brightness. The backlight control module adjusts the current and / or voltage output to the backlight assembly according to the PWM signal parameters to change the backlight brightness.
[0075] Specifically, PWM control instructions are output via the first output pin at a specific frequency and duty cycle. These PWM control instructions are directly transmitted to the driver circuit in the backlight control module. After receiving the PWM signal from the MCU, the backlight control module dynamically adjusts the current supplied to the backlight LEDs through its internal current or voltage regulation circuitry. A higher duty cycle results in a longer on-time, providing higher brightness; a lower duty cycle reduces the on-time and lowers the brightness.
[0076] For example, in a smart air purifier, users may want to adjust the display brightness using a rotary encoder to achieve optimal viewing under varying lighting conditions. The MCU generates appropriate PWM control instructions based on the rotary encoder's pulse signal and sends them to the backlight control module via the first output pin, adjusting the display brightness in real time.
[0077] At the same time, the MCU controller sends PWM control commands to the touch knob's display via the SPI bus. This allows the display to display the corresponding brightness level or other relevant information (such as icons, menu options, etc.). For example, if the user adjusts the brightness setting, the display not only changes the brightness but also displays the current brightness level or a related status icon on the interface.
[0078] In an exemplary embodiment, Figure 3 As shown, the MCU controller is connected to the DC / DC circuit through the second input pin, the DC / DC circuit is connected to the first output end of the input protection circuit, the second output end of the input protection circuit is connected to the backlight control module, the input end of the input protection circuit is connected to the input power supply, and the DC / DC circuit and the input protection circuit are integrated on the PCB.
[0079] In an exemplary embodiment, the input protection circuit includes a voltage stabilizing diode, a fuse, a reverse polarity protection diode, and a TVS diode;
[0080] The positive pole of the input power supply is connected to one end of the fuse, and the other end of the fuse is connected to the cathode of the reverse polarity protection diode. When the current exceeds the preset value, the fuse will quickly melt and cut off the circuit to prevent excessive current from damaging the equipment.
[0081] The anode of the reverse polarity protection diode is grounded, and the cathode of the reverse polarity protection diode is connected to the cathode of the Zener diode. The anode of the Zener diode is grounded, and the cathode of the Zener diode is connected to one end of the TVS diode. The other end of the TVS diode is grounded. When the power polarity is reversed, the reverse polarity protection diode blocks the current flow, thereby protecting the circuit from damage. When the input voltage exceeds the rated voltage of the device, the Zener diode activates, stabilizing the voltage to a safe level and preventing excessive voltage from damaging the circuit. TVS diodes are used to absorb or direct transient high-voltage pulses (such as surges generated by lightning strikes or electrostatic discharge) to the ground line, preventing these transient voltages from impacting the internal components of the circuit.
[0082] The DC / DC circuit is connected to the first output of the input protection circuit, receiving a stable voltage after protection. The MCU controller connects to the DC / DC circuit via its second input pin to obtain a stable supply voltage. The DC / DC circuit and input protection circuit are integrated on the PCB, ensuring a compact overall design. The second output of the input protection circuit is connected to the backlight control module, providing a stable power supply. The backlight control module is responsible for adjusting the brightness of the touch knob display, ensuring a clear and comfortable viewing experience under various lighting conditions.
[0083] Imagine a user using a smart air purifier. When the input power is connected to the system, a fuse provides initial protection. If the power polarity is correct, the current continues to flow to the subsequent circuitry through the reverse polarity protection diode. If the power polarity is reversed, the reverse polarity protection diode blocks the current flow, protecting the circuit from damage. When the input voltage exceeds the device's rated voltage, the Zener diode activates, stabilizing the voltage within a safe range and preventing damage to the circuitry caused by excessive voltage. When encountering transient high-voltage pulses (such as lightning strikes or electrostatic discharge), the TVS diode quickly responds, absorbing or directing the surge current to ground, preventing the transient voltage from impacting internal circuit components. This stabilized voltage is then fed into the DC / DC converter circuit, where it is converted to a voltage suitable for the MCU controller and other components. This converted stabilized voltage is also supplied to the backlight control module, ensuring that the display brightness adjusts according to user input and displays the appropriate brightness level or other relevant information on the screen.
[0084] In an exemplary embodiment, based on the same inventive concept, Figure 4 As shown, the embodiment of the present application also provides a touch knob control method. The touch knob control system is used to control smart home appliances. The touch knob control system includes an MCU controller and a rotary encoder. The touch knob control method includes the following steps S101-S102:
[0085] S101, receiving and parsing a user input signal sent by the touch display component of the touch knob and / or the rotary encoder, and generating a control instruction, wherein the control instruction includes an external device control instruction and a PWM control instruction;
[0086] S102. Send the control instruction to the UART interface through the second bus to realize data communication between the MCU controller and the external device, and send the control instruction to the touch knob through the first bus to realize controlling the screen display of the touch knob.
[0087] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store user input signals. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a touch knob control method is implemented.
[0088] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0089] In an exemplary embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0090] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0091] In an exemplary embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0092] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0093] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0094] The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may include, but are not limited to, general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic units, data processing logic units based on quantum computing, and the like.
[0095] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0096] This document uses specific examples to illustrate the principles and implementation methods of this application. The description of the above examples is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A touch knob control system for controlling smart home appliances, characterized in that: The touch knob control system includes: an MCU controller and a rotary encoder, wherein the MCU controller and the rotary encoder are built into the touch knob; The MCU controller is connected to the touch knob via a first bus, the MCU controller is connected to the UART interface via a second bus, and the MCU controller is connected to the rotary encoder via a first input pin; The MCU controller is used to: After receiving and parsing the user input signal sent by the touch display component of the touch knob and / or the rotary encoder, generating a control instruction, the control instruction includes an external device control instruction and a PWM control instruction; The control instruction is sent to the UART interface through the second bus to realize data communication between the MCU controller and the external device, and the control instruction is sent to the touch knob through the first bus to realize control of the screen display of the touch knob.
2. The touch knob control system according to claim 1, characterized in that: The touch knob includes a touch display component and a knob component. The touch display component includes a touch panel and a display screen. The knob component includes the rotary encoder and a PCB. The MCU controller is integrated on the PCB.
3. The touch knob control system according to claim 2, characterized in that: The first bus can be selectively configured as I 2 C bus or SPI bus, in terms of receiving the task instruction sent by the touch knob and / or the task instruction sent by the rotary encoder; parsing the task instruction sent by the touch knob and / or the task instruction sent by the rotary encoder and generating a control instruction, the MCU controller is specifically used to: After the user performs a touch screen operation on the touch panel of the touch knob according to the requirements, the I 2 The C bus receives a first instruction sent by the touch panel; After the user rotates the touch knob as required, the user receives a pulse signal sent by the rotary encoder. The touch knob drives the rotary encoder to rotate in a specific rotational motion, wherein the rotational motion includes a rotation direction and a rotation angle. The rotary encoder generates a corresponding pulse signal according to the rotational motion. The first instruction and / or the pulse signal are analyzed to generate the control instruction.
4. The touch knob control system according to claim 2, characterized in that: The touch knob control system further includes a backlight control module, which is connected to the MCU controller via a first output pin. The touch display assembly further includes a backlight assembly. The touch panel, the display screen, and the backlight assembly are stacked in sequence and integrated into one. The backlight control module is integrated on the PCB, and the backlight assembly is controlled by the backlight control module. The backlight control module is integrated on the PCB. In terms of controlling the backlight assembly through the backlight control module, the MCU controller is further used to: Sending the PWM control instruction to the backlight control module through the first output pin, and sending the PWM control instruction to the touch knob through the first bus, so as to control the screen display of the touch knob; The PWM control instruction includes PWM signal parameters required for adjusting the backlight brightness. The backlight control module adjusts the current and / or voltage output to the backlight assembly according to the PWM signal parameters to change the backlight brightness.
5. The touch knob control system according to claim 4, characterized in that: The MCU controller is connected to the DC / DC circuit through a second input pin, the DC / DC circuit is connected to the first output end of the input protection circuit, the second output end of the input protection circuit is connected to the backlight control module, the input end of the input protection circuit is connected to the input power supply, and the DC / DC circuit and the input protection circuit are integrated on the PCB.
6. The touch knob control system according to claim 5, characterized in that: The input protection circuit includes a voltage stabilizing diode, a fuse, a reverse polarity protection diode and a TVS tube; The positive pole of the input power supply is connected to one end of the fuse, the other end of the fuse is connected to the cathode of the reverse polarity protection diode, the anode of the reverse polarity protection diode is grounded, the cathode of the reverse polarity protection diode is connected to the cathode of the Zener diode, the anode of the Zener diode is grounded, the cathode of the Zener diode is connected to one end of the TVS tube, and the other end of the TVS tube is grounded.
7. A touch knob control method, characterized in that: The touch knob control system according to any one of claims 1 to 6 is used to control a touch knob, the touch knob control system includes an MCU controller and a rotary encoder, and the touch knob control method includes: After receiving and parsing the user input signal sent by the touch display component of the touch knob and / or the rotary encoder, generating a control instruction, the control instruction includes an external device control instruction and a PWM control instruction; The control instruction is sent to the UART interface through the second bus to realize data communication between the MCU controller and the external device, and the control instruction is sent to the touch knob through the first bus to realize control of the screen display of the touch knob.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the touch knob control method according to claim 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the touch knob control method according to claim 7 are implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the touch knob control method according to claim 7 are implemented.