CN-121985342-A - Laser control method based on wireless communication
Abstract
The application discloses a laser control method based on wireless communication. The laser control method based on wireless communication provides a brand new wireless communication mode, so that a platform such as a mobile phone or a tablet computer can control a laser. So that the laser has more options for accessing the intelligent factory system. The laser control method based on wireless communication comprises the steps of carrying out network distribution on a first controller, uploading network distribution data of the first controller through a laser client, judging whether the first controller is in wireless connection with a laser or not, starting a wireless access point in response to the wireless connection between the first controller and the laser, and transmitting the data of the laser to a mobile phone through the first controller in response to the successful Bluetooth pairing corresponding to the mobile phone and the laser.
Inventors
- Request for anonymity
Assignees
- 浙江众能半导体科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20231221
Claims (9)
- 1. A laser control method based on wireless communication, comprising: The method comprises the steps of carrying out network distribution on a first controller, wherein the first controller comprises at least one serial peripheral interface; uploading distribution network data of the first controller through a laser client; Judging whether the first controller is in wireless connection with a laser or not; opening a wireless access point in response to the first controller wirelessly connecting with the laser, and And transmitting the data of the laser to the mobile phone through the first controller in response to successful Bluetooth pairing of the mobile phone and the laser.
- 2. The wireless communication-based laser control method of claim 1, wherein the first controller is an ESP32 chip, or STM32.
- 3. The wireless communication-based laser control method according to claim 2, wherein bluetooth is used to perform network configuration on the first controller during network configuration on the first controller.
- 4. The method for controlling lasers based on wireless communication according to claim 2, wherein in the process of distributing the first controllers, the first controller corresponding to each laser is distributed.
- 5. The wireless communication-based laser control method of claim 2, wherein, in response to the first controller wirelessly connecting with the laser, turning on a wireless access point, comprising: the first controller controls the opening of a wireless access point in response to the first controller wirelessly connecting with the laser.
- 6. The wireless communication-based laser control method as claimed in claim 2, wherein the laser is connected to a second controller, the second controller is connected to the first controller, and the data of the laser is transmitted to a mobile phone through the first controller, comprising: reading data of the laser by the second controller; transmitting the data of the laser read by the second controller to the first controller; decoding the laser data transmitted by the second controller via the first controller, and And transmitting the decoded data of the laser to the mobile phone through the first controller.
- 7. The wireless communication-based laser control method of claim 6, wherein the second controller is a W5500 chip.
- 8. The wireless communication-based laser control method according to claim 1, wherein the wireless communication-based laser control method further comprises the step of modifying the wifi name and/or the wifi password corresponding to the first controller through a mobile phone.
- 9. The wireless communication-based laser control method according to claim 1, wherein the wireless communication-based laser control method further comprises: And debugging the laser through the mobile phone based on the data of the laser transmitted to the mobile phone.
Description
Laser control method based on wireless communication Technical Field The application relates to the field of laser wireless communication, in particular to a laser control method based on wireless communication. Background The laser can emit specific laser, and can be widely applied to application scenes such as three-dimensional ranging, laser cutting, laser welding, laser marking and the like. For example, the laser may be applied in a laser scribing technique of a coating apparatus. In existing devices configured with lasers, the laser is typically in communication with the device by means of wired communication. For example, when the laser is debugged, a computer is required to be carried, and the computer is connected to the device provided with the laser through a network cable, so that the data of the laser are obtained and the laser is debugged. However, when the operator does not carry a computer, it is difficult to communicate with the laser, acquire data of the laser, and debug the laser. It will be appreciated that carrying a computer is extremely inconvenient for the operator. Thus, there is a need to develop a convenient way of adapting to communicate with lasers. Disclosure of Invention An advantage of the present application is to provide a laser control method based on wireless communication, wherein the laser control method based on wireless communication provides a brand new wireless communication mode, so that a platform such as a mobile phone or a tablet computer can control a laser, and the problem that a computer basically has to be carried in a traditional laser debugging scheme is solved. Therefore, the laser has more choices to be connected into the intelligent factory system, thereby providing convenience for laser debugging and having practical application value. Another advantage of the present application is to provide a laser control method based on wireless communication, which is suitable for communication between a mobile phone and a device configured with a laser. That is, an operator can communicate with the device equipped with the laser via the mobile phone, and thus with the laser. Furthermore, an operator can debug the laser through the mobile phone, and convenience is provided for laser debugging. According to an aspect of the present application, there is provided a laser control method based on wireless communication, the laser control method based on wireless communication including: The method comprises the steps of carrying out network distribution on a first controller, wherein the first controller comprises at least one serial peripheral interface; uploading distribution network data of the first controller through a laser client; Judging whether the first controller is in wireless connection with a laser or not; opening a wireless access point in response to the first controller wirelessly connecting with the laser, and And transmitting the data of the laser to the mobile phone through the first controller in response to successful Bluetooth pairing of the mobile phone and the laser. In an embodiment of the laser control method based on wireless communication according to the present application, the first controller is an ESP32 chip, or STM32. In one embodiment of the wireless communication-based laser control method according to the present application, bluetooth is used to perform network distribution on the first controller during network distribution on the first controller. In an embodiment of the method for controlling lasers based on wireless communication according to the present application, in a process of distributing the first controllers, the first controller corresponding to each laser is distributed. In one embodiment of the wireless communication-based laser control method according to the present application, the wireless access point is turned on in response to the first controller wirelessly connecting with the laser, including the first controller controlling the wireless access point to be turned on in response to the first controller wirelessly connecting with the laser. In one embodiment of the wireless communication-based laser control method, the laser is connected to a second controller, the second controller is connected to the first controller, the data of the laser are transmitted to a mobile phone through the first controller, the method comprises the steps of reading the data of the laser through the second controller, transmitting the data of the laser read by the second controller to the first controller, decoding the data of the laser transmitted by the second controller through the first controller, and transmitting the data of the laser after decoding to the mobile phone through the first controller. In an embodiment of the laser control method based on wireless communication according to the present application, the second controller is a W5500 chip. In an embodiment of the wireless communication-based laser control metho