CN203616608U - Port expansion circuit - Google Patents
Port expansion circuit Download PDFInfo
- Publication number
- CN203616608U CN203616608U CN201320880113.6U CN201320880113U CN203616608U CN 203616608 U CN203616608 U CN 203616608U CN 201320880113 U CN201320880113 U CN 201320880113U CN 203616608 U CN203616608 U CN 203616608U
- Authority
- CN
- China
- Prior art keywords
- port
- shift register
- signal
- output
- expansion 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
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 13
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Microcomputers (AREA)
Abstract
The utility model discloses a port expansion circuit. The port expansion circuit is used for expanding output ports of a one-chip microcomputer. The port expansion circuit comprises a serial input module, a signal conversion module converting a serial signal into a parallel signal and a parallel output module which are connected. The clock signal port and the data signal port of the serial input module are corresponding ports of a one-chip microcomputer. The data signal port and the clock signal port are respectively connected with a data signal port and a clock signal port of the signal conversion module. The signal conversion module comprises N serial input and parallel output shift registers which are respectively a shift register U1 to a shift register UN. One output port of the shift register Ui is connected with the data input port of the shift register U(i+1). The parallel output module is composed of the output ports of the shift register. The port expansion circuit can achieve a function of large expansion of output ports. Only a few control ports are needed, and a lot of output ports can be expanded and produced. The port expansion circuit is simple and reliable.
Description
Technical field
The utility model relates to control technology field, more specifically, relates to a kind of port expansion circuit.
Background technology
At present, along with scientific and technological development, people are more and more higher to the requirement of man-machine interface, and the display interface of luxurious complexity need to have more port to realize the interface of various demonstrations, and the port of existing various single-chip microcomputers has obviously limited to this development trend.
Select the single-chip microcomputer that port is many to realize complicated demonstration, waste very much no matter from cost or in resource be all.Can to show complicated multistage in order reaching, to make again the maintenance of cost cheap, should adopt a kind of mode to carry out Extended Capabilities Port and make to export multistage.
The scheme of traditional serial input-parallel output can more effectively address this problem, but solution is not very abundant, in the case of numerous display segments needs, still seems and is willing and yet unable to help, and the control port demonstration of single-chip microcomputer utilizes abundant not.
In practical application, still there are some problems in the use of port: 1) output of the port of traditional single-chip microcomputer is high to cost requirement, and cost performance is low, and can only provide limited port to export.2) in the scheme of traditional serial input-parallel output, control port need to have 2 above one-chip machine ports on one side, is extended to the port of 8 left and right, and the effect of expansion is not clearly, in the situation that one-chip machine port demand is very strong, shows bad.
Utility model content
In order to overcome the deficiencies in the prior art, the utility model proposes a kind of reliable and practical port expansion circuit, can reach the complicated multistage of demonstration to realize a small amount of one-chip machine port.
To achieve these goals, the technical solution of the utility model is:
A kind of port expansion circuit, for expanding the output port of single-chip microcomputer, comprises the serial input module connecting in turn, signal conversion module and the parallel output module that serial signal is converted to parallel signal;
The clock signal port of described serial input module and data-signal port are the port that single-chip microcomputer is corresponding; Described data-signal port and clock signal port connect respectively data-signal port and the clock signal port of signal conversion module;
Signal conversion module comprises the shift register of N serial input-parallel output, be respectively shift register U1, shift register U2 ..., shift register UN, an output port of shift register Ui connects the data-signal input port of shift register U (i+1), i=1,2 ..., N-1;
Described parallel output module is to be made up of the output port of each shift register; Described output port and common single-chip microcomputer output port have identical function.
Described shift register is the shift register of 8 bit parallel outputs, and output port position is Q0 ~ Q7.
A Q7 output port of described shift register Ui connects the data-signal input port of shift register U (i+1).
The beneficial effects of the utility model are: the utility model adopts a kind of port expansion circuit in the lesser amt element using, to reach the expansion of port, circuit is realized simple and reliable, it is very high that the rate of spread of port has reached, and output port and the common single-chip microcomputer output port of expansion have identical function.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of a kind of port expansion circuit of the utility model.
Fig. 2 is structural representation of the present utility model.
Embodiment
Below in conjunction with accompanying drawing, the utility model is further described, but embodiment of the present utility model is not limited to this.
A kind of port expansion circuit, for expanding the output port of single-chip microcomputer, comprises the serial input module 3 connecting in turn, signal conversion module 2 and the parallel output module 1 that serial signal is converted to parallel signal;
The clock signal port of described serial input module and data-signal port are the port that single-chip microcomputer is corresponding; Described data-signal port and clock signal port connect respectively data-signal port and the clock signal port of signal conversion module;
Signal conversion module comprises the shift register of N serial input-parallel output, be respectively shift register U1, shift register U2 ..., shift register UN, an output port of shift register Ui connects the data-signal input port of shift register U (i+1), i=1,2 ..., N-1;
Described parallel output module is to be made up of the output port of each shift register; Make to obtain more output port after expansion, described output port and common single-chip microcomputer output port have identical function.Adopting is in the present embodiment 8 bit shift register 74LS164.
The principle of work of the present embodiment:
As Fig. 1, signal conversion module 2 is through 8 clock signals, shown position is passed to the Q7 position of U1, after the 9th clock signal, shown position is delivered to the Q0 position of U2, by that analogy, when after N*8+1 clock signal, shown position is delivered to the Q0 position of U (N+1), after expansion, parallel output module can be used for exporting controlling and show.
Above-described embodiment of the present utility model, does not form the restriction to the utility model protection domain.Any modification of having done within spiritual principles of the present utility model, be equal to and replace and improvement etc., within all should being included in claim protection domain of the present utility model.
Claims (3)
1. a port expansion circuit, for expanding the output port of single-chip microcomputer, is characterized in that, comprises the serial input module connecting in turn, signal conversion module and the parallel output module that serial signal is converted to parallel signal;
The clock signal port of described serial input module and data-signal port are the port that single-chip microcomputer is corresponding; Described data-signal port and clock signal port connect respectively data-signal port and the clock signal port of signal conversion module;
Signal conversion module comprises the shift register of N serial input-parallel output, be respectively shift register U1, shift register U2 ..., shift register UN, an output port of shift register Ui connects the data-signal input port of shift register U (i+1), i=1,2 ..., N-1;
Described parallel output module is to be made up of the output port of each shift register.
2. port expansion circuit according to claim 1, is characterized in that, described shift register is the shift register of 8 bit parallel outputs, and output port position is Q0 ~ Q7.
3. port expansion circuit according to claim 2, is characterized in that, a Q7 output port of described shift register Ui connects the data-signal input port of shift register U (i+1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320880113.6U CN203616608U (en) | 2013-12-30 | 2013-12-30 | Port expansion circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320880113.6U CN203616608U (en) | 2013-12-30 | 2013-12-30 | Port expansion circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203616608U true CN203616608U (en) | 2014-05-28 |
Family
ID=50769239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320880113.6U Expired - Lifetime CN203616608U (en) | 2013-12-30 | 2013-12-30 | Port expansion circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203616608U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124974A (en) * | 2019-12-25 | 2020-05-08 | 西安易朴通讯技术有限公司 | Interface expansion device and method |
-
2013
- 2013-12-30 CN CN201320880113.6U patent/CN203616608U/en not_active Expired - Lifetime
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124974A (en) * | 2019-12-25 | 2020-05-08 | 西安易朴通讯技术有限公司 | Interface expansion device and method |
CN111124974B (en) * | 2019-12-25 | 2024-01-26 | 西安易朴通讯技术有限公司 | Interface expanding device and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204496211U (en) | A kind of expansion I/O port circuit with standard spi bus interface | |
CN204178172U (en) | A kind of universal embedded bus control equipment based on DSP and FPGA | |
CN101119107B (en) | Low-power consumption non-overlapping four-phase clock circuit and implementing method | |
CN203616608U (en) | Port expansion circuit | |
CN201122939Y (en) | Low-power consumption non-crossover four-phase clock circuit | |
CN203038046U (en) | Control panel | |
CN102202118B (en) | Power sequence control circuit on camera and mobile phone | |
CN203366699U (en) | Nixie tube driving circuit | |
CN201060393Y (en) | 8 bit online debugging microcontroller | |
CN203366045U (en) | A digital quantity input-output device based on a CAN bus | |
CN205942681U (en) | Serial communication interface that can dispose | |
CN205210574U (en) | Two obs core control modules based on microcontroller realizes FPGA data configuration | |
CN203387478U (en) | TMS320VC5402 chip-based programmable pulse width modulation generator | |
CN203632687U (en) | Switching circuit for communication encryption | |
CN204272077U (en) | A kind of PWM turns 4-20mA signal isolation change-over circuit | |
CN203151466U (en) | Positive-negative logic level conversion switching circuit | |
CN202422113U (en) | Switching system for realizing industry standard architecture (ISA) bus on performance optimization with enhanced RISC-performance computing (PowerPC) embedded computer | |
CN203800920U (en) | Signal conversion circuit applied to fuse circuit | |
CN204650202U (en) | A kind of CPLD of utilization realizes the single-chip computer control system of ports-Extending | |
CN203406904U (en) | Multiprotocol converter based on embedded system | |
CN204906179U (en) | Novel vary voltage circuit | |
CN204904051U (en) | Circuit of extension PLC's digital quantity module input/output IO mouth | |
CN204241896U (en) | RS232, RS485 communication module | |
CN202120065U (en) | EC control module based on one-chip microcomputer KVM system | |
CN204362100U (en) | A kind of electric power protocol conversion device based on industrial computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20140528 |