Circuit capable of arbitrarily combining keys and displaying and displayable device

By controlling two sets of chip select chips and connecting them with the SPI communication module through a microcontroller chip, the problem that existing display chips cannot realize arbitrary button combinations is solved, and arbitrary button combinations and ghost-free display are achieved.

CN223553321UActive Publication Date: 2025-11-14SHANGHAI RUICANG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421707030.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2025-11-14
Estimated Expiration
2034-07-18

AI Technical Summary

Technical Problem

Existing display chips cannot implement arbitrary button combinations, which limits the combination forms and methods, and may cause display ghosting when pressing a button for a long time.

Method used

A microcontroller chip is used to control two sets of chip select chips. The first chip select chip controls the display driver chip and the second chip select chip to lock the key scanning chip. An SPI communication module is used to connect the key scanning chip and the display driver chip to realize the reading of key values.

Benefits of technology

It enables arbitrary button combinations, avoids ghosting, and improves the flexibility and combinability of the display circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223553321U_ABST
    Figure CN223553321U_ABST
Patent Text Reader

Abstract

The utility model discloses a circuit capable of randomly combining keys and displaying and a displayable device, which belong to the technical field of display circuit control, and are characterized in that a micro-control chip is adopted to control two groups of chip selection chips, and the chip selection chips comprise a first chip selection chip and a second chip selection chip; a first chip selection chip is adopted to control a display driving chip, and the display driving chip is controlled to read and write display content; a second chip selection chip is adopted to control the key scanning chip, the key scanning chip is controlled and locked, and the key scanning chip is controlled to read the value of the key in the next CLK clock period; an additional key scanning chip and a display driving chip are added. Through a special connection mode, when the first chip selection chip controls the chip selection display driving chip, the key state is locked at the moment, then the key scanning chip can read the value of the key in the next CLK clock period, and combination of any keys can be achieved through the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the technical field of display circuit control, and in particular to a circuit and display device that can arbitrarily combine buttons and displays. Background Technology

[0002] In daily life, it is often necessary to display the counting pulse value intuitively. Display circuits are the most commonly used display method. The display circuit generally uses a counter to receive pulse signals for counting, then uses a decoder to convert the number of bits, and finally displays the converted information on a display.

[0003] Existing display chips provide both digital tube drivers and button inputs. However, button outputs have limitations. Holding a button down for an extended period can affect the display, potentially causing ghosting. Furthermore, button combinations are limited to those on different lines; with only two scan lines, only combinations of two buttons are possible, preventing arbitrary button combinations. The combination methods and formats need further improvement. In daily life, it's often necessary to visually display counting pulse values. Display circuits are currently the most common means of display. The display circuit typically involves a counter receiving pulse signals for counting, a decoder performing bit conversion, and finally, a display showing the converted information.

[0004] Existing display chips provide digital tube drivers and button inputs, but button outputs have limitations. When a button is pressed for a long time, it affects the display and may cause ghosting. Furthermore, when combining buttons, only buttons on different lines can be combined. Since there are only two scan lines, only combinations of two buttons are possible, and arbitrary button combinations are not possible. The combination forms and methods need further improvement. Utility Model Content

[0005] The purpose of this invention is to solve the problem that existing technologies cannot achieve arbitrary button combinations, and to propose a circuit and display device that allows for arbitrary combinations of buttons and displays.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] A circuit that allows for arbitrary combination of buttons and display, comprising:

[0008] Two sets of chip select chips are controlled by a microcontroller chip, the chip select chips including a first chip select chip and a second chip select chip;

[0009] The first chip is used to control the display driver chip, which in turn controls the display driver chip to read and write the display content.

[0010] The second chip selector is used to control the button scanning chip, lock the button scanning chip, and control the button scanning chip to read the button value in the next CLK clock cycle.

[0011] Furthermore, the key scanning chip is connected to the display driver chip via an SPI communication module.

[0012] Furthermore, the display driver chip is connected to the microcontroller chip via an SPI communication module.

[0013] Furthermore, the key scanning chip also includes a processing module, which is used to process the key values ​​read by scanning.

[0014] A display device, comprising:

[0015] The microcontroller module is used to control the chip select chip to respond to and process the lower-level modules;

[0016] The chip select module is used to receive instructions from the microcontroller module and to process instructions from lower-level modules.

[0017] The display driver module is used to read and write display content.

[0018] The key scanning module is used to scan and read the values ​​of the keys pressed.

[0019] The SPI communication module is used to connect the key scanning module, display driver module, and microcontroller module, and is used for information transmission between the connected modules.

[0020] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the arbitrarily combinable key and display circuit and control method.

[0021] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the described arbitrary combination of keypad and display circuit and control method.

[0022] Compared with the prior art, this utility model provides a circuit and display device that can arbitrarily combine buttons and displays, and has the following beneficial effects:

[0023] This circuit employs an additional key scanning chip and display driver chip, which share SPI communication. Two separate chip select chips are used to control both the key scanning chip and the display driver chip. Through this unique connection method, while the first chip select chip controls the display driver chip, the second chip select chip locks the key scanning chip, thus locking the key state. Then, in the next CLK clock cycle, the key scanning chip can read the key value. This method allows for arbitrary key combinations. Attached Figure Description

[0024] Figure 1 This is a schematic diagram of a circuit that allows for arbitrary combination of buttons and display, as proposed in this utility model.

[0025] Figure 2 A schematic diagram of a control system for a circuit that allows for arbitrary combination of buttons and displays, as proposed in this utility model. Figure 1 ;

[0026] Figure 3 A schematic diagram of a control system for a circuit that allows for arbitrary combination of buttons and displays, as proposed in this utility model. Figure 2 ;

[0027] Figure 4 This is a circuit diagram of the display driver chip proposed in this utility model;

[0028] Figure 5 This is a circuit diagram of the key scanning chip proposed in this utility model. Detailed Implementation

[0029] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present utility model. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments.

[0030] In the description of this utility model, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model.

[0031] Example 1

[0032] A circuit that allows for arbitrary combinations of buttons and displays, comprising:

[0033] Reference Figure 1Step S1: Use a microcontroller chip to control two sets of chip select chips, including a first chip select chip and a second chip select chip.

[0034] Reference Figure 4 Step S2: Use the first chip selector to control the display driver chip, and control the display driver chip to read and write the display content;

[0035] Reference Figure 5 Step S3: Use the second chip select chip to control the key scanning chip, control and lock the key scanning chip, and control the key scanning chip to read the key value in the next CLK clock cycle.

[0036] Reference Figure 1 , Figure 3 In order to achieve information connection and transmission between the key scanning chip and the display driver chip, the key scanning chip is connected to the display driver chip through an SPI communication module.

[0037] Reference Figure 1 , Figure 3 In order to achieve information connection and transmission between the display driver chip and the microcontroller chip, the display driver chip is connected to the microcontroller chip through the SPI communication module.

[0038] Reference Figure 2 In order to quickly process the key data information scanned by the key scanning chip, the key scanning chip also contains a processing module, which is used to process the key values ​​read by scanning.

[0039] As described above, the arbitrary combination of button and display circuits and control method provided in this embodiment employs the addition of an extra button scanning chip and display driver chip, with the button scanning chip and display driver chip sharing SPI communication. Two separate chip select chips are used to control the button scanning chip and display driver chip. Through this special connection method, when the first chip select chip controls the chip select display driver chip, the second chip select chip locks the button scanning chip, thus locking the button state. Then, in the next CLK clock cycle, the button scanning chip can read the button value. This method enables arbitrary button combinations.

[0040] Example 2

[0041] In order to accurately control the arbitrarily combinable buttons and display circuitry, this application provides an embodiment of a display device for implementing all or part of the arbitrarily combinable buttons and display circuitry, comprising:

[0042] The microcontroller module is used to control the chip select chip to respond to and process the lower-level modules;

[0043] The chip select module is used to receive instructions from the microcontroller module and to process instructions from lower-level modules.

[0044] The display driver module is used to read and write display content.

[0045] The key scanning module is used to scan and read the values ​​of the keys pressed.

[0046] The SPI communication module is used to connect the key scanning module, display driver module, and microcontroller module, and is used for information transmission between the connected modules.

[0047] As described above, the arbitrary combination of button and display circuits and control method provided in this embodiment employs the addition of an extra button scanning module and display driver module, with the button scanning module and display driver module sharing SPI communication. Two separate chip select modules are used to control the button scanning module and display driver module. Through this special connection method, when the first chip select module controls the chip select display driver module, the second chip select module locks the button scanning module, thus locking the button state. Then, in the next CLK clock cycle, the button scanning module can read the button value. This method enables arbitrary button combinations.

[0048] Example 3

[0049] From a hardware perspective, in order to accurately diagnose faults under varying operating conditions, this application provides an embodiment of a display device for implementing all or part of the functions of arbitrarily combinable button and display circuits. The electronic device specifically includes a memory, a processor, an interface, and a connection bus. The processor, memory, and communication interface communicate with each other via the connection bus. The communication interface is used to realize information transmission between the electronic device and core business systems, user terminals, and related databases. The logic controller can be a desktop computer, tablet computer, or mobile terminal, etc., and this embodiment is not limited to these. In this embodiment, the logic controller can be implemented with reference to the embodiments of the fault diagnosis method under varying operating conditions and the embodiments of the electronic device, the content of which is incorporated herein by reference, and repeated details will not be elaborated further.

[0050] It is understood that user terminals can include smartphones, tablet computers, network set-top boxes, portable computers, desktop computers, personal digital assistants (PDAs), in-vehicle devices, and smart wearable devices. Among these, smart wearable devices can include smart glasses, smartwatches, and smart bracelets.

[0051] In practical applications, the components of the button and display circuitry that can be arbitrarily combined can be executed on the electronic device side as described above, or all operations can be completed in the client device. The choice depends on the processing power of the client device and the limitations of the user's usage scenario. This application does not impose any limitations in this regard. If all operations are completed in the client device, the client device may also include a processor.

[0052] The aforementioned client devices may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission. The server may include a server on the task scheduling center side; in other implementation scenarios, it may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may be a single computer device, a server cluster consisting of multiple servers, or a distributed server structure.

[0053] Example 4

[0054] Embodiments of this application also provide a computer-readable storage medium capable of implementing all steps in the arbitrary combination of key and display circuits in the above embodiments, where the execution subject is a server or client. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements all steps of the arbitrary combination of key and display circuits in the above embodiments, where the execution subject is a server or client. For example, when the processor executes the computer program, it implements the following steps:

[0055] Reference Figure 1 Step S1: Use a microcontroller chip to control two sets of chip select chips, including a first chip select chip and a second chip select chip.

[0056] Reference Figure 4 Step S2: Use the first chip selector to control the display driver chip, and control the display driver chip to read and write the display content;

[0057] Reference Figure 5 Step S3: Use the second chip select chip to control the key scanning chip, control and lock the key scanning chip, and control the key scanning chip to read the key value in the next CLK clock cycle.

[0058] As described above, the arbitrary combination of button and display circuits and control method provided in this embodiment employs the addition of an extra button scanning chip and display driver chip, with the button scanning chip and display driver chip sharing SPI communication. Two separate chip select chips are used to control the button scanning chip and display driver chip. Through this special connection method, when the first chip select chip controls the chip select display driver chip, the second chip select chip locks the button scanning chip, thus locking the button state. Then, in the next CLK clock cycle, the button scanning chip can read the button value. This method enables arbitrary button combinations.

[0059] Example 5

[0060] Embodiments of this application also provide a computer program product capable of implementing all steps in the arbitrary combination of key and display circuits where the execution subject is a server or client in the above embodiments. When the computer program / instruction is executed by a processor, it implements the steps of the arbitrary combination of key and display circuits. For example, the computer program / instruction implements the following steps:

[0061] Reference Figure 1 Step S1: Use a microcontroller chip to control two sets of chip select chips, including a first chip select chip and a second chip select chip.

[0062] Reference Figure 4 Step S2: Use the first chip selector to control the display driver chip, and control the display driver chip to read and write the display content;

[0063] Reference Figure 5 Step S3: Use the second chip select chip to control the key scanning chip, control and lock the key scanning chip, and control the key scanning chip to read the key value in the next CLK clock cycle.

[0064] As described above, the arbitrary combination of button and display circuits and control method provided in this embodiment employs the addition of an extra button scanning chip and display driver chip, with the button scanning chip and display driver chip sharing SPI communication. Two separate chip select chips are used to control the button scanning chip and display driver chip. Through this special connection method, when the first chip select chip controls the chip select display driver chip, the second chip select chip locks the button scanning chip, thus locking the button state. Then, in the next CLK clock cycle, the button scanning chip can read the button value. This method enables arbitrary button combinations.

[0065] Those skilled in the art will understand that embodiments of this invention can be provided as methods, apparatus, or computer program products. Therefore, this invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0066] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0067] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0068] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0069] The above are merely preferred embodiments of this utility model, but the scope of protection of this utility model is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in this utility model, based on the technical solution and inventive concept of this utility model, should be included within the scope of protection of this utility model.

Claims

1. A circuit that allows for arbitrary combination of buttons and display, characterized in that, include: Two sets of chip select chips are controlled by a microcontroller chip, the chip select chips including a first chip select chip and a second chip select chip; The first chip is used to control the display driver chip, which in turn controls the display driver chip to read and write the display content. The second chip selector is used to control the button scanning chip, lock the button scanning chip, and control the button scanning chip to read the button value in the next CLK clock cycle.

2. The circuit for arbitrarily combining buttons and display according to claim 1, characterized in that, The button scanning chip is connected to the display driver chip via an SPI communication module.

3. The circuit for arbitrarily combining buttons and display according to claim 2, characterized in that, The display driver chip is connected to the microcontroller chip via an SPI communication module.

4. The circuit for arbitrarily combining buttons and display according to claim 1, characterized in that, The key scanning chip also includes a processing module, which is used to process the key values ​​read by scanning.

5. A display device, characterized in that, include: The microcontroller module is used to control the chip select chip to respond to and process the lower-level modules; The chip select module is used to receive instructions from the microcontroller module and to process instructions from lower-level modules. The display driver module is used to read and write display content. The key scanning module is used to scan and read the values ​​of the keys pressed. The SPI communication module is used to connect the key scanning module, display driver module, and microcontroller module, and is used for information transmission between the connected modules.