[go: up one dir, main page]

CN201984301U - Multiplexing indicating circuit - Google Patents

Multiplexing indicating circuit Download PDF

Info

Publication number
CN201984301U
CN201984301U CN2010205016925U CN201020501692U CN201984301U CN 201984301 U CN201984301 U CN 201984301U CN 2010205016925 U CN2010205016925 U CN 2010205016925U CN 201020501692 U CN201020501692 U CN 201020501692U CN 201984301 U CN201984301 U CN 201984301U
Authority
CN
China
Prior art keywords
circuit
multiplexing
diode
pin interface
indicating 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.)
Expired - Lifetime
Application number
CN2010205016925U
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN2010205016925U priority Critical patent/CN201984301U/en
Application granted granted Critical
Publication of CN201984301U publication Critical patent/CN201984301U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Selective Calling Equipment (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model provides a multiplexing indicating circuit, which comprises two detection circuits, wherein the two detection circuits are connected in parallel, and the conduction directions of the two detection circuits are reverse; and the detection circuits which are connected in parallel comprise two multiplexing pin interfaces, and each pin interface is used for input or output of electrical signals. In the technical scheme, as the two detection circuits in the reverse conduction directions are connected in parallel, the multiplexing of the pin interfaces can be realized; when the detection operation is realized, the two pin interfaces are used as detection interfaces, and each pin interface is connected with a circuit; when the N multiplied by M multiplexing indicating circuits are connected together, only the N plus M circuits are required, the detection circuits are reduced, and the utilization rate of the pin interfaces is simultaneously improved.

Description

Multiplexing indicating circuit
Technical field
Whether closed the utility model relates to circuit, be meant a kind of circuit multiplexing indicating circuit of indicating especially.
Background technology
The control circuit that utilizes embedded micro-control unit MCU to realize in order to reduce the utilization factor of design cost, simplification circuit, raising circuit, is realized the pin multiple use of MCU usually as far as possible.
In having the control circuit of MCU, the pin interface of MCU is used in and connects button and pilot lamp.For different products, the quantity of button and pilot lamp may be a lot.In order to save pin interface, reduce cost, common have the keyboard of matrix form and a multiplexing indicating circuit of pilot lamp, realizes that pin interface to a certain degree is multiplexing.
The multiplexing indicating circuit of common pin interface adopts the form of Fig. 1, the indicating circuit among Fig. 1, resistance in series R1 and LED 1 between B1 interface and the A1 interface, series diode VD1 and button S1 between A1 interface and the C1 interface; Resistance in series R3 and LED 3 between B1 interface and A2 interface, series diode VD3 and button S3 between A2 interface and the C1 interface; Resistance in series R2 and LED 2 between B2 interface and A1 interface, series diode VD2 and button S2 between A1 interface and the C2 interface; Resistance in series R4 and LED 4 between B2 interface and A2 interface, series diode VD4 and button S4 between A2 interface and the C2 interface.
Indicating circuit among Fig. 1 is connected with time schedule controller, detects.For example: when B1, B2 output low level, each LED 1, LED2, LED3 and LED4 end, with A1, A2 as delivery outlet, so by inspection to C1, C2 level state, just can judge which button is pressed, when A1 and C1 are high level, can detect button S1 and be pressed, realize the detection of 2 * 2 key-press matrixs.As A1, A2 during as the input port, C1, C2 will export high level, and this moment, whether button was pressed all irrelevantly, and the level signal of B1, B2 output and A1, A2 level state cooperate, and just can determine which lumination of light emitting diode, realization 2 * 2 pilot lamp matrixes.
Can draw by the multiplexing indicating circuit among Fig. 1, A1, A2 pin interface are fully multiplexing, but B1, B2, C1 and C2 pin interface are special-purpose.Realize button and the pilot lamp matrix of N * N in this way, need N+N+N pin interface at least.
Therefore in realizing process of the present utility model, utility model people finds that there are the following problems at least in the prior art: the button among employing Fig. 1 and the multiplexing indicating circuit of pilot lamp, take more MCU pin interface, reduced the utilization factor of MCU pin interface.
The utility model content
The utility model aims to provide a kind of multiplexing indicating circuit, and is more to solve the pin interface that above-mentioned multiplexing indicating circuit takies, and reduced the problem of pin interface utilization factor.
According to an aspect of the present utility model, a kind of multiplexing indicating circuit is provided, comprise two testing circuits that conducting direction is opposite in parallel; The testing circuit of described parallel connection has two multiplexing pin interface, and each pin interface is used for inputing or outputing of electric signal.
Above-mentioned technical scheme can realize the multiplexing of pin interface because two testing circuits with opposite conducting direction are connected in parallel, and when realizing detecting operation, uses two pin interface as detecting interface, and each pin interface connects a circuit; When N * M multiplexing indicating circuit links together, only need N+M bar circuit to get final product, reduced detection line, improved the utilization factor of pin interface simultaneously.
Description of drawings
Fig. 1 is the structural drawing of multiplexing indicating circuit of the prior art;
Fig. 2 is the structural drawing that a plurality of multiplexing indicating circuit of embodiment one connects;
Fig. 3 is the electrical block diagram that Fig. 2 simplified when button detected among the embodiment one;
Fig. 4 is the button among the embodiment one or the detection sequential chart of light emitting diode;
Fig. 5 is the electrical block diagram that Fig. 2 simplified when light emitting diode detected among the embodiment one;
Fig. 6 is the circuit diagram that a plurality of multiplexing indicating circuit of embodiment two is connected with microprocessor;
Fig. 7 is the button among the embodiment two or the detection sequential chart of light emitting diode;
Fig. 8 is the connection diagram of diode and bulb.
Embodiment
For the scheme in the utility model clearly is described, provides preferably embodiment below and be described with reference to the accompanying drawings.
Referring to the synoptic diagram of an embodiment shown in Figure 2, in this embodiment, comprise a plurality of multiplexing indicating circuits, each multiplexing indicating circuit comprises: two testing circuits that conducting direction is opposite in parallel; Testing circuit in parallel has two multiplexing pin interface, and each pin interface is used for inputing or outputing of electric signal.In this embodiment, two pin interface comprise first pin interface and second pin interface, between two pin interface, be parallel with two testing circuits, for example: in Fig. 2, between two pin interface, be parallel with key press detecting circuit and luminous indication testing circuit respectively, key press detecting circuit comprises diode in series and button, button is connected the negative side of diode, i.e. button S1 and diode VD1; Luminous indication testing circuit comprises the resistance and the light emitting diode of series connection, and current-limiting resistance is connected the side of the positive electrode of light emitting diode, i.e. resistance R 1 and LED 1.When this multiplexing indicating circuit is a plurality of, can connect together, be connected in parallel on the circuit as first pin interface, second pin interface of a plurality of multiplexing indicating circuits is connected in parallel on another different circuits, and the quantity of circuit be 2log a plurality of multiplexing indicating circuits 2X, wherein, X is the quantity of multiplexing indicating circuit.
Comprise 4 multiplexing indicating circuits among Fig. 2, reaching X is 4, brings formula 2log into 2X, drawing needs 4 circuits, comprises two circuits of A1, A2, and two circuits of B1, B2 form 2 * 2 matrixes, at the crossover location of two circuits, connect a multiplexing indicating circuit, on four crossover locations 4 multiplexing indicating circuits are linked together.
When using the multiplexing indicating circuit among Fig. 2, each bar circuit that multiplexing indicating circuit can be linked together connects control circuit respectively.By control circuit key scan is operated, the pin interface of each multiplexing indicating circuit that circuit A1, A2 are connected is as delivery outlet, the pin interface output that electric current is connected by control circuit via line A1, A2, the pin interface of circuit B1, each multiplexing indicating circuit that B2 connects flows back to control circuit as the input port.Flow to the B mouth based on electric current from the A mouth, four LEDs 1 to LED4 all are in reverse state, because its unilateal conduction characteristic is equivalent to disconnect; Be connected on the diode VD1 to VD4 on each button, the electric current that allows forward flows through and is equivalent to short circuit, promptly is reduced to circuit structure shown in Figure 3.
Control circuit in the button testing process, the work schedule of scanning as shown in Figure 4: in a scan period T, the microprocessor in the control circuit sends high level pulse earlier by circuit A1 earlier, whether reexamines circuit B1, B2 along with having become high level; Circuit A1 reverts to low level subsequently, and circuit A2 sends high level, and which has become high level to check circuit B1, B2, and the cycle continues so one by one, just can detect the situation of button exactly.If for example S2 is pressed, send at A1 then that B2 has high level to be detected between high period, thereby detect which button be pressed.
It is just in time opposite when pilot lamp was operated before this, the pin interface of circuit B1, B2 institute connection multiplexing indicating circuit is as delivery outlet, the electric signal that output control circuit sends, the pin interface of circuit A1, A2 institute connection multiplexing indicating circuit is as the input port, the electric signal of multiplexing indicating circuit is inputed to control circuit, and electric current flows to the pin interface that is connected with its circuit A1, A2 from the pin interface that multiplexing indicating circuit is connected with circuit B1, B2.
At this moment, even if there is button to press because the reverse cut-off characteristics of diode, can influence matrix yet on the flowing of electric current, can think not exist that at this moment all light emitting diodes have had the possibility of forward conduction, and it is luminous which to be determined according to the scanning situation.Circuit after simplify this moment as shown in Figure 5, the process of scanning process and above-mentioned key scan is identical, does not give unnecessary details one by one at this.
When the quantity of the multiplexing indicating circuit in the above embodiments one was X, the quantity of multiplexing indicating circuit was even number, needs 2log 2X bar circuit, and be log 2X * log 2The X matrix form, the line number of the circuit of matrix is identical with columns.First pin interface of each multiplexing indicating circuit and second pin interface are multiplexing, by to the multiplexing of two pin interface and detection, can realize the detection to X button and X pilot lamp, thereby judge user's corresponding operating.When realizing same detecting operation, only use 2log 2X bar circuit has reduced circuit, has improved the utilization factor of pin interface simultaneously.
In the above embodiments two, a plurality of multiplexing indicating circuits are by 2log 2X bar circuit connects, and the matrix form that circuit is formed is log 2X * log 2X is M if the line number of circuit is N, columns, and N, M are positive integer, and then the matrix form of circuit composition is N * M, and N=M.Certainly, line number and columns can increase and decrease arbitrarily as required, multiplexing indicating circuit on each point of crossing can key press detecting circuit in parallel and luminous indication testing circuit, also can be in parallel all be key press detecting circuit or luminous indication testing circuit, also can not connect multiplexing indicating circuit, reach maximum Application of composite state.Each multiplexing indicating circuit the conducting direction difference of the diode in the circuit in parallel, thereby satisfy the multiplexing of pin interface.For the matrix of N * M, only need N+M bar circuit, can realize the detection of N * M button or pilot lamp.When realizing same detecting operation, reduced circuit, improved the utilization factor of pin interface simultaneously.
Control circuit in the foregoing description one can adopt micro-control unit MCU to realize, is also referred to as microprocessor.Describe below by embodiment two, referring to the structural drawing that a plurality of multiplexing indicating circuits among the embodiment shown in Figure 6 two are connected with microprocessor N1, a plurality of multiplexing indicating circuits can be used for being used for the indication of audio-frequency power amplifier.Adopt 16 multiplexing indicating circuits, have 24 light emitting diodes, also have 8 buttons as pilot lamp, realize with 4 * 4 matrixes, only use 8 ports of microprocessor N1, wherein 4 lines are connected the P1.0-P1.3 port of N1, other 4 P1.4-P1.7 ports that are connected on N1.In these 24 luminotrons, VD1 is used for the standby indication, LED2-LED5 is used for the input state of instruction simulation LR, SPDIF, MP3 player, microphone, LED6-LED10 is used to indicate the acoustic pattern of music, voice, movie theatre, jazz, allusion, LED11 is used to indicate the mega bass open mode, LED12 is used to indicate the surround sound open mode, and LED13-LED18 is used to indicate the sound size of L channel, and LED19-LED24 is used to indicate the sound size of R channel.In 8 buttons, S1 is used for Opportunity awaiting control for linear, and S2 is used for quiet control, and S3 is used for input signal source and selects, and S4 is used for acoustic pattern and switches, and S5 is used for volume and reduces, and S6 is used for volume and strengthens, and S7 is used for the supper bass switch, and S8 is used for the surround sound switch.
More than complete multiplexing pin interface, can when scanning, judge exactly button depressed position with the particular location of shown pilot lamp, realize control accurately.
The pin interface P1.0-P1.3 of microprocessor N1 is as output, and pin interface P1.4-P1.7 is during as input, and LED1-LED16 has possessed the condition of conducting, if suitable level is arranged, and just can be luminous.Luminous with LED10 is example, sets forth its course of work, sees sequential chart shown in Figure 7.When P1.0 output high level, P1.4-P1.7 all presents high impedance status, and LED1, LED5, LED9, LED13 do not have electric current to flow through, and all can not light; When P1.1 output high level, P1.6 becomes low level, and the LED10 that is between these 2 possesses the forward conduction condition, and after resistance R 10 current limlitings, electric current makes LED10 luminous.All the other diodes are that high impedance status can not have electric current because of the port that negative pole connects.When P1.2, P1.3 output high level, the luminotron that is connected also can not be lighted because of the high impedance of negative pole.
The pin interface P1.4-P1.7 of microprocessor N1 is during as delivery outlet, when scanning button S1-S8, P1.0-P1.3 as the input port will be in the level detection state fully, judge that according to scanning result which button is pressed, when scanning LED 17-LED24, which pilot lamp P1.0-P1.3 will want bright situation according to, in time cooperate output high impedance state to stop electric current to flow through or output low level to allow electric current flow through light emitting diode luminous.Certainly this 24 luminotrons can be by the sequential control of microprocessor, realizes a plurality of arbitrarily brightly or go out, and indicates the various duties of audio-frequency power amplifier.
In the above embodiments, adopt diode or light emitting diode as the unidirectional current voltage control device, but be not limited thereto, can realize similar functions single or assembling device can, for example light emitting diode can adopt and shown in Figure 8ly realize with diode and bulb.Being connected to of diode, bulb and resistance in this moment luminous indication testing circuit: current-limiting resistance is connected the side of the positive electrode of diode, and bulb is connected the negative side of diode.
The above is a preferred embodiment of the present utility model only, is not limited to the utility model, and for a person skilled in the art, the utility model can have various changes and variation.All within spirit of the present utility model and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within the protection domain of the present utility model.

Claims (10)

1. a multiplexing indicating circuit is characterized in that, comprises two testing circuits that conducting direction is opposite in parallel; The testing circuit of described parallel connection has two multiplexing pin interface, and each pin interface is used for inputing or outputing of electric signal.
2. multiplexing indicating circuit according to claim 1 is characterized in that, the opposite testing circuit of described two conducting directions is: the testing circuit of two diodes that are in series with respectively, and the diode current flow direction of two testing circuits is opposite.
3. multiplexing indicating circuit according to claim 2 is characterized in that, described testing circuit is key press detecting circuit or luminous indication testing circuit;
Described key press detecting circuit comprises diode and the keyswitch that is connected in series;
Described luminous indication testing circuit comprises light emitting diode and the current-limiting resistance that is connected in series, or the diode that is connected in series, bulb and current-limiting resistance.
4. multiplexing indicating circuit according to claim 1 is characterized in that, the quantity of described multiplexing indicating circuit is even number, and described each multiplexing indicating circuit is formed the connection of matrix form.
5. multiplexing indicating circuit according to claim 4 is characterized in that, the connection of described matrix form comprises:
Described each multiplexing indicating circuit is connected each position, point of crossing of N * M bar circuit, and described N, M are positive integer.
6. multiplexing indicating circuit according to claim 5 is characterized in that, described multiplexing indicating circuit comprised with being connected of circuit point of crossing:
Described pin interface comprises first pin interface and second pin interface;
Described circuit point of crossing comprises the point of crossing that a circuit in the N bar circuit and a circuit in the M bar circuit are formed, and wherein a circuit connects described first pin interface, and another circuit connects described second pin interface.
7. multiplexing indicating circuit according to claim 5 is characterized in that, described number of, lines N=M.
8. multiplexing indicating circuit according to claim 1 is characterized in that, described two pin interface respectively with have the microprocessor that inputs or outputs described electric signal according to sequential and be connected.
9. multiplexing indicating circuit according to claim 3 is characterized in that, being connected to of diode and keyswitch in the described key press detecting circuit: described keyswitch is connected the negative side of described diode.
10. multiplexing indicating circuit according to claim 3 is characterized in that, being connected to of light emitting diode and current-limiting resistance in the described luminous indication testing circuit: described current-limiting resistance is connected the side of the positive electrode of described light emitting diode;
Being connected to of diode, bulb and current-limiting resistance in the described luminous indication testing circuit: described current-limiting resistance is connected the side of the positive electrode of described diode, and described bulb is connected the negative side of described diode.
CN2010205016925U 2010-08-20 2010-08-20 Multiplexing indicating circuit Expired - Lifetime CN201984301U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010205016925U CN201984301U (en) 2010-08-20 2010-08-20 Multiplexing indicating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010205016925U CN201984301U (en) 2010-08-20 2010-08-20 Multiplexing indicating circuit

Publications (1)

Publication Number Publication Date
CN201984301U true CN201984301U (en) 2011-09-21

Family

ID=44611757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010205016925U Expired - Lifetime CN201984301U (en) 2010-08-20 2010-08-20 Multiplexing indicating circuit

Country Status (1)

Country Link
CN (1) CN201984301U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662325A (en) * 2018-06-29 2020-01-07 广东金莱特电器股份有限公司 Display and detection common scanning type control circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662325A (en) * 2018-06-29 2020-01-07 广东金莱特电器股份有限公司 Display and detection common scanning type control circuit

Similar Documents

Publication Publication Date Title
CN101943742B (en) Keypad test and display driver integrated circuit and control method thereof
CN203643576U (en) Relay detecting device
CN107682951A (en) LED controls and key-press input time-sharing multiplex circuit and its control method
CN201812029U (en) Key detection and display driving integrated circuit
CN201984301U (en) Multiplexing indicating circuit
CN201887980U (en) Dimming lamp
CN202171469U (en) Sensor tester
CN203618183U (en) LED line-lighting device powered with commutating voltage
CN109245751B (en) PNP or NPN input signal independent switching type power amplification plate
CN202602991U (en) AC control device for LED lighting
CN2894090Y (en) Multi-point control contact switch
CN103179735B (en) Double-faced signal lamp and drive circuit thereof
CN203851336U (en) Contactless multiple controlled single fire line touch switch circuit
CN202109298U (en) A Classroom Lighting Device Based on Number of People Control
CN201310849Y (en) Led lamp circuit connecting device
CN201138879Y (en) LED control circuit
CN112512172A (en) Low-cost self-adaptive input voltage ultralow standby dimming circuit
CN201259521Y (en) Multifunctional detection pen having household infrared remote controller detection
CN202003650U (en) Light-emitting diode (LED) backlight display circuit without energy consumption for mains supply single live wire power getting switch
CN201310785Y (en) LED backlight
CN202663586U (en) Multipath LED driving control system
CN217116024U (en) Photovoltaic inverter input reverse connection warning circuit and inverter with same
CN201975409U (en) Automatic detection and matching combined circuit for solar cells
CN203225929U (en) Ultraviolet sterilization lamp having control function
CN201028457Y (en) Mouse and luminous circuit thereof

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20110921

CX01 Expiry of patent term