CN214281368U - Serial port time-sharing multiplexing switching circuit - Google Patents

Serial port time-sharing multiplexing switching circuit Download PDF

Info

Publication number
CN214281368U
CN214281368U CN202022898848.4U CN202022898848U CN214281368U CN 214281368 U CN214281368 U CN 214281368U CN 202022898848 U CN202022898848 U CN 202022898848U CN 214281368 U CN214281368 U CN 214281368U
Authority
CN
China
Prior art keywords
switching circuit
electrically connected
serial port
resistor
pin
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
Application number
CN202022898848.4U
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.)
Shenzhen BoShiJie Technology Co.,Ltd.
Original Assignee
Shenzhen Boshijie 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 Boshijie Technology Co ltd filed Critical Shenzhen Boshijie Technology Co ltd
Priority to CN202022898848.4U priority Critical patent/CN214281368U/en
Application granted granted Critical
Publication of CN214281368U publication Critical patent/CN214281368U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Power Sources (AREA)

Abstract

The utility model discloses serial ports timesharing multiplexing switching circuit, first switching circuit including the input is connected with the first serial ports electricity of WIFI module, the output of first switching circuit is connected with communication module's third serial ports electricity, still include the second switching circuit that the input is connected with the second serial ports electricity of singlechip is connected, the output of second switching circuit is connected with communication module's third serial ports electricity, still include the WIFI power supply circuit that switch foot and communication module's first control foot electricity are connected, WIFI power supply circuit's power output foot is connected with the power supply foot electricity of WIFI module, communication module's first control foot is connected with first switching foot electricity of first switching circuit, the second control foot of singlechip is connected with second switching foot electricity of second switching circuit. The scheme adopts the serial port time-sharing multiplexing switching circuit, and avoids the problem of cost increase caused by replacing a single chip with more resources.

Description

Serial port time-sharing multiplexing switching circuit
Technical Field
The utility model relates to an electronic product technical field especially relates to multiplexing switching circuit of serial ports timesharing.
Background
The singlechip is used in many electronic products, and if serial port resources of the singlechip are insufficient, if the model of the singlechip is replaced, the corresponding product cost can be increased by increasing the resources.
In order to solve the problems, a serial port time-sharing multiplexing switching circuit is invented, wherein the cost is increased by not replacing a single chip microcomputer model, and limited serial port resources can be exerted.
SUMMERY OF THE UTILITY MODEL
The utility model discloses an invention aim at solve when current singlechip serial ports resource is not enough, if change the singlechip model, increase the problem that the resource can increase product cost. The concrete solution is as follows:
serial ports timesharing multiplexing switching circuit, first switching circuit including the input is connected with the first serial ports electricity of WIFI module, the output of first switching circuit is connected with communication module's third serial ports electricity, still include the input and the second switching circuit that the second serial ports electricity of singlechip is connected, the output of second switching circuit is connected with communication module's third serial ports electricity, still include the WIFI power supply circuit that the switch foot is connected with communication module's first control foot electricity, WIFI power supply circuit's power output foot is connected with WIFI module's power supply foot electricity, communication module's first control foot is connected with first switching foot electricity of first switching circuit, the second control foot of singlechip is connected with second switching foot electricity of second switching circuit.
Further, a state output pin of the communication module is electrically connected with a state input pin of the single chip microcomputer and used for informing the single chip microcomputer of the state condition of the communication module.
Further, the sending end of the communication module is electrically connected with the receiving end of the single chip microcomputer and used for sending communication data to the single chip microcomputer by the communication module.
Further, the first serial port of the WIFI module is configured to send communication data to the third serial port of the communication module through the first switching circuit.
Further, a second serial port of the single chip microcomputer is used for sending communication data to a third serial port of the communication module through the second switching circuit.
Further, the first switching circuit includes an emitter of a transistor Q1 electrically connected to the first serial port and one end of a resistor R48 at the same time, a collector of a transistor Q1 is electrically connected to the third serial port, a base of a transistor Q1 is electrically connected to one ends of a resistor R49 and a capacitor C54 at the same time, and the other ends of a resistor R49, a capacitor C54 and a resistor R48 are electrically connected to the first control pin at the same time.
Furthermore, the second switching circuit comprises an emitter of a triode Q2 which is electrically connected with the second serial port and one end of a resistor R28 at the same time, a collector of a triode Q2 is electrically connected with the third serial port, a base of a triode Q2 is electrically connected with one ends of a resistor R13 and a capacitor C48 at the same time, and the other ends of a resistor R13, a capacitor C48 and a resistor R28 are electrically connected with the second control pin at the same time.
Further, the single chip microcomputer is a CPU, the communication module is a GPS/GSM, the second serial port of the CPU is MCUTX, the second control pin of the CPU is PBO, the receiving end of the CPU is MCURX and is electrically connected to one end of the resistor R27, the status input pin of the CPU is PDO and is electrically connected to one end of the resistor R12, the third serial port of the GPS/GSM is URXD3 and is electrically connected to one end of the resistor R23, the VIO28 pin of the GPS/GSM is electrically connected to the other end of the resistor R23, the first control pin of the GPS/GSM is POWER _ WIFI, the sending end of the GPS/GSM is UTXD3 and is electrically connected to the other end of the resistor R27, and the status output pin of the GPS/GSM is GPIO _7 and is electrically connected to the other end of the resistor R12.
Further, the WIFI POWER circuit includes a POWER chip U13, a POWER input pin of the POWER chip U13 is VIN and is electrically connected to one end of the connector CON1, the capacitor C7, the capacitor C57, and the capacitor C64, a switch pin of the POWER chip U13 is CE and is electrically connected to one end of the first control pin POWER _ WIFI and the resistor R30, a POWER output pin of the POWER chip U13 is VOUT and is electrically connected to one end of the POWER supply pin WIFI _3V3, the capacitor C56, and the capacitor C105 of the WIFI module, and the other end of the capacitor C56, the capacitor C105, the capacitor C7, the capacitor C57, the capacitor C64, the other end of the resistor R30, and the VSS pin of the POWER chip U13 are grounded; the first serial port of the WIFI module is WIFITX 1.
Further, the model of the CPU is STM8L051F3P6, the model of the WIFI module is any one of W100, RDA5981 or ESP8285H16, the model of the GPS/GSM is MT2503D, and the model of the power chip U13 is SCJ6107B 33M.
To sum up, adopt the utility model discloses a technical scheme has following beneficial effect:
this scheme has solved when current singlechip serial ports resource is not enough, if change the singlechip model, increases the problem that the resource can increase product cost. The scheme adopts the serial port time-sharing multiplexing switching circuit, and avoids the problem of cost increase caused by replacing a single chip with more resources. The serial port time-sharing multiplexing switching circuit uses low-cost discrete components, and the circuit is simple, effective, reliable, good in trafficability characteristic and very practical.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed to be used in the description of the embodiments of the present invention will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive faculty.
Fig. 1 is a block diagram of the serial port time-sharing multiplexing switching circuit of the present invention;
fig. 2 is a circuit diagram of the serial port time-sharing multiplexing switching circuit of the present invention.
Description of reference numerals:
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the embodiments described are only some embodiments of the invention, and not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
As shown in fig. 1 and 2, the serial port time-sharing multiplexing switching circuit includes a first switching circuit 200 having an input end electrically connected to a first serial port WIFITX1 of the WIFI module 100, an output end of the first switching circuit 200 is electrically connected to a third serial port URXD3 of the communication module 400, and further includes a second switching circuit 300 having an input end electrically connected to a second serial port MCUTX of the single chip microcomputer 500, an output end of the second switching circuit 300 is electrically connected to a third serial port URXD3 of the communication module 400, and further includes a POWER supply circuit 600 having a switch pin CE electrically connected to a first control pin POWER _ WIFI of the communication module 400, a POWER output pin VOUT of the WIFI supply circuit 600 is electrically connected to a POWER supply pin WIFI _3V3 of the WIFI module, the first control pin POWER _ WIFI of the communication module 400 is electrically connected to a first switching pin of the first switching circuit 200, and a second control pin PBO of the single chip microcomputer 500 is electrically connected to a second switching pin of the second switching circuit 300.
Further, a state output pin GPIO _7 of the communication module 400 is electrically connected to a state input pin PDO of the single chip microcomputer 500, and is configured to notify the single chip microcomputer 500 of a state condition of the communication module 400 (that means whether communication with the WIFI module 100 is in progress).
Further, a transmitting end UTXD3 of the communication module 400 is electrically connected to a receiving end MCURX of the single chip microcomputer 500, and is used for the communication module 400 to transmit communication data to the single chip microcomputer 500.
Further, the first serial port WIFITX1 of the WIFI module 100 (i.e., U2) is used for sending communication data to the third serial port URXD3 of the communication module 400 (i.e., GPS/GSM) through the first switching circuit 200.
Further, the second serial port MCUTX of the single chip microcomputer 500 is used for sending communication data to the third serial port URXD3 of the communication module 400(GPS/GSM) through the second switching circuit 300.
Further, the first switching circuit 200 includes an emitter of a transistor Q1 electrically connected to the first serial port WIFITX1 and one end of the resistor R48, a collector of the transistor Q1 is electrically connected to the third serial port URXD3, a base of the transistor Q1 is electrically connected to one end of the resistor R49 and the capacitor C54, and the other ends of the resistor R49, the capacitor C54 and the resistor R48 are electrically connected to the first control pin POWER _ WIFI.
Further, the second switching circuit 300 includes an emitter of a transistor Q2 electrically connected to the second serial port MCUTX and one end of a resistor R28, a collector of the transistor Q2 is electrically connected to the third serial port URXD3, a base of the transistor Q2 is electrically connected to one end of a resistor R13 and one end of a capacitor C48, and the other ends of the resistor R13, the capacitor C48 and the resistor R28 are electrically connected to the second control pin PBO.
Further, the single chip microcomputer 500 is a CPU, a receiving end MCURX of the CPU is electrically connected to one end of the resistor R27, a state input pin PDO of the CPU is electrically connected to one end of the resistor R12, a third serial port URXD3 of the GPS/GSM is electrically connected to one end of the resistor R23, a VIO28 pin of the GPS/GSM is electrically connected to the other end of the resistor R23, a transmitting end UTXD3 of the GPS/GSM is electrically connected to the other end of the resistor R27, and a state output pin GPIO _7 of the GPS/GSM is electrically connected to the other end of the resistor R12.
Further, the WIFI POWER circuit 600 includes a POWER chip U13, a POWER input pin of the POWER chip U13 is VIN and is simultaneously electrically connected to one end of the connector CON1, the capacitors C7, C57, and C64, a switch pin of the POWER chip U13 is CE and is simultaneously electrically connected to one end of the first control pin POWER _ WIFI and the resistor R30, a POWER output pin of the POWER chip U13 is VOUT and is simultaneously electrically connected to one end of the POWER supply pin WIFI _3V3, the capacitors C56, and C105 of the WIFI module, the capacitors C56, C105, C7, C57, C64, the other end of the resistor R30, and the VSS pin of the POWER chip U13 are simultaneously grounded.
Further, the model of the CPU is STM8L051F3P6, or is replaced with an alternative model thereof. The model of the WIFI module is W100 or RDA5981 or ESP8285H16, the model of the GPS/GSM module is MT2503D, or the model of the GPS/GSM module is replaced by the substitute model of the GPS/GSM module. The power chip U13 has a model number SCJ6107B33M, or is replaced by a substitute model number thereof.
The working process is as follows:
when the system is just started, on one hand, the function of the second serial port MCUTX of the single chip microcomputer CPU is firstly closed, a common IO port is configured, and the second serial port MCUTX is configured to be in a low-level output state, meanwhile, the IO port of the second control pin PB0 is also configured to be in a low-level output state, and the triode Q2 is invalid, so that the third serial port channel of the single chip microcomputer CPU and the communication module GPS/GSM is cut off. On the other hand, the communication module GPS/GSM synchronously configures the IO port of the first control pin POWER _ WIFI into high-level output, the POWER supply pin WIFI _3V3 is turned on, and the first serial port data of the WIFI module is transmitted to the communication module GPS/GSM through the triode Q1.
When the system is just started, a state output pin GPIO _7 of a communication module GPS/GSM is in a high-level state, a state input pin PDO of a single chip microcomputer CPU learns that a WIFI module is working, after the WIFI module finishes a positioning task and synchronously transmits data to the communication module GPS/GSM, on one hand, a first control pin POWER _ WIFI of the communication module GPS/GSM outputs a low level, a POWER supply pin WIFI _3V3 is closed, and a triode Q1 is invalid, on the other hand, a state output pin GPIO _7 of the communication module GPS/GSM outputs a low level, the state input pin PDWIFI of the single chip microcomputer CPU is informed, communication is completed, a second control pin PB0 of the single chip microcomputer CPU is configured to be in a high level, a triode Q2 is connected, and a second serial port MCUTX of the single chip microcomputer CPU is in data communication with a third serial port of the communication module GPS/GSM through a triode Q2.
When the whole machine enters the dormancy state, the single chip microcomputer CPU turns off the GPS/GSM power supply and the WIFI power supply of the communication module, so that the whole machine reaches a lowest power consumption mode, and after the whole machine is awakened from the low power consumption mode next time, the logic work is repeated.
Description of the drawings: in the scheme, the single chip microcomputer CPU and the communication module GPS/GSM work in a transmitting-receiving two-way mode; the WIFI module only sends data to the communication module GPS/GSM in one direction.
To sum up, adopt the utility model discloses a technical scheme has following beneficial effect:
this scheme has solved when current singlechip serial ports resource is not enough, if change the singlechip model, increases the problem that the resource can increase product cost. The scheme adopts the serial port time-sharing multiplexing switching circuit, and avoids the problem of cost increase caused by replacing a single chip with more resources. The serial port time-sharing multiplexing switching circuit uses low-cost discrete components, and the circuit is simple, effective, reliable, good in trafficability characteristic and very practical.
The above-described embodiments do not limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the above-described embodiments should be included in the protection scope of the technical solution.

Claims (10)

1. The serial port time-sharing multiplexing switching circuit is characterized in that: the power supply switching circuit comprises a first switching circuit, an output end of the first switching circuit is electrically connected with a third serial port of a communication module, and further comprises a second switching circuit, an input end of the second switching circuit is electrically connected with a second serial port of a single chip microcomputer, an output end of the second switching circuit is electrically connected with a third serial port of the communication module, and further comprises a WIFI power supply circuit, a power output pin of the WIFI power supply circuit is electrically connected with a power supply pin of the WIFI module, a first control pin of the communication module is electrically connected with a first switching pin of the first switching circuit, and a second control pin of the single chip microcomputer is electrically connected with a second switching pin of the second switching circuit.
2. The serial port time-sharing multiplexing switching circuit of claim 1, wherein: and the state output pin of the communication module is electrically connected with the state input pin of the singlechip and used for informing the singlechip of the state condition of the communication module.
3. The serial port time-sharing multiplexing switching circuit according to claim 2, characterized in that: and the sending end of the communication module is electrically connected with the receiving end of the singlechip and is used for sending communication data to the singlechip by the communication module.
4. The serial port time-sharing multiplexing switching circuit according to claim 3, characterized in that: and the first serial port of the WIFI module is used for sending communication data to the third serial port of the communication module through the first switching circuit.
5. The serial port time-sharing multiplexing switching circuit according to claim 4, characterized in that: and the second serial port of the singlechip is used for sending communication data to the third serial port of the communication module through the second switching circuit.
6. The serial port time-sharing multiplexing switching circuit of claim 5, wherein the first switching circuit comprises an emitter of a transistor Q1 electrically connected to the first serial port and one end of a resistor R48 at the same time, a collector of a transistor Q1 is electrically connected to the third serial port, a base of a transistor Q1 is electrically connected to one end of a resistor R49 and one end of a capacitor C54 at the same time, and the other ends of a resistor R49, a capacitor C54 and a resistor R48 are electrically connected to the first control pin at the same time.
7. The serial port time-sharing multiplexing switching circuit of claim 6, wherein: the second switching circuit comprises an emitter of a triode Q2 which is simultaneously electrically connected with the second serial port and one end of a resistor R28, a collector of the triode Q2 is electrically connected with the third serial port, a base of the triode Q2 is simultaneously electrically connected with one ends of a resistor R13 and a capacitor C48, and the other ends of the resistor R13, the capacitor C48 and the resistor R28 are simultaneously electrically connected with the second control pin.
8. The serial port time-sharing multiplexing switching circuit of claim 7, wherein: the single chip microcomputer is a CPU, the communication module is a GPS/GSM, a second serial port of the CPU is MCUTX, a second control pin of the CPU is PBO, a receiving end of the CPU is MCURX and is electrically connected with one end of a resistor R27, a state input pin of the CPU is PDO and is electrically connected with one end of a resistor R12, a third serial port of the GPS/GSM is URXD3 and is electrically connected with one end of a resistor R23, a VIO28 pin of the GPS/GSM is electrically connected with the other end of a resistor R23, a first control pin of the GPS/GSM is POWER _ WIFI, a sending end of the GPS/GSM is UTXD3 and is electrically connected with the other end of a resistor R27, and a state output pin of the GPS/GSM is GPIO _7 and is electrically connected with the other end of a resistor R12.
9. The serial port time-sharing multiplexing switching circuit of claim 8, wherein: the WIFI POWER supply circuit comprises a POWER supply chip U13, wherein a POWER supply input pin of the POWER supply chip U13 is VIN and is simultaneously electrically connected with one end of a connector CON1, a capacitor C7, a capacitor C57 and a capacitor C64, a switch pin of the POWER supply chip U13 is CE and is simultaneously electrically connected with one end of a first control pin POWER _ WIFI and one end of a resistor R30, a POWER supply output pin of the POWER supply chip U13 is VOUT and is simultaneously electrically connected with one end of a POWER supply pin WIFI _3V3, a capacitor C56 and one end of a capacitor C105 of a WIFI module, and the other end of the capacitor C56, the capacitor C7, the capacitor C57, the capacitor C64, the resistor R30 and a VSS pin of the POWER supply chip U13 are simultaneously grounded; the first serial port of the WIFI module is WIFITX 1.
10. The serial port time-sharing multiplexing switching circuit of claim 9, wherein: the CPU is STM8L051F3P6 in model, the WIFI module is W100 in model, RDA5981 in model or ESP8285H16 in model, the GPS/GSM module is MT2503D in model, and the power supply chip U13 is SCJ6107B33M in model.
CN202022898848.4U 2020-12-04 2020-12-04 Serial port time-sharing multiplexing switching circuit Active CN214281368U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202022898848.4U CN214281368U (en) 2020-12-04 2020-12-04 Serial port time-sharing multiplexing switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202022898848.4U CN214281368U (en) 2020-12-04 2020-12-04 Serial port time-sharing multiplexing switching circuit

Publications (1)

Publication Number Publication Date
CN214281368U true CN214281368U (en) 2021-09-24

Family

ID=77779495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202022898848.4U Active CN214281368U (en) 2020-12-04 2020-12-04 Serial port time-sharing multiplexing switching circuit

Country Status (1)

Country Link
CN (1) CN214281368U (en)

Similar Documents

Publication Publication Date Title
CN202614323U (en) Hydrology telemetering terminal based on network transmission technology
CN106253943A (en) Sensor acquisition device based on LoRa technology, network system and communication means
CN104796971A (en) System and method for low power signaling in wireless local area network
CN101080073B (en) A between-module communication circuit and method of dual-mode communication terminal
CN100576770C (en) The control device of array antenna
CN103533606A (en) Information transmission method of wireless local-area network, terminal and access device
CN103906172B (en) Low-power consumption micro radio sensing network network-building method based on field use
CN104917619A (en) Wakeup control method and terminal
CN112020031A (en) Low-power consumption thing allies oneself with communication device based on wireless awakening of low frequency and wiFi
CN108540295A (en) A kind of monobus telecommunication circuit
CN209299251U (en) A kind of RS-485 telecommunication circuit and system
CN214281368U (en) Serial port time-sharing multiplexing switching circuit
CN111615154A (en) 5G and NBIOT intelligence thing networking module
CN109961124A (en) One kind having identifing source FRID label
CN210721140U (en) Simple and easy car networking terminal awakening circuit based on CPLD
CN105721563A (en) Intelligent window curtain control system based on Android and Zigbee
CN207743979U (en) The communication system and household electrical appliance of household electrical appliance
CN109450480A (en) A kind of RS-485 telecommunication circuit and power-supply system
CN202488503U (en) Multi-module high speed communication system
CN108391245A (en) Plug and play type wireless sensor network node
CN210804414U (en) Circuit with reusable communication interface
CN202872768U (en) Radar antenna pointing information forwarding device
CN207200991U (en) A kind of remote control device and system based on LoRa technologies
CN217445366U (en) Communication device for realizing equipment networking and electronic equipment configured with same
CN215773149U (en) Communication device based on timer extension

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518131 2701, 2702 and 2703, building 1, Huide building, Beizhan community, Minzhi street, Longhua District, Shenzhen, Guangdong Province

Patentee after: Shenzhen BoShiJie Technology Co.,Ltd.

Address before: Room 603, building e, chaoloft cultural and creative park, 150 Huayue Road, Langkou community, Dalang street, Longhua District, Shenzhen City, Guangdong Province, 518109

Patentee before: SHENZHEN BOSHIJIE TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address