Bluetooth anti-lost device based on Beidou

By integrating the power module, Bluetooth module, alarm module, GSM module and Beidou positioning module controlled by the STM32 microcontroller into the Bluetooth anti-lost device, an alarm function is added, which solves the problem of the single function of the Bluetooth anti-lost device and realizes a more efficient device loss alarm.

CN223377810UActive Publication Date: 2025-09-23CHENGDU UNIV OF INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422488645.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-09-23
Estimated Expiration
2034-10-15

AI Technical Summary

Technical Problem

The existing Bluetooth anti-lost device has a single function, which is only a positioning function and lacks an alarm function.

Method used

The Beidou-based Bluetooth anti-lost device, controlled by an STM32 single-chip microcomputer, integrates a power module, a Bluetooth module, an alarm module, a GSM module, and a Beidou positioning module. It adds an alarm function and calculates the displacement and height difference error through the displacement detection module to achieve early warning.

Benefits of technology

The alarm function is realized based on the positioning function, which improves the alarm accuracy and user reminder efficiency when the device is lost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223377810U_ABST
    Figure CN223377810U_ABST
Patent Text Reader

Abstract

The utility model provides a Bluetooth anti-lost device based on Beidou. The Bluetooth anti-lost device comprises an STM32 single-chip microcomputer, a power supply module, a Bluetooth module, an alarm module, a GSM module and a Beidou positioning module. The power supply module, the Bluetooth module, the alarm module, the GSM module and the Beidou positioning module are respectively connected with the STM32 single-chip microcomputer so as to be controlled by the STM32 single-chip microcomputer to work; the Bluetooth module, the alarm module, the GSM module and the Beidou positioning module are respectively connected with the power supply module so as to supply power; the GSM module and the Beidou positioning module are connected through the STM32 single-chip microcomputer so as to realize acquisition and transmission of position information. According to the utility model, the alarm function is added on the basis of the positioning function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of anti-loss devices, and more specifically to a Beidou-based Bluetooth anti-loss device. Background Art

[0002] A Bluetooth anti-lost device, also known as a smart anti-lost device, is a smart gadget based on Bluetooth technology. It primarily connects to smartphones via Bluetooth technology and is managed and controlled via a mobile app. It measures the connection status and Bluetooth signal strength to estimate the distance between devices. If a connected item exceeds the preset Bluetooth connection range, the phone or device will immediately sound an alarm to alert the user. Currently, Bluetooth anti-lost devices have a limited function: positioning. Utility Model Content

[0003] The utility model provides a Beidou-based Bluetooth anti-lost device, which adds an alarm function on the basis of the positioning function.

[0004] The technical solution adopted in this utility model is:

[0005] A Beidou-based Bluetooth anti-lost device, including an STM32 single-chip microcomputer, a power module, a Bluetooth module, an alarm module, a GSM module and a Beidou positioning module;

[0006] The power module, Bluetooth module, alarm module, GSM module and Beidou positioning module are respectively connected to the STM32 single-chip microcomputer to be controlled by the STM32 single-chip microcomputer;

[0007] The Bluetooth module, alarm module, GSM module and Beidou positioning module are respectively connected to the power module to provide power;

[0008] The GSM module and the Beidou positioning module are connected via the STM32 single-chip microcomputer to achieve the acquisition and transmission of location information.

[0009] In the embodiment of this specification, the Beidou-based Bluetooth anti-loss device further includes a displacement detection module, which is connected to the STM32 microcontroller to perform displacement detection.

[0010] In the embodiment of this specification, the displacement detection module has a built-in displacement detection formula, and the displacement detection formula is used to calculate the mean square error of displacement in the horizontal direction and the mean square error of height difference in the elevation direction according to position information.

[0011] In the embodiment of this specification, the STM32 microcontroller includes a main control chip U1, a button S1 and a voice chip U3. Pin 5 of the main control chip U1 is connected to one end of the button S1, the other end of the button S1 is grounded, and pin 8 of the main control chip U1 is connected to pin 5 of the voice chip U3.

[0012] In the embodiment of this specification, the Bluetooth module includes a Bluetooth chip U4, the pin 13 of the main control chip U1 is connected to the pin 1 of the Bluetooth chip U4, and the pin 14 of the main control chip U1 is connected to the pin 2 of the Bluetooth chip U4.

[0013] In the embodiment of this specification, the alarm module includes a buzzer J1, a resistor R2 and a transistor Q1. One end of the buzzer J1 is connected to the external voltage terminal VCC_5V, the other end of the buzzer J1 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the base of the transistor Q1 is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to pin 4 of the main control chip U1.

[0014] In the embodiment of this specification, the GSM module includes a resistor R1, an indicator light LED1 and a GSM chip U2, one end of the resistor R1 is connected to the external voltage terminal VCC_3.3V, the other end of the resistor R1 is connected to the positive pole of the indicator light LED1, the negative pole of the indicator light LED1 is connected to pin 12 of the main control chip U1, pin 3 of the GSM chip U2 is connected to pin 34 of the main control chip U1, and pin 4 of the GSM chip U2 is connected to pin 35 of the main control chip U1.

[0015] In the embodiment of this specification, the Beidou positioning module includes a Beidou chip U5, pin 3 of the Beidou chip U5 is connected to pin 7 of the main control chip U1, and pin 4 of the Beidou chip U5 is connected to pin 6 of the main control chip U1.

[0016] The embodiments of the present invention can achieve at least the following beneficial effects:

[0017] Through the STM32 microcontroller, power module, Bluetooth module, alarm module, GSM module and Beidou positioning module, the alarm function is added on the basis of the positioning function. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the Beidou-based Bluetooth anti-lost device involved in this utility model.

[0019] Figure 2 This is a schematic diagram of the main control chip U1 involved in the present invention.

[0020] Figure 3 This is a schematic diagram of the voice chip U3 involved in the present invention.

[0021] Figure 4 It is a schematic diagram of the button S1 involved in the present invention.

[0022] Figure 5 It is a schematic diagram of the Bluetooth module involved in the present utility model.

[0023] Figure 6 This is a schematic diagram of the alarm module involved in the present utility model.

[0024] Figure 7 This is a schematic diagram of the GSM module involved in the present utility model.

[0025] Figure 8 This is a schematic diagram of the Beidou positioning module involved in this utility model. DETAILED DESCRIPTION

[0026] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings, but the protection scope of the present invention is not limited to the following.

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the utility model for which protection is sought, but merely represents the selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0028] In the description of the present invention, it should be understood that the terms indicating orientation or positional relationships are based on the orientation or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.

[0029] In this utility model, unless otherwise specified or limited, the terms "installed," "connected," "connected," "fixed," etc. should be understood in a broad sense. For example, it can mean fixed connection, detachable connection, or integration; it can mean mechanical connection or electrical connection; it can mean direct connection or indirect connection through an intermediate medium; it can mean internal communication between two components or interaction between two components. For those skilled in the art, the specific meanings of the above terms in this utility model can be understood according to the specific circumstances.

[0030] In the present invention, unless otherwise expressly specified or limited, if a first feature exists above or below a second feature, it may include the first and second features being in direct contact, or it may include the first and second features not being in direct contact but being in contact through another feature between them. Moreover, the first feature being above, above, and above the second feature includes the first feature being directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. If a first feature exists below, below, and below the second feature, it includes the first feature being directly below and obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0031] The present invention is further described below in conjunction with embodiments. The embodiments described are only a portion of the embodiments of the present invention and are not intended to be all embodiments. Based on the embodiments of the present invention, other embodiments obtained by persons of ordinary skill in the art without creative work are all within the scope of protection of the present invention.

[0032] Please refer to the attached drawings. The drawings show the structure of an embodiment selected for the present invention. This is for illustration purposes only and the patent application is not limited to this structure.

[0033] like Figure 1 As shown, a Beidou-based Bluetooth anti-lost device includes an STM32 microcontroller, a power module, a Bluetooth module, an alarm module, a GSM module, and a Beidou positioning module;

[0034] The power module, Bluetooth module, alarm module, GSM module and Beidou positioning module are respectively connected to the STM32 single-chip microcomputer to be controlled by the STM32 single-chip microcomputer;

[0035] The Bluetooth module, alarm module, GSM module and Beidou positioning module are respectively connected to the power module to provide power;

[0036] The GSM module and the Beidou positioning module are connected via the STM32 single-chip microcomputer to achieve the acquisition and transmission of location information.

[0037] The STM32 single-chip microcomputer controls the power module, Bluetooth module, alarm module, GSM module and Beidou positioning module to achieve the most basic communication function between the STM32 single-chip microcomputer and the mobile phone Bluetooth. The alarm module implements the alarm function, the Beidou positioning module provides real-time location information, and the GSM module realizes the transmission of location information. Finally, the functional connection between each module is realized to achieve the product function of the Bluetooth anti-lost device.

[0038] The Beidou positioning module can be the GPS Beidou dual-mode positioning NRF24L01, and its communication distance is within 150 meters; the GSM module can be the SIM800C; and the Bluetooth module can be the JDY-30 Bluetooth module.

[0039] When working, the STM32 microcontroller controls the power module to power other modules, and searches for the Bluetooth signal of the Bluetooth anti-lost device through the mobile phone Bluetooth to connect. When the Bluetooth is disconnected after connection, the GSM module and Beidou positioning module start to obtain location information and send it to the mobile phone, and at the same time, the alarm is implemented through the alarm module; when the device is found and the Bluetooth is reconnected, the alarm stops.

[0040] In the embodiment of this specification, the Beidou-based Bluetooth anti-loss device further includes a displacement detection module, which is connected to the STM32 microcontroller to perform displacement detection.

[0041] In the embodiment of this specification, the displacement detection module has a built-in displacement detection formula, and the displacement detection formula is used to calculate the mean square error of displacement in the horizontal direction and the mean square error of height difference in the elevation direction according to position information.

[0042] The displacement detection formula is as follows:

[0043] The position information (x, y, z) of the current and previous 5 seconds of data is used to calculate the horizontal displacement error m using the following formula: d and the mean error of height difference in the elevation direction m z .

[0044] Mean error in displacement m d The calculation formula is as follows:

[0045] Assume that the observation epoch is n+1, then there are n point differences: Δd1, Δd2, ..., Δd n ;

[0046] Wherein, the point difference Δd n The calculation formula is:

[0047]

[0048] Assume that the mean of the n-point difference is:

[0049] vd =(Δd1+Δd2+...+Δd n ) / n; (2)

[0050] Then we have:

[0051]

[0052] Among them, m p Indicates the mean error of the point position;

[0053] The height difference error m z The calculation formula is as follows:

[0054] Assume that the observation epoch is n+1, then there are n height differences: Δz1, Δz2, ..., Δz n ,

[0055] Assume that the mean of n height differences is:

[0056] v z =(Δz1+Δz2+...+Δz n ) / n; (4)

[0057] Then we have:

[0058] m z =sqrt{[(Δh1-v z ) 2 +(Δh2-v z ) 2 +...+(Δh n -v z ) 2 ] / n};(5)

[0059] For example, according to the fourth level accuracy standard stipulated in the "Industry Standard of the People's Republic of China (JGJ8-2016): Specification for Building Deformation Measurement": the height difference error m z ≤6mm, displacement error m d ≤40mm, when m z >6mm or / and m d When it is greater than 40mm, it means that the building has deformed and the main control station sends an early warning signal to the staff.

[0060] Formulas (1) to (5) are integrated into a displacement detection module through programming. The mean error of height difference and the mean error of displacement can be calculated based on the received position information (x, y, z).

[0061] Furthermore, the mean error of the height difference and the mean error of the displacement calculated in real time can be represented by a curve graph and displayed on a display.

[0062] In the embodiments of this specification, Figure 2、 Figure 3 and Figure 4 As shown, the STM32 microcontroller includes a main control chip U1, a button S1 and a voice chip U3. Pin 5 of the main control chip U1 is connected to one end of the button S1, the other end of the button S1 is grounded, and pin 8 of the main control chip U1 is connected to pin 5 of the voice chip U3.

[0063] In the embodiments of this specification, Figure 5 As shown, the Bluetooth module includes a Bluetooth chip U4, the pin 13 of the main control chip U1 is connected to the pin 1 of the Bluetooth chip U4, and the pin 14 of the main control chip U1 is connected to the pin 2 of the Bluetooth chip U4.

[0064] In the embodiments of this specification, Figure 6 As shown, the alarm module includes a buzzer J1, a resistor R2 and a transistor Q1. One end of the buzzer J1 is connected to the external voltage terminal VCC_5V, the other end of the buzzer J1 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the base of the transistor Q1 is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to pin 4 of the main control chip U1.

[0065] In the embodiments of this specification, Figure 7 As shown, the GSM module includes a resistor R1, an indicator light LED1 and a GSM chip U2, one end of the resistor R1 is connected to the external voltage terminal VCC_3.3V, the other end of the resistor R1 is connected to the positive electrode of the indicator light LED1, the negative electrode of the indicator light LED1 is connected to the pin 12 of the main control chip U1, the pin 3 of the GSM chip U2 is connected to the pin 34 of the main control chip U1, and the pin 4 of the GSM chip U2 is connected to the pin 35 of the main control chip U1.

[0066] In the embodiments of this specification, Figure 8 As shown, the Beidou positioning module includes a Beidou chip U5, pin 3 of the Beidou chip U5 is connected to pin 7 of the main control chip U1, and pin 4 of the Beidou chip U5 is connected to pin 6 of the main control chip U1.

[0067] The above-described embodiments are intended to illustrate the present invention, not to limit the present invention. Therefore, changes in illustrative values ​​or replacement of equivalent components should still fall within the scope of the present invention.

[0068] From the above detailed description, it will be clear to those skilled in the art that the present invention can indeed achieve the aforementioned objectives and is in compliance with the provisions of the Patent Law.

[0069] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they understand the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. It should be noted that any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A Beidou-based Bluetooth anti-loss device, characterized in that: Including STM32 microcontroller, power module, Bluetooth module, alarm module, GSM module, displacement detection module and Beidou positioning module; The power module, Bluetooth module, alarm module, GSM module and Beidou positioning module are respectively connected to the STM32 single-chip microcomputer to be controlled by the STM32 single-chip microcomputer; The Bluetooth module, alarm module, GSM module and Beidou positioning module are respectively connected to the power module to provide power; The GSM module and the Beidou positioning module are connected via the STM32 single-chip microcomputer to obtain and send location information; The displacement detection module is connected to the STM32 single chip microcomputer to perform displacement detection.

2. The Beidou-based Bluetooth anti-loss device according to claim 1, characterized in that: The displacement detection module has a built-in displacement detection formula, which is used to calculate the mean square error of displacement in the horizontal direction and the mean square error of height difference in the elevation direction based on position information.

3. The Beidou-based Bluetooth anti-loss device according to claim 1, characterized in that: The STM32 single-chip microcomputer includes a main control chip U1, a button S1 and a voice chip U3. Pin 5 of the main control chip U1 is connected to one end of the button S1, the other end of the button S1 is grounded, and pin 8 of the main control chip U1 is connected to pin 5 of the voice chip U3.

4. The Beidou-based Bluetooth anti-loss device according to claim 3, characterized in that: The Bluetooth module includes a Bluetooth chip U4, the pin 13 of the main control chip U1 is connected to the pin 1 of the Bluetooth chip U4, and the pin 14 of the main control chip U1 is connected to the pin 2 of the Bluetooth chip U4.

5. The Beidou-based Bluetooth anti-loss device as claimed in claim 3, characterized in that: The alarm module includes a buzzer J1, a resistor R2 and a transistor Q1. One end of the buzzer J1 is connected to the external voltage terminal VCC_5V, the other end of the buzzer J1 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the base of the transistor Q1 is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to pin 4 of the main control chip U1.

6. The Beidou-based Bluetooth anti-loss device according to claim 3, characterized in that: The GSM module includes a resistor R1, an indicator light LED1 and a GSM chip U2. One end of the resistor R1 is connected to the external voltage terminal VCC_3.3V, the other end of the resistor R1 is connected to the positive pole of the indicator light LED1, the negative pole of the indicator light LED1 is connected to pin 12 of the main control chip U1, pin 3 of the GSM chip U2 is connected to pin 34 of the main control chip U1, and pin 4 of the GSM chip U2 is connected to pin 35 of the main control chip U1.

7. The Beidou-based Bluetooth anti-loss device according to claim 3, characterized in that: The Beidou positioning module includes a Beidou chip U5, pin 3 of the Beidou chip U5 is connected to pin 7 of the main control chip U1, and pin 4 of the Beidou chip U5 is connected to pin 6 of the main control chip U1.