CN213715754U - Electronic equipment and control circuit for determining key value through sampling circuit voltage - Google Patents

Electronic equipment and control circuit for determining key value through sampling circuit voltage Download PDF

Info

Publication number
CN213715754U
CN213715754U CN202023288129.7U CN202023288129U CN213715754U CN 213715754 U CN213715754 U CN 213715754U CN 202023288129 U CN202023288129 U CN 202023288129U CN 213715754 U CN213715754 U CN 213715754U
Authority
CN
China
Prior art keywords
control
controller
voltage
resistors
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202023288129.7U
Other languages
Chinese (zh)
Inventor
丁时忠
郭俊峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Elink Smart Co Ltd
Original Assignee
Shenzhen Elink Smart Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Elink Smart Co Ltd filed Critical Shenzhen Elink Smart Co Ltd
Priority to CN202023288129.7U priority Critical patent/CN213715754U/en
Application granted granted Critical
Publication of CN213715754U publication Critical patent/CN213715754U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model relates to an electronic device and a control circuit for determining key values by sampling circuit voltage, wherein the control circuit comprises a plurality of resistors, a plurality of control keys and a controller; each of the plurality of resistors is connected in series, one end of each resistor is connected with electricity, and the other end of each resistor is grounded; a control key is connected between the two connected resistors, and all the control keys are connected in parallel and then connected to the controller; and when the control keys with different numbers are switched on, different control instructions are sent to the controller. Control circuit in this application is simple, and the advantage is obvious, only needs several resistances to accomplish the mode that a plurality of voltages were gathered, inputs the controller chip after gathering the completion voltage, compares by the inside impulse voltage who produces of controller and input voltage, finds the button function that the voltage corresponds, carries out command control, accomplishes user's instruction, and control process just can accomplish whole sampling actions as long as a pin of controller.

Description

Electronic equipment and control circuit for determining key value through sampling circuit voltage
Technical Field
The utility model relates to a control circuit, more specifically say, relate to an electronic equipment and confirm control circuit of key value through sampling circuit voltage.
Background
Keyboard, remote controller, control panel are mostly the matrix arrangement mode commonly used in the existing market, need occupy a lot of singlechip pins, for example the keyboard of a 9 keys, just need 6 singlechip pins.
SUMMERY OF THE UTILITY MODEL
The to-be-solved technical problem of the utility model lies in, to the loaded down with trivial details defect of the above-mentioned control of prior art, provide an electronic equipment and through the control circuit of sampling circuit voltage determination key value.
The utility model provides a technical scheme that its technical problem adopted is: constructing a control circuit for determining key values through sampling circuit voltage, wherein the control circuit comprises a plurality of resistors, a plurality of control keys and a controller;
each of the plurality of resistors is connected in series, one end of each resistor is connected with electricity, and the other end of each resistor is grounded;
the control key is connected between the two connected resistors, and the control keys are connected to the controller after being connected in parallel;
and when the control keys with different numbers are switched on, different control instructions are sent to the controller.
Preferably, the resistances of the resistors are the same.
Preferably, the resistances of the resistors are different.
Preferably, each control key is one of a knife switch, a key switch and a toggle switch.
Preferably, the controller includes a comparator, a database storing reference voltages, and a processor in communication connection with the comparator, each control key is connected to the comparator after being connected in parallel, so as to input a control voltage to the processor, and the processor compares the control voltage with the reference voltages in the database to obtain a determined control signal.
An electronic device comprises the control circuit which determines the key value by sampling the circuit voltage.
Preferably, the electronic device is one of a keyboard, a remote controller and a control panel.
Implement the utility model discloses an electronic equipment reaches control circuit through sampling circuit voltage determination key value has following beneficial effect: control circuit in this application is simple, and the advantage is obvious, only needs several resistances to accomplish the mode that a plurality of voltages were gathered, inputs the controller chip after gathering the completion voltage, compares by the inside impulse voltage who produces of controller and input voltage, finds the button function that the voltage corresponds, carries out command control, accomplishes user's instruction, and control process just can accomplish whole sampling actions as long as a pin of controller.
Drawings
The invention will be further explained with reference to the drawings and examples, wherein:
fig. 1 is a schematic circuit diagram of an electronic device and a control circuit for determining a key value by sampling a circuit voltage according to an embodiment of the present invention.
Detailed Description
In order to clearly understand the technical features, objects, and effects of the present invention, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, the electronic device in a preferred embodiment of the present invention is one of a keyboard, a remote controller, and a control panel, and includes a control circuit for determining a key value by sampling a circuit voltage.
The control circuit for determining the key value through the voltage of the sampling circuit comprises a plurality of resistors, a plurality of control keys and a controller 1; each of the plurality of resistors is connected in series, one end of each resistor is connected with electricity, and the other end of each resistor is grounded; a control key is connected between the two connected resistors, and all the control keys are connected to the controller 1 after being connected in parallel; when a different number of control keys are turned on, different control commands are issued to the controller 1.
Control circuit in this application is simple, and the advantage is obvious, only needs several resistances to accomplish the mode that a plurality of voltages were gathered, inputs 1 chip of controller after gathering the completion voltage, compares by impulse voltage and the input voltage of 1 inside productions of controller, finds the button function that voltage corresponds, carries out command control, accomplishes user's instruction, and control process just can accomplish whole sampling actions as long as 1 pin of controller.
In some embodiments, the resistances of the resistors may be the same, and certainly, the resistances of the resistors may also be different, so as to ensure that different voltages are output after each control key is turned off and on.
Furthermore, each control key can be one of a knife switch, a key switch and a toggle switch, and the switch control is realized by selecting a proper mode according to different application occasions.
In some embodiments, the controller 1 includes a comparator 11, a database 12 storing reference voltages, and a processor 13 communicatively connected to the comparator 11, respectively.
The control keys are connected in parallel and then connected to the comparator 11 to input a control voltage to the processor 13, and the processor 13 compares the control voltage with a reference voltage in the database 12 to obtain a determined control signal.
Referring to the drawings, VCC forms different voltage values at nodes between 2 connected resistors, such as V1, V2, V3... Vn shown in fig. 1, from high to low, through a plurality of series resistors to ground.
We connect a control at each voltage node location and the user assumes that pressing control K1, at which time control K1 switches will input the voltage at node V1, i herein designated KEY _ OUT as shown, into controller 1.
In the controller 1, the processor continuously generates a pulse voltage from high to low, and when the input voltage value KED _ OUT is compared with the pulse voltage value by the comparator 11, the controller 1 can identify what the input voltage value is.
The key value corresponding to the preset voltage is found through the database 12 which can be compiled inside, so that the function which the user wants to realize is identified, and the function is converted into a binary instruction code and is controlled by the processor according to the corresponding function.
It is to be understood that the above-described respective technical features may be used in any combination without limitation.
The above only is the embodiment of the present invention, not limiting the patent scope of the present invention, all the equivalent structures or equivalent processes that are used in the specification and the attached drawings or directly or indirectly applied to other related technical fields are included in the patent protection scope of the present invention.

Claims (7)

1. A control circuit for determining key values by sampling circuit voltages is characterized by comprising a plurality of resistors, a plurality of control keys and a controller (1);
each of the plurality of resistors is connected in series, one end of each resistor is connected with electricity, and the other end of each resistor is grounded;
the control key is connected between the two connected resistors, and the control keys are connected to the controller (1) after being connected in parallel;
and when the control keys with different numbers are switched on, different control instructions are sent to the controller (1).
2. The control circuit for determining a key value by sampling a circuit voltage of claim 1 wherein the resistances of the resistors are the same.
3. The control circuit for determining a key value by sampling a circuit voltage of claim 1, wherein the resistances of the resistors are different.
4. The control circuit for determining a key value by sampling a circuit voltage of claim 1, wherein each of the control keys is one of a knife switch, a key switch, and a toggle switch.
5. The control circuit for determining a key value by sampling a circuit voltage according to any one of claims 1 to 4, wherein the controller (1) comprises a comparator (11), a database (12) storing reference voltages, and a processor (13) respectively connected in communication with the comparator (11), each control key is connected to the comparator (11) in parallel to input a control voltage to the processor (13), and the processor (13) compares the control voltage with the reference voltages in the database (12) to obtain the determined control signal.
6. An electronic device comprising the control circuit of any of claims 1 to 5 for determining a key value by sampling a circuit voltage.
7. The electronic device of claim 6, wherein the electronic device is one of a keyboard, a remote control, and a control panel.
CN202023288129.7U 2020-12-30 2020-12-30 Electronic equipment and control circuit for determining key value through sampling circuit voltage Active CN213715754U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023288129.7U CN213715754U (en) 2020-12-30 2020-12-30 Electronic equipment and control circuit for determining key value through sampling circuit voltage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023288129.7U CN213715754U (en) 2020-12-30 2020-12-30 Electronic equipment and control circuit for determining key value through sampling circuit voltage

Publications (1)

Publication Number Publication Date
CN213715754U true CN213715754U (en) 2021-07-16

Family

ID=76790299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023288129.7U Active CN213715754U (en) 2020-12-30 2020-12-30 Electronic equipment and control circuit for determining key value through sampling circuit voltage

Country Status (1)

Country Link
CN (1) CN213715754U (en)

Similar Documents

Publication Publication Date Title
US8402313B1 (en) Reconfigurable testing system and method
KR101694087B1 (en) Method for determining active input elements of an input arrangement and input arrangement
CN111880513A (en) Test circuit and test method of device to be tested
CN213715754U (en) Electronic equipment and control circuit for determining key value through sampling circuit voltage
CN105934898B (en) A kind of analog-digital converter protection circuit and its control method, controller
US20060284660A1 (en) Reset device and display device having same
CN103941616A (en) Multifunctional user-defined switch
CN109709373B (en) Signal self-adaptive acquisition circuit and acquisition method
CN116131593A (en) Power-down control method and device, storage medium and image signal generator
CN210154028U (en) Dial identification circuit and air conditioner applying same
CN213240428U (en) Intelligent switch circuit breaker testing arrangement
CN211063597U (en) Key scanning circuit based on AD sampling and electronic equipment
CN110470927B (en) Key testing method and key testing device
CN212484124U (en) Variable resistance simulation device
CN211628057U (en) Switch device
CN207995245U (en) The start control circuit and television set of television set
CN105242595A (en) Switching apparatus and switching method of analog input signals
CN110708055A (en) Chip working state selection circuit, method and application thereof
CN107066001B (en) For controlling in the equipment with unknown current to the electric current in the load of voltage characteristic
US8766622B2 (en) Voltage measuring apparatus for buck circuit
CN210958339U (en) Digital combined key circuit
CN109714053A (en) Terminal device, the system and method for digital communication are carried out using analog signal pin
CN214409235U (en) Full parameter one-key testing device of module power supply
CN219513780U (en) Oscilloscope input resistor protection device
CN207410331U (en) Trigger circuit and electronic device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant