CN108365868B - Wireless serial port connecting device and data transmission method thereof - Google Patents

Wireless serial port connecting device and data transmission method thereof Download PDF

Info

Publication number
CN108365868B
CN108365868B CN201810316150.1A CN201810316150A CN108365868B CN 108365868 B CN108365868 B CN 108365868B CN 201810316150 A CN201810316150 A CN 201810316150A CN 108365868 B CN108365868 B CN 108365868B
Authority
CN
China
Prior art keywords
serial port
wireless
connecting device
module
port connecting
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
CN201810316150.1A
Other languages
Chinese (zh)
Other versions
CN108365868A (en
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.)
Guangzhou Decode Electronic Technology Co ltd
Original Assignee
Guangzhou Decode Electronic 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 Guangzhou Decode Electronic Technology Co ltd filed Critical Guangzhou Decode Electronic Technology Co ltd
Priority to CN201810316150.1A priority Critical patent/CN108365868B/en
Publication of CN108365868A publication Critical patent/CN108365868A/en
Application granted granted Critical
Publication of CN108365868B publication Critical patent/CN108365868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a wireless serial port connecting device and a data transmission method thereof. The data transmission method of the wireless serial port connecting device enables the wireless serial port connecting device to switch between a transparent transmission mode and a fixed point transmission mode, and serial port data and digital data of the 433M wireless communication module are mutually converted through the microprocessor, so that the purposes of controlling field equipment by utilizing a wireless network, reducing field wiring, saving equipment cost and reducing interference of the outside on transmitted signals are achieved; in addition, the user can select the mode of the 433M wireless communication module for transmitting data through the service module, and can simultaneously transmit the data to a plurality of data receiving devices and selectively transmit the data to a specific data receiving device, so that intelligent remote control is realized.

Description

Wireless serial port connecting device and data transmission method thereof
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a wireless serial port connection device and a data transmission method thereof.
Background
One of the traditional equipment control modes is controlled through a serial port, the other is controlled through a network, wherein the serial port is mainly applied to communication in the industrial control field and the bottom layer, the network is mainly applied to communication between intelligent equipment and consumer electronic products, along with wide application of the intelligent equipment in the industrial control field, in the application fields of remote control, cashing, remote meter reading and the like, people gradually need to control field equipment by utilizing a wireless network so as to reduce field wiring, save equipment cost and reduce interference of the outside on transmitted signals; in addition, different wireless transmission protocols have different limits on transmission bandwidth and distance, and the 433M wireless communication module can realize medium-and-long-distance data transmission.
Disclosure of Invention
The invention aims to provide a serial port connecting device and a data transmission method thereof, which are used for carrying out data exchange between a first serial port and a second serial port.
The invention provides a wireless serial port connecting device, which comprises: the system comprises a serial port module, a microprocessor and a 433M wireless communication module, wherein the serial port module is electrically connected with the microprocessor, and the microprocessor is electrically connected with the 433M wireless communication module.
The serial port module is used for outputting an uploading serial port signal and receiving a downloading serial port signal sent by the microprocessor.
The microprocessor is used for coding and converting the uploading serial port signal output by the serial port module into an uploading digital signal and then transmitting the uploading digital signal to the 433M wireless communication module, and decoding the downloading digital signal received by the 433M wireless communication module into a downloading serial port signal and then transmitting the downloading serial port signal to the serial port module.
The 433M wireless communication module comprises a transmitting module and a receiving module, wherein the transmitting module is used for transmitting the uploading digital signal, and the receiving module is used for receiving the downloading digital signal.
Preferably, the serial port device is an RS485 serial port device.
Preferably, the wireless serial port connection device comprises a switching module, and the switching module is electrically connected with the microprocessor and is used for switching the data transmission mode of the 433M wireless communication module.
Preferably, the wireless serial port connection device comprises a power module, and the power module is electrically connected with the microprocessor to provide electric energy for the wireless serial port connection device.
Preferably, the wireless serial port connection device comprises a sounding module, and the sounding module is electrically connected with the microprocessor and used for prompting that data transmission is completed.
The invention also provides a data transmission method of the wireless serial port connecting device, which is used for data transmission between the first serial port and the second serial port, and comprises the following steps:
step one: the user is electrically connected with the first serial port through a serial port module of the first wireless serial port connecting device, and a data transmission mode is set through a switching module of the first wireless serial port connecting device, and a transparent transmission mode or a fixed point transmission mode is selected;
step two: a serial port module of the first wireless serial port connecting device receives an uploading serial port signal transmitted by the serial port equipment;
step three: when the user selects the transparent transmission mode, the microprocessor of the first wireless serial port connecting device receives the uploading serial port information of the serial port module of the first wireless serial port connecting device, converts the uploading serial port information into uploading digital signals which can be received by the 433M wireless communication module of the first wireless serial port connecting device, and transmits the uploading digital signals to a plurality of second wireless serial port connecting devices which are positioned in the same channel with the first wireless serial port connecting device by the transmitting module of the first wireless serial port connecting device;
when the user selects the 'fixed point emission' mode, the microprocessor of the first wireless serial port connecting device receives the uploading serial port information of the serial port module of the first wireless serial port connecting device, converts the serial port information into an uploading digital signal which can be received by the wireless communication module of the 433M wireless serial port connecting device, and then, the transmitting module of the first wireless serial port connecting device transmits the uploading digital signal to the second wireless serial port connecting device with a designated channel and address;
step four: the 433M wireless communication module of the second wireless serial port connecting device receives the uploading digital signal, and the serial port module of the second wireless serial port connecting device is electrically connected with the second serial port;
step five: the microprocessor of the second wireless serial port connecting device converts the received uploading digital signal into a downloading serial port signal, and the second serial port obtains the downloading serial port signal through the serial port module of the second wireless serial port connecting device, so that data transmission between the first serial port and the second serial port is completed.
The invention provides a wireless serial port connecting device and a data transmission method thereof, wherein the wireless serial port connecting device comprises: the microprocessor of the wireless serial port connecting device is used for mutually converting serial port signals and wireless digital signals of the 433M wireless communication module, so that the purposes of controlling field equipment by utilizing a wireless network, reducing field wiring, saving equipment cost and reducing interference of the outside on transmitted signals are achieved; in addition, the user can select the mode of the 433M wireless communication module for transmitting data through the switching module, and can simultaneously transmit the data to a plurality of serial ports and selectively transmit the data to a specific serial port, so that intelligent remote control is realized.
Drawings
Fig. 1 is a schematic block diagram of a wireless serial port connection device according to a first embodiment of the present invention;
fig. 2 is a data transmission flow chart of the wireless serial port connection device according to the first embodiment of the present invention.
Detailed Description
The embodiments described below are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present embodiment provides a wireless serial port connection device, where the wireless serial port connection device includes: the system comprises a serial port module 1, a microprocessor 2 and a 433M wireless communication module 3, wherein the serial port module 1 is electrically connected with the microprocessor 2, and the microprocessor 2 is electrically connected with the 433M wireless communication module 3.
The serial port module 1 is configured to output an upload serial port signal and receive a download serial port signal sent by the microprocessor 2.
The microprocessor 2 is configured to code and convert an upload serial port signal output by the serial port module 1 into an upload digital signal, and then transmit the upload digital signal to the 433M wireless communication module 3, and decode a download digital signal received by the 433M wireless communication module 3 into a download serial port signal, and then transmit the download serial port signal to the serial port module 1.
The 433M wireless communication module 3 includes a transmitting module (not shown) and a receiving module (not shown), where the transmitting module (not shown) is configured to transmit the uplink digital signal, and the receiving module (not shown) is configured to receive the downlink digital signal.
In this embodiment, the serial port device is an RS485 serial port device; the wireless serial port connecting device comprises a switching module 4, wherein the switching module 4 is electrically connected with the microprocessor 2 and is used for switching the data transmission mode of the 433M wireless communication module 3; the wireless serial port connecting device comprises a power module 5, wherein the power module 5 is electrically connected with the microprocessor 2 and provides electric energy for the wireless serial port connecting device; the wireless serial port connecting device comprises a sounding module 6, and the sounding module 6 is electrically connected with the microprocessor 2 and used for prompting that data transmission is completed.
Referring to fig. 2, the embodiment further provides a data transmission method of a wireless serial port connection device, which is used for data transmission between a first serial port and a second serial port, and the data transmission method of the wireless serial port connection device includes the following steps:
step one: the user is electrically connected with the first serial port through a serial port module of the first wireless serial port connecting device, a switching module 4 of the first wireless serial port connecting device sets a data transmission mode, and selects a transparent transmission mode or a fixed point transmission mode;
step two: the serial port module 1 of the first wireless serial port connecting device receives an uploading serial port signal transmitted by the serial port equipment;
step three: when the user selects the transparent transmission mode, the microprocessor 2 of the first wireless serial port connection device receives the uploading serial port information of the serial port module 1 of the first wireless serial port connection device, converts the uploading serial port information into uploading digital signals which can be received by the 433M wireless communication module 3 of the first wireless serial port connection device, and transmits the uploading digital signals to a plurality of second wireless serial port connection devices which are positioned in the same channel with the first wireless serial port connection device by a transmitting module (not shown) of the first wireless serial port connection device;
after the user selects the "fixed point transmitting" mode, the microprocessor 2 of the first wireless serial port connecting device receives the uploading serial port information of the serial port module 1 of the first wireless serial port connecting device, converts the serial port information into the uploading digital signal which can be received by the wireless communication module 3 of the first wireless serial port connecting device 433M, and then the transmitting module (not shown) of the first wireless serial port connecting device transmits the uploading digital signal to the second wireless serial port connecting device with the designated channel and address;
step four: the 433M wireless communication module of the second wireless serial port connecting device receives the uploading digital signal, and the serial port module 21 of the second wireless serial port connecting device is electrically connected with the second serial port;
step five: the microprocessor 21 of the second wireless serial port connection device converts the received uploading digital signal into a downloading serial port signal, the second serial port obtains the downloading serial port signal through the serial port module 11 of the second wireless serial port connection device, and data transmission between the first serial port and the second serial port is completed.
The invention provides a wireless serial port connecting device and a data transmission method thereof, which respectively convert serial port signals and wireless digital signals of 433M wireless communication modules 3 and 31 through microprocessors 2 and 21 of the wireless serial port connecting device, thereby achieving the purposes of controlling field devices by utilizing a wireless network, reducing field wiring, saving equipment cost and reducing interference of the outside on the transmitted signals; in addition, the user can select the mode of transmitting data by the 433M wireless communication module 3 through the switching module 4, and can simultaneously transmit data to a plurality of serial ports and selectively transmit data to a specific serial port, thereby realizing intelligent remote control.
The above disclosure is only a preferred embodiment of the present invention, and it is needless to say that the scope of the invention is not limited thereto, and therefore, the present invention is not limited to the above embodiments, and equivalent changes are included in the scope of the present invention.

Claims (5)

1. The utility model provides a wireless serial port connecting device for exchange data between serial port equipment and the data receiving arrangement, its characterized in that, wireless serial port connecting device includes: the system comprises a serial port module, a microprocessor and a 433M wireless communication module, wherein the serial port module is electrically connected with the microprocessor, and the microprocessor is electrically connected with the 433M wireless communication module;
the serial port module is used for outputting an uploading serial port signal and receiving a downloading serial port signal sent by the microprocessor;
the microprocessor is used for coding and converting the uploading serial port signal output by the serial port module into an uploading digital signal and then transmitting the uploading digital signal to the 433M wireless communication module, and decoding the downloading digital signal received by the 433M wireless communication module into a downloading serial port signal and then transmitting the downloading serial port signal to the serial port module;
the wireless serial port connecting device further comprises a switching module, wherein the switching module is electrically connected with the microprocessor and is used for switching the data transmission mode of the 433M wireless communication module;
the wireless serial port connecting device is used for data transmission between a first serial port and a second serial port,
the data transmission method comprises the following steps:
step one: the user is electrically connected with the first serial port through a serial port module of the first wireless serial port connecting device, and a data transmission mode is set through a switching module of the first wireless serial port connecting device, and a transparent transmission mode or a fixed point transmission mode is selected;
step two: a serial port module of the first wireless serial port connecting device receives an uploading serial port signal transmitted by the serial port equipment;
step three: when the user selects the transparent transmission mode, the microprocessor of the first wireless serial port connecting device receives the uploading serial port information of the serial port module of the first wireless serial port connecting device, converts the uploading serial port information into uploading digital signals which can be received by the 433M wireless communication module of the first wireless serial port connecting device, and transmits the uploading digital signals to a plurality of second wireless serial port connecting devices which are positioned in the same channel with the first wireless serial port connecting device by the transmitting module of the first wireless serial port connecting device;
when a user selects the 'fixed point emission' mode, a microprocessor of the first wireless serial port connecting device receives uploading serial port information of a serial port module of the first wireless serial port connecting device, converts the serial port information into uploading digital signals which can be received by a 433M wireless communication module of the first wireless serial port connecting device, and then, a transmitting module of the first wireless serial port connecting device transmits the uploading digital signals to a second wireless serial port connecting device with a designated channel and address;
step four: the serial port module of the second wireless serial port connecting device is electrically connected with the second serial port, and the 433M wireless communication module of the second wireless serial port connecting device receives the uploading digital signal;
step five: the microprocessor of the second wireless serial port connecting device converts the received uploading digital signal into a downloading serial port signal, and the second serial port obtains the downloading serial port signal through the serial port module of the second wireless serial port connecting device to finish the data transmission of the first serial port and the second serial port.
2. The wireless serial port connection of claim 1, wherein the serial port module is an RS485 serial port module.
3. The wireless serial port interface of claim 1, comprising a power module electrically coupled to the microprocessor for providing power to the wireless serial port interface.
4. The wireless serial port interface of claim 1, comprising a sounding module electrically coupled to the microprocessor for prompting completion of data transmission.
5. The data transmission method of the wireless serial port connecting device is used for data transmission between a first serial port and a second serial port, and is characterized by comprising the following steps of:
step one: the user is electrically connected with the first serial port through a serial port module of the first wireless serial port connecting device, and a data transmission mode is set through a switching module of the first wireless serial port connecting device, and a transparent transmission mode or a fixed point transmission mode is selected;
step two: the serial port module of the first wireless serial port connecting device receives an uploading serial port signal transmitted by serial port equipment;
step three: when the user selects the transparent transmission mode, the microprocessor of the first wireless serial port connecting device receives the uploading serial port information of the serial port module of the first wireless serial port connecting device, converts the uploading serial port information into uploading digital signals which can be received by the 433M wireless communication module of the first wireless serial port connecting device, and transmits the uploading digital signals to a plurality of second wireless serial port connecting devices which are positioned in the same channel with the first wireless serial port connecting device by the transmitting module of the first wireless serial port connecting device;
when a user selects the 'fixed point emission' mode, a microprocessor of the first wireless serial port connecting device receives uploading serial port information of a serial port module of the first wireless serial port connecting device, converts the serial port information into uploading digital signals which can be received by a 433M wireless communication module of the first wireless serial port connecting device, and then, a transmitting module of the first wireless serial port connecting device transmits the uploading digital signals to a second wireless serial port connecting device with a designated channel and address;
step four: the serial port module of the second wireless serial port connecting device is electrically connected with the second serial port, and the 433M wireless communication module of the second wireless serial port connecting device receives the uploading digital signal;
step five: the microprocessor of the second wireless serial port connecting device converts the received uploading digital signal into a downloading serial port signal, and the second serial port obtains the downloading serial port signal through the serial port module of the second wireless serial port connecting device to finish the data transmission of the first serial port and the second serial port.
CN201810316150.1A 2018-04-10 2018-04-10 Wireless serial port connecting device and data transmission method thereof Active CN108365868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810316150.1A CN108365868B (en) 2018-04-10 2018-04-10 Wireless serial port connecting device and data transmission method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810316150.1A CN108365868B (en) 2018-04-10 2018-04-10 Wireless serial port connecting device and data transmission method thereof

Publications (2)

Publication Number Publication Date
CN108365868A CN108365868A (en) 2018-08-03
CN108365868B true CN108365868B (en) 2023-09-22

Family

ID=63007920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810316150.1A Active CN108365868B (en) 2018-04-10 2018-04-10 Wireless serial port connecting device and data transmission method thereof

Country Status (1)

Country Link
CN (1) CN108365868B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110085016A (en) * 2019-05-20 2019-08-02 成都必垦科技有限责任公司 A kind of portable remote wireless signal source

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790436A (en) * 2004-12-17 2006-06-21 中国农业大学 Multifunctional wireless data transmission unit
CN203225745U (en) * 2013-05-13 2013-10-02 深圳市鼎芯无限科技有限公司 Wireless serial port communication converting device
CN208174682U (en) * 2018-04-10 2018-11-30 广州市译码电子科技有限公司 A kind of wireless serial attachment device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790436A (en) * 2004-12-17 2006-06-21 中国农业大学 Multifunctional wireless data transmission unit
CN203225745U (en) * 2013-05-13 2013-10-02 深圳市鼎芯无限科技有限公司 Wireless serial port communication converting device
CN208174682U (en) * 2018-04-10 2018-11-30 广州市译码电子科技有限公司 A kind of wireless serial attachment device

Also Published As

Publication number Publication date
CN108365868A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN103957056A (en) Visible light communication system compatible with intelligent cell phone
CN103699097A (en) Intelligent home control system and method
CN1202648C (en) Method for wireless remote control using mobile phone short message
CN104735274A (en) Learning type universal infrared remote control method based on cloud platform and smart phone
CN103200082A (en) Ethernet radio network gateway based on Z-Wave technology
CN108365868B (en) Wireless serial port connecting device and data transmission method thereof
CN104901717A (en) Compatible communication equipment
CN105472509A (en) Audio signal sending and receiving method and device
CN201230342Y (en) Wireless real-time bi-directional intercom apparatus
CN104714413A (en) Intelligent home system based on ZigBee technique
CN208174682U (en) A kind of wireless serial attachment device
CN203732953U (en) Intelligent home control system
CN205091733U (en) Communication interface conversion device
CN210670120U (en) Communication gateway with selectable data transmission channels
CN103138776A (en) Multiple output Zigbee launcher
CN202904864U (en) Intelligent adapter and remote control system adopting intelligent adapter
CN105530048B (en) A kind of communication code method being located in short distance infrared radio high-speed communication system
CN113132209A (en) 485 wired serial port signal and bluetooth wireless signal's adapter
CN104219636A (en) Radio broadcasting system based on ZigBee protocol
CN207587169U (en) The remote water-pressure survey device of low-power consumption
CN202565426U (en) Interphone channel remote control changing device
CN201004673Y (en) A remote central control device for home electrical appliance based on phone
CN219418030U (en) Valve control system of Internet of things
CN210469369U (en) Electric power thing networking gateway
CN201733318U (en) Fundamental frequency type Ethernet extender transmitting via coaxial cable and being powered by POE

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 401, 4th Floor, No. 11 Dongxing Road, Shapu Avenue, Xintang Town, Zengcheng District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangzhou decode Electronic Technology Co.,Ltd.

Address before: 510000, 3rd Floor, Building C2, Daqiao Industrial Park, Shapu Yinsha Industrial Zone, Xintang Town, Zengcheng City, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU DECODING ELECTRONIC TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant