CN202548836U - Serial GPIO expander - Google Patents

Serial GPIO expander Download PDF

Info

Publication number
CN202548836U
CN202548836U CN2012201904654U CN201220190465U CN202548836U CN 202548836 U CN202548836 U CN 202548836U CN 2012201904654 U CN2012201904654 U CN 2012201904654U CN 201220190465 U CN201220190465 U CN 201220190465U CN 202548836 U CN202548836 U CN 202548836U
Authority
CN
China
Prior art keywords
circuit
power supply
mouth
processor
input
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
CN2012201904654U
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.)
Beijing Silion Technology Co Ltd
Original Assignee
SHENZHEN MODULE 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 SHENZHEN MODULE TECHNOLOGY Co Ltd filed Critical SHENZHEN MODULE TECHNOLOGY Co Ltd
Priority to CN2012201904654U priority Critical patent/CN202548836U/en
Application granted granted Critical
Publication of CN202548836U publication Critical patent/CN202548836U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model discloses a serial GPIO (General Purpose Input Output) expander. The serial GPIO expander comprises a power supply for supplying power to parts, and an MCU (Micro Controller Unit) processor, wherein the processor is respectively connected with an IO port input output drive circuit and an RS232 level conversion circuit in a controlled way; and the power supply is respectively connected with the MCU processor, the IO port input/output drive circuit and the RS232 level conversion circuit in a power-supplied way. According to the serial GPIO expander, large quantities of IO ports are expanded; the drive capability is strong, the one-way drive current can reach 1 A, and a majority of industrial control requirements can be met; the IO port output drive voltage can be controlled to be 3.3-15 V; the effects of photoelectric isolation and IO port output short-circuit protection are achieved; and the RS232 communication interfaces of a majority of industrial personal computers are adopted.

Description

A kind of serial ports GPIO extender
Technical field
The utility model relates to the serial ports expansion technology, specifically applies to peripheral hardware requirements such as warehouse, entrance guard management, passage control, acousto-optic warning than higher occasion.
Background technology
In Industry Control Application, a lot of peripheral hardwares are often arranged, need control like peripheral hardwares such as ground induction coil, pilot lamp, door, camera, audible alarms.The driving force of these peripheral hardwares generally requires more intense, and control port requires many.Some industrial computers can not directly be controlled these peripheral hardwares usually, or the GPIO mouth is not enough, can directly control these peripheral hardwares through the mode of serial ports expansion, solve the problem that is electrically connected that waits that drives.Can cooperate the UHF read write line, expand its peripheral hardware control ability.
The utility model content
To the problems referred to above, the utility model aims to provide a kind of serial ports GPIO extender, solves the problem that is electrically connected that drives and control.
For realizing this technical purpose; The scheme of the utility model is: a kind of serial ports GPIO extender; Comprise power supply to each parts power supply; Also comprise a MCU processor, this processor control linkage respectively has IO mouth input and output driving circuit and RS232 level shifting circuit, and power supply is connected power supply with the RS232 level shifting circuit with MCU processor, IO mouth input and output driving circuit respectively.
As preferably, said IO input and output driving circuit separated into two parts, a part is a photoelectric isolating circuit, a part is that IO drives and strengthens and holding circuit; Photoelectric isolating circuit adopts three opto-coupler chips to form, and every opto-coupler chip has 4 pairs of photoemission receiving tubes; One of optocoupler terminates to the IO mouth of MCU processor, and one terminates to IO output drives accentuator and IO input interface.
In the serial ports GPIO extender of this programme, IO mouth expansion quantity is many; Strong driving force, the single channel drive current can reach 1A, can satisfy most of Industry Control requirements; IO mouth outputting drive voltage is controlled at 3.3-15V; Photoelectricity is isolated and IO mouth output short circuit protection is arranged; The RS232 communication interface that adopts most of industrial computers all to have.
Description of drawings
Fig. 1 is the system architecture theory diagram of the utility model;
Fig. 2 is the power circuit diagram of the utility model;
Fig. 3 is the utility model RS232 level shifting circuit figure;
Fig. 4 is the MCU circuit connection diagram of the utility model.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the utility model is explained further details.
As shown in Figure 1; A kind of serial ports GPIO extender of the utility model specific embodiment; Comprise power supply to each parts power supply; Also comprise a MCU processor, this processor control linkage respectively has IO mouth input and output driving circuit and RS232 level shifting circuit, and power supply is connected power supply with the RS232 level shifting circuit with MCU processor, IO mouth input and output driving circuit respectively.
Wherein, power supply adopts the linear voltage stabilization chip of LT1086-5.0 to supply power to entire circuit.D1 among Fig. 2 is the schottky diode that prevents the power supply reversal connection, and D3 is a Transient Suppression Diode, plays the surge or the effect of static inhibition.
The supply voltage of this equipment is 12V, and GPIO quantity is 8 outputs of 4 inputs, and the single channel drive current can reach 1A.The driving power of output IO mouth can be chosen as that device interior provides or device external very supplies.Select through the J2 among Fig. 2, J3: J2, J3 closure, select in-line power; J2, J3 break off, and select externally fed.When selecting in-line power, IO mouth driving voltage is 12V, and does not possess the photoelectricity isolation features, and this mainly is used in the better occasion in bad border.When being chosen as externally fed; External power source will be received VDD GPIO and GND GPIO interface; At this moment IO mouth driving voltage changes according to outer power voltage, thereby can satisfy the requirement of different driving voltage, and the scope that outer power voltage can change is 3.3-15V.This mode mainly is used in the abominable occasion of circumstance complication, through optocoupler and external isolation.
As shown in Figure 3, the RS232 level shifting circuit adopts TI high-performance RS232 level transferring chip SN65C3232, and the Transistor-Transistor Logic level and the RS232 level of serial ports are changed, and its speed is up to 1M bit/S.Baud rate during equipment work is that 9600-115200 is optional.
8 process chip STC11F02E of MCU processor adopting STC technical grade, as shown in Figure 4, its effect mainly is to handle the instruction that host computer sends, and according to the requirement of instruction corresponding IO mouth state is provided with and reads.The setting of IO mouth and time for reading are in 20ms.This chip is connected with the RS232 level transferring chip through serial ports and receives the instruction that host computer sends, and returns to host computer to the result.Chip I mouth P3.2-P3.5 is connected to the U5 in the IO driving circuit, reads through the later IO mouth input state of light-coupled isolation, and chip I mouth P1.0-P1.7 is connected to U2, the U4 optocoupler input end in the IO driving circuit.Coupling is reacted to later corresponding IO output port to the input state of optocoupler through photoelectricity.
IO input and output driving circuit separated into two parts, a part is a photoelectric isolating circuit, a part is that IO drives reinforcement and holding circuit.Photoelectric isolating circuit adopts three opto-coupler chip TLP281-4 (U 2, U4, U5) to form, and every opto-coupler chip has 4 pairs of photoemission receiving tubes.One of optocoupler terminates to the IO mouth of MCU processor, and one terminates to IO output drives accentuator and IO input interface, thereby reaches inside and outside IO state synchronously and the effect of isolating through optocoupler.
IO drives accentuator and adopts 8 enhancement mode FET AO3407, and its drive current can reach 3A.SMD100L among the figure is the PPTC (can recover fuse) of 1A, when electric current surpasses 1A, can cut off circuit, and after electric current returned to safety value, PPTC is conducting again.Thereby the output to the IO mouth plays a protective role, can be because of IO mouth external short circuit damage equipment.
IO mouth input and output electrical specification:
Input: high level: VDD_GPIO-0.3V is to VDD_GPIO, and is unsettled, or high-impedance state;
Low level: 0V-0.1VDD_GPIO
Output: high level: VDD_GPIO-0.8V is to VDD_GPIO-0.2V
Low level: 0V-0.8V (this moment electric current be-0.27mA)
The utility model mainly is to come expanding universal IO mouth through the mode of RS232.Be connected with computer or other industrial control equipments through the RS232 interface.The host computer application software is sent instruction according to the communication protocol of this product through the mode of serial ports; Equipment receives that the instruction back is provided with state or reading state to the IO mouth of correspondence; Thereby solved some industrial control equipments and do not had universal I/O port; Or universal I/O port is not enough, or problem such as driving force deficiency.
The above; Be merely this novel preferred embodiment; Not in order to restriction the utility model, every technical spirit according to the utility model to any trickle modification that above embodiment did, be equal to replacement and improve, all should be included within the protection domain of the utility model technical scheme.

Claims (2)

1. serial ports GPIO extender; Comprise power supply to each parts power supply; It is characterized in that: also comprise a MCU processor; This processor control linkage respectively has IO mouth input and output driving circuit and RS232 level shifting circuit, and power supply is connected power supply with the RS232 level shifting circuit with MCU processor, IO mouth input and output driving circuit respectively.
2. serial ports GPIO extender according to claim 1 is characterized in that, said IO input and output driving circuit separated into two parts, and a part is a photoelectric isolating circuit, a part is that IO drives reinforcement and holding circuit; Photoelectric isolating circuit adopts three opto-coupler chips to form, and every opto-coupler chip has 4 pairs of photoemission receiving tubes; One of optocoupler terminates to the IO mouth of MCU processor, and one terminates to IO output drives accentuator and IO input interface.
CN2012201904654U 2012-04-28 2012-04-28 Serial GPIO expander Expired - Lifetime CN202548836U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012201904654U CN202548836U (en) 2012-04-28 2012-04-28 Serial GPIO expander

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012201904654U CN202548836U (en) 2012-04-28 2012-04-28 Serial GPIO expander

Publications (1)

Publication Number Publication Date
CN202548836U true CN202548836U (en) 2012-11-21

Family

ID=47169432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012201904654U Expired - Lifetime CN202548836U (en) 2012-04-28 2012-04-28 Serial GPIO expander

Country Status (1)

Country Link
CN (1) CN202548836U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110504955A (en) * 2019-08-30 2019-11-26 长虹美菱股份有限公司 A kind of electric flap driving circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110504955A (en) * 2019-08-30 2019-11-26 长虹美菱股份有限公司 A kind of electric flap driving circuit
CN110504955B (en) * 2019-08-30 2023-03-24 长虹美菱股份有限公司 Electric air door driving circuit

Similar Documents

Publication Publication Date Title
CN104090527B (en) A kind of power-down protection apparatus
CN105098718A (en) Power supply device and overvoltage protection method
CN202548836U (en) Serial GPIO expander
CN206559074U (en) A kind of power supply circuit and mobile terminal
CN100525064C (en) Full digital intelligent control module of DC motor
CN205644180U (en) Soft power -off control circuit and arm device
CN202435124U (en) Power supply automatic switching system
CN205829883U (en) A kind of multisource video acquisition processing system based on FPGA
CN205581199U (en) Warning circuit based on power adapter
CN204302913U (en) The portable redundant power device of a kind of security protection
CN107728507A (en) Controller and control system between Intelligent sanitary
CN203025643U (en) Power supply monitoring and sequencing circuit of extensible multi-power system
CN203135828U (en) Power source powering on/off circuit
CN1192297C (en) Monitoring system based on maintenance bus
CN201038755Y (en) HDMI/ USB interface electronic equipment and its interface circuit
CN102749858B (en) CEC (Consumer Electronics Control) processing device for high-definition sound and video equipment
CN204087805U (en) A kind of bluetooth recording pen
CN105242612A (en) Vehicle-mounted display terminal with real-time data storage function and method thereof
CN205318319U (en) A emergent power supply for desk calculator
CN202197358U (en) Energy-saving standby circuit for television
CN203933383U (en) A kind of PFC control circuit
CN203788414U (en) Television box
CN204390129U (en) A kind of power protection computer host box
CN203301137U (en) Feeder protection equipment of distribution room
CN201965455U (en) Power supply control system and television

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SILION TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SHENZHEN MODULE TECHNOLOGY CO., LTD.

Effective date: 20141119

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518000 SHENZHEN, GUANGDONG PROVINCE TO: 100083 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20141119

Address after: 100083 Beijing City, Haidian District Zhongguancun Road No. 18 smartfortune International Building C 1912

Patentee after: BEIJING SILION TECHNOLOGY CO., LTD.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District high tech Zone Technology in two Road No. 39 Wanji Industrial Park M406

Patentee before: Shenzhen Module Technology Co., Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20121121