CN113905102A - CAN changes WIFI module - Google Patents

CAN changes WIFI module Download PDF

Info

Publication number
CN113905102A
CN113905102A CN202111159957.7A CN202111159957A CN113905102A CN 113905102 A CN113905102 A CN 113905102A CN 202111159957 A CN202111159957 A CN 202111159957A CN 113905102 A CN113905102 A CN 113905102A
Authority
CN
China
Prior art keywords
module
wifi module
wifi
cpu
data
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
CN202111159957.7A
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.)
Tianjin Senpujie Electronics Co ltd
Original Assignee
Tianjin Senpujie Electronics 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 Tianjin Senpujie Electronics Co ltd filed Critical Tianjin Senpujie Electronics Co ltd
Priority to CN202111159957.7A priority Critical patent/CN113905102A/en
Publication of CN113905102A publication Critical patent/CN113905102A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a CAN-to-WIFI module, which comprises a CAN module, a CPU and a WIFI module; the external CAN bus is connected with the CAN module so as to be connected with the CAN-to-WIFI module; the CPU is respectively communicated with the CAN module and the WIFI module; the data sent to the CAN module by the external CAN bus is judged to be valid through the CPU, after the data is judged to be valid, the valid data is converted into format data compatible with the WIFI module through the CPU, the format data is sent to the WIFI module, and the data is sent to the Internet equipment through the WIFI module; and the state indicating module is also arranged, and the working state of the related module can be displayed through the related indicating lamp. The CAN-WIFI module disclosed by the invention is small in size and small in occupied space, is suitable for the automobile electronic industry, saves development time, reduces cost investment and improves economic benefits.

Description

CAN changes WIFI module
Technical Field
The invention relates to the technical field of communication and industrial control, in particular to a CAN-to-WIFI module.
Background
The existing WIFI conversion module has a serial port, a CAN and the like, the size of the WIFI conversion module from the CAN is large, the WIFI conversion module is not beneficial to integration on other hardware circuit boards, and the WIFI conversion module is expensive. The size is suitable for converting the serial port into the WIFI, but the serial port is less used in automobile electronic products, and the CAN is not stable.
The existing CAN-WIFI conversion method has the defects of high cost, large volume and no portability, and is not suitable for development of small controllers; the existing serial port to wifi is not suitable for the automotive electronics industry.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies in the prior art, it is desirable to provide a CAN to WIFI module.
The invention provides a CAN-to-WIFI module, which comprises a CAN module, a CPU and a WIFI module; the external CAN bus is connected with the CAN module so as to be connected with the CAN-to-WIFI module; the CPU is respectively communicated with the CAN module and the WIFI module;
wherein, the software logic that CAN changes WIFI module includes:
1) the external CAN bus transmits the data to the CAN module;
2) the CAN module sends data to the CPU, the CPU stores the data in a data buffer area, and then judges whether the data format is correct and effective;
3) the CPU converts the effective data of the external CAN bus received by the CAN module into a format compatible with the WIFI module through a special protocol and sends the format to the WIFI module;
4) and the CPU sends the converted effective data to the Internet equipment through the WIFI module.
Preferably, the model of the CAN chip in the CAN module is TJA 1041.
Preferably, the model of the WIFI chip in the WIFI module is ESP 8266.
Preferably, the CPU has a CAN communication function.
Preferably, the system also comprises a power module and a state indicating module; the power supply module is electrically connected with an external power supply; the state indicating module comprises a power state indicating lamp, a CAN module state indicating lamp and a WIFI module state indicating lamp; the power state indicator lamp is electrically connected with the power module, the CAN module state indicator lamp is electrically connected with the CAN module, and the WIFI module state indicator lamp is electrically connected with the WIFI module.
Compared with the prior art, the invention has the beneficial effects that:
the CAN-WIFI module has the advantages of small volume and small occupied installation space, and is more suitable for the automobile electronic industry; in addition, the time for developing the WIFIi is reduced, the overall development time is saved, the cost investment is reduced, and the economic benefit is improved; meanwhile, the stability of the whole module is improved.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of any embodiment of the invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a block diagram of a structure of a CAN-to-WIFI module according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, an embodiment of the present invention provides a CAN-to-WIFI module, which includes a CAN module, a CPU, and a WIFI module; the external CAN bus is connected with the CAN module so as to be connected with the CAN-to-WIFI module; the CPU is respectively communicated with the CAN module and the WIFI module; the CAN changes WIFI module occupation space of this design is little, and has increased CAN and has changeed the holistic stability of WIFI module.
Wherein, the software logic that CAN changes WIFI module includes:
1) the external CAN bus transmits the data to the CAN module;
2) the CAN module sends data to the CPU, the CPU stores the data in a data buffer area, and then judges whether the data format is correct and effective;
3) if the data is judged to be correct and effective, the CPU converts the effective data of the external CAN bus received by the CAN module into a format compatible with the WIFI module through a special protocol and sends the format to the WIFI module;
4) and the CPU sends the converted effective data to the Internet equipment through the WIFI module.
In a preferred embodiment, the model of the CAN chip in the CAN module is TJA 1041.
In a preferred embodiment, the model of the WIFI chip in the WIFI module is ESP 8266.
In a preferred embodiment, the CPU has a CAN communication function.
In a preferred embodiment, the system further comprises a power module and a status indication module; the power supply module is electrically connected with an external power supply; the state indicating module comprises a power state indicating lamp, a CAN module state indicating lamp and a WIFI module state indicating lamp; the power state indicator lamp is electrically connected with the power module, the CAN module state indicator lamp is electrically connected with the CAN module, and the WIFI module state indicator lamp is electrically connected with the WIFI module. The state indicating module is used for indicating the working state of the related module, and whether the related module works normally can be judged according to the lighting color and length of the related indicating lamp, so that the fault can be judged when the fault occurs.
In the description of the present specification, the terms "connect", "mount", "fix", and the like are to be understood in a broad sense, for example, "connect" may be a fixed connection, a detachable connection, or an integral connection; may be directly connected or indirectly connected through an intermediate. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, the description of the terms "one embodiment," "some embodiments," etc. means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (5)

1. A CAN-WIFI module is characterized by comprising a CAN module, a CPU and a WIFI module; the external CAN bus is connected with the CAN module so as to be connected with the CAN-to-WIFI module; the CPU is respectively communicated with the CAN module and the WIFI module;
wherein, the software logic that CAN changes WIFI module includes:
1) the external CAN bus transmits the data to the CAN module;
2) the CAN module sends data to the CPU, the CPU stores the data in a data buffer area, and then judges whether the data format is correct and effective;
3) the CPU converts the effective data of the external CAN bus received by the CAN module into a format compatible with the WIFI module through a special protocol and sends the format to the WIFI module;
4) and the CPU sends the converted effective data to the Internet equipment through the WIFI module.
2. The CAN-to-WIFI module of claim 1, wherein a CAN chip in the CAN module is of type TJA 1041.
3. The CAN-to-WIFI module of claim 2, wherein a WIFI chip in the WIFI module is model ESP 8266.
4. The CAN-to-WIFI module of claim 3, wherein the CPU has a CAN communication function.
5. The CAN-to-WIFI module of claim 4, further comprising a power module and a status indication module; the power supply module is electrically connected with an external power supply; the state indicating module comprises a power state indicating lamp, a CAN module state indicating lamp and a WIFI module state indicating lamp; the power state indicator lamp is electrically connected with the power module, the CAN module state indicator lamp is electrically connected with the CAN module, and the WIFI module state indicator lamp is electrically connected with the WIFI module.
CN202111159957.7A 2021-09-30 2021-09-30 CAN changes WIFI module Pending CN113905102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111159957.7A CN113905102A (en) 2021-09-30 2021-09-30 CAN changes WIFI module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111159957.7A CN113905102A (en) 2021-09-30 2021-09-30 CAN changes WIFI module

Publications (1)

Publication Number Publication Date
CN113905102A true CN113905102A (en) 2022-01-07

Family

ID=79189785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111159957.7A Pending CN113905102A (en) 2021-09-30 2021-09-30 CAN changes WIFI module

Country Status (1)

Country Link
CN (1) CN113905102A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944770A (en) * 2014-05-13 2014-07-23 上海电气集团股份有限公司 High-performance communication management device
CN104283775A (en) * 2014-09-22 2015-01-14 中山市卓梅尼控制技术有限公司 Interconversion device for WiFi network and CAN
CN110740082A (en) * 2019-11-25 2020-01-31 清华海峡研究院(厦门) automobile CAN bus debugging system based on wireless communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944770A (en) * 2014-05-13 2014-07-23 上海电气集团股份有限公司 High-performance communication management device
CN104283775A (en) * 2014-09-22 2015-01-14 中山市卓梅尼控制技术有限公司 Interconversion device for WiFi network and CAN
CN110740082A (en) * 2019-11-25 2020-01-31 清华海峡研究院(厦门) automobile CAN bus debugging system based on wireless communication

Similar Documents

Publication Publication Date Title
CN107766213A (en) A kind of method and system for realizing NVME hard disk lightings
CN203658834U (en) General self-setting instruction automobile diagnostic equipment
CN102621436A (en) Single vehicle debugging test stand and debugging method
CN104325947A (en) Vehicle control device and method
CN113905102A (en) CAN changes WIFI module
US9727509B2 (en) GPIB bus to ZigBee interconnection
CN100426740C (en) Intelligent platform management module
CN201659856U (en) Automobile tire detection device based on CAN bus
KR100246906B1 (en) Programmable controller network system
CN201300792Y (en) Multi-functional carriage bus line 4-kind equipment
CN101580002A (en) Electric control unit of automotive tire pressure monitoring and tyre burst automatic breaking system
CN212875840U (en) Vehicle-mounted router
CN213715912U (en) Circuit board and vehicle-mounted equipment
CN203377902U (en) On-board gateway used for industrial vehicle
CN212570388U (en) Multipurpose voice conversion module
CN210862884U (en) Multi-scale body control system
CN202652245U (en) CANopen communication board
CN210488542U (en) Control board before server based on I2C bus communication
Quanqi et al. Design of vehicle bus data acquisition and fault diagnosis system
CN207867302U (en) Car OBD interface intelligently parsing development board
CN210428129U (en) Management device for external equipment of department mark
CN210327617U (en) CAN Bus communication module
CN208722049U (en) A kind of electric car long-distance monitorng device
CN215452989U (en) Communication protocol converter for bridge girder erection machine safety monitoring system
KR20210066554A (en) Apparatus for controlling a vehicle and method thereof

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