A Bluetooth digital caliper based on Bluetooth HID protocol

By using Bluetooth HID protocol in Bluetooth digital graphics calipers, the data of the measurement module is converted into HID codes and transmitted to the terminal device, the problem of existing Bluetooth digital graphics calipers requiring the use of supporting APPs to receive data is solved, and wireless data transmission and Information management is suitable for use in oil-polluted environments.

CN113965914BActive Publication Date: 2025-02-25GUILIN MEASURING & CUTTING TOOLS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111186372.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-12
Publication Date
2025-02-25
Estimated Expiration
2041-10-12

AI Technical Summary

Technical Problem

The existing Bluetooth digital graphics calipers need to use a supporting APP to accept data transmitted by Bluetooth modules. There are distance and environment restrictions for data transmission, and information management of data cannot be achieved.

Method used

Using Bluetooth digital graphics calipers based on Bluetooth HID protocol, the serial data of the measurement module is converted into HID code through the power module, measurement module, LCD display module, Bluetooth module, FIFO queue and HID protocol, and wirelessly connect to the terminal through the Bluetooth module. Device, realizes direct transmission and display of data.

Benefits of technology

Solve the problem that Bluetooth digital graphics calipers need to use a supporting APP to receive data, and realize wireless transmission and information management of data without the need for APP, which is convenient for use in oil-filled environments, and improves the flexibility and reliability of data transmission. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113965914B_ABST
    Figure CN113965914B_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of measuring devices, and in particular to a Bluetooth digital caliper based on a Bluetooth HID protocol, wherein a power module is used to supply power to a measuring module and a Bluetooth module; the measuring module is used to measure a workpiece and send serial data to the Bluetooth module; a liquid crystal display module is used to display a detection indication of the measuring module under the control of the measuring module; the Bluetooth module is used to convert the serial data transmitted by the measuring module into an HID code and send it into a FIFO queue; the FIFO queue is used to list the queue HID codes based on the HID code sent by the Bluetooth module, and transmit the head HID code of the queue to the HID protocol through the Bluetooth module; the HID protocol is used to form a data packet with the head HID code transmitted by the Bluetooth module, and send the data packet to a terminal device through the Bluetooth module; the terminal device is used to receive and display the data packet transmitted by the Bluetooth module, thereby solving the problem that the existing Bluetooth digital caliper needs to use a matching APP to receive data transmitted by the Bluetooth module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of measuring devices, and in particular to a Bluetooth digital caliper based on a Bluetooth HID protocol. Background Art

[0002] Vernier calipers are traditional measuring tools that are widely used in various fields. Compared with traditional vernier calipers, digital calipers have the characteristics of intuitive reading and convenient use. However, when used in an oily environment, the oil will block the screen and make the reading unclear. In addition, the operator still needs to record the measured data manually, which makes it impossible to realize the information management of data. If data cables are used for transmission, they will be limited by distance and environment.

[0003] Existing Bluetooth digital calipers use digital calipers with external Bluetooth modules to transmit measured data;

[0004] However, you need to use the supporting APP to receive data transmitted by the Bluetooth module. Summary of the invention

[0005] The object of the present invention is to provide a Bluetooth digital caliper based on the Bluetooth HID protocol, aiming to solve the problem that the existing Bluetooth digital caliper needs to use a matching APP to receive data transmitted by the Bluetooth module.

[0006] To achieve the above object, the present invention provides a Bluetooth digital caliper based on the Bluetooth HID protocol, comprising a power module, a measuring module, a liquid crystal display module, a Bluetooth module, a FIFO queue, a HID protocol and a terminal device;

[0007] The power module is electrically connected to the measuring module and the Bluetooth module, the measuring module is electrically connected to the liquid crystal display module and the Bluetooth module respectively, and the Bluetooth module is wirelessly connected to the FIFO queue, the HID protocol and the terminal device;

[0008] The power module is used to supply power to the measuring module and the Bluetooth module;

[0009] The measuring module is used to measure the workpiece and send serial data to the Bluetooth module;

[0010] The liquid crystal display module is used to display the detection indication of the measuring module under the control of the measuring module;

[0011] The Bluetooth module is used to convert the serial data transmitted by the measurement module into HID code and send it into the FIFO queue;

[0012] The FIFO queue is used to list the queue HID codes based on the HID code sent by the Bluetooth module, and transmit the head HID code of the queue to the HID protocol through the Bluetooth module;

[0013] The HID protocol is used to form a data packet with the head HID code transmitted by the Bluetooth module, and send the data packet to the terminal device through the Bluetooth module;

[0014] The terminal device is used to receive and display the data packets transmitted by the Bluetooth module.

[0015] Wherein, the measuring module comprises a capacitive gate sensing circuit and a capacitive gate chip module, and the capacitive gate chip module is electrically connected to the capacitive gate sensing circuit, the liquid crystal display module and the Bluetooth module respectively;

[0016] The capacitive sensing circuit is used to measure the workpiece;

[0017] The capacitive gate chip module is used to control the liquid crystal display module to display the detection indication of the capacitive gate sensor circuit and send serial data to the Bluetooth module.

[0018] The Bluetooth module includes a parsing unit, a conversion unit, a disassembling unit and a sending unit, the parsing unit is electrically connected to the capacitive chip module, the conversion unit is electrically connected to the parsing unit, the disassembling unit is electrically connected to the conversion unit, the sending unit is electrically connected to the conversion unit, and the sending unit is wirelessly connected to the FIFO queue, the HID protocol and the terminal device;

[0019] The parsing unit is used to parse the serial data transmitted by the capacitive gate chip module;

[0020] The conversion unit is used to convert the parsed data of the parsing unit into a character string;

[0021] The disassembling unit is used to disassemble the character string converted by the converting unit and convert it into a corresponding HID code;

[0022] The sending unit is used to send the HID code converted by the disassembling unit to the FIFO queue, transfer the head HID code to the HID protocol, and send the data packet composed of the HID protocol to the terminal device.

[0023] Wherein, the HID protocol includes a storage unit, a combination unit, a retention unit and a control unit, the storage unit is wirelessly connected to the sending unit, the combination unit is electrically connected to the storage unit, the retention unit is electrically connected to the combination unit, and the control unit is electrically connected to the storage unit, the combination unit and the retention unit;

[0024] The storage unit is used to store the head HID code transmitted by the sending unit;

[0025] The combining unit is used to combine the head HID code stored in the storage unit into a data packet, and send the data packet to the terminal device through the sending unit;

[0026] The reservation unit is used to reserve protocols and data packets;

[0027] The control unit is used to control the storage unit, the combination unit and the retention unit.

[0028] The present invention discloses a Bluetooth digital caliper based on the Bluetooth HID protocol, wherein the power module is used to supply power to the measuring module and the Bluetooth module; the measuring module is used to measure a workpiece and send serial data to the Bluetooth module; the liquid crystal display module is used to display the detection indication of the measuring module under the control of the measuring module; the Bluetooth module is used to convert the serial data transmitted by the measuring module into a HID code and send it into the FIFO queue; the FIFO queue is used to list the queue HID codes based on the HID code sent by the Bluetooth module, and transmit the head HID code of the queue to the HID protocol through the Bluetooth module; the HID protocol is used to form a data packet with the head HID code transmitted by the Bluetooth module, and send the data packet to the terminal device through the Bluetooth module; the terminal device is used to receive and display the data packet transmitted by the Bluetooth module, thereby solving the problem that the existing Bluetooth digital caliper needs to use a matching APP to receive data transmitted by the Bluetooth module. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 It is a structural schematic diagram of a Bluetooth digital caliper based on the Bluetooth HID protocol provided by the present invention;

[0031] Figure 2 It is a structural diagram of the measurement module;

[0032] Figure 3 It is a schematic diagram of the structure of the Bluetooth module;

[0033] Figure 4 It is a schematic diagram of the structure of the HID protocol;

[0034] Figure 5 It is a structural diagram of the measurement module, Bluetooth module, FIFO queue and HID protocol.

[0035] 1-power module, 2-measurement module, 3-liquid crystal display module, 4-bluetooth module, 5-FIFO queue, 6-HID protocol, 7-terminal device, 8-capacitive sensing circuit, 9-capacitive chip module, 10-analysis unit, 11-conversion unit, 12-disassembly unit, 13-sending unit, 14-storage unit, 15-combination unit, 16-retention unit, 17-control unit. DETAILED DESCRIPTION

[0036] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0037] See also Figures 1 to 5 , the present invention provides a Bluetooth digital caliper based on the Bluetooth HID protocol, comprising a power module 1, a measuring module 2, a liquid crystal display module 3, a Bluetooth module 4, a FIFO queue 5, a HID protocol 6 and a terminal device 7;

[0038] The power module 1 is electrically connected to the measuring module 2 and the Bluetooth module 4, the measuring module 2 is electrically connected to the liquid crystal display module 3 and the Bluetooth module 4 respectively, and the Bluetooth module 4 is wirelessly connected to the FIFO queue 5, the HID protocol 6 and the terminal device 7;

[0039] The power module 1 is used to supply power to the measuring module 2 and the Bluetooth module 4;

[0040] The measuring module 2 is used to measure the workpiece and send serial data to the Bluetooth module;

[0041] The liquid crystal display module 3 is used to display the detection indication of the measuring module 2 under the control of the measuring module 2;

[0042] The Bluetooth module 4 is used to convert the serial data transmitted by the measuring module 2 into HID codes and send them into the FIFO queue 5;

[0043] The FIFO queue 5 is used to list the queue HID codes based on the HID code sent by the Bluetooth module 4, and transmit the head HID code of the queue to the HID protocol 6 through the Bluetooth module 4;

[0044] The HID protocol 6 is used to form a data packet with the head HID code transmitted by the Bluetooth module 4, and send the data packet to the terminal device 7 through the Bluetooth module 4;

[0045] The terminal device 7 is used to receive and display the data packets transmitted by the Bluetooth module 4.

[0046] In this embodiment, the model of the Bluetooth module 4 that supports the HID protocol 6, such as NRF51822 and NRF52832, can be selected. The built-in Bluetooth module 4 does not require an external Bluetooth transmitting module and a Bluetooth receiving module to effectively prevent damage to the digital caliper caused by oil stains, splashing water, etc. The terminal device 7 can be a mobile phone or a computer. The Bluetooth module 4 is paired with the mobile phone or computer of the terminal device 7 through the HID protocol 6. After the Bluetooth module 4 obtains the data of the measuring module 2 and parses it, the absolute value position data is saved in a variable in the form of floating-point data according to the caliper resolution accuracy. After the data transmission key is pressed, the Bluetooth module 4 converts the floating-point data into simulated keyboard events. , type the data value into the active input box of the terminal device 7. After completing the data typing, it will automatically press Enter to input the data completely into the terminal device 7. After completing the data input once, the data can be viewed through the terminal device 7 under poor lighting conditions. There is no need to download and install a special APP to receive the data. The mobile phone or computer of the terminal device 7 can use document tools such as EXCEL tables or WORD documents to save multiple serial data packets in a unified manner, which is convenient for multiple serial data analysis of a single size and data comparison of single measurements of multiple sizes, solving the problem that the existing Bluetooth digital caliper needs to use a supporting APP to receive data transmitted by the Bluetooth module 4.

[0047] Further, the measuring module 2 includes a capacitive gate sensing circuit 8 and a capacitive gate chip module 9, and the capacitive gate chip module 9 is electrically connected to the capacitive gate sensing circuit 8, the liquid crystal display module 3 and the Bluetooth module 4 respectively;

[0048] The capacitive sensing circuit 8 is used to measure the workpiece;

[0049] The capacitive gate chip module 9 is used to control the liquid crystal display module 3 to display the detection indication of the capacitive gate sensor circuit 8 and send serial data to the Bluetooth module 4.

[0050] In this embodiment, the power required by the capacitive gate sensing circuit 8 and the capacitive gate chip module 9 when they are working is provided by the power module 1 .

[0051] Further, the Bluetooth module 4 includes a parsing unit 10, a conversion unit 11, a disassembling unit 12 and a sending unit 13, the parsing unit 10 is electrically connected to the capacitive chip module 9, the conversion unit 11 is electrically connected to the parsing unit 10, the disassembling unit 12 is electrically connected to the conversion unit 11, the sending unit 13 is electrically connected to the conversion unit 11, and the sending unit 13 is wirelessly connected to the FIFO queue 5, the HID protocol 6 and the terminal device 7;

[0052] The parsing unit 10 is used to parse the serial data transmitted by the capacitive gate chip module 9;

[0053] The conversion unit 11 is used to convert the parsed data of the parsing unit 10 into a character string;

[0054] The disassembling unit 12 is used to disassemble the character string converted by the converting unit 11 and convert it into a corresponding HID code;

[0055] The sending unit 13 is used to send the HID code converted by the disassembling unit 12 to the FIFO queue 5, transmit the head HID code to the HID protocol 6, and send the data packet composed of the HID protocol 6 to the terminal device 7.

[0056] In this embodiment, the sending unit 13 of the Bluetooth module 4 directly inputs the data packet into an input window in the mobile phone or computer of the terminal device 7, such as a WORLD document, EXCEL, a notepad, etc.

[0057] Further, the HID protocol 6 includes a storage unit 14, a combination unit 15, a retention unit 16 and a control unit 17, the storage unit 14 is wirelessly connected to the sending unit 13, the combination unit 15 is electrically connected to the storage unit 14, the retention unit 16 is electrically connected to the combination unit 15, and the control unit 17 is electrically connected to the storage unit 14, the combination unit 15 and the retention unit 16;

[0058] The storage unit 14 is used to store the head HID code transmitted by the sending unit 13;

[0059] The combining unit 15 is used to combine the head HID code stored in the storage unit 14 into a data packet, and send the data packet to the terminal device 7 through the sending unit 13;

[0060] The reservation unit 16 is used to reserve protocols and data packets;

[0061] The control unit 17 is used to control the storage unit 14 , the combination unit 15 and the retention unit 16 .

[0062] In this embodiment, through the HID protocol 6, serial data packets can be collected into the EXTEL table or notepad of the mobile phone or computer of the terminal device 7, so as to realize information management and manage batch serial data.

[0063] In the embodiment, the keyboard data packet of the HID protocol 6 is composed of 8 bytes, the first byte is the control unit 17, the second byte is the reservation unit 16, and the remaining 6 bytes are the storage unit 14;

[0064] The parsing unit 10 of the Bluetooth module 4 parses the serial data sent by the capacitive chip module 9, and the parsed data is -12.34mm. The conversion unit 11 converts the floating point number -12.34 into a string "-12.34". After adding the unit mm and a carriage return character at the end of the string, the disassembly unit 12 disassembles the string and converts it into a corresponding HID code word. The sending unit 13 sends the HID code word to the FIFO queue 5, lists the queue HID code, and the sending unit 13 puts the first HID code in the queue HID code into the third byte of the keyboard data packet of the HID protocol 6. The third byte is the storage unit 14. The combination unit 15 composes data with the first HID code stored in the storage unit 14. The sending unit 13 sends the data packet to the terminal device 7. After waiting for the sending to be completed, the step is repeated until all the data in the FIFO queue 5 are out of the queue. The terminal device 7 will receive the following data packets in sequence:

[0065] 1. The symbol key “-” is pressed.

[0066] 2. The number key “1” is pressed.

[0067] 3. The number key “2” is pressed.

[0068] 4. The symbol key “.” is pressed.

[0069] 5. The number key “3” is pressed.

[0070] 6. The number key “4” is pressed.

[0071] 7. The letter key "m" is pressed.

[0072] 8. The letter key “m” is pressed.

[0073] Enter key pressed event.

[0074] Each time the terminal device 7 receives a data packet, it will input “-12.34mm” in the active input box, thereby completing a complete data transmission and displaying it in the terminal device 7.

[0075] The above disclosure is only a preferred embodiment of the Bluetooth digital caliper based on the Bluetooth HID protocol of the present invention. Of course, this cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments are implemented, and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A Bluetooth digital caliper based on Bluetooth HID protocol, characterized in that: Including power module, measurement module, LCD display module, Bluetooth module, FIFO queue, HID protocol and terminal equipment; The power module is electrically connected to the measuring module and the Bluetooth module, the measuring module is electrically connected to the liquid crystal display module and the Bluetooth module respectively, and the Bluetooth module is wirelessly connected to the FIFO queue, the HID protocol and the terminal device; The power module is used to supply power to the measuring module and the Bluetooth module; The measuring module is used to measure the workpiece and send serial data to the Bluetooth module; The liquid crystal display module is used to display the detection indication of the measuring module under the control of the measuring module; The Bluetooth module is used to convert the serial data transmitted by the measurement module into HID code and send it into the FIFO queue; The FIFO queue is used to list the queue HID codes based on the HID code sent by the Bluetooth module, and transmit the head HID code of the queue to the HID protocol through the Bluetooth module; The HID protocol is used to form a data packet with the head HID code transmitted by the Bluetooth module, and send the data packet to the terminal device through the Bluetooth module; The terminal device is used to receive and display data packets transmitted by the Bluetooth module; The measuring module comprises a capacitive gate sensing circuit and a capacitive gate chip module, and the capacitive gate chip module is electrically connected to the capacitive gate sensing circuit, the liquid crystal display module and the Bluetooth module respectively; The capacitive sensing circuit is used to measure the workpiece; The capacitive gate chip module is used to control the liquid crystal display module to display the detection indication of the capacitive gate sensor circuit and send serial data to the Bluetooth module; The Bluetooth module includes a parsing unit, a conversion unit, a disassembling unit and a sending unit, the parsing unit is electrically connected to the capacitive chip module, the conversion unit is electrically connected to the parsing unit, the disassembling unit is electrically connected to the conversion unit, the sending unit is electrically connected to the conversion unit, and the sending unit is wirelessly connected to the FIFO queue, the HID protocol and the terminal device; The parsing unit is used to parse the serial data transmitted by the capacitive gate chip module; The conversion unit is used to convert the parsed data of the parsing unit into a character string; The disassembling unit is used to disassemble the character string converted by the converting unit and convert it into a corresponding HID code; The sending unit is used to send the HID code converted by the disassembling unit to the FIFO queue, transmit the head HID code to the HID protocol, and send the data packet composed of the HID protocol to the terminal device; The HID protocol includes a storage unit, a combination unit, a retention unit and a control unit, wherein the storage unit is wirelessly connected to the sending unit, the combination unit is electrically connected to the storage unit, the retention unit is electrically connected to the combination unit, and the control unit is electrically connected to the storage unit, the combination unit and the retention unit; The storage unit is used to store the head HID code transmitted by the sending unit; The combining unit is used to combine the head HID code stored in the storage unit into a data packet, and send the data packet to the terminal device through the sending unit; The reservation unit is used to reserve protocols and data packets; The control unit is used to control the storage unit, the combination unit and the retention unit.

Citation Information

Patent Citations

  • Crimping auxiliary measurement system

    CN110500976A

  • Take digital display calliper of bluetooth communication function

    CN205642190U

  • Data transmission's digital display micrometer is carried out to usable bluetooth

    CN206891296U