CN204948053U - Electrical equipment LED drives and button reading circuit - Google Patents

Electrical equipment LED drives and button reading circuit Download PDF

Info

Publication number
CN204948053U
CN204948053U CN201520719759.5U CN201520719759U CN204948053U CN 204948053 U CN204948053 U CN 204948053U CN 201520719759 U CN201520719759 U CN 201520719759U CN 204948053 U CN204948053 U CN 204948053U
Authority
CN
China
Prior art keywords
row
led
link
positive pole
negative pole
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.)
Withdrawn - After Issue
Application number
CN201520719759.5U
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.)
Zhejiang zhuoao Polytron Technologies Inc
Original Assignee
NINGBO ZUOAO ELECTRONICS TECHNOLOGY 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 NINGBO ZUOAO ELECTRONICS TECHNOLOGY Co Ltd filed Critical NINGBO ZUOAO ELECTRONICS TECHNOLOGY Co Ltd
Priority to CN201520719759.5U priority Critical patent/CN204948053U/en
Application granted granted Critical
Publication of CN204948053U publication Critical patent/CN204948053U/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The utility model relates to a kind of electrical equipment LED and drives and button reading circuit, and it is characterized in that: comprise M switch key, X*Y LEDs luminous tube, M, X, Y are natural number, and M is less than or equal to X; M+X resistance, and MCU control chip, the equal ground connection of first end of the first switch key, the second end of the first switch key draws first SEG link after connecting the first resistance; The equal ground connection of first end of second switch button, the second end of second switch button draws second SEG link after connecting the second resistance; The equal ground connection of first end of M switch key, draws M SEG link after the second end of M switch key connects M resistance; And X*Y LEDs luminous tube is arranged in the array of the capable Y row of X.Unit component uses less, and the resource of MCU main control chip is also used few, and comprehensive sexual valence is higher.

Description

Electrical equipment LED drives and button reading circuit
Technical field
The utility model relates to a kind of electrical equipment LED and drives and button reading circuit.
Background technology
In electric equipment products, often can use LED electroluminescent lamp and switch key, at the initial stage, people use Straight pull to carry out driving LED, are also carry out read switch button with Straight pull simultaneously, shown in Figure 1; This mode uses the I/O port resource of MCU main control chip a lot, and the more MCU main control chip of I/O port is more expensive; More at LED, use a large amount of MCU resources when button is also more, obviously improper, so people improve, by the scanning display mode of array, and in conjunction with the reading of button, circuit diagram is see shown in accompanying drawing 2, and this mode has saved MCU resource greatly, has saved cost.
Utility model content
Technical problem to be solved in the utility model provides the electrical equipment LED that a kind of energy structure is more reasonable, use MCU main control chip resource is less to drive and button reading circuit for above-mentioned prior art.
The utility model solves the technical scheme that above-mentioned art problem adopts: a kind of electrical equipment LED drives and button reading circuit, and it is characterized in that: comprise M switch key, X*Y LEDs luminous tube, M, X, Y are natural number, and M is less than or equal to X; M+X resistance, and MCU control chip, wherein:
The equal ground connection of first end of the first switch key, the second end of the first switch key draws first SEG link after connecting the first resistance; The equal ground connection of first end of second switch button, the second end of second switch button draws second SEG link after connecting the second resistance; The equal ground connection of first end of M switch key, draws M SEG link after the second end of M switch key connects M resistance;
And X*Y LEDs luminous tube is arranged in the array of the capable Y row of X; If Y is even number, link together the positive pole of the negative pole of first row LED and secondary series LED extraction first COM link; Link together the positive pole of the negative pole of the 3rd row LED and the 4th row LED extraction second COM link; Link together the negative pole of Y-1 row LED and the positive pole of Y row LED extraction Y/2 COM link; If Y is odd number, link together the positive pole of the negative pole of first row LED and secondary series LED extraction first COM link; Link together the positive pole of the negative pole of the 3rd row LED and the 4th row LED extraction second COM link; Link together the negative pole of Y-2 row LED and the positive pole of Y-1 row LED extraction (Y-1)/2 COM link, and link together the negative pole of Y row LED extraction (Y+1)/2 COM link;
When Y is even number, the positive pole of the positive pole of the first row first row LED, the negative pole of the first row secondary series LED, the first row the 3rd row LED, the first row the 4th row LED negative pole ... the positive pole of the first row Y-1 row LED, the negative pole of the first row Y row LED are connected with first SEG link after connecting M+1 resistance after linking together; When Y is odd number, the positive pole of the positive pole of the first row first row LED, the negative pole of the first row secondary series LED, the first row the 3rd row LED, the first row the 4th row LED negative pole ... the positive pole of the first row Y-2 row LED, the negative pole of the first row Y-1 row LED, the positive pole of the first row Y row LED are connected with first SEG link after connecting M+1 resistance after linking together;
When Y is even number, the positive pole of the positive pole of the second row first row LED, the negative pole of the second row secondary series LED, the second row the 3rd row LED, the second row the 4th row LED negative pole ... the positive pole of the second row Y-1 row LED, the negative pole of the second row Y row LED are connected with second SEG link after connecting M+2 resistance after linking together; When Y is odd number, the positive pole of the positive pole of the second row first row LED, the negative pole of the second row secondary series LED, the second row the 3rd row LED, the second row the 4th row LED negative pole ... the positive pole of the second row Y-2 row LED, the negative pole of the second row Y-1 row LED, the positive pole of the second row Y row LED are connected with second SEG link after connecting M+2 resistance after linking together;
……
When Y is even number, the positive pole of the positive pole of X capable first row LED, the negative pole of X capable secondary series LED, the capable 3rd row LED of X, the capable 4th row LED of X negative pole ... the positive pole of X capable Y-1 row LED, the negative pole of X capable Y row LED are connected with X SEG link after connecting M+X resistance after linking together; When Y is odd number, the positive pole of the positive pole of X capable first row LED, the negative pole of X capable secondary series LED, the capable 3rd row LED of X, the capable 4th row LED of X negative pole ... be connected with X SEG link after the positive pole of X capable Y-2 row LED, the negative pole of X capable Y-1 row LED, the positive pole of X capable Y row LED connect M+X resistance after linking together;
X SEG link is connected with X IO pin of MCU control chip respectively;
[(Y+1)/2] individual COM link is connected with [(Y+1)/2] individual IO pin of MCU control chip respectively, and [] is the symbol that rounds up.
As a kind of scheme wherein, described M=7, described X=8, described Y=4.
As another kind of scheme wherein, described M=4, described X=4, described Y=8.
Compared with prior art, the utility model has the advantage of: unit component uses less, and the resource of MCU main control chip is also used few, comprehensive sexual valence is higher.
Accompanying drawing explanation
Fig. 1 is that in prior art, Straight pull LED drives and button reading circuit schematic diagram;
Fig. 2 is that in prior art, array-type LED drives and button reading circuit schematic diagram;
Fig. 3 is that in the utility model embodiment one, LED drives and button reading circuit schematic diagram;
Fig. 4 is the control method flow chart of MCU control chip in the utility model embodiment one;
Fig. 5 is that in the utility model embodiment one, button reads flow chart;
Fig. 6 is that in the utility model embodiment two, LED drives and button reading circuit schematic diagram.
Embodiment
Below in conjunction with accompanying drawing embodiment, the utility model is described in further detail.
Embodiment one
Electrical equipment LED as shown in Figure 3 drives and button reading circuit, and it comprises 7 switch keys, 32 LEDs luminous tubes, 15 resistance, and MCU control chip, wherein:
The equal ground connection of first end of the first switch key SW1, second end of the first switch key SW1 draws first SEG link SEG0 after connecting the first resistance R1; The equal ground connection of first end of second switch button SW2, second end of second switch button SW2 draws second SEG link SEG1 after connecting the second resistance R2; The equal ground connection of first end of the 3rd switch key SW3, draws the 3rd SEG link SEG2 after second end connection the 3rd resistance R3 of the 3rd switch key SW3; The equal ground connection of first end of the 4th switch key SW4, draws the 4th SEG link SEG3 after second end connection the 4th resistance R4 of the 4th switch key SW4; The equal ground connection of first end of the 5th switch key SW5, draws the 5th SEG link SEG4 after second end connection the 5th resistance R5 of the 5th switch key SW5; The equal ground connection of first end of the 6th switch key SW6, draws the 6th SEG link SEG5 after second end connection the 6th resistance R6 of the 6th switch key SW6; The equal ground connection of first end of the 7th switch key SW7, draws the 7th SEG link SEG6 after second end connection the 7th resistance R7 of the 7th switch key SW7;
And 32 LEDs luminous tubes are arranged in the array that 8 row 4 arrange; Link together the positive pole of the negative pole of first row LED and secondary series LED extraction first COM link COM0; Link together the positive pole of the negative pole of the 3rd row LED and the 4th row LED extraction second COM link COM1;
Be connected with first SEG link SEG0 after connecting the 8th resistance R8 after the positive pole of the positive pole of the first row first row LED, the negative pole of the first row secondary series LED, the first row the 3rd row LED, the negative pole of the first row the 4th row LED link together;
Be connected with second SEG link SEG1 after connecting the 9th resistance R9 after the positive pole of the second row first row LED, the negative pole of the second row secondary series LED, the positive pole of the second row the 3rd row LED, the negative pole of the second row the 4th row LED link together;
Be connected with the 3rd SEG link SEG2 after connecting the tenth resistance R10 after the positive pole of the positive pole of the third line first row LED, the negative pole of the third line secondary series LED, the third line the 3rd row LED, the negative pole of the third line the 4th row LED link together;
Be connected with the 4th SEG link SEG3 after connecting the 11 resistance R11 after the positive pole of the positive pole of fourth line first row LED, the negative pole of fourth line secondary series LED, fourth line the 3rd row LED, the negative pole of fourth line the 4th row LED link together;
Be connected with the 5th SEG link SEG4 after connecting the 12 resistance R12 after the positive pole of the positive pole of fifth line first row LED, the negative pole of fifth line secondary series LED, fifth line the 3rd row LED, the negative pole of fifth line the 4th row LED link together;
Be connected with the 6th SEG link SEG5 after connecting the 13 resistance R13 after the positive pole of the positive pole of the 6th row first row LED, the negative pole of the 6th row secondary series LED, the 6th row the 3rd row LED, the negative pole of the 6th row the 4th row LED link together;
Be connected with the 7th SEG link SEG6 after connecting the 14 resistance R14 after the positive pole of the positive pole of the 7th row first row LED, the negative pole of the 7th row secondary series LED, the 7th row the 3rd row LED, the negative pole of the 7th row the 4th row LED link together;
Be connected with the 8th SEG link SEG7 after connecting the 15 resistance R15 after the positive pole of the positive pole of the 8th row first row LED, the negative pole of the 8th row secondary series LED, the 8th row the 3rd row LED, the negative pole of the 8th row the 4th row LED link together;
Eight SEG link SEG0 ~ SEG7 are connected with X IO pin of MCU control chip respectively;
2 COM links COM0, COM1 are connected with Y/2 IO pin of MCU control chip respectively.
Above-mentioned electrical equipment LED drives and with the control method of button reading circuit is: the time between interruptions that MCU control chip adopts is 2ms, MCU control chip completes in above-mentioned interrupt routine to the reading of 7 switch keys with to the driving of 32 LEDs luminous tubes, and MCU control chip comprises in the operating process of above-mentioned interrupt routine:
Name Resolution: effectively SEG exports---under com port opens low level situation, if when SEG mouth is high level, corresponding LED can be lighted, and when needing to light this LED, be called that effective SEG mouth exports high level, if when not needing to light this LED, SEG mouth is disarmed state, namely maintains high-impedance state; When com port opens high level, if when SEG mouth is low level, corresponding LED can be lighted, and when needing to light this LED, be called effective SEG mouth output low level, if when not needing to light this LED, SEG mouth is disarmed state, namely maintains high-impedance state;
Step (1), MCU control chip start in 2ms has no progeny, and 2 the IO pins being connected by 8 the IO pins be connected with 8 SEG links immediately and be connected with 2 COM links connect and change into high-impedance state;
Step (2), event argument led_com is set, makes led_com++;
Step (3), judge whether led_com is greater than 8, if so, makes led_com=0, then perform step (4), if not, directly go to step (4);
Step (4), judge the value of led_com, then according to different led_com value, perform different operating:
If led_com=0, by the effective SEG0 ~ SEG3 output low level of 4 IO pins be connected with the 1st SEG link to the 4th SEG link; High level will be exported with first COM link IO pin COM0;
If led_com=1, by the effective SEG4 ~ SEG7 output low level of 4 IO pins be connected with the 5th SEG link to the 8th SEG link; High level will be exported with first COM link IO pin COM0;
If led_com=2,4 the effective SEG0 ~ SEG3 of IO pin be connected with the 1st SEG link to the 4th SEG link are exported high level; Will with first COM link IO pin COM0 output low level;
If led_com=3,4 the effective SEG4 ~ SEG7 of IO pin be connected with the 5th SEG link to the 8th SEG link are exported high level; Will with first COM link IO pin COM0 output low level;
If led_com=4, by the effective SEG0 ~ SEG3 output low level of 4 IO pins be connected with the 1st SEG link to the 4th SEG link; High level will be exported with second COM link IO pin COM1;
If led_com=5, by the effective SEG4 ~ SEG7 output low level of 4 IO pins be connected with the 5th SEG link to the 8th SEG link; High level will be exported with second COM link IO pin COM1;
If led_com=6,4 the effective SEG0 ~ SEG3 of IO pin be connected with the 1st SEG link to the 4th SEG link are exported high level; Will with second COM link IO pin COM1 output low level;
If led_com=7,4 the effective SEG4 ~ SEG7 of IO pin be connected with the 5th SEG link to the 8th SEG link are exported high level; Will with second COM link IO pin COM1 output low level;
If led_com=8, go to switch key and read subprogram;
Button reads subprogram and comprises:
Step (a), the IO pin SEG0 be connected with first SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG0, judge whether SEG0 equals 0, if so, then judge that the state of the first switch key is as " pressing " state, otherwise judge that the state of the first switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG0 being about to be connected with first SEG link;
Step (b), the IO pin SEG1 be connected with second SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG1, judge whether SEG1 equals 0, if so, then judge that the state of second switch button is as " pressing " state, otherwise judge that the state of second switch button is as " upspringing " state; High-impedance state is changed into the IO pin SEG1 being about to be connected with second SEG link;
Step (c), the IO pin SEG2 be connected with the 3rd SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG2, judge whether SEG2 equals 0, if so, then judge that the state of the 3rd switch key is as " pressing " state, otherwise judge that the state of the 3rd switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG2 being about to be connected with the 3rd SEG link;
Step (d), the IO pin SEG3 be connected with the 4th SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG3, judge whether SEG3 equals 0, if so, then judge that the state of the 4th switch key is as " pressing " state, otherwise judge that the state of the 4th switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG3 being about to be connected with the 4th SEG link;
Step (e), the IO pin SEG4 be connected with the 5th SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG4, judge whether SEG4 equals 0, if so, then judge that the state of the 5th switch key is as " pressing " state, otherwise judge that the state of the 5th switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG4 being about to be connected with the 5th SEG link;
Step (f), the IO pin SEG5 be connected with the 6th SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG5, judge whether SEG5 equals 0, if so, then judge that the state of the 6th switch key is as " pressing " state, otherwise judge that the state of the 6th switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG5 being about to be connected with the 6th SEG link;
Step (g), the IO pin SEG6 be connected with the 7th SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG6, judge whether SEG6 equals 0, if so, then judge that the state of the 7th switch key is as " pressing " state, otherwise judge that the state of the 7th switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG6 being about to be connected with the 7th SEG link; Operation terminates.
Embodiment two
With embodiment one unlike, comprise 4 switch keys, 32 LEDs luminous tubes, 8 resistance, 32 LEDs luminous tubes be arranged in 4 row 8 arrange array,
The equal ground connection of first end of the first switch key SW1, second end of the first switch key SW1 draws first SEG link SEG0 after connecting the first resistance R1; The equal ground connection of first end of second switch button SW2, second end of second switch button SW2 draws second SEG link SEG1 after connecting the second resistance R2; The equal ground connection of first end of the 3rd switch key SW3, draws the 3rd SEG link SEG2 after second end connection the 3rd resistance R3 of the 3rd switch key SW3; The equal ground connection of first end of the 4th switch key SW4, draws the 4th SEG link SEG3 after second end connection the 4th resistance R4 of the 4th switch key SW4;
The negative pole of first row LED and the positive pole of secondary series LED link together extraction first COM link COM0; The negative pole of the 3rd row LED and the positive pole of the 4th row LED link together extraction second COM link COM1; The negative pole of the 5th row LED and the positive pole of the 6th row LED link together extraction the 3rd COM link COM2; The negative pole of the 7th row LED and the positive pole of the 8th row LED link together extraction the 4th COM link COM3;
Be connected with first SEG link SEG0 after connecting the 5th resistance R5 after the positive pole of the positive pole of the positive pole of the first row first row LED, the negative pole of the first row secondary series LED, the first row the 3rd row LED, the negative pole of the first row the 4th row LED, the first row the 5th row LED, the negative pole of the first row the 6th row LED, the positive pole of the first row the 7th row LED, the negative pole of the first row the 8th row LED link together;
Be connected with second SEG link SEG1 after connecting the 6th resistance R6 after the positive pole of the positive pole of the positive pole of the second row first row LED, the negative pole of the second row secondary series LED, the second row the 3rd row LED, the negative pole of the second row the 4th row LED, the second row the 5th row LED, the negative pole of the second row the 6th row LED, the positive pole of the second row the 7th row LED, the negative pole of the second row the 8th row LED link together;
Be connected with the 3rd SEG link SEG2 after connecting the 7th resistance R7 after the positive pole of the positive pole of the positive pole of the third line first row LED, the negative pole of the third line secondary series LED, the third line the 3rd row LED, the negative pole of the third line the 4th row LED, the third line the 5th row LED, the negative pole of the third line the 6th row LED, the positive pole of the third line the 7th row LED, the negative pole of the third line the 8th row LED link together;
Be connected with the 4th SEG link SEG3 after connecting the 8th resistance R8 after the positive pole of the positive pole of the positive pole of fourth line first row LED, the negative pole of fourth line secondary series LED, fourth line the 3rd row LED, the negative pole of fourth line the 4th row LED, fourth line the 5th row LED, the negative pole of fourth line the 6th row LED, the positive pole of fourth line the 7th row LED, the negative pole of fourth line the 8th row LED link together.
Above-mentioned electrical equipment LED drives and with the control method of button reading circuit is: the time between interruptions that MCU control chip adopts is 2ms, MCU control chip completes in above-mentioned interrupt routine to the reading of 4 switch keys with to the driving of 32 LEDs luminous tubes, MCU control chip the operating process of above-mentioned interrupt routine and embodiment one similar:
Step (1), MCU control chip start in 2ms has no progeny, and 4 the IO pins being connected by 4 the IO pins be connected with 4 SEG links immediately and be connected with 4 COM links connect and change into high-impedance state;
Step (2), event argument led_com is set, makes led_com++;
Step (3), judge whether led_com is greater than 8, if so, makes led_com=0, then perform step (4), if not, directly go to step (4);
Step (4), judge the value of led_com, then according to different led_com value, perform different operating:
If led_com=0, by effective SEG0, SEG1, SEG2, SEG3 output low level; COM0 is exported high level;
If led_com=1, effective SEG0, SEG1, SEG2, SEG3 are exported high level; By COM0 output low level;
If led_com=2, by effective SEG0, SEG1, SEG2, SEG3 output low level; COM1 is exported high level;
If led_com=3, effective SEG0, SEG1, SEG2, SEG3 are exported high level; By COM1 output low level;
If led_com=4, by effective SEG0, SEG1, SEG2, SEG3 output low level; COM2 is exported high level;
If led_com=5, effective SEG0, SEG1, SEG2, SEG3 are exported high level; By COM2 output low level;
If led_com=6, by effective SEG0, SEG1, SEG2, SEG3 output low level; COM3 is exported high level;
If led_com=7, effective SEG0, SEG1, SEG2, SEG3 are exported high level; By COM3 output low level;
If led_com=8, go to switch key and read subprogram;
Button reads subprogram and comprises:
Step (a), the IO pin SEG0 be connected with first SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG0, judge whether SEG0 equals 0, if so, then judge that the state of the first switch key is as " pressing " state, otherwise judge that the state of the first switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG0 being about to be connected with first SEG link;
Step (b), the IO pin SEG1 be connected with second SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG1, judge whether SEG1 equals 0, if so, then judge that the state of second switch button is as " pressing " state, otherwise judge that the state of second switch button is as " upspringing " state; High-impedance state is changed into the IO pin SEG1 being about to be connected with second SEG link;
Step (c), the IO pin SEG2 be connected with the 3rd SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG2, judge whether SEG2 equals 0, if so, then judge that the state of the 3rd switch key is as " pressing " state, otherwise judge that the state of the 3rd switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG2 being about to be connected with the 3rd SEG link;
Step (d), the IO pin SEG3 be connected with the 4th SEG link is exported high level after directly walk around into input pattern; Then two do-nothing instructions---NOP instruction is used; Then read SEG3, judge whether SEG3 equals 0, if so, then judge that the state of the 4th switch key is as " pressing " state, otherwise judge that the state of the 4th switch key is as " upspringing " state; High-impedance state is changed into the IO pin SEG3 being about to be connected with the 4th SEG link; Operation terminates.

Claims (3)

1. electrical equipment LED drives and a button reading circuit, and it is characterized in that: comprise M switch key, X*Y LEDs luminous tube, M, X, Y are natural number, and M is less than or equal to X; M+X resistance, and MCU control chip, wherein:
The equal ground connection of first end of the first switch key, the second end of the first switch key draws first SEG link after connecting the first resistance; The equal ground connection of first end of second switch button, the second end of second switch button draws second SEG link after connecting the second resistance; The equal ground connection of first end of M switch key, draws M SEG link after the second end of M switch key connects M resistance;
And X*Y LEDs luminous tube is arranged in the array of the capable Y row of X; If Y is even number, link together the positive pole of the negative pole of first row LED and secondary series LED extraction first COM link; Link together the positive pole of the negative pole of the 3rd row LED and the 4th row LED extraction second COM link; Link together the negative pole of Y-1 row LED and the positive pole of Y row LED extraction Y/2 COM link; If Y is odd number, link together the positive pole of the negative pole of first row LED and secondary series LED extraction first COM link; Link together the positive pole of the negative pole of the 3rd row LED and the 4th row LED extraction second COM link; Link together the negative pole of Y-2 row LED and the positive pole of Y-1 row LED extraction (Y-1)/2 COM link, and link together the negative pole of Y row LED extraction (Y+1)/2 COM link;
When Y is even number, the positive pole of the positive pole of the first row first row LED, the negative pole of the first row secondary series LED, the first row the 3rd row LED, the first row the 4th row LED negative pole ... the positive pole of the first row Y-1 row LED, the negative pole of the first row Y row LED are connected with first SEG link after connecting M+1 resistance after linking together; When Y is odd number, the positive pole of the positive pole of the first row first row LED, the negative pole of the first row secondary series LED, the first row the 3rd row LED, the first row the 4th row LED negative pole ... the positive pole of the first row Y-2 row LED, the negative pole of the first row Y-1 row LED, the positive pole of the first row Y row LED are connected with first SEG link after connecting M+1 resistance after linking together;
When Y is even number, the positive pole of the positive pole of the second row first row LED, the negative pole of the second row secondary series LED, the second row the 3rd row LED, the second row the 4th row LED negative pole ... the positive pole of the second row Y-1 row LED, the negative pole of the second row Y row LED are connected with second SEG link after connecting M+2 resistance after linking together; When Y is odd number, the positive pole of the positive pole of the second row first row LED, the negative pole of the second row secondary series LED, the second row the 3rd row LED, the second row the 4th row LED negative pole ... the positive pole of the second row Y-2 row LED, the negative pole of the second row Y-1 row LED, the positive pole of the second row Y row LED are connected with second SEG link after connecting M+2 resistance after linking together;
……
When Y is even number, the positive pole of the positive pole of X capable first row LED, the negative pole of X capable secondary series LED, the capable 3rd row LED of X, the capable 4th row LED of X negative pole ... the positive pole of X capable Y-1 row LED, the negative pole of X capable Y row LED are connected with X SEG link after connecting M+X resistance after linking together; When Y is odd number, the positive pole of the positive pole of X capable first row LED, the negative pole of X capable secondary series LED, the capable 3rd row LED of X, the capable 4th row LED of X negative pole ... be connected with X SEG link after the positive pole of X capable Y-2 row LED, the negative pole of X capable Y-1 row LED, the positive pole of X capable Y row LED connect M+X resistance after linking together;
X SEG link is connected with X IO pin of MCU control chip respectively;
[(Y+1)/2] individual COM link is respectively with MCU control chip] (Y+1)/2] individual IO pin is connected, and [] is the symbol that rounds up.
2. electrical equipment LED according to claim 1 drives and button reading circuit, it is characterized in that: described M=7, described X=8, described Y=4.
3. electrical equipment LED according to claim 1 drives and button reading circuit, it is characterized in that: described M=4, described X=4, described Y=8.
CN201520719759.5U 2015-09-15 2015-09-15 Electrical equipment LED drives and button reading circuit Withdrawn - After Issue CN204948053U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520719759.5U CN204948053U (en) 2015-09-15 2015-09-15 Electrical equipment LED drives and button reading circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520719759.5U CN204948053U (en) 2015-09-15 2015-09-15 Electrical equipment LED drives and button reading circuit

Publications (1)

Publication Number Publication Date
CN204948053U true CN204948053U (en) 2016-01-06

Family

ID=55015439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520719759.5U Withdrawn - After Issue CN204948053U (en) 2015-09-15 2015-09-15 Electrical equipment LED drives and button reading circuit

Country Status (1)

Country Link
CN (1) CN204948053U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227187A (en) * 2015-09-15 2016-01-06 宁波卓奥电子科技有限公司 Electrical equipment LED drives and button reading circuit and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227187A (en) * 2015-09-15 2016-01-06 宁波卓奥电子科技有限公司 Electrical equipment LED drives and button reading circuit and control method
CN105227187B (en) * 2015-09-15 2018-03-16 浙江卓奥科技股份有限公司 Electrical equipment LED drives and button reading circuit and control method

Similar Documents

Publication Publication Date Title
CN203340343U (en) Double-color LED drive circuit
CN204948053U (en) Electrical equipment LED drives and button reading circuit
CN201344454Y (en) Traffic light with variable patterns
CN105227187B (en) Electrical equipment LED drives and button reading circuit and control method
WO2024131720A1 (en) Low-cost electric charge display circuit
CN110544422A (en) Comprehensive capability training platform based on 51-single-chip microcomputer pin and jack combination
CN201788634U (en) P16 outdoor full-color LED unit board module
CN205486931U (en) Answering system calls roll in portable classroom
CN103516552A (en) State indication method and state indication device of electronic device
CN202363079U (en) Control circuit using IO port of one-chip microcomputer to drive LCD
CN214377226U (en) Comprehensive capability training platform based on 51-single-chip microcomputer pin and jack combination
CN204257173U (en) Colored segment code type digital tube display device
CN210896149U (en) Arduino teaching instrument
CN209249051U (en) Nixie tube and electric equipment
CN208722445U (en) A kind of contact pin type ability of practice Comprehensive Experiment plate based on 51 single-chip microcontrollers
CN202487115U (en) Digital tubes with built-in drive chip
CN102231253A (en) 8-bit star nixie tube
CN220252732U (en) Intelligent model car experiment teaching platform
CN204104023U (en) Based on the quick supervisory keyboard of DVR
CN105428922B (en) Multifunctional power socket circuit with LED desk lamp
CN206594915U (en) Microcomputer development plate
CN220108261U (en) Indicator light circuit and electronic equipment
CN205149641U (en) A background light control circuit for commercial car combination meter
CN205899895U (en) Logic circuit demonstrating board
CN110197628A (en) Electronic table label based on full-colour display screen

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 315327 Ningbo Province, Hangzhou Bay New District, the town of the East Yuan Xiang Village Industrial Park, No. two weft Road, No. 758

Patentee after: Zhejiang zhuoao Polytron Technologies Inc

Address before: Two road 315327 Zhejiang province Andong town of Cixi City Industrial Zone No. 758 weft

Patentee before: Ningbo ZuoAo Electronics Technology Co., Ltd.

CP03 Change of name, title or address
AV01 Patent right actively abandoned

Granted publication date: 20160106

Effective date of abandoning: 20180316

AV01 Patent right actively abandoned