CN203775182U - RS232 and infrared communication interface switching circuit capable of automatically taking power - Google Patents

RS232 and infrared communication interface switching circuit capable of automatically taking power Download PDF

Info

Publication number
CN203775182U
CN203775182U CN201420068828.6U CN201420068828U CN203775182U CN 203775182 U CN203775182 U CN 203775182U CN 201420068828 U CN201420068828 U CN 201420068828U CN 203775182 U CN203775182 U CN 203775182U
Authority
CN
China
Prior art keywords
circuit
voltage
infrared
interface
signal
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 - Fee Related
Application number
CN201420068828.6U
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.)
Hao Hong Tai (beijing) Technology Co Ltd
Original Assignee
Hao Hong Tai (beijing) 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 Hao Hong Tai (beijing) Technology Co Ltd filed Critical Hao Hong Tai (beijing) Technology Co Ltd
Priority to CN201420068828.6U priority Critical patent/CN203775182U/en
Application granted granted Critical
Publication of CN203775182U publication Critical patent/CN203775182U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

The utility model relates to an RS232 and infrared communication interface switching circuit capable of automatically taking power, which is used for realizing switching between a wired communication RS232 interface and a wireless communication infrared interface. The circuit is characterized by comprising a rectifying circuit, a voltage doubling circuit, a voltage stabilizer, a 38kHz oscillating circuit, an infrared transmitting circuit, an infrared receiving circuit and a receiving level switching circuit, wherein the rectifying circuit, the voltage doubling circuit and the voltage stabilizer directly take power from transmit data (TXD) signals and data terminal ready (DTR) indicating signals of an RS232 interface, thereby providing power for the device; the TXD signals controls infrared emission directly; the receiving level switching circuit is adopted to switch intermediate signals outputted by the infrared receiving circuit into receive data (RXD) signals conforming to RS232 standards. The circuit provided by the utility model is simple in structure, does not need an external power supply, and does not need an RS232 and TTL level switching chip.

Description

RS232 and infrared communication interface conversion circuit capable of automatically taking electricity
Technical Field
The utility model relates to a RS232 and infrared communication interface conversion circuit of self-powered belongs to communication interface technical field.
Background
RS232 is a serial physical interface standard and an electrical standard established by the american Electronic Industries Association (EIA), and is currently widely used in serial communication links between systems, and is one of the most widely used serial interfaces in PC and industrial communications. The infrared communication mode adopts infrared light sensation to realize serial signal transmission, can realize low-cost and short-distance wireless data transmission, and is widely applied to various remote control products. In practical application, the conversion of the two communication interfaces is often required to be realized, and the conversion access requirements of wired communication and wireless communication modes are met. In journal of modern electronic technology of 20 th year in 2013, an article "a 232 to infrared circuit design" proposes an RS232 and infrared communication interface conversion circuit, a schematic circuit diagram of which is shown in fig. 1, and a structural diagram of which is shown in fig. 2. In this circuit scheme, there are two disadvantages. The first disadvantage is that the input power Vcc needs to be provided separately for the whole circuit, and the external power requirement will increase the application complexity. The second disadvantage is that the existing conversion circuit needs to realize the conversion between the RS232 level and the TTL level based on RS232 and TTL level conversion chips, then the TTL drives the infrared transmitting circuit and is connected with the infrared receiving circuit. The TTL level is used as an intermediate signal, a conversion chip is added, and complexity and cost are increased.
Disclosure of Invention
The utility model aims at providing a RS232 and infrared communication interface converting circuit from getting electricity directly gets the electricity from RS232 interface signal, needn't need the external power source to insert. Meanwhile, an RS232 and TTL level conversion chip is omitted, and the circuit structure is simplified.
The utility model provides a pair of RS232 and infrared communication interface converting circuit from power takeoff, its characterized in that, this circuit includes: the device comprises a rectifying circuit, a voltage doubling circuit, a voltage stabilizer, a 38kHz oscillating circuit, an infrared transmitting circuit, an infrared receiving circuit and a receiving level conversion circuit; wherein,
the input end of the circuit is connected with a ground signal GND and a transmitting data signal TXD of the RS232 interface, and negative voltage-V is output after rectification;
the voltage doubling circuit converts the input negative voltage-V into positive voltage + V to be output;
the voltage stabilizer converts the input positive voltage + V into power supply voltage VCC required by the work of the 38kHz oscillating circuit, the infrared transmitting circuit and the infrared receiving circuit;
the 38kHz oscillating circuit is connected to a power supply voltage VCC and then outputs a 38kHz modulation square wave;
the infrared transmitting circuit is connected with a power supply voltage VCC, and outputs an infrared transmitting signal modulated by 38kHz when an input transmitting data signal TXD of an RS232 interface is at a high level;
the infrared receiving circuit is connected with a power supply voltage VCC, receives an infrared input signal and outputs an intermediate signal R1;
and the receiving level conversion circuit converts the input intermediate signal R1 into a receiving data signal RXD which accords with the RS232 interface level standard after the positive voltage + V and the negative voltage-V are connected.
Furthermore, the negative voltage-V output by the rectifying circuit, the voltage + V output by the voltage doubling circuit and the voltage VCC output by the voltage stabilizer are connected with a capacitor for filtering and storing energy in parallel relative to a ground signal GND.
Furthermore, the input end of the rectifying circuit is connected with a ground signal GND of the RS232 interface and a data terminal preparation indicating signal DTR.
Further, the rectifier circuit has a second output of positive voltage rectification and is connected to a positive voltage + V.
The utility model discloses a from RS232 of power consumption and infrared communication interface converting circuit's theory of operation is, according to the RS232 interface send data signal TXD and data terminal when no data transmission prepare the characteristic that instruction signal DTR keeps the negative voltage, obtain negative voltage-V through rectifier circuit. The voltage doubling circuit doubles the voltage difference between the ground signal GND and the negative voltage-V by taking the negative voltage-V as a reference, namely, outputs a voltage which is 2V higher than the negative voltage-V, and then obtains a positive voltage + V. The voltage stabilizer converts the positive voltage + V into a power supply voltage VCC relative to a ground signal GND and supplies power to the 38kHz oscillating circuit, the infrared transmitting circuit and the infrared receiving circuit. If the transmit data signal TXD and the data terminal ready indication signal DTR output a positive voltage, a positive voltage + V may also be connected through a rectifying circuit to charge it. From this, rectifier circuit, voltage doubling circuit and stabiliser have constituted the utility model discloses conversion circuit's electrical power generating system gets the electricity from the RS232 interface, need not external power source. And simultaneously, the utility model discloses the circuit directly realizes that RS 232's transmission data signal TXD controls the infrared signal of 38kHz modulation to infrared emission circuit's transmission when TXD is the positive voltage time control infrared interface transmission. The circuit is based on a receiving level conversion circuit, and converts an intermediate signal R1 output by an infrared receiving circuit from 0 to VCC level into + V and-V levels which accord with the input level and logic of an RS232 receiving data signal RXD.
Drawings
Fig. 1 is a schematic diagram of a conventional RS232 and infrared communication interface conversion circuit.
Fig. 2 is a structural diagram of a conventional RS232 and infrared communication interface conversion circuit.
Fig. 3 is a structural diagram of the self-powered RS232 and infrared communication interface conversion circuit of the present invention.
Fig. 4 is a schematic diagram of the self-powered RS232 and infrared communication interface conversion circuit of the present invention.
Detailed Description
The structure diagram of an embodiment of the present invention is shown in fig. 3, and the schematic circuit diagram is shown in fig. 4. The utility model discloses circuit includes rectifier circuit, voltage doubling circuit, stabiliser, 38kHz oscillating circuit, infrared transmitting circuit, infrared receiving circuit and receipt level conversion circuit. The rectification circuit adopts double diodes to send a data signal TXD and a data terminal preparation indicating signal DTR, and negative voltage-V is output after rectification. A voltage doubling circuit is realized by adopting a switched capacitor voltage converter HT7660, the voltage difference between a ground signal GND and a negative voltage-V is doubled, and a voltage which is 2V higher than the negative voltage-V is output, so that a positive voltage + V is obtained. In addition, the rectifier circuit can also be charged directly to the positive voltage + V when the transmit data signal TXD and the data terminal preparation indicator signal DTR are positive. The voltage stabilizer is realized by adopting an LDO voltage conversion chip SPX3819-3.3, and converts positive voltage + V into power supply voltage +3.3V required by the work of the 38kHz oscillating circuit, the infrared transmitting circuit and the infrared receiving circuit. The rectifying circuit outputs negative voltage-V, the voltage doubling circuit outputs voltage + V and the voltage stabilizer outputs voltage VCC, and the voltage doubling circuit is connected with a capacitor for filtering and storing energy in parallel relative to a ground signal GND.
The utility model discloses 38kHz oscillating circuit constitutes based on the six NOT gate chips of 74VHC04 of 38kHz crystal and 3.3V work. Two small capacitors are connected in parallel at two ends of the crystal oscillator to assist the crystal oscillator to start oscillation. And an output waveform signal of the crystal oscillator is connected to the NOT gate circuit, and finally, a modulation square wave with the duty ratio of 50% and the frequency of 38kHz is output. When the transmitting data signal TXD of the infrared transmitting circuit is positive voltage and the 38kHz modulation square wave is high level, the triode is conducted, and the infrared transmitting tube is driven to transmit; when the transmitting data signal TXD is negative voltage or the 38kHz modulation square wave is low level, the triode is not conducted, and the infrared transmitting tube does not transmit. And the light emitting diode connected with the infrared emission tube in series is used as an infrared emission indicator lamp.
The utility model discloses infrared receiving circuit adopts HS0038 as infrared receiving device, realizes receiving level conversion circuit through a not door, an NPN triode and a PNP triode. When receiving an infrared signal, the infrared receiving head HS0038 outputs a low level of 0V, and outputs a positive RXD voltage + V to the RS232 interface through the receiving level conversion circuit. When the infrared signal is not received, the infrared receiving head HS0038 outputs a high level, and the high level is output to the RXD negative voltage-V of the RS232 interface through the receiving level conversion circuit.
The embodiment of the utility model provides a circuit structure is simple, and is with low costs, need not external power source, need not RS232 and TTL level conversion chip.

Claims (4)

1. The utility model provides a RS232 and infrared communication interface converting circuit of self-service electricity, its characterized in that, this circuit includes: the device comprises a rectifying circuit, a voltage doubling circuit, a voltage stabilizer, a 38kHz oscillating circuit, an infrared transmitting circuit, an infrared receiving circuit and a receiving level conversion circuit; wherein,
the input end of the circuit is connected with a ground signal GND and a transmitting data signal TXD of the RS232 interface, and negative voltage-V is output after rectification;
the voltage doubling circuit converts the input negative voltage-V into positive voltage + V to be output;
the voltage stabilizer converts the input positive voltage + V into power supply voltage VCC required by the work of the 38kHz oscillating circuit, the infrared transmitting circuit and the infrared receiving circuit;
the 38kHz oscillating circuit is connected to a power supply voltage VCC and then outputs a 38kHz modulation square wave;
the infrared transmitting circuit is connected with a power supply voltage VCC, and outputs an infrared transmitting signal modulated by 38kHz when an input transmitting data signal TXD of an RS232 interface is at a high level;
the infrared receiving circuit is connected with a power supply voltage VCC, receives an infrared input signal and outputs an intermediate signal R1;
and the receiving level conversion circuit converts the input intermediate signal R1 into a receiving data signal RXD which accords with the RS232 interface level standard after the positive voltage + V and the negative voltage-V are connected.
2. The self-powered RS232 and infrared communication interface conversion circuit as claimed in claim 1, wherein the negative voltage-V output by the rectification circuit, the voltage + V output by the voltage doubling circuit and the voltage VCC output by the voltage regulator are connected in parallel with a capacitor for filtering and storing energy with respect to ground GND.
3. The conversion circuit of the RS232 and infrared communication interface capable of automatically taking electricity as claimed in claim 1, wherein the input end of the rectification circuit is connected with a ground signal GND of the RS232 interface and a data terminal preparation indication signal DTR.
4. The self-powered RS232 and IR communication interface conversion circuit according to claim 1, wherein the rectifier circuit has a second output with positive voltage rectification and is connected to positive voltage + V.
CN201420068828.6U 2014-02-18 2014-02-18 RS232 and infrared communication interface switching circuit capable of automatically taking power Expired - Fee Related CN203775182U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420068828.6U CN203775182U (en) 2014-02-18 2014-02-18 RS232 and infrared communication interface switching circuit capable of automatically taking power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420068828.6U CN203775182U (en) 2014-02-18 2014-02-18 RS232 and infrared communication interface switching circuit capable of automatically taking power

Publications (1)

Publication Number Publication Date
CN203775182U true CN203775182U (en) 2014-08-13

Family

ID=51292326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420068828.6U Expired - Fee Related CN203775182U (en) 2014-02-18 2014-02-18 RS232 and infrared communication interface switching circuit capable of automatically taking power

Country Status (1)

Country Link
CN (1) CN203775182U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103840813A (en) * 2014-02-18 2014-06-04 昊宏广泰(北京)科技有限公司 Self-powered RS232 and infrared communication interface switching circuit
CN110134626A (en) * 2019-04-02 2019-08-16 深圳艾迪宝智能***有限公司 A kind of design method and circuit of serial ports multistage charge and discharge power supply

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103840813A (en) * 2014-02-18 2014-06-04 昊宏广泰(北京)科技有限公司 Self-powered RS232 and infrared communication interface switching circuit
CN103840813B (en) * 2014-02-18 2017-01-04 昊宏广泰(北京)科技有限公司 The RS232 of a kind of automatic electricity getting and infrared communication interface change-over circuit
CN110134626A (en) * 2019-04-02 2019-08-16 深圳艾迪宝智能***有限公司 A kind of design method and circuit of serial ports multistage charge and discharge power supply

Similar Documents

Publication Publication Date Title
US8452905B2 (en) Serial port remote control circuit
EP2822141A3 (en) Wireless power transmitter and method of wireless power transmission
WO2019227977A1 (en) Wireless charging and communication circuit, wireless electronic device, and wireless charging and communication circuit system
CN203775182U (en) RS232 and infrared communication interface switching circuit capable of automatically taking power
CN203982576U (en) M-BUS slave telecommunication circuit
CN110603711B (en) Wireless power transmitting apparatus turned off in standby state and electronic apparatus including the same
WO2018144192A8 (en) Wireless charging system with inverter input power control
CN103840813B (en) The RS232 of a kind of automatic electricity getting and infrared communication interface change-over circuit
WO2015010972A3 (en) Power supply for led lighting system
CN203708602U (en) LED drive device controlled intelligently
US20210059032A1 (en) Wireless receiving circuit and wireless control device
CN204390042U (en) The little automobile-used radio transmitting device of AGV
CN103970296A (en) Air mouse low in power consumption
CN108322239B (en) Close-range unidirectional power supply reverse communication circuit structure
CN203327314U (en) LED desk lamp energy-saving controller
CN103916086A (en) Isolation driven switch amplifier
CN219085134U (en) Laser radar
CN106452422B (en) ROV propeller communication isolation circuit and ROV propeller
CN201681487U (en) TV remote controller with temperature measurement function
CN203722500U (en) Inversion power source capable of being wirelessly controlled at short range
CN205301896U (en) A low -cost USB -CAN converter for new forms of energy vehicle control unit
CN219778283U (en) SOS circuit structure of portable mobile power source
CN109038742B (en) Wireless charging system
CN210380648U (en) High-voltage pulse semiconductor switch driving circuit
CN210199980U (en) Novel remote low-cost wireless transmitting circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140813

Termination date: 20170218

CF01 Termination of patent right due to non-payment of annual fee