CN105573240A - Remote serial port control module based on WiFi - Google Patents

Remote serial port control module based on WiFi Download PDF

Info

Publication number
CN105573240A
CN105573240A CN201610029348.2A CN201610029348A CN105573240A CN 105573240 A CN105573240 A CN 105573240A CN 201610029348 A CN201610029348 A CN 201610029348A CN 105573240 A CN105573240 A CN 105573240A
Authority
CN
China
Prior art keywords
wifi
module
serial port
control module
port control
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.)
Pending
Application number
CN201610029348.2A
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.)
Foshan Polytechnic
Original Assignee
Foshan Polytechnic
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 Foshan Polytechnic filed Critical Foshan Polytechnic
Priority to CN201610029348.2A priority Critical patent/CN105573240A/en
Publication of CN105573240A publication Critical patent/CN105573240A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25268PLD programmable logic device

Abstract

The invention discloses a remote serial port control module based on WiFi. The remote serial port control module based on WiFi is characterized in that the remote serial port control module based on WiFi comprises a WiFi module, a voltage stabilization module and a TTL serial port to RS485 module; the WiFi module is formed by packaging of an ESP8266WIFI chip; the voltage stabilization module supplies power for the WiFi module and the TTL serial port to RS485 module; a TXD port of the TTL serial port to RS485 module is connected with an RXD port of the WiFi module; and an RXD port of the TTL serial port to RS485 module is connected with a TXD port of the WiFi module. The remote serial port control module based on WiFi can be widely applied to wireless communication connection between an upper computer and a lower computer for industrial equipment, and between an intelligent terminal and household appliances. If the remote serial port control module based on WiFi is applied to home, the remote serial port control module based on WiFi can directly control the household appliances or monitor whether the household appliances are turned on through a general IO of the WiFi chip. If the remote serial port control module based on WiFi is applied to the industry, the remote serial port control module based on WiFi can be directly connected with a PLC (Programmable Logic Controller), a touch screen or other control modules of the industrial equipment through the TTL serial port to RS485 module. Compared with a current wired and wireless connection technology, the remote serial port control module based on WiFi has the advantages of being high in universality, being high in connection efficiency, being convenient for maintenance and debugging, and being low in reference cost.

Description

Based on the remote serial port control module of WiFi
Technical field
The present invention relates to network access technique field, particularly relate to a kind of remote serial port control module based on WiFi.
Background technology
Programmable logic controller (PLC) (PLC, ProgrammableLogicController) take microprocessor as core, a kind of universal industrial automaton that integrated computer technology, automatic control technology and development communication technologies are got up.But current industrial control system is all the cable network based on PLC, the trouble that not only connects up, consumptive material be many, cost cost is high, and debugging, safeguard very inconvenience, once equipment break down can not tracking in time process.
Along with the development of society, WiFi technology obtains to be applied more and more widely.At present, most cities family, public place, city have WiFi to exist, and a kind of now already present WiFi environment that can utilize of development and Design, to realize remote monitoring or the instruction of various home appliance, also has very important and far-reaching realistic meaning.
Summary of the invention
The object of the present invention is to provide and a kind ofly wired connection between serial ports with serial ports can be converted to that wireless WiFi is connected, stable signal transmission, application cost is low, the remote serial port control module that can be widely used in the environment such as factory/family.
For reaching above object, the present invention adopts following technical scheme.
Based on the remote serial port control module of WiFi, it is characterized in that, comprise: WiFi module, Voltage stabilizing module and TTL serial ports turn RS485 module, described WiFi module is formed by ESP8266WIFI chip package, described Voltage stabilizing module is that WiFi module and TTL serial ports turn RS485 module for power supply, the TXD mouth that described TTL serial ports turns RS485 module connects the RXD mouth of WiFi module, and the RXD mouth that described TTL serial ports turns RS485 module connects the TXD mouth of WiFi module.
As with improvement, the antenna of described WiFi module is PCB antenna, IPEX interface antenna or stamp hole interface antenna.
As with improvement, described WiFi module is circumscribed with flash memory, ESP8266WIFI chip carry and as equipment in unique processor time directly start from external flash memory.
As with improvement, described WiFi module is embedded with operation control program, and described operation control program is formed by LabVIEW language compilation.
As with improvement, during application, host computer and slave computer are installed the first remote serial port control module and the second remote serial port control module respectively, and between host computer and slave computer, signal transmission link is: host computer---the TTL serial ports of the first remote serial port control module turns RS485 module---the WiFi module of the first remote serial port control module---the WiFi module of the second remote serial port control module---the TTL serial ports of the second remote serial port control module turns RS485 module---slave computer.
As with improvement, described host computer, slave computer are all the commercial unit of band PLC control device.
As with improvement, described host computer is intelligent terminal, and described slave computer is the home appliance of tape controller.
As with improvement, described intelligent terminal comprises: notebook computer, smart mobile phone, panel computer or desktop computer.
Compared with prior art, the present invention has following beneficial effect: turn together with RS485 module integration by WiFi module and TTL serial ports, and select ESP8266WiFi chip as the core of WiFi module, the host computer of commercial unit can be widely used in and be connected with the radio communication between slave computer, between intelligent terminal with home appliance.If for family, directly can control home appliance by the general purpose I/O of WiFi chip, or whether monitoring home appliance is opened.If for industry, directly can turn the PLC of RS485 module and commercial unit, touch-screen or other control modules by TTL serial ports and be connected.Compared with, wireless connect technology wired with existing, the present invention has that versatility is good, joint efficiency is high, safeguard that debugging is convenient, quote the features such as cost is low.
Accompanying drawing explanation
Figure 1 shows that the remote serial port control module structural representation based on WiFi provided by the invention.
Description of reference numerals:
1:WiFi module, 2: Voltage stabilizing module, 3:TTL serial ports turn RS485 module, 4: circuit board.
Embodiment
Understand essence of the present invention better for convenience of those skilled in the art, below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.
As shown in Figure 1, a kind of remote serial port control module based on WiFi, comprise: be arranged on the WiFi module 1 on same circuit board 4, Voltage stabilizing module 2 and TTL serial ports and turn RS485 module 3, described WiFi module 1 is formed by ESP8266WIFI chip package, described Voltage stabilizing module 2 is powered for WiFi module 1 and TTL serial ports turn RS485 module 3, the TXD mouth that described TTL serial ports turns RS485 module 3 connects the RXD mouth of WiFi module 1, and the RXD mouth that described TTL serial ports turns RS485 module 3 connects the TXD mouth of WiFi module 1.
Wherein, WiFi module 1 is provided with antenna, described antenna is PCB antenna, IPEX interface antenna or the stamp hole interface antenna that ESP8266WIFI chip is formed in encapsulation process.For ease of application, be also circumscribed with flash memory in WiFi module 1, when WiFi module 1 ESP8266WIFI chip carry and as equipment in unique processor time directly start from external flash memory.
Be solidified with operation control program in described WiFi module 1, this program adopts the programming of LabVIEW (LaboratoryVirtualInstrumentEngineeringWorkbench) language to form.In other embodiments, the program in WiFi module by user according to oneself need carry out programming, be not limited to the present embodiment.
During the above-mentioned remote serial port control module of practical application, host computer and slave computer are installed a remote serial port control module respectively, for convenience of distinguishing, to be arranged on host computer being the first remote serial port control module below, to be arranged on slave computer is the second remote serial port control module.Specific works principle is: the control command that supervisory controller sends is transferred to corresponding WiFi module after turning RS485 module converts by the TTL serial ports of the first remote serial port control module, after corresponding WiFi resume module again in the mode of wireless signal to surrounding environment radiation; The second remote serial port control module on slave computer by the wireless signal in its WiFi module reception environment and through identification conversion after turn RS485 module transfer to slave computer controller by corresponding TTL serial ports, reach the object of Long-distance Control and long-range instruction.
In the present embodiment, described host computer, slave computer are all the commercial unit of band PLC control device.In other embodiments, described host computer is the intelligent terminal such as computer, mobile phone, described slave computer is the home appliance of tape controller, and remote serial port control module is connected with the I/O interface that can be carried by WiFi module between home appliance, is not limited to the present embodiment.
A kind of remote serial port control module based on WiFi that the present embodiment provides, adopt ESP8266WiFi chip as the core component of WiFi module 1, there is following beneficial effect: 1) plurality of wireless networks cipher mode can be supported, comprise: WEP64/WEP128/TKIP/CCMP (AES) WEP/WPA-PSK/WPA2-PSK etc., effectively fully ensure the safe transmission of user data.2) can network fast, the mode mainly through allocated channel number realizes quick networking.In common Wireless Networking process, first automatically can carry out single pass to current all channels, search for (or Adhoc) network of the object AP establishment preparing to connect.This module provides the parameter arranging working channel, under the condition of known object network place channel, can the working channel of direct designated module, thus reach the object accelerating networking speeds.3) function of binding object network B SSID address is supported in networking process.According to 802.11 agreement regulations, different wireless networks can have identical network name (namely SSID/ESSID), but the BSSID address that necessary correspondence one is unique.Illegal invasion person by setting up the method with the wireless network of identical SSID/ESSID, can make the STA in network be connected on illegal AP, thus causing divulging a secret of network.By the mode of BSSID address binding, STA can be prevented to be linked into illegal network, thus improve the security of wireless network.4) the radio roaming function based on 802.11 agreements is supported.Radio roaming refers to the coverage in order to expand a wireless network, the wireless network that one has identical SSID/ESSID is jointly created by multiple AP, each AP is used for covering different regions, the STA being linked into network can be the strongest according to the selection signal of present position AP access, and automatically to switch between different AP along with the movement of STA.
Above embodiment is only that better embodiment of the present invention illustrates, can not limit with this to protection scope of the present invention.Apparently, under the enlightenment of essence of the present invention, the art those of ordinary skill also can carry out many improvement and modification, it should be noted that these improve and modify and all drops within claims of the present invention.

Claims (8)

1. based on the remote serial port control module of WiFi, it is characterized in that, comprise: WiFi module, Voltage stabilizing module and TTL serial ports turn RS485 module, described WiFi module is formed by ESP8266WIFI chip package, described Voltage stabilizing module is that WiFi module and TTL serial ports turn RS485 module for power supply, the TXD mouth that described TTL serial ports turns RS485 module connects the RXD mouth of WiFi module, and the RXD mouth that described TTL serial ports turns RS485 module connects the TXD mouth of WiFi module.
2. the remote serial port control module based on WiFi according to claim 1, is characterized in that, the antenna of described WiFi module is PCB antenna, IPEX interface antenna or stamp hole interface antenna.
3. the remote serial port control module based on WiFi according to claim 1, is characterized in that, described WiFi module is circumscribed with flash memory, ESP8266WIFI chip carry and as equipment in unique processor time directly start from external flash memory.
4. the remote serial port control module based on WiFi according to claim 1, is characterized in that, described WiFi module is embedded with operation control program, and described operation control program is formed by LabVIEW language compilation.
5. the remote serial port control module based on WiFi according to claim 1, it is characterized in that, during application, host computer and slave computer are installed the first remote serial port control module and the second remote serial port control module respectively, and between host computer and slave computer, signal transmission link is: host computer---the TTL serial ports of the first remote serial port control module turns RS485 module---the WiFi module of the first remote serial port control module---the WiFi module of the second remote serial port control module---the TTL serial ports of the second remote serial port control module turns RS485 module---slave computer.
6. the remote serial port control module based on WiFi according to claim 5, is characterized in that, described host computer, slave computer are all the commercial unit of band PLC control device.
7. the remote serial port control module based on WiFi according to claim 5, is characterized in that, described host computer is intelligent terminal, and described slave computer is the home appliance of tape controller.
8. the remote serial port control module based on WiFi according to claim 7, it is characterized in that, described intelligent terminal comprises: notebook computer, smart mobile phone, panel computer or desktop computer.
CN201610029348.2A 2016-01-14 2016-01-14 Remote serial port control module based on WiFi Pending CN105573240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610029348.2A CN105573240A (en) 2016-01-14 2016-01-14 Remote serial port control module based on WiFi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610029348.2A CN105573240A (en) 2016-01-14 2016-01-14 Remote serial port control module based on WiFi

Publications (1)

Publication Number Publication Date
CN105573240A true CN105573240A (en) 2016-05-11

Family

ID=55883498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610029348.2A Pending CN105573240A (en) 2016-01-14 2016-01-14 Remote serial port control module based on WiFi

Country Status (1)

Country Link
CN (1) CN105573240A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203386343U (en) * 2013-06-21 2014-01-08 广州科创节能科技服务有限公司 Learning infrared remote controller based on WIFI (wireless fidelity)
CN204155272U (en) * 2014-09-30 2015-02-11 宁波三星电气股份有限公司 Wireless external communicator
DK201370590A1 (en) * 2013-10-16 2015-04-27 Sl Holding Kolding Aps System and method for monitoring an area
CN204316537U (en) * 2014-12-31 2015-05-06 漳州科能电器有限公司 A kind of WIFI change-over circuit module
CN204346449U (en) * 2014-11-20 2015-05-20 天津市中环电子计算机有限公司 Navigator is independently detected in a kind of omnidirectional ranging indoor
CN104735821A (en) * 2015-03-05 2015-06-24 广东翼卡车联网服务有限公司 Wireless network card with USB-to-serial function and implement method thereof
CN204480429U (en) * 2015-03-25 2015-07-15 安徽理工大学 A kind of SCM Based university dormitory smoke alarm system
CN104794847A (en) * 2015-04-07 2015-07-22 上海大学 Cotton picker fire monitoring and pre-warning system based on near-infrared light and wireless communication principle
CN204808005U (en) * 2015-08-19 2015-11-25 成都乐创自动化技术股份有限公司 Motion control card based on wifi wireless communication
CN105206028A (en) * 2014-06-23 2015-12-30 德赛电子(惠州)有限公司 Information acquisition device and system based on internet of things
CN205281223U (en) * 2016-01-14 2016-06-01 佛山职业技术学院 Long -range serial ports control module based on wiFi

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203386343U (en) * 2013-06-21 2014-01-08 广州科创节能科技服务有限公司 Learning infrared remote controller based on WIFI (wireless fidelity)
DK201370590A1 (en) * 2013-10-16 2015-04-27 Sl Holding Kolding Aps System and method for monitoring an area
CN105206028A (en) * 2014-06-23 2015-12-30 德赛电子(惠州)有限公司 Information acquisition device and system based on internet of things
CN204155272U (en) * 2014-09-30 2015-02-11 宁波三星电气股份有限公司 Wireless external communicator
CN204346449U (en) * 2014-11-20 2015-05-20 天津市中环电子计算机有限公司 Navigator is independently detected in a kind of omnidirectional ranging indoor
CN204316537U (en) * 2014-12-31 2015-05-06 漳州科能电器有限公司 A kind of WIFI change-over circuit module
CN104735821A (en) * 2015-03-05 2015-06-24 广东翼卡车联网服务有限公司 Wireless network card with USB-to-serial function and implement method thereof
CN204480429U (en) * 2015-03-25 2015-07-15 安徽理工大学 A kind of SCM Based university dormitory smoke alarm system
CN104794847A (en) * 2015-04-07 2015-07-22 上海大学 Cotton picker fire monitoring and pre-warning system based on near-infrared light and wireless communication principle
CN204808005U (en) * 2015-08-19 2015-11-25 成都乐创自动化技术股份有限公司 Motion control card based on wifi wireless communication
CN205281223U (en) * 2016-01-14 2016-06-01 佛山职业技术学院 Long -range serial ports control module based on wiFi

Similar Documents

Publication Publication Date Title
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN203324759U (en) Electrical equipment control system based on wireless handheld terminal
CN104977852A (en) Automatic management system of intelligent household information and control method thereof
CN104219734A (en) Internet access method and device for internet device
CN103428547A (en) TV box with WIFI and WPS hotspot functions and operating method thereof
CN107872250A (en) A kind of general communication module of power system public affairs private network and its communication means
CN108012305A (en) Smart machine matches somebody with somebody network method, system and smart machine
CN106603354A (en) Home gateway capable of automatically switching network access mode and network access mode switching method
CN103713605A (en) Intelligent control platform and method
CN204438539U (en) A kind of dual-mode cloud water-heater system based on Wi-Fi communication mode
CN107196707A (en) Distributed light-carried wireless WiFi ZigBee-networks
CN204376798U (en) A kind of electric machine control system based on bluetooth and WiFi technology
CN203931156U (en) Headend and remote transmitting system
CN205281223U (en) Long -range serial ports control module based on wiFi
CN204406090U (en) A kind of intelligent switch
CN207766560U (en) Smart machine and smart machine distribution network systems
CN101959328A (en) Method and system for implementing intelligent control of home appliances based on femtocell base station
CN104238415A (en) Wi-Fi plug with electric leakage and over-current protection functions and intelligent household appliance control system applying same
CN105264943A (en) Maintenance management method and device, and device maintenance system
CN104238414A (en) Wi-Fi plug with electric leakage protection function and intelligent household appliance control system applying same
CN105099836A (en) BLE intelligent node control method and system
CN204887029U (en) Novel configuration system of router is connected to WIFI chip
CN105573240A (en) Remote serial port control module based on WiFi
CN203747862U (en) Wi-Fi communication mode-based bimodal cloud air conditioning system
CN203445978U (en) Television box supporting WIFI protected-setup (WPS) hotspot function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160511

RJ01 Rejection of invention patent application after publication