CN108365868A - A kind of wireless serial attachment device and its data transmission method - Google Patents

A kind of wireless serial attachment device and its data transmission method Download PDF

Info

Publication number
CN108365868A
CN108365868A CN201810316150.1A CN201810316150A CN108365868A CN 108365868 A CN108365868 A CN 108365868A CN 201810316150 A CN201810316150 A CN 201810316150A CN 108365868 A CN108365868 A CN 108365868A
Authority
CN
China
Prior art keywords
serial
wireless
attachment device
module
microprocessor
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.)
Granted
Application number
CN201810316150.1A
Other languages
Chinese (zh)
Other versions
CN108365868B (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

A kind of wireless serial attachment device of present invention offer and its data transmission method, the wireless serial attachment device include a serial port module, a microprocessor, a 433M wireless communication modules, a handover module and a power module.The data transmission method of the wireless serial attachment device makes the wireless serial attachment device that " transparent transmission " and " fixed point transmitting " pattern can be switched, the numerical data of serial data and 433M wireless communication modules is mutually converted by microprocessor, reach and field device is controlled using wireless network, the purpose for reducing field wiring, saving equipment cost and reducing the interference of outer the transmitted signal of bound pair;In addition, user can select the pattern of the 433M wireless communication modules transmission data by the service module, more data sinks can be passed data to simultaneously and selectively broadcast data to specific data sink, realize intelligentized remote control.

Description

A kind of wireless serial attachment device and its data transmission method
Technical field
The present invention relates to field of wireless communication more particularly to a kind of wireless serial attachment device and its data transmission methods.
Background technology
Traditional equipment control mode one is being controlled by serial ports, another kind be controlled by network, wherein Serial ports is mainly used in the communication of industrial control field and bottom, and network is mainly used in smart machine and consumer electronics product Communication, as intelligence is in the extensive use of industrial control field, in the application fields such as remote control, cash register, remote meter reading, people It gradually needs to control field device using wireless network, to reduce field wiring, save equipment cost and outside reduction The interference of the transmitted signal of bound pair;In addition the limitation that different wireless transmission protocols has nothing in common with each other for transmission bandwidth and distance, 433M wireless communication modules can realize the data transmission of medium and long distance.
Invention content
Present invention aims at a kind of serial port connector of offer and its data transmission methods, are used for first serial and second Data exchange is carried out between serial ports.
The present invention provides a kind of wireless serial attachment device, and the wireless serial attachment device includes:One serial port module, one Microprocessor and a 433M wireless communication modules, the serial port module are electrically connected the microprocessor, and the microprocessor is electrically connected Connect the 433M wireless communication modules.
The serial port module is believed for exporting to upload rs 232 serial interface signal and receive the biography serial ports down that the microprocessor is sent Number.
The microprocessor, the upload rs 232 serial interface signal code conversion for exporting the serial port module are believed at upload digital The 433M wireless communication modules are passed to after number, and the biography digital signal down that the 433M wireless communication modules receive is translated Code at down pass rs 232 serial interface signal after pass to the serial port module.
The 433M wireless communication modules, including a transmitting module and a receiving module, the transmitting module is for emitting The upload digital signal, the receiving module for receive it is described under pass digital signal.
Preferably, the serial port device is RS485 serial port devices.
Preferably, the wireless serial attachment device includes a handover module, the handover module and the microprocessor Electrical connection, the data-transmission mode for switching the 433M wireless communication modules.
Preferably, the wireless serial attachment device includes a power module, the power module and the microprocessor Electrical connection, electric energy is provided for the wireless serial attachment device.
Preferably, the wireless serial attachment device includes a sound module, the sound module and the microprocessor Electrical connection, for prompting data transmission to be completed.
The present invention also provides a kind of data transmission methods of wireless serial attachment device, are used for first serial and second serial Between data transmission, the data transmission method of the wireless serial attachment device includes the following steps:
Step 1:User is electrically connected by the serial port module of one first wireless serial attachment device and the first serial, By the handover module of the first wireless serial attachment device, data-transmission mode is set, select " transparent transmission " pattern or " fixed point transmitting " pattern,;
Step 2:The serial port module of the first wireless serial attachment device receives the upload string that the serial equipment transmits Message number;
Step 3:Described in being selected as user after " transparent transmission " pattern, micro- place of the first wireless serial attachment device Reason device receives the upload Serial Port Information of the first wireless serial attachment device serial port module, and the upload Serial Port Information is turned It is changed to the upload digital signal that the 433M wireless communication modules of the first wireless serial attachment device can receive, and by described The upload digital signal that the transmitting module transmitting of first wireless serial attachment device is described is connect to first wireless serial Device is located at multiple second wireless serial attachment devices of same channel;
Described in user's selection after " fixed point transmitting " pattern, the first wireless serial attachment device microprocessor receives institute The upload Serial Port Information of the first wireless serial attachment device serial port module is stated, and the Serial Port Information is converted into first nothing After the upload digital signal that line serial port connector 433M wireless communication modules can receive, connected by first wireless serial The transmitting module of device emits the upload digital signal to the second wireless serial attachment device of designated channel and address;
Step 4:The 433M wireless communication modules of the second wireless serial attachment device receive the upload digital letter Number, the serial port module of the second wireless serial attachment device and second serial electrical connection;
Step 5:The microprocessor of the second wireless serial attachment device turns the upload digital signal received Turn to down and pass rs 232 serial interface signal, the second serial by the serial port module of the second wireless serial attachment device obtain it is described under Rs 232 serial interface signal is passed, the data transmission between first serial and second serial is completed.
A kind of wireless serial attachment device of present invention offer and its data transmission method:It is connected and is filled by the wireless serial The microprocessor set mutually converts the wireless digital signal of rs 232 serial interface signal and 433M wireless communication modules, reaches and utilizes wireless network Network controls field device, reduces field wiring, saves equipment cost and reduces the interference of outer bound pair transmitted signal Purpose;In addition, user can select the pattern of the 433M wireless communication modules transmission data by the handover module, it can be same When pass data to multiple serial ports, and selectively broadcast data to specific serial ports, realize intelligentized remote control.
Description of the drawings
Fig. 1 is the modular structure schematic diagram for the wireless serial attachment device that first embodiment of the invention provides;
Fig. 2 is the data transmission flow figure for the wireless serial attachment device that first embodiment of the invention provides.
Specific implementation mode
The embodiments described below are only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without creative efforts Example is applied, shall fall within the protection scope of the present invention.
Refering to fig. 1, the present embodiment provides a kind of wireless serial attachment device, the wireless serial attachment device includes:One Serial port module 1, a microprocessor 2 and a 433M wireless communication modules 3, the serial port module 1 are electrically connected the microprocessor 2, The microprocessor 2 is electrically connected the 433M wireless communication modules 3.
The serial port module 1, for exporting the biography serial ports down for uploading rs 232 serial interface signal and receiving the transmission of microprocessor 2 Signal.
The microprocessor 2, the upload rs 232 serial interface signal code conversion for exporting the serial port module 1 is at upload digital The 433M wireless communication modules 3 are passed to after signal, and the biography number down that the 433M wireless communication modules 3 are received is believed It number is decoded into down after passing rs 232 serial interface signal and passes to the serial port module 1.
The 433M wireless communication modules 3, including a transmitting module (not shown) and a receiving module (not shown), it is described Transmitting module (not shown) for emitting the upload digital signal, the receiving module (not shown) for receive it is described under pass Digital signal.
In the present embodiment, the serial port device is RS485 serial port devices;The wireless serial attachment device includes a switching Module 4, the handover module 4 are electrically connected with the microprocessor 2, the data for switching the 433M wireless communication modules 3 Transmission mode;The wireless serial attachment device includes a power module 5, and the power module 5 is electrically connected with the microprocessor 2 It connects, electric energy is provided for the wireless serial attachment device;The wireless serial attachment device includes a sound module 6, the hair Sound module 6 is electrically connected with the microprocessor 2, for prompting data transmission to be completed.
Referring to Fig.2, the present embodiment also provides a kind of data transmission method of wireless serial attachment device, it to be used for first serial The data transmission method of data transmission between second serial, the wireless serial attachment device includes the following steps:
Step 1:User is electrically connected by the serial port module of the first wireless serial attachment device and the first serial, institute Data-transmission mode is arranged in the handover module 4 for stating the first wireless serial attachment device, selects " transparent transmission " pattern or " fixed point Transmitting " pattern,;
Step 2:The serial port module 1 of the first wireless serial attachment device receives the upload that the serial equipment transmits Rs 232 serial interface signal;
Step 3:Described in being selected as user after " transparent transmission " pattern, micro- place of the first wireless serial attachment device Reason device 2 receives the upload Serial Port Information of the first wireless serial attachment device serial port module 1, and by the upload Serial Port Information Be converted to the upload digital signal that the 433M wireless communication modules 3 of the first wireless serial attachment device can receive, and by The transmitting module (not shown) transmitting of the first wireless serial attachment device upload digital signal is to described first Wireless serial attachment device is located at multiple second wireless serial attachment devices of same channel;
Described in user's selection after " fixed point transmitting " pattern, the first wireless serial attachment device microprocessor 2 receives The upload Serial Port Information of the first wireless serial attachment device serial port module 1, and the Serial Port Information is converted to described After the upload digital signal that one wireless serial attachment device 433M wireless communication modules 3 can receive, by the described first wireless string The transmitting module (not shown) transmitting of mouthful attachment device upload digital signal to designated channel and address second wirelessly Serial port connector;
Step 4:The 433M wireless communication modules of the second wireless serial attachment device receive the upload digital letter Number, the serial port module 21 of the second wireless serial attachment device and second serial electrical connection;
Step 5:The upload digital signal that the microprocessor 21 of the second wireless serial attachment device will receive It is converted into down and passes rs 232 serial interface signal, the second serial obtains institute by the serial port module 11 of the second wireless serial attachment device It states down and passes rs 232 serial interface signal, complete the data transmission between first serial and second serial.
A kind of wireless serial attachment device of present invention offer and its data transmission method pass through the wireless serial and connect dress The microprocessor 2 set and 21 respectively mutually converts the wireless digital signal of rs 232 serial interface signal and 433M wireless communication modules 3 and 31, Reach and field device is controlled using wireless network, reduces field wiring, saves equipment cost and reduce outer bound pair institute Transmit the purpose of the interference of signal;In addition, user can select the 433M wireless communication modules 3 to pass by the handover module 4 The pattern of transmission of data can pass data to multiple serial ports, and selectively broadcast data to specific serial ports simultaneously, realize Intelligentized remote control.
It is above disclosed to be only a preferred embodiment of the present invention, the power of the present invention cannot be limited with this certainly Sharp range, therefore according to equivalent variations made by scope of the present invention patent, be still within the scope of the present invention.

Claims (6)

1. a kind of wireless serial attachment device, for carrying out data exchange, feature between serial equipment and data sink It is, the wireless serial attachment device includes:One serial port module, a microprocessor and a 433M wireless communication modules, it is described Serial port module is electrically connected the microprocessor, and the microprocessor is electrically connected the 433M wireless communication modules;
The serial port module, for exporting the biography rs 232 serial interface signal down for uploading rs 232 serial interface signal and receiving the microprocessor transmission;
The microprocessor, after upload rs 232 serial interface signal code conversion for exporting the serial port module is at upload digital signal The 433M wireless communication modules are passed to, and the biography digital signal down that the 433M wireless communication modules receive is decoded into The serial port module is passed to after lower biography rs 232 serial interface signal;
The 433M wireless communication modules, including a transmitting module and a receiving module, the transmitting module are described for emitting Upload digital signal, the receiving module for receive it is described under pass digital signal.
2. a kind of wireless serial attachment device as described in claim 1, which is characterized in that the serial port module is gone here and there for RS485 Mouth mold block.
3. a kind of wireless serial attachment device as described in claim 1, which is characterized in that it includes a handover module, described Handover module is electrically connected with the microprocessor, the data-transmission mode for switching the 433M wireless communication modules.
4. a kind of wireless serial attachment device as described in claim 1, which is characterized in that it includes a power module, described Power module is electrically connected with the microprocessor, and electric energy is provided for the wireless serial attachment device.
5. a kind of wireless serial attachment device as described in claim 1, which is characterized in that it includes a sound module, described Sound module is electrically connected with the microprocessor, for prompting data transmission to be completed.
6. a kind of data transmission method of wireless serial attachment device, for the data between a first serial and a second serial Transmission, which is characterized in that the data transmission method of the wireless serial attachment device includes the following steps:
Step 1:User is electrically connected by the serial port module of one first wireless serial attachment device with the first serial, is passed through Data-transmission mode is arranged in the handover module of the first wireless serial attachment device, selects " transparent transmission " pattern or " fixed Point transmitting " pattern,;
Step 2:The serial port module of the first wireless serial attachment device receives the upload serial ports letter that the serial equipment transmits Number;
Step 3:Described in being selected as user after " transparent transmission " pattern, the microprocessor of the first wireless serial attachment device The upload Serial Port Information of the first wireless serial attachment device serial port module is received, and the upload Serial Port Information is converted to The upload digital signal that the 433M wireless communication modules of the first wireless serial attachment device can receive, and by described first The transmitting module transmitting of the wireless serial attachment device upload digital signal to the first wireless serial attachment device Positioned at multiple second wireless serial attachment devices of same channel;
Described in user's selection after " fixed point transmitting " pattern, described in the microprocessor reception of the first wireless serial attachment device The upload Serial Port Information of first wireless serial attachment device serial port module, and the Serial Port Information is converted to described first wirelessly After the upload digital signal that serial port connector 433M wireless communication modules can receive, is connected and filled by first wireless serial Second wireless serial attachment device of the upload digital signal described in transmitting module transmitting set to designated channel and address;
Step 4:The serial port module of the second wireless serial attachment device and second serial electrical connection described second are wireless The 433M wireless communication modules of serial port connector receive the upload digital signal;
Step 5:The microprocessor of the second wireless serial attachment device converts down the upload digital signal received to Pass rs 232 serial interface signal, the second serial by the serial port module of the second wireless serial attachment device obtain it is described under pass serial ports Signal completes the data transmission of first serial and second serial.
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 true CN108365868A (en) 2018-08-03
CN108365868B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN108365868B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
CN103248434A (en) Communication method for electronic device
CN101159512A (en) Cascaded links with adaptive coding and modulation
WO2013174307A1 (en) Signal transmission method and apparatus
WO2015096182A1 (en) Intelligent home control system and control method
CN205068378U (en) Multi -functional wireless serial ports device
CN106656716A (en) Loop network topology structure with common clock
CN107426830A (en) Two-channel wireless public network communication module for power information acquisition system
CN106255235A (en) A kind of low-power consumption bluetooth turns WIFI equipment
CN101645752A (en) Automatic detection system and automatic detection method of communication protocol
CN108365868A (en) A kind of wireless serial attachment device and its data transmission method
CN208174682U (en) A kind of wireless serial attachment device
CN106326164A (en) Multifunctional wireless serial port communication equipment
CN103873560A (en) System for controlling household appliance through network
CN209419650U (en) A kind of router of internet of things based on LoRa communication
CN202197299U (en) Household Internet of Things gateway
CN205160805U (en) Radio communication gateway
CN209731582U (en) A kind of multi-protocol communication network access system
JP2014060715A (en) Mobile router
CN207603633U (en) Electric safety system Internet of Things data wireless transport module
CN208675555U (en) The intensive multi-channel communication system of Internet of Things
CN105471453B (en) A kind of wireless wisdom explanation receiver system with network transmission function
CN105530048B (en) A kind of communication code method being located in short distance infrared radio high-speed communication system
CN105159266A (en) Center control host of smart home control system
CN205320352U (en) Light operator based on power line communication
CN103634948A (en) Z-Wave and WiFi technology-based wireless gateway

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