CN104283775A - Interconversion device for WiFi network and CAN - Google Patents
Interconversion device for WiFi network and CAN Download PDFInfo
- Publication number
- CN104283775A CN104283775A CN201410486187.0A CN201410486187A CN104283775A CN 104283775 A CN104283775 A CN 104283775A CN 201410486187 A CN201410486187 A CN 201410486187A CN 104283775 A CN104283775 A CN 104283775A
- Authority
- CN
- China
- Prior art keywords
- module
- wifi
- network
- equipment
- communication
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides an interconversion device for a WiFi network and a CAN. The interconversion device comprises a WiFi module, a CAN module and a microcontroller. The WiFi module and Internet equipment are in both-way communication through a router, the CAN module is in communication with a CAN bus, the microcontroller is in communication with the WiFi module and the CAN module, the microcontroller converts valid data, received by the WiFi module, of the Internet equipment into a format compatible with network communication of the CAN to be sent to the CAN module, and valid data, received by the CAN module, of the CAN bus are converted into a format compatible with the Internet equipment to be sent to the WiFi module and sent to the Internet equipment through the WiFi module. According to the interconversion device for the WiFi network and the CAN, interconversion of the WiFi network and the CAN is achieved, field construction personnel can debug the equipment quite conveniently, can remotely monitor the equipment of the CAN through the Internet and do not need to reach the field of the equipment, and therefore the maintenance cost of the equipment is greatly lowered.
Description
Technical field
The present invention relates to communication and industrial control field, particularly relate to a kind of WiFi and CAN (CAN bus) conversion equipment mutually.
Background technology
Existing equipment is only limitted to the communication between communication between USB and CAN, SPI and CAN, the communication between USART and CAN, and for being blank by the intercommunication mutually between WiFi and CAN and transmission data.
Summary of the invention
It is wireless with computer and communication between mobile phone by WiFi that the technical problem that the present invention solves is CAN bus (CAN), so that industry spot immediately can carry out data monitoring by wireless to CAN data, reach the object of wireless thing connection.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses a kind of WiFi network and the mutual conversion equipment of CAN network, described printed circuit board (PCB) comprises WiFi module, CAN module and microcontroller, described WiFi module and internet device are by router both-way communication, described CAN module and CAN communication, described microcontroller respectively with described WiFi module and described CAN module communication, the form that the valid data of the internet device that described WiFi module receives by described microcontroller are converted to CAN network communication compatibility sends to described CAN module, the form that the valid data of the CAN also described CAN module received are converted to internet device compatibility sends to described WiFi module, and send to internet device by described WiFi module.
In a preferred embodiment of the present invention, described microcontroller comprises data buffer unit.
In a preferred embodiment of the present invention, also comprise power module, described power module and external power source are electrically connected.
In a preferred embodiment of the present invention, also comprise state indicator module, running LED, indicator of the power supply status, CAN status indicator lamp and WiFi status indicator lamp, described state indicator module is electrically connected with described running LED, described indicator of the power supply status, described CAN status indicator lamp and described WiFi status indicator lamp respectively, described indicator of the power supply status is also electrically connected with described power module, described CAN status indicator lamp is also electrically connected with described CAN module, and described WiFi status indicator lamp is also electrically connected with described WiFi module.
Described the WiFi network of the present invention and mutual conversion equipment of CAN network realizes WiFi network and CAN network turns mutually, as long as networking can real-time communication mutually between equipment, be very beneficial for site operation personnel commissioning device, can the equipment of remote monitoring CAN network by the Internet, do not need the scene of arrival equipment, thus greatly reduce the maintenance cost of equipment.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings, wherein:
Fig. 1 is the schematic diagram of WiFi network of the present invention and the preferred embodiment of CAN network mutual conversion equipment one.
Embodiment
Be clearly and completely described to the technical scheme in the embodiment of the present invention below, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, the embodiment of the invention discloses a kind of WiFi network and the mutual conversion equipment 1 of CAN network, described WiFi network and the mutual conversion equipment 1 of CAN network comprise WiFi module, CAN module and microcontroller, described WiFi module and internet device are by router both-way communication, described CAN module and CAN communication, described microcontroller respectively with described WiFi module and described CAN module communication, the form that the valid data of the internet device that described WiFi module receives by described microcontroller are converted to CAN network communication compatibility sends to described CAN module, the form that the valid data of the CAN also described CAN module received are converted to internet device compatibility sends to described WiFi module, and send to internet device by described WiFi module.
Preferably, described microcontroller comprises data buffer unit.
Further, described WiFi network and CAN network are mutually changed dress and are also comprised power module, and described power module and external power source are electrically connected.
The communication process of described WiFi network and the mutual conversion equipment 1 of CAN network mainly comprises two steps:
Step one, when equipment the Internet having data need to be sent to CAN network, WiFi module is then needed to be connected with internet device by router, then, the data of the Internet transfer data to microcontroller by WiFi module, data are saved in data buffer zone by microcontroller, then judge that whether data format is effectively correct, if data format is effectively correct, become to meet the data format of CAN network communication by special protocol conversion, then by CAN module, data are sent to corresponding CAN network equipment.Otherwise microcontroller returns the data of wait-receiving mode WiFi module.
Step 2, need the equipment that is sent on the Internet when the data in CAN, after CAN module receives the data in CAN, transfer data to microcontroller, data are saved in data buffer zone by microcontroller, then judge that whether data format is effectively correct, effectively become specific format data by special protocol conversion if data format is correct, be then transferred to WiFi module, WiFi module to receive after data by router real time propelling movement to interconnected on-line apparatus.Otherwise microcontroller returns the data of wait-receiving mode CAN module.
So far, the function that the data that described WiFi network and the mutual conversion equipment 1 of CAN network achieve WiFi network and CAN network turn mutually.
In addition, described WiFi network and the mutual conversion equipment 1 of CAN network also comprise state indicator module, running LED 2, indicator of the power supply status 3, CAN status indicator lamp 4 and WiFi status indicator lamp 5, described state indicator module respectively with described running LED 2, described indicator of the power supply status 3, described CAN status indicator lamp 4 and described WiFi status indicator lamp 5 are electrically connected, described indicator of the power supply status 3 is also electrically connected with described power module, described CAN status indicator lamp is also electrically connected with described CAN module, described WiFi status indicator lamp 5 is also electrically connected with described WiFi module.
Described WiFi network and the mutual conversion equipment 1 of CAN network can come the running status of prompt facility and the state of exchanges data by state indicator module, grasp the state of in use device easily, described in specific as follows:
1, running LED 2: the operating state representing described WiFi network and the mutual conversion equipment 1 of CAN network, red flicker indication device normally runs, if do not work or grow bright, indication device does not normally run.
2, indicator of the power supply status 3: the power supply state representing described WiFi network and the mutual conversion equipment 1 of CAN network, blue long bright indication device power supply is normal, if do not worked, the power supply of indication device is abnormal.
3, CAN status indicator lamp 4: blue flicker represents that CAN network sends data, green flicker represents that CAN network receives data, does not work without lamp during exchanges data, and red length is bright then represents CAN network data mistake.
4, WiFi status indicator lamp: blue flicker represents that WiFi network sends data, green flicker represents that WiFi network receives data, does not work without lamp during exchanges data, and red length is bright then represents WiFi network error in data.
In addition, described WiFi network and the mutual conversion equipment of CAN network also comprise the Wiring port 6 that is arranged on its top and arrange button 7, and wherein said Wiring port can be the interface mated with RJ45 joint.
Described the WiFi network of the present invention and mutual conversion equipment of CAN network realizes WiFi network and CAN network turns mutually, as long as networking can real-time communication mutually between equipment, be very beneficial for site operation personnel commissioning device, can the equipment of remote monitoring CAN network by the Internet, do not need the scene of arrival equipment, thus greatly reduce the maintenance cost of equipment.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize description of the present invention to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.
Claims (4)
1. a WiFi network and the mutual conversion equipment of CAN network, it is characterized in that, comprise WiFi module, CAN module and microcontroller, described WiFi module and internet device are by router both-way communication, described CAN module and CAN communication, described microcontroller respectively with described WiFi module and described CAN module communication, the form that the valid data of the internet device that described WiFi module receives by described microcontroller are converted to CAN network communication compatibility sends to described CAN module, the form that the valid data of the CAN also described CAN module received are converted to internet device compatibility sends to described WiFi module, and send to internet device by described WiFi module.
2. WiFi network according to claim 1 and the mutual conversion equipment of CAN network, it is characterized in that, described microcontroller comprises data buffer unit.
3. WiFi network according to claim 1 and the mutual conversion equipment of CAN network, is characterized in that, also comprise power module, and described power module and external power source are electrically connected.
4. WiFi network according to claim 3 and the mutual conversion equipment of CAN network, it is characterized in that, also comprise state indicator module, running LED, indicator of the power supply status, CAN status indicator lamp and WiFi status indicator lamp, described state indicator module respectively with described running LED, described indicator of the power supply status, described CAN status indicator lamp and described WiFi status indicator lamp are electrically connected, described indicator of the power supply status is also electrically connected with described power module, described CAN status indicator lamp is also electrically connected with described CAN module, described WiFi status indicator lamp is also electrically connected with described WiFi module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410486187.0A CN104283775A (en) | 2014-09-22 | 2014-09-22 | Interconversion device for WiFi network and CAN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410486187.0A CN104283775A (en) | 2014-09-22 | 2014-09-22 | Interconversion device for WiFi network and CAN |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104283775A true CN104283775A (en) | 2015-01-14 |
Family
ID=52258274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410486187.0A Pending CN104283775A (en) | 2014-09-22 | 2014-09-22 | Interconversion device for WiFi network and CAN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104283775A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105429285A (en) * | 2015-12-14 | 2016-03-23 | 哈尔滨工业大学 | CAN to WiFi module with two power supply modes |
CN113905102A (en) * | 2021-09-30 | 2022-01-07 | 天津森普捷电子有限公司 | CAN changes WIFI module |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638422A (en) * | 2012-04-20 | 2012-08-15 | 上海燃料电池汽车动力系统有限公司 | Vehicle gateway for monitoring vehicle state and communication method thereof |
US8554688B2 (en) * | 2005-11-14 | 2013-10-08 | Dresser, Inc. | Fuel dispenser management |
CN103489230A (en) * | 2013-09-17 | 2014-01-01 | 启明信息技术股份有限公司 | New energy automobile CAN bus data wireless transmission vehicle data recorder device |
-
2014
- 2014-09-22 CN CN201410486187.0A patent/CN104283775A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8554688B2 (en) * | 2005-11-14 | 2013-10-08 | Dresser, Inc. | Fuel dispenser management |
CN102638422A (en) * | 2012-04-20 | 2012-08-15 | 上海燃料电池汽车动力系统有限公司 | Vehicle gateway for monitoring vehicle state and communication method thereof |
CN103489230A (en) * | 2013-09-17 | 2014-01-01 | 启明信息技术股份有限公司 | New energy automobile CAN bus data wireless transmission vehicle data recorder device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105429285A (en) * | 2015-12-14 | 2016-03-23 | 哈尔滨工业大学 | CAN to WiFi module with two power supply modes |
CN105429285B (en) * | 2015-12-14 | 2018-10-02 | 哈尔滨工业大学 | There are two types of the CAN of power supply mode to turn WiFi module for a kind of tool |
CN113905102A (en) * | 2021-09-30 | 2022-01-07 | 天津森普捷电子有限公司 | CAN changes WIFI module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110045709A (en) | One kind being based on EtherCAT technical grade remote I/O module | |
CN204993962U (en) | Light operator based on artnet transfer protocols | |
CN104283775A (en) | Interconversion device for WiFi network and CAN | |
CN204168541U (en) | Light fixture is manipulated with multiple wireless technology and control protocol visual interface | |
CN204103942U (en) | WiFi network and the mutual conversion equipment of CAN network | |
CN203705924U (en) | Monitoring system for port equipment | |
CN204639396U (en) | Based on the submerged-arc welding system that wireless carrier controls | |
CN104483893B (en) | Lathe long-distance monitorng device and system | |
CN204065818U (en) | PLC supervisory system is driven on a kind of oil drilling platform top based on Wireless Data Transmission | |
CN206061166U (en) | A kind of dialing wireless bridge | |
CN206023818U (en) | Household Internet of Things communicates connection system | |
CN203882438U (en) | System for controlling multiple slave machines by jointing wall unit through remote control master machine | |
US11199825B2 (en) | Standard track smart home system | |
CN204178536U (en) | Petroleum drilling sensor wireless communication control system | |
CN204216902U (en) | A kind of bidirectional monitoring device of RS232 serial ports test macro | |
CN205141334U (en) | Polymorphic type interface converter | |
CN201448101U (en) | Drilling control device for drilling ship | |
CN205017349U (en) | Take PLC router that adapter can supply power and network camera device who utilizes this router, network camera device group | |
CN219802498U (en) | Wireless explosion-proof terminal transmission device for petroleum logging | |
CN204761593U (en) | Wireless image sensor of low -power consumption | |
CN203949323U (en) | A kind of air conditioner monitor | |
CN215581826U (en) | Intelligent lighting controller communication gateway | |
CN204333497U (en) | A kind of mixed-media network modules mixed-media with LED | |
CN204650883U (en) | Model is followed spot exhibiting device | |
CN202257142U (en) | ASI tower lamp module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 528400 Guangdong city in Zhongshan Province, Eastern Croucher Road No. 19 Applicant after: Guangdong Chameni technology Limited by Share Ltd Address before: Second the 528462 industrial zones in Guangdong province Zhongshan City Eastern Croucher Bridge Applicant before: G-Technologies Co., Ltd. |
|
COR | Change of bibliographic data | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150114 |
|
WD01 | Invention patent application deemed withdrawn after publication |