CN211956712U - IO (input/output) shared control circuit and remote controller - Google Patents
IO (input/output) shared control circuit and remote controller Download PDFInfo
- Publication number
- CN211956712U CN211956712U CN202020659502.6U CN202020659502U CN211956712U CN 211956712 U CN211956712 U CN 211956712U CN 202020659502 U CN202020659502 U CN 202020659502U CN 211956712 U CN211956712 U CN 211956712U
- Authority
- CN
- China
- Prior art keywords
- circuit
- processor
- control circuit
- led lamp
- key
- 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
Links
Images
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Liquid Crystal Display Device Control (AREA)
Abstract
The utility model discloses a IO sharing control circuit and remote controller, including the treater and respectively with clock circuit, LCD drive circuit, key circuit and the LED lamp circuit that the treater is connected, the treater has a plurality of general input/output ports, LCD drive circuit key circuit with LED lamp circuit sharing at least one among the general input/output ports. The LCD driving circuit, the key circuit and the LED lamp circuit share at least one of general input/output ports of the processor, a processor port does not need to be reserved for the LCD driving circuit, the key circuit and the LED lamp circuit, the number requirement of the general ports of the processor is favorably reduced, and therefore the hardware cost is reduced.
Description
Technical Field
The utility model relates to a remote controller technical field, in particular to IO sharing control circuit and remote controller.
Background
Remote controllers are commonly found in home appliances and industrial controls, such as televisions, air conditioners, and the like. The existing remote controller has two main design schemes, one is a separated design of a control coding circuit, a display circuit and a key circuit, the circuit of the design is complex, the hardware cost is high, and the universality is poor, and the other is a communication universal port, a key universal port and an LCD driving circuit which are embedded in a microprocessor of a control panel.
SUMMERY OF THE UTILITY MODEL
The utility model discloses aim at solving one of the technical problem that exists among the prior art at least. Therefore, the utility model provides a IO sharing control circuit can reduce the quantity demand of treater general port.
In a first aspect, according to the utility model discloses IO sharing control circuit, including the treater and respectively with clock circuit, LCD drive circuit, button circuit and the LED lamp circuit that the treater is connected, the treater has a plurality of general purpose input/output ports, LCD drive circuit button circuit with LED lamp circuit sharing at least one among the general purpose input/output ports.
According to the utility model discloses a some embodiments, LED lamp circuit includes switch tube Q1 and at least one LED lamp, switch tube Q1's control end with one of them general input/output port PC2 of treater is connected, operating power supply VDD is connected to switch tube Q1's high-voltage end, switch tube Q1's low-voltage end is connected respectively in every the positive pole of LED lamp, every a current-limiting resistor is connected to the negative pole of LED lamp, and through corresponding current-limiting resistor with the general input/output port that the treater corresponds is connected.
According to some embodiments of the invention, the resistance of the current limiting resistor is greater than or equal to 100 Ω.
According to the utility model discloses a some embodiments, keying circuit includes a plurality of buttons, every the first end of button respectively with one of them general purpose input/output port PB5 of treater connects, every a current limiting resistor is connected respectively to the second end of button, and through corresponding current limiting resistor with the corresponding general purpose input/output port of treater is connected.
According to some embodiments of the present invention, the resistance of the current limiting resistor is R, wherein 2.2k Ω R ≦ 4k Ω.
According to some embodiments of the present invention, the LCD driving circuit has a common terminal and a scan terminal, the common terminal is connected to the processor, the scan terminal, the key circuit and the LED lamp circuit share at least one of the general input/output ports of the processor.
According to some embodiments of the present invention, the clock circuit is a crystal oscillator, or the clock circuit is a high-speed oscillator built in the processor.
According to some embodiments of the utility model, IO sharing control circuit still include with the infrared letter circuit of sending that the treater is connected.
In a second aspect, according to the present invention, a remote controller includes the IO sharing control circuit.
According to the utility model discloses one or more technical scheme have following beneficial effect at least: the LCD driving circuit, the key circuit and the LED lamp circuit share at least one of general input/output ports of the processor, a processor port does not need to be reserved for the LCD driving circuit, the key circuit and the LED lamp circuit, the number requirement of the general ports of the processor is favorably reduced, and therefore the hardware cost is reduced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic block diagram of an IO shared control circuit according to an embodiment of the present invention;
fig. 2 is a circuit diagram of an IO common control circuit according to an embodiment of the present invention;
fig. 3 is a timing diagram of an LCD driving circuit of an IO common control circuit according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present invention, and should not be construed as limiting the present invention.
In the description of the present invention, a plurality of means are one or more, a plurality of means are two or more, and the terms greater than, less than, exceeding, etc. are understood as not including the number, and the terms greater than, less than, within, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless there is an explicit limitation, the words such as setting and connection should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meaning of the above words in the present invention by combining the specific contents of the technical solution.
Referring to fig. 1, the present embodiment discloses an IO common control circuit, which includes a processor 100, and a clock circuit 110, an LCD driving circuit 200, a key circuit 300, and an LED lamp circuit 400 respectively connected to the processor 100, where the processor 100 has a plurality of general purpose input/output ports, and at least one of the general purpose input/output ports is shared by the LCD driving circuit 200, the key circuit 300, and the LED lamp circuit 400, and there is no need to reserve a port of the processor 100 for the LCD driving circuit 200, the key circuit 300, and the LED lamp circuit 400 separately, which is beneficial to reducing the number requirement of the general purpose ports of the processor 100, thereby reducing the hardware cost, simplifying the circuit wiring, reducing the wiring area of the PCB board, and reducing the maintenance cost.
In this embodiment, the processor 100 adopts HT66F serial single chip microcomputer, and the serial single chip microcomputer is provided with a Flash Memory, a RAM Memory (random access Memory) and an EEPROM Memory (Electrically Erasable Programmable Read-Only Memory). The processor 100 has a plurality of GPIO (General-purpose input/output) ports, which include ports PA (i.e., ports PA0 to PA7), ports PB (i.e., ports PB0 to PB7), and ports PC (i.e., ports PC0 to PC7), wherein the LCD circuit, the key circuit 300, and the LED lamp circuit 400 share the ports PA.
The LED lamp circuit 400 includes a switch tube Q1 and at least one LED lamp, the number of the LED lamps of this embodiment is 8, that is, the LEDs 1 to the LEDs 8, the switch tube Q1 employs a triode, the control end of the switch tube Q1 is equivalent to the base of the triode, the high-voltage end of the switch tube Q1 is equivalent to the collector of the triode, and the low-voltage end of the triode Q1 is equivalent to the emitter of the triode. The control end of the switch tube Q1 is connected with one general input/output port PC2 of the processor 100, the high-voltage end of the switch tube Q1 is connected with the working power supply VDD, the low-voltage end of the switch tube Q1 is respectively connected with the anode of each LED lamp, the cathode of each LED lamp is connected with a current-limiting resistor, the current-limiting resistor is connected with the corresponding general input/output port of the processor 100 through the corresponding current-limiting resistor, and the brightness of the LED lamps can be adjusted by changing the resistance value of the current-limiting resistor.
It is noted that, in order to avoid affecting the sensitivity of the key, the resistance of the current limiting resistor is greater than or equal to 100 Ω.
The KEY circuit 300 includes a plurality of KEYs, in this embodiment, the number of the KEYs is 8, that is, KEY1 to KEY8, a first end of each KEY is connected to one of the general input/output ports PB5 of the processor 100, a second end of each KEY is connected to one current limiting resistor, and is connected to the corresponding general input/output port of the processor 100 through the corresponding current limiting resistor, which is beneficial to avoiding adverse effects on LCD display caused by more than 2 KEYs being pressed simultaneously. In order to avoid the reduction of the sensitivity of the key, the resistance value of the current limiting resistor is R, wherein R is more than or equal to 2.2k omega and less than or equal to 4k omega.
The LCD driving circuit 200 has common terminals and scanning terminals, i.e., common terminals COM0 to COM3 and scanning terminals SEG0 to SEG7, the common terminals COM0 to COM3 are respectively connected to the port PC0, the port PC1, the port PC6 and the port PC7 of the processor 100, and the scanning terminal, the key circuit 300 and the LED lamp circuit 400 of the LCD driving circuit 200 share the port PA in the general-purpose input/output port of the processor 100.
The clock circuit 110 may be a crystal oscillator, or the clock circuit 110 may be a high-speed oscillator built into the processor 100. In this embodiment, a 4MHz high-speed oscillator and a 32.768KHz crystal oscillator are externally connected to the processor 100, and the 4MHz high-speed oscillator is used as a main clock in this embodiment.
The IO common control circuit further includes an infrared communication circuit 500 connected to the processor 100, and the infrared communication circuit 500 is configured to transmit a remote control signal to the outside.
The embodiment also discloses a remote controller which comprises the IO common control circuit.
The LCD driving circuit, the key circuit and the LED lamp circuit share at least one of general input/output ports of the processor, a processor port does not need to be reserved for the LCD driving circuit, the key circuit and the LED lamp circuit, the number requirement of the general ports of the processor is favorably reduced, and therefore the hardware cost is reduced.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge of those skilled in the art.
Claims (9)
1. An IO common control circuit is characterized by comprising a processor (100), and a clock circuit (110), an LCD driving circuit (200), a key circuit (300) and an LED lamp circuit (400) which are respectively connected with the processor (100), wherein the processor (100) is provided with a plurality of general input and output ports, and the LCD driving circuit (200), the key circuit (300) and the LED lamp circuit (400) share at least one of the general input and output ports.
2. The IO common control circuit according to claim 1, wherein the LED lamp circuit (400) includes a switching tube Q1 and at least one LED lamp, a control terminal of the switching tube Q1 is connected to one of the general input/output ports PC2 of the processor (100), a high voltage terminal of the switching tube Q1 is connected to a working power supply VDD, a low voltage terminal of the switching tube Q1 is connected to an anode of each of the LED lamps, and a cathode of each of the LED lamps is connected to a current limiting resistor and is connected to a corresponding general input/output port of the processor (100) through the corresponding current limiting resistor.
3. The IO common control circuit according to claim 2, wherein a resistance of the current limiting resistor is greater than or equal to 100 Ω.
4. The IO common control circuit according to claim 1, wherein the key circuit (300) comprises a plurality of keys, a first end of each key is connected to one of the general input/output ports PB5 of the processor (100), and a second end of each key is connected to one of the current limiting resistors and is connected to the corresponding general input/output port of the processor (100) through the corresponding current limiting resistor.
5. The IO common control circuit of claim 4, wherein the resistance of the current limiting resistor is R, wherein R is greater than or equal to 2.2k Ω and less than or equal to 4k Ω.
6. The IO common control circuit according to any one of claims 1 to 5, wherein the LCD driver circuit (200) has a common terminal and a scan terminal, the common terminal is connected to the processor (100), and the scan terminal, the key circuit (300) and the LED lamp circuit (400) share at least one of a common input/output port of the processor (100).
7. The IO common control circuit according to claim 1, wherein the clock circuit (110) is a crystal oscillator, or the clock circuit (110) is a high-speed oscillator built in the processor (100).
8. The IO common control circuit according to claim 1, further comprising an infrared transmission circuit (500) connected to the processor (100).
9. A remote controller comprising the IO common control circuit according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020659502.6U CN211956712U (en) | 2020-04-26 | 2020-04-26 | IO (input/output) shared control circuit and remote controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020659502.6U CN211956712U (en) | 2020-04-26 | 2020-04-26 | IO (input/output) shared control circuit and remote controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN211956712U true CN211956712U (en) | 2020-11-17 |
Family
ID=73162422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020659502.6U Active CN211956712U (en) | 2020-04-26 | 2020-04-26 | IO (input/output) shared control circuit and remote controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN211956712U (en) |
-
2020
- 2020-04-26 CN CN202020659502.6U patent/CN211956712U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN211956712U (en) | IO (input/output) shared control circuit and remote controller | |
US5347198A (en) | Low cost AC switch for electroluminescent lamps | |
CN101494011A (en) | Electronic equipment | |
CN111613042A (en) | Control method of IO common control circuit, remote controller and storage medium | |
CN212811669U (en) | Machine type identification device and system | |
CN112040588A (en) | Light source driving circuit capable of continuously dimming, light source driving device and lamp | |
CN210167984U (en) | Motor positive and negative rotation safety protection circuit based on three-phase solid-state relay | |
CN216960247U (en) | Light effect adjusting circuit, light effect adjusting module and television | |
CN204904798U (en) | Key in with digital tube drive multiplex circuit, refrigerator and electronic equipment | |
CN206364915U (en) | The control circuit and television set of television set | |
CN213751893U (en) | PLC LED panel display control circuit | |
CN209876620U (en) | Light-emitting lamp strip and lampblack absorber | |
CN111964237A (en) | Controller and air conditioner | |
CN219068418U (en) | Driving circuit of lamp bead and refrigerator | |
CN220776109U (en) | DALI dimming color temperature regulating touch panel compatible with single-area and multi-area control | |
CN201425734Y (en) | Input device | |
CN210491270U (en) | Push-pull circuit, two-wire type LED drive circuit and lamp | |
CN221043180U (en) | TWS Bluetooth headset display circuit and TWS Bluetooth headset device | |
CN210602152U (en) | Display panel of air conditioner | |
CN219269121U (en) | Driving circuit of lamp bead and refrigerator | |
CN219349741U (en) | Double-row nixie tube display screen | |
CN217789931U (en) | LED switching circuit of automobile key switch | |
CN218471573U (en) | LED brightness adjusting circuit and electronic equipment | |
CN221354543U (en) | Control circuit of vehicular key backlight lamp | |
CN220965219U (en) | Lamp effect control circuit of electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |