A multi-purpose controller with a display
By designing a multi-purpose controller with a display screen and integrating multiple input and output interfaces, the problem of poor versatility of existing controllers is solved, realizing multi-functional control and information display, and improving the adaptability of the equipment and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- 深圳市华控智能电子科技有限公司
- Filing Date
- 2025-09-15
- Publication Date
- 2026-08-04
AI Technical Summary
Existing controllers have poor versatility, relatively simple functions, and cannot adapt to the needs of various devices. Furthermore, the feedback method relies on the user's intuitive judgment.
Design a multi-purpose controller with a display screen, including a central control module, input interface, output interface, display module, and power supply module. It adopts an MCU control chip, integrates touch buttons and RF module, supports multiple input and output interfaces, and combines a real-time clock module, display driver module, motor driver module, temperature and humidity sensor module, speaker module, fingerprint interface module, lighting module, and Bluetooth interface module to realize multi-functional control and information display.
The controller's versatility has been improved, enabling it to receive and output various forms of switching signals, display sensor information and time, and enhancing the device's functionality and ease of use.
Smart Images

Figure CN224595017U_ABST
Abstract
Description
Technical Field
[0001] This utility model discloses a controller, particularly a multi-purpose controller with a display screen, which belongs to the field of electronic control module technology and can be used to control various devices. Background Technology
[0002] With the development of electronic technology, many traditional products are increasingly being combined with electronic control, which has changed the usage and business distribution of many traditional products.
[0003] However, current controllers are usually designed for specific purposes, and a single controller can only be applied to one type of product, resulting in poor versatility. For example, if the controller on a watch winder is used on a bedside table, some functions will be missing and the device will be unusable, while other functions will be redundant and unusable, and vice versa.
[0004] Conventional controllers focus on information input and actuator control, with feedback relying on the user's intuitive judgment, making them inconvenient to use and relatively simple in function. Summary of the Invention
[0005] In view of the shortcomings of the existing controllers mentioned above, such as poor versatility and relatively simple functions, this utility model provides a multi-purpose controller with a display screen. It is designed with input and output interfaces, which can receive various forms of switch inputs as control signals, and can output switch signals through the output interface, thereby increasing its versatility.
[0006] The technical solution adopted by this utility model to solve its technical problem is: a multi-purpose controller with a display screen, the controller includes a central control module, an input interface, an output interface, a display module and a power supply module, the input interface is directly connected to the data terminal of the central control module, the output interface is directly connected to the data terminal of the central control module, the display module is connected to the data terminal of the central control module, and the power supply module is used for power supply.
[0007] The technical solution adopted by this utility model to solve its technical problem further includes:
[0008] The central control module uses an MCU control chip U1, and the input interface uses one or more touch buttons, push-button switches, DIP switches, or RF modules or infrared modules.
[0009] The central control module is connected to a real-time clock module or a quartz crystal Y1. The real-time clock module includes a real-time clock chip U24 and a quartz crystal XTAL1. The quartz crystal XTAL1 is connected to the X1 and X2 interfaces of the real-time clock chip U24. The SCLK interface, I / O interface and CE interface of the real-time clock chip U24 are respectively connected to a data terminal of the central control module.
[0010] The display module is connected to the central control module via an 8080 bus. The display module includes a display driver module, a display interface, and a display screen. The CS, RD, WR, and DATA pins of the display driver module are connected to a data terminal in the central control module. The display interface is connected to the output terminal of the display driver module, and the display screen is connected to the display interface. The display module also includes a display backlight module, which includes a current-limiting resistor R10, a backlight connector P4, a MOSFET Q1, resistors R17 and R18. One end of the current-limiting resistor R10 is connected to the positive power supply, and the other end of the current-limiting resistor R10 is connected to one end of the backlight connector P4. The other end of the backlight connector P4 is connected to the drain of the MOSFET Q1. The source of the MOSFET Q1 is grounded. The gate of the MOSFET Q1 is connected to a data terminal in the central control module through a series resistor R17, and resistor R18 is connected between the gate and source of the MOSFET Q1.
[0011] The output interface adopts a motor drive module, and there are more than one set of motor drive modules. The first motor drive module includes a motor drive chip U16, capacitor C15, capacitor C32 and capacitor C14. The two input terminals of the motor drive chip U16 are respectively connected to the data terminal of the central control module, and the two output terminals of the motor drive chip U16 are respectively connected to the motor interface P2. The motor is connected to the motor interface P2. One output terminal OUTA of the motor drive chip U16 is connected in series with ground, and the other output terminal OUTB of the motor drive chip U16 is connected in series with ground, and capacitor C15 is connected in series with ground. The two output terminals of the motor drive chip U16 are connected across each other, and the circuit structure of the other motor drive modules is the same as that of the first motor drive module.
[0012] The output interface also includes an output interface driver module, which comprises a linear regulator U8, a MOSFET Q6, and a MOSFET Q7. The drain of MOSFET Q6 is connected to the positive power supply, the source of MOSFET Q6 is connected to the input terminal of the linear regulator U8, the gate of MOSFET Q6 is connected to the drain of MOSFET Q7, the source of MOSFET Q7 is grounded, and the gate of MOSFET Q7 is connected to a data terminal in the central control module through a series resistor R37. The output terminal of the linear regulator U8 is connected to the output interface.
[0013] The central control module is connected to one or more of the following modules: a button light module, a temperature and humidity sensor module, a speaker module, a fingerprint interface module, a lighting module, and a Bluetooth interface module.
[0014] The button light module includes one or more current-limiting resistors, one or more LED beads, a MOSFET Q3, resistors R31 and R32. A current-limiting resistor and an LED bead are connected in series to form a group of light-emitting units. One end of each current-limiting resistor is connected to the positive power supply, and the other end of each current-limiting resistor is connected to the positive terminal of an LED bead. The negative terminal of each LED bead is connected to the drain of the MOSFET Q3. The source of the MOSFET Q3 is grounded. The gate of the MOSFET Q3 is connected to a data terminal in the central control module through the series resistor R31. Resistor R32 is connected between the gate and source of the MOSFET Q3.
[0015] The temperature and humidity sensing module includes a temperature and humidity sensor U9, a current-limiting resistor R35, and a current-limiting resistor R36. The temperature and humidity sensor U9 is connected to the central control module via an I2C bus. The SCL pin of the temperature and humidity sensor U9 is connected to a data terminal of the central control module via the series current-limiting resistor R35, and the SDA pin of the temperature and humidity sensor U9 is connected to a data terminal of the central control module via the series current-limiting resistor R36.
[0016] The speaker module includes a current-limiting resistor R81, a speaker LS1, a MOSFET Q11, a resistor R82, a capacitor C61, and a resistor R73. One end of the current-limiting resistor R81 is connected to the positive power supply, and the other end of the current-limiting resistor R81 is connected to one end of the speaker LS1. The other end of the speaker LS1 is connected to the drain of the MOSFET Q11. The source of the MOSFET Q11 is grounded. The gate of the MOSFET Q11 is connected to a data terminal in the central control module through a series resistor R82 and a capacitor C61. The resistor R73 is connected between the gate and the source of the MOSFET Q11.
[0017] The fingerprint interface module is connected to the data terminal of the central control module via an asynchronous serial interface;
[0018] The lighting module includes a current-limiting resistor R85, an LED LED L4, a MOSFET Q12, resistors R91 and R93. One end of the current-limiting resistor R85 is connected to the positive power supply, and the other end of the current-limiting resistor R85 is connected to one end of the LED LED L4. The other end of the LED LED L4 is connected to the drain of the MOSFET Q12. The source of the MOSFET Q12 is grounded. The gate of the MOSFET Q12 is connected to a data terminal in the central control module through a series resistor R91. Resistor R93 is connected between the gate and source of the MOSFET Q12.
[0019] The Bluetooth interface module is directly connected to the data terminal of the central control module.
[0020] The power module includes a charging interface P5, a lithium battery interface P8, a charging management chip U7, a battery protection chip U15, and a voltage regulator module. The charging interface P5 is connected to the power input interface of the charging management chip U7, the lithium battery interface P8 is connected to the battery interface of the charging management chip U7, the charging status indicator terminal of the charging management chip U7 is connected to a data terminal in the central control module, the battery protection chip U15 is connected to the lithium battery interface P8, and the power input terminal of the voltage regulator module is connected to the lithium battery interface P8.
[0021] The voltage regulator module includes voltage regulator chip U6 and voltage regulator chip U3. The enable terminal of voltage regulator chip U6 is connected to a data terminal in the central control module, and the enable terminal of voltage regulator chip U3 is connected to the charging interface P5. The power module also includes a battery internal resistance improvement module, which includes MOSFET Q2, resistor R15, resistor R19, diode D5, and diode D15. Diode D5 is connected between the positive power supply terminal of the charging interface P5 and the positive power supply. The source of MOSFET Q2 is connected to the positive power supply terminal of the lithium battery interface P8, the drain of MOSFET Q2 is connected to the positive power supply, the gate of MOSFET Q2 is connected to the positive power supply terminal of the charging interface P5 through resistor R15, the gate of MOSFET Q2 is grounded through resistor R19, and diode D15 is connected between the positive power supply terminal of the charging interface P5 and ground.
[0022] The power module also includes a battery voltage detection module, which includes resistors R6 and R7. Resistors R6 and R7 are connected in series as voltage divider resistors between the positive power terminal of the lithium battery interface P8 and ground. The common terminal of resistors R6 and R7 is connected to a data terminal in the central control module.
[0023] The power module also includes an input voltage detection module, which includes resistors R78 and R87. Resistors R78 and R87 are connected in series as voltage divider resistors between the positive power terminal of the charging interface P5 and ground. The common terminal of resistors R78 and R87 is connected to a data terminal in the central control module.
[0024] The beneficial effects of this utility model are as follows: Designed with both input and output interfaces, it can receive various forms of switch inputs for use as control signals, and can also output switch signals through the output interface, thereby increasing its versatility. Furthermore, this utility model also includes a display screen, which can be used to display sensor detection information, time, battery level, and other information that needs to be displayed.
[0025] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. Attached Figure Description
[0026] Figure 1 This is a circuit block diagram of the present invention.
[0027] Figure 2 This is a circuit diagram of the central control module in this utility model.
[0028] Figure 3 This is a circuit diagram of the fingerprint interface part of this utility model.
[0029] Figure 4 This is a circuit diagram of the voltage regulator module in this utility model.
[0030] Figure 5 This is a circuit diagram of the display driver module in this utility model.
[0031] Figure 6 This is a circuit diagram of the screen backlight module in this utility model.
[0032] Figure 7 This is a circuit diagram of the first motor drive module in this utility model.
[0033] Figure 8 This is a circuit diagram of the second motor drive module in this utility model.
[0034] Figure 9 This is a circuit diagram of the third motor drive module in this utility model.
[0035] Figure 10 This is a circuit diagram of the fourth motor drive module in this utility model.
[0036] Figure 11 This is a circuit diagram of the switch module in this utility model.
[0037] Figure 12 This is a circuit diagram of the button light module in this utility model.
[0038] Figure 13 This is a circuit diagram of the speaker module in this utility model.
[0039] Figure 14 This is a circuit diagram of the temperature and humidity sensing module in this utility model.
[0040] Figure 15 This is a circuit diagram of the battery internal resistance improvement module in this utility model.
[0041] Figure 16This is a circuit diagram of the Bluetooth interface module in this utility model.
[0042] Figure 17 This is a circuit diagram of the clock module in this utility model.
[0043] Figure 18 This is a three-dimensional structural diagram of the present invention.
[0044] In the diagram, 1-motherboard, 2-display screen, 3-touch button, 4-button indicator, 5-actuator interface, 6-charging interface, 7-lithium battery interface. Detailed Implementation
[0045] This embodiment is a preferred embodiment of the present invention. All other embodiments that are the same as or similar to this embodiment in principle and basic structure are within the protection scope of the present invention.
[0046] Please refer to the appendix for details. Figure 1 To be continued Figure 17 This utility model mainly protects a multi-purpose controller with a display screen, which mainly includes a central control module, an input interface, an output interface, a display module, and a power supply module. The input interface is directly connected to the data terminal of the central control module and is used for switch input. Switch control information can be input through the input interface. The output interface is directly connected to the data terminal of the central control module and is used for switch output to control the actuator. The display module is connected to the data terminal of the central control module for display. The power supply module is used for power supply.
[0047] In this embodiment, the central control module uses MCU control chip U1. In specific implementation, other chips with computing capabilities and switch input / output functions can also be used instead. In this embodiment, the MCU control chip U1 is a smart lock main control MCU chip with integrated touch buttons and RFID functions, model BF5823AM48. In specific implementations, other models or series of MCUs can also be used. Since the MCU control chip U1 used in this embodiment integrates touch button function, the input interface is implemented with more than one touch button. In this embodiment, the input interface includes four sets of touch button interfaces. Each set of touch button interfaces is connected to one set of touch buttons. Each set of touch buttons is directly connected to a data terminal of the MCU control chip U1 through a series resistor. In this embodiment, the PC5 interface, PC6 interface, PC7 interface and PEO interface of the MCU control chip U1 are used. In specific implementations, the specific number of input interfaces can also be set according to actual needs. Theoretically, at least one set should be set, and there is no maximum limit, as long as the MCU control chip can read it. Data, passwords, control information and other information that can be represented by switch quantities can be input through the input interface. In specific implementations, other input components can also be connected to the input interface, such as: push button switches, DIP switches and other direct input, or remote control input such as RF modules, infrared modules and other remote control input.
[0048] In this embodiment, a real-time clock module is connected to the central control module. The real-time clock module includes a real-time clock chip U24 and a quartz crystal oscillator XTAL1. The real-time clock chip U24 is a DS1302ZN+ model, but other signal real-time clock chips can also be used in specific implementations. The quartz crystal oscillator XTAL1 is connected to the X1 and X2 interfaces of the real-time clock chip U24. The SCLK interface of the real-time clock chip U24 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PH3 interface is used). The I / O interface of U24 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PH2 interface is selected). The CE interface of the real-time clock chip U24 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PH1 interface is selected). The real-time clock module can provide a clock signal to the central control module. Alternatively, a quartz crystal Y1 can be connected to the XTAL0_IN interface and the XTAL0_OUT interface of the MUC control chip U1 to provide a clock signal to the MUC control chip U1.
[0049] In this embodiment, a button light module is connected to the data terminal of the central control module. The button light module includes one or more current-limiting resistors, one or more LED beads, MOSFET Q3, resistor R31, and resistor R32. A current-limiting resistor and an LED bead are connected in series to form a group of light-emitting units. In this embodiment, since there are four touch buttons, there are also four groups of light-emitting units. Each group of light-emitting units corresponds to one touch button. In specific implementation, the number of light-emitting units can be the same as or different from the number of touch buttons. One end of each of the four current-limiting resistors is connected to the positive terminal of the touch button. The power supply is connected as follows: the other ends of the four current-limiting resistors are connected to the positive terminals of the four LED beads respectively; the negative terminals of the four LED beads are connected to the drains of the MOSFET Q3 respectively; the source of the MOSFET Q3 is grounded; and the gate of the MOSFET Q3 is connected to a data terminal of the MUC control chip U1 through a series resistor R31 (in this embodiment, the PE3 interface is selected). Resistor R32 is connected between the gate and source of the MOSFET Q3. When there is a touch operation, the MUC control chip U1 outputs a control signal to control the conduction of the MOSFET Q3, thereby controlling the lighting of the button light module.
[0050] In this embodiment, the display module is connected to the central control module via an 8080 bus. This is suitable for applications with specific requirements for data transmission efficiency and hardware implementation complexity. It enables rapid data transmission, has simple hardware logic, and offers advantages such as strong real-time performance and good compatibility. In this embodiment, the display module mainly includes a display driver module, a display interface, and a display screen. The display driver module is connected to the central control module via an 8080 bus. Specifically, the CS pin of the display driver module is connected to the PG0 pin of the MUC control chip U1, serving as the LCD_CS interface; the RD pin of the display driver module is connected to the PG1 pin of the MUC control chip U1, serving as the LCD_RD interface; the WR pin of the display driver module is connected to the PG2 pin of the MUC control chip U1, serving as the LCD_WR interface; and the DATA pin of the display driver module is connected to the PG3 pin of the MUC control chip U1, serving as the LCD_DATA interface. The display interface is connected to the output of the display driver module, and the display screen is connected to the display interface. The display driver module, display interface, and display screen are configured accordingly. In this embodiment, the display driver module adopts the LCD display driver chip U4 with model number HT1621, the display interface adopts the 22PIN 0.5mm FPC connector FPC1, and the display screen adopts the corresponding 22PIN interface LCD display screen. In specific implementation, other specific models of display driver modules, display interfaces, and display screens can also be used.
[0051] In this embodiment, the display module further includes a display backlight module, which includes a current-limiting resistor R10, a backlight connector P4, a MOSFET Q1, resistors R17 and R18. One end of the current-limiting resistor R10 is connected to the positive power supply, and the other end of the current-limiting resistor R10 is connected to one end of the backlight connector P4. The other end of the backlight connector P4 is connected to the drain of the MOSFET Q1. The source of the MOSFET Q1 is grounded, and the gate of the MOSFET Q1 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PH0 interface is selected) through the series resistor R17. Resistor R18 is connected between the gate and source of the MOSFET Q1. In use, the backlight is plugged into the backlight connector P4. In this embodiment, plugging the backlight into the backlight connector P4 facilitates the maintenance and replacement of the backlight, making it more convenient to use. The MUC control chip U1 outputs a control signal to control the on / off state of the MOSFET Q1, thereby controlling the backlight to light up or turn off.
[0052] In this embodiment, the output interface is used to output switch signals. The I / O port (i.e., data port) of the MUC control chip U1 can be directly used as the output interface. One set of output interfaces can be configured, or multiple sets can be configured according to actual needs. The output interface can be specifically designed according to actual needs. Depending on the actual application, if the main actuator is a motor, the output interface can be designed as a motor drive module. When this invention is used in a watch shaker, the motor can drive the watch shaker to rotate; when this invention is used in a smart bedside table, a linear motor can be used to push the drawer on the bedside table to extend or retract; when this invention is used in a smart suitcase or smart luggage, the motor can push the locking pin to lock or unlock. In this embodiment, four sets of motor drive modules are configured, each driving one of the four motors. In specific implementations, more sets or only one, two, or three sets can be configured according to actual needs. Since the circuit structures of the four motor drive modules are identical, the circuit structure of the first motor drive module will be described below as an example. The circuit structures of the other motor drive modules are the same as those of the first motor drive module, and will not be repeated here. The first motor drive module includes a motor drive chip U16, capacitors C15, C32, and C14. The two input terminals (INA interface and INB interface) of the motor drive chip U16 are connected to the data terminals (PB4 port and PB5 port in this embodiment) of the MUC control chip U1, respectively. The two output terminals (OUTA interface and OUT...) of the motor drive chip U16... The B interface is connected to the motor interface P2, and the motor is connected to the motor interface P2. A capacitor C32 is connected in series between one output terminal (OUTA interface) of the motor driver chip U16 and ground, and a capacitor C15 is connected in series between the other output terminal (OUTB interface) of the motor driver chip U16 and ground. A capacitor C14 is connected across the two output terminals of the motor driver chip U16. In this embodiment, the motor driver chip U16 is a TC118S model, which can achieve full-bridge drive, high current output, and has built-in protection functions to effectively prevent overcurrent damage. Its peripheral circuit design is also simple. In this embodiment, filter capacitors C17 and C18 are connected between the power input interface of the motor driver chip U16 and ground to make the input drive power supply more stable.
[0053] In this embodiment, if the output interface requires a large drive current, an output interface drive module can also be provided. The output interface drive module includes a linear regulator U8, a MOSFET Q6, and a MOSFET Q7. The drain of MOSFET Q6 is connected to the positive power supply, the source of MOSFET Q6 is connected to the input terminal of the linear regulator U8, the gate of MOSFET Q6 is connected to the drain of MOSFET Q7, the source of MOSFET Q7 is grounded, and the gate of MOSFET Q7 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PE2 interface is selected) through a series resistor R37. The output terminal of the linear regulator U8 is connected to the output interface (in this embodiment, it is connected to the motor drive module). The MUC control chip U1 outputs an enable signal, which enables the positive power supply to be input to the linear regulator U8 through MOSFETs Q6 and Q7, and the linear regulator U8 directly provides drive power to the output interface.
[0054] In this embodiment, a temperature and humidity sensing module is connected to the data terminal of the central control module. The temperature and humidity sensing module includes a temperature and humidity sensor U9, a current-limiting resistor R35, and a current-limiting resistor R36. The temperature and humidity sensor U9 is connected to the central control module via an I2C bus. The circuit design is simple and occupies few pins. In this embodiment, the temperature and humidity sensor U9 uses an AHT20 digital integrated temperature and humidity detection chip. In specific implementations, separate independent temperature detection chips and humidity detection chips can also be used. The SCL pin of the temperature and humidity sensor U9 is connected to a data terminal of the central control module (in this embodiment, the PE6 port is selected) through a series current-limiting resistor R35. The SDA pin of the temperature and humidity sensor U9 is connected to a data terminal of the central control module (in this embodiment, the PE7 port is selected) through a series current-limiting resistor R36. This is used to transmit the detected ambient temperature and humidity information to the central control module, and the central control module outputs it to the display module for display.
[0055] In this embodiment, a speaker module is connected to the data terminal of the central control module. The speaker module includes a current-limiting resistor R81, a speaker LS1, a MOSFET Q11, a resistor R82, a capacitor C61, and a resistor R73. One end of the current-limiting resistor R81 is connected to the positive power supply, and the other end of the current-limiting resistor R81 is connected to one end of the speaker LS1. The other end of the speaker LS1 is connected to the drain of the MOSFET Q11. The source of the MOSFET Q11 is grounded. The gate of the MOSFET Q11 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PH7 interface is selected) through the series resistor R82 and capacitor C61. The resistor R73 is connected between the gate and the source of the MOSFET Q11. In use, the MUC control chip U1 outputs a control signal to control the switching on and off of the MOSFET Q11, thereby controlling the speaker LS1 to emit sound.
[0056] In this embodiment, a fingerprint interface module is connected to the data terminal of the central control module. The fingerprint interface module adopts a 6-pin fingerprint interface P3. When in use, the fingerprint module can be plugged into the fingerprint interface P3. The fingerprint interface P3 is connected to the data terminal of the central control module (in this embodiment, PF4 port and PF5 port are selected) through an asynchronous serial interface. The external interrupt FPS_INT interface of the fingerprint interface P3 is connected to the data terminal of the central control module (in this embodiment, PF64 port is selected), and a fingerprint module can be connected for fingerprint input.
[0057] In this embodiment, a lighting module is connected to the data terminal of the central control module. The lighting module includes a current-limiting resistor R85, an LED LEDL4, a MOSFET Q12, resistors R91 and R93. One end of the current-limiting resistor R85 is connected to the positive power supply, and the other end of the current-limiting resistor R85 is connected to one end of the LED LEDL4. The other end of the LED LEDL4 is connected to the drain of the MOSFET Q12. The source of the MOSFET Q12 is grounded. The gate of the MOSFET Q12 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PH1 interface is selected) through the series resistor R91. Resistor R93 is connected between the gate and source of the MOSFET Q12. In use, the MUC control chip U1 outputs a control signal to control the switching on and off of the MOSFET Q12, thereby controlling the LED LEDL4 to emit light, and using it as a lighting lamp.
[0058] In this embodiment, a Bluetooth interface module is connected to the data terminal of the central control module. The Bluetooth interface module uses a 6-pin Bluetooth interface P1B. In use, the Bluetooth module can be plugged into the Bluetooth interface P1B. The Bluetooth interface P1B is directly connected to the data terminal of the central control module. Specifically, the BLEWAKE interface of the Bluetooth interface P1B is connected to a data terminal of the MUC control chip U1 (PB0 interface is selected in this embodiment), the BLECTRL interface of the Bluetooth interface P1B is connected to a data terminal of the MUC control chip U1 (PA1 interface is selected in this embodiment), the BLERX interface of the Bluetooth interface P1B is connected to a data terminal of the MUC control chip U1 (PH5 interface is selected in this embodiment), and the BLETX interface of the Bluetooth interface P1B is connected to a data terminal of the MUC control chip U1 (PH4 interface is selected in this embodiment). It can connect to the Bluetooth module for Bluetooth communication.
[0059] In this embodiment, the power module is mainly used to supply power to the present invention. It is preferably in the form of a lithium battery. In addition, a battery box (or battery slot) containing dry batteries, nickel-metal hydride rechargeable batteries, nickel-cadmium rechargeable batteries, etc. can also be selected, or the power input interface can be used to directly supply power from an external power source. In this embodiment, a lithium battery is used. The power module mainly includes a charging interface P5, a lithium battery interface P8, a charging management chip U7, a battery protection chip U15, and a voltage regulator module. The charging interface P5 is connected to the power input interface (VCC) of the charging management chip U7, the lithium battery interface P8 is connected to the battery interface (BAT) of the charging management chip U7, the charging status indicator terminal (CHRG) of the charging management chip U7 is connected to a data terminal (PA0 interface is selected in this embodiment) of the MUC control chip U1, and is used to output charging status information to the MUC control chip U1. The battery protection chip U15 is connected to the lithium battery interface P8, and the power input terminal of the voltage regulator module is connected to the lithium battery interface P8. The power output of the lithium battery connected to the lithium battery interface P8 is regulated to 3.3V by the voltage regulator module to power this utility model. In this embodiment, the charging interface P5 can be used to connect to an external power source for power input. The charging interface P5 can be a DC interface, a Type-C interface, a USB interface, etc. The lithium battery interface P8 is used to connect to the lithium battery. In this embodiment, the lithium battery adopts a plug-in structure for easy maintenance and replacement. The charging management chip U7 uses a TP4057 charging management chip, a 500mA linear lithium-ion battery charger chip, which has functions such as battery protection, thermal regulation, and charging status indication. The battery protection chip U15 uses an XB5307H battery protection chip, a single-cell lithium-ion / lithium polymer rechargeable battery pack protection chip, which has the necessary protection functions for batteries such as overcharge, over-discharge, overcurrent, over-temperature, and short circuit. It also has charger reverse connection protection and battery reverse connection protection functions.
[0060] In this embodiment, the voltage regulator module includes voltage regulator chip U6 and voltage regulator chip U3. Both voltage regulator chip U6 and voltage regulator chip U3 are linear voltage regulators (LDO) of model ME6214C33M5G. The enable terminal of voltage regulator chip U6 is connected to a data terminal of MUC control chip U1 (in this embodiment, the PF7 interface is selected). The MUC control chip U1 controls the voltage regulator chip U6 to start working. The enable terminal of voltage regulator chip U3 is connected to charging interface P5. When there is power input to charging interface P5, voltage regulator chip U3 starts working. In this embodiment, the power module further includes a battery internal resistance improvement module. This module includes a MOSFET Q2, resistors R15 and R19, diode D5, and diode D19. Diode D5 is connected between the positive power supply terminal (VBUS) of the charging interface P5 and the positive power supply terminal (VIN). The source of MOSFET Q2 is connected to the positive power supply terminal (VBAT) of the lithium battery interface P8, and the drain of MOSFET Q2 is connected to the positive power supply terminal (VIN). The gate of MOSFET Q2 is connected to the positive power supply terminal (VIN) of the charging interface P5 through resistor R15. The source terminal (VBUS) is connected, and the gate of MOSFET Q2 is grounded through resistor R19. Diode D15 is connected between the positive power terminal (VBUS) of charging interface P5 and ground. When there is power input to charging interface P5, MOSFET Q2 can be turned off, thereby stopping the lithium battery from supplying power to this utility model and using an external power supply. When there is no power input to charging interface P5, MOSFET Q2 is turned on, and the lithium battery supplies power to this utility model, thereby improving the power consumption of the battery's internal resistance during power supply and extending the battery's lifespan to a certain extent.
[0061] In this embodiment, the power module also includes a battery voltage detection module. The battery voltage detection module includes resistors R6 and R7, which are connected in series as voltage divider resistors between the positive power terminal and ground of the lithium battery interface P8. Preferably, the resistance values of resistors R6 and R7 are the same, but different resistance values are also acceptable. The common terminal of resistors R6 and R7 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PH6 interface is selected, which has a built-in ADC function). The battery voltage can be detected by the MUC control chip U1, thereby determining the remaining battery power.
[0062] In this embodiment, the power supply module also includes an input voltage detection module, which includes resistors R78 and R87. Resistors R78 and R87 are connected in series as voltage divider resistors between the positive power terminal and ground of the charging interface P5. Preferably, the resistance values of resistors R78 and R87 are the same, but different resistance values are also acceptable. The common terminal of resistors R78 and R87 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PB3 interface is selected, which has a built-in ADC function). The input voltage can be detected by the MUC control chip U1 to determine whether the input voltage is normal. When it is abnormal, the power supply mode can be switched or the power supply can be stopped to avoid damage.
[0063] In this embodiment, a normally open vibration switch module is also connected to the central control module. The normally open vibration switch module includes a vibration switch SW2, a capacitor C3, and a resistor R1. The vibration switch SW2 and the resistor R1 are connected in series between the positive power supply (3.3V power supply) and ground. The capacitor C3 is connected in parallel with the vibration switch SW2. The common terminal of the vibration switch SW2 and the resistor R1 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PB1 interface is selected). The vibration switch SW2 can be used to detect vibration information. When the device using this invention is illegally moved, stolen, or generates unexpected vibration, the vibration switch SW2 can be triggered to conduct, inputting to the central control module. The central control module controls this invention to generate alarm information and issue an alarm.
[0064] In this embodiment, the central control module is also connected to an internal button module, which includes a switch SW1, an interface P9, and a resistor R2. The switch SW1 and the resistor R2 are connected in series between the positive power supply (3.3V power supply) and ground. The interface P9 is connected in parallel with the switch SW1. The common terminal of the switch SW1 and the resistor R2 is connected to a data terminal of the MUC control chip U1 (in this embodiment, the PB12 interface is selected). The switch SW1 is an onboard switch used to activate setting functions, such as fingerprint enrollment (requiring the cooperation of a fingerprint module). In some devices, when it is inconvenient to press the switch SW1, an external switch with the same function as the switch SW1 can be connected to the interface P9 through a wire.
[0065] The structure of this utility model will be described below with a specific example. In actual implementation, other forms may be selected according to actual needs. Please refer to the appendix for details. Figure 18This utility model mainly includes a motherboard 1, a display screen 2, touch buttons 3, button lights 4, an actuator interface 5, a charging interface 6, and a lithium battery interface 7. The motherboard 1 is equipped with a control circuit. The display screen 2 is fixedly mounted on the motherboard 1. The touch buttons 3 are mounted on the motherboard 1 and are positioned next to the display screen 2. The number of touch buttons 3 can be set according to actual needs. The button lights 4 are positioned in the middle of the touch buttons 3. Preferably, the number of button lights 4 is the same as the number of touch buttons 3. The actuator interface 5, the charging interface 6, and the lithium battery interface 7 are fixedly mounted on the motherboard 1. The number of actuator interfaces 5 is set according to actual needs.
[0066] This invention features both input and output interfaces, allowing it to receive various forms of switch inputs for use as control signals and output switch signals, thus increasing its versatility. Additionally, it includes a display screen to show sensor detection information, time, battery level, and other relevant data.
Claims
1. A multi-purpose controller with a display screen, characterized in that: The controller includes a central control module, an input interface, an output interface, a display module, and a power supply module. The input interface and output interface are directly connected to the data terminal of the central control module. The display module is connected to the data terminal of the central control module. The power supply module provides power. The central control module uses an MCU control chip U1. The input interface uses one or more touch buttons, push-button switches, DIP switches, or RF modules and infrared modules. The output interface uses motor drive modules, and there are one or more sets of motor drive modules. The first motor drive module includes a motor drive chip U16. Capacitors C15, C32, and C14 are connected to the central control module's data terminal, and the two input terminals of motor driver chip U16 are connected to the motor interface P2. The motor is connected to the motor interface P2. One output terminal OUTA of motor driver chip U16 is connected in series with ground, and the other output terminal OUTB of motor driver chip U16 is connected in series with ground, and a capacitor C15 is connected in series with ground. A capacitor C14 is connected across the two output terminals of motor driver chip U16. The circuit structure of other motor driver modules is the same as that of the first motor driver module. The output interface also includes an output interface driver module, which comprises a linear regulator U8, a MOSFET Q6, and a MOSFET Q7. The drain of MOSFET Q6 is connected to the positive power supply, the source of MOSFET Q6 is connected to the input terminal of the linear regulator U8, the gate of MOSFET Q6 is connected to the drain of MOSFET Q7, the source of MOSFET Q7 is grounded, and the gate of MOSFET Q7 is connected to a data terminal in the central control module through a series resistor R37. The output terminal of the linear regulator U8 is connected to the output interface.
2. The multi-purpose controller with display screen according to claim 1, characterized in that: The central control module is connected to a real-time clock module or a quartz crystal Y1. The real-time clock module includes a real-time clock chip U24 and a quartz crystal XTAL1. The quartz crystal XTAL1 is connected to the X1 and X2 interfaces of the real-time clock chip U24. The SCLK interface, I / O interface and CE interface of the real-time clock chip U24 are respectively connected to a data terminal of the central control module.
3. The multi-purpose controller with display screen according to claim 1, characterized in that: The display module is connected to the central control module via an 8080 bus. The display module includes a display driver module, a display interface, and a display screen. The CS, RD, WR, and DATA pins of the display driver module are connected to a data terminal in the central control module. The display interface is connected to the output terminal of the display driver module, and the display screen is connected to the display interface. The display module also includes a display backlight module, which includes a current-limiting resistor R10, a backlight connector P4, a MOSFET Q1, resistors R17 and R18. One end of the current-limiting resistor R10 is connected to the positive power supply, and the other end of the current-limiting resistor R10 is connected to one end of the backlight connector P4. The other end of the backlight connector P4 is connected to the drain of the MOSFET Q1. The source of the MOSFET Q1 is grounded. The gate of the MOSFET Q1 is connected to a data terminal in the central control module through a series resistor R17, and resistor R18 is connected between the gate and source of the MOSFET Q1.
4. The multi-purpose controller with display screen according to claim 1, characterized in that: The central control module is connected to one or more of the following modules: a button light module, a temperature and humidity sensor module, a speaker module, a fingerprint interface module, a lighting module, and a Bluetooth interface module. The button light module includes one or more current-limiting resistors, one or more LED beads, a MOSFET Q3, resistors R31 and R32. A current-limiting resistor and an LED bead are connected in series to form a group of light-emitting units. One end of each current-limiting resistor is connected to the positive power supply, and the other end of each current-limiting resistor is connected to the positive terminal of an LED bead. The negative terminal of each LED bead is connected to the drain of the MOSFET Q3. The source of the MOSFET Q3 is grounded. The gate of the MOSFET Q3 is connected to a data terminal in the central control module through the series resistor R31. Resistor R32 is connected between the gate and source of the MOSFET Q3. The temperature and humidity sensing module includes a temperature and humidity sensor U9, a current-limiting resistor R35, and a current-limiting resistor R36. The temperature and humidity sensor U9 is connected to the central control module via an I2C bus. The SCL pin of the temperature and humidity sensor U9 is connected to a data terminal of the central control module via the series current-limiting resistor R35, and the SDA pin of the temperature and humidity sensor U9 is connected to a data terminal of the central control module via the series current-limiting resistor R36. The speaker module includes a current-limiting resistor R81, a speaker LS1, a MOSFET Q11, a resistor R82, a capacitor C61, and a resistor R73. One end of the current-limiting resistor R81 is connected to the positive power supply, and the other end of the current-limiting resistor R81 is connected to one end of the speaker LS1. The other end of the speaker LS1 is connected to the drain of the MOSFET Q11. The source of the MOSFET Q11 is grounded. The gate of the MOSFET Q11 is connected to a data terminal in the central control module through a series resistor R82 and a capacitor C61. The resistor R73 is connected between the gate and the source of the MOSFET Q11. The fingerprint interface module is connected to the data terminal of the central control module via an asynchronous serial interface; The lighting module includes a current-limiting resistor R85, an LED LED L4, a MOSFET Q12, resistors R91 and R93. One end of the current-limiting resistor R85 is connected to the positive power supply, and the other end of the current-limiting resistor R85 is connected to one end of the LED LED L4. The other end of the LED LED L4 is connected to the drain of the MOSFET Q12. The source of the MOSFET Q12 is grounded. The gate of the MOSFET Q12 is connected to a data terminal in the central control module through a series resistor R91. Resistor R93 is connected between the gate and source of the MOSFET Q12. The Bluetooth interface module is directly connected to the data terminal of the central control module.
5. The multi-purpose controller with display screen according to claim 1, characterized in that: The power module includes a charging interface P5, a lithium battery interface P8, a charging management chip U7, a battery protection chip U15, and a voltage regulator module. The charging interface P5 is connected to the power input interface of the charging management chip U7, the lithium battery interface P8 is connected to the battery interface of the charging management chip U7, the charging status indicator terminal of the charging management chip U7 is connected to a data terminal in the central control module, the battery protection chip U15 is connected to the lithium battery interface P8, and the power input terminal of the voltage regulator module is connected to the lithium battery interface P8.
6. The multi-purpose controller with display screen according to claim 5, characterized in that: The voltage regulator module includes voltage regulator chip U6 and voltage regulator chip U3. The enable terminal of voltage regulator chip U6 is connected to a data terminal in the central control module, and the enable terminal of voltage regulator chip U3 is connected to the charging interface P5. The power module also includes a battery internal resistance improvement module, which includes MOSFET Q2, resistor R15, resistor R19, diode D5, and diode D15. Diode D5 is connected between the positive power supply terminal of the charging interface P5 and the positive power supply. The source of MOSFET Q2 is connected to the positive power supply terminal of the lithium battery interface P8, the drain of MOSFET Q2 is connected to the positive power supply, the gate of MOSFET Q2 is connected to the positive power supply terminal of the charging interface P5 through resistor R15, the gate of MOSFET Q2 is grounded through resistor R19, and diode D15 is connected between the positive power supply terminal of the charging interface P5 and ground.
7. The multi-purpose controller with display screen according to claim 5, characterized in that: The power module also includes a battery voltage detection module, which includes resistors R6 and R7. Resistors R6 and R7 are connected in series as voltage divider resistors between the positive power terminal of the lithium battery interface P8 and ground. The common terminal of resistors R6 and R7 is connected to a data terminal in the central control module.
8. The multi-purpose controller with display screen according to claim 5, characterized in that: The power module also includes an input voltage detection module, which includes resistors R78 and R87. Resistors R78 and R87 are connected in series as voltage divider resistors between the positive power terminal of the charging interface P5 and ground. The common terminal of resistors R78 and R87 is connected to a data terminal in the central control module.