Rope skipping tester, rope skipping and test system based on Internet of things
阅读说明:本技术 一种基于物联网的跳绳测试仪、跳绳以及测试系统 (Rope skipping tester, rope skipping and test system based on Internet of things ) 是由 陆卫邦 肖建承 于 2019-09-11 设计创作,主要内容包括:本发明公开了一种基于物联网的跳绳测试仪、跳绳以及测试系统,该跳绳测试仪包括:主控单元、光电计数单元、NB-IOT无线单元、显示单元、电源稳压单元以及电池;所述主控单元分别与所述光电计数单元、所述NB-IOT无线单元、所述显示单元以及所述电源稳压单元电连接;所述电源稳压单元与所述电池电连接,所述主控单元可通过所述NB-IOT无线单元将测试数据传输至物联网平台。该跳绳测试仪采用光电计数方式来计算跳绳次数,相对于机械开关来说,不存在机械磨损的问题;并且可通过NB-IOT无线单元将测试数据上传至物联网平台,使得跳绳测试仪成为物联网中的传感器和数据采集装置,如此一来,实现对众多的跳绳运动者的运动数据的采集,可进行数据分析。(The invention discloses a rope skipping tester, a rope skipping and a testing system based on the Internet of things, wherein the rope skipping tester comprises: the device comprises a main control unit, a photoelectric counting unit, an NB-IOT wireless unit, a display unit, a power supply voltage stabilizing unit and a battery; the main control unit is electrically connected with the photoelectric counting unit, the NB-IOT wireless unit, the display unit and the power supply voltage stabilizing unit respectively; the power supply voltage stabilizing unit is electrically connected with the battery, and the main control unit can transmit test data to the Internet of things platform through the NB-IOT wireless unit. The rope skipping tester adopts a photoelectric counting mode to calculate rope skipping times, and compared with a mechanical switch, the rope skipping tester has no problem of mechanical abrasion; and the test data can be uploaded to the platform of the Internet of things through the NB-IOT wireless unit, so that the rope skipping tester becomes a sensor and a data acquisition device in the Internet of things, and therefore, the acquisition of the motion data of a plurality of rope skipping sportsmen is realized, and data analysis can be carried out.)
1. The utility model provides a rope skipping tester based on thing networking which characterized in that includes: the device comprises a main control unit, a photoelectric counting unit, an NB-IOT wireless unit, a display unit, a power supply voltage stabilizing unit and a battery; the main control unit is electrically connected with the photoelectric counting unit, the NB-IOT wireless unit, the display unit and the power supply voltage stabilizing unit respectively; the power supply voltage stabilizing unit is electrically connected with the battery, and the main control unit can transmit test data to the Internet of things platform through the NB-IOT wireless unit.
2. The internet of things-based rope skipping tester as claimed in claim 1, further comprising a power detection unit, wherein the power detection unit is electrically connected with the main control unit and the battery respectively.
3. The internet of things-based skipping rope tester of claim 2, further comprising an indicator light unit electrically connected with the main control unit.
4. The Internet of things-based jump rope tester according to any one of claims 1 to 3, wherein the NB-IOT wireless unit adopts an M5310-A module.
5. The internet of things-based jump rope tester of claim 1, wherein the battery is a rechargeable battery.
6. The internet of things-based rope skipping tester as claimed in claim 1, wherein the photoelectric counting unit comprises an infrared emitting module, an infrared receiving module and a rotating element; the infrared transmitting module is connected with the main control unit, the infrared receiving module is provided with a first pulse signal output end and a second pulse signal output end, the first pulse signal output end and the second pulse signal output end are both electrically connected with the main control unit, the rotating element is arranged between the infrared transmitting module and the infrared receiving module, and when the rotating element rotates, the infrared transmitting module and the infrared receiving module can be periodically blocked from infrared transmission, so that the infrared receiving module generates periodic pulse signal output; the first pulse signal output end and the second pulse signal output end have a phase difference, so that the main control unit can judge positive and negative rotation according to the descending sequence of the levels of the pulse signals of the first pulse signal output end and the second pulse signal output end.
7. The internet-of-things-based skipping rope tester of claim 1, wherein each circuit unit is integrated on two circuit boards, wherein the main control unit and the display unit are integrated on a top board, and the photoelectric counting unit, the NB-IOT wireless unit, the power supply voltage stabilizing unit and the battery are integrated on a bottom board; the top plate and the bottom plate communicate through a pin header interface.
8. The internet of things-based jump rope tester according to claim 1, wherein the main control unit adopts STM32LC8T 6.
9. The utility model provides a rope skipping based on thing networking which characterized in that includes: the Internet of things-based rope skipping tester comprises a main handle, an auxiliary handle, a rope and the Internet of things-based rope skipping tester as claimed in any one of claims 1 to 8, wherein the rope skipping tester is arranged inside the main handle, and the main handle is connected with the auxiliary handle through the rope.
10. The rope skipping test system based on the Internet of things is characterized by comprising a user terminal, an Internet of things platform and the rope skipping based on the Internet of things according to claim 9, wherein the user terminal can be bound with the rope skipping based on the Internet of things so that the user terminal can pass through the Internet of things platform to acquire test data of the rope skipping or communicate with the rope skipping tester through the Internet of things platform.
Technical Field
The invention relates to the technical field of rope skipping detection, in particular to a rope skipping tester, a rope skipping and a rope skipping testing system based on the Internet of things.
Background
For rope skipping sportsmen, it is usually desirable to know their own rope skipping times, and therefore, rope skipping instruments with automatic counting function are available on the market. The common rope skipping instrument on the market generally displays the rope skipping times through a display screen arranged on a handle, and a user can check rope skipping data at any time in the movement process. Due to the fact that storage capacity of an existing rope skipping instrument is limited, only current rope skipping data or rope skipping data of the last few times can be stored, and a user cannot check all historical data.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the objectives of the present invention is to provide an internet-of-things-based rope skipping tester, which calculates rope skipping times in a photoelectric counting manner and uploads test data to an internet-of-things platform through an NB-IOT wireless unit so that a user can query all historical data through the internet-of-things platform.
The invention also aims to provide the skipping rope based on the internet of things, which adopts a photoelectric counting mode to calculate the skipping rope times, and can upload test data to the internet of things platform through the NB-IOT wireless unit so that a user can inquire all historical data through the internet of things platform.
The invention also aims to provide a rope skipping test system based on the Internet of things, which adopts a photoelectric counting mode to calculate rope skipping times, can upload test data to an Internet of things platform through an NB-IOT wireless unit, and can enable a user to acquire the test data from the Internet of things platform through a user terminal.
One of the purposes of the invention is realized by adopting the following technical scheme:
a rope skipping tester based on thing networking includes: the device comprises a main control unit, a photoelectric counting unit, an NB-IOT wireless unit, a display unit, a power supply voltage stabilizing unit and a battery; the main control unit is electrically connected with the photoelectric counting unit, the NB-IOT wireless unit, the display unit and the power supply voltage stabilizing unit respectively; the power supply voltage stabilizing unit is electrically connected with the battery, and the main control unit can transmit test data to the Internet of things platform through the NB-IOT wireless unit.
Furthermore, the battery pack also comprises a power supply detection unit which is respectively electrically connected with the main control unit and the battery.
Further, still include the pilot lamp unit, the pilot lamp unit with the main control unit electricity is connected.
Further, the NB-IOT wireless unit adopts an M5310-A module.
Further, the battery is a rechargeable battery.
Further, the photoelectric counting unit comprises an infrared transmitting module, an infrared receiving module and a rotating element; the infrared transmitting module is connected with the main control unit, the infrared receiving module is provided with a first pulse signal output end and a second pulse signal output end, the first pulse signal output end and the second pulse signal output end are both electrically connected with the main control unit, the rotating element is arranged between the infrared transmitting module and the infrared receiving module, and when the rotating element rotates, the infrared transmitting module and the infrared receiving module can be periodically blocked from infrared transmission, so that the infrared receiving module generates periodic pulse signal output; the first pulse signal output end and the second pulse signal output end have a phase difference, so that the main control unit can judge positive and negative rotation according to the descending sequence of the levels of the pulse signals of the first pulse signal output end and the second pulse signal output end.
Furthermore, each circuit unit is integrated on two circuit boards, wherein the main control unit and the display unit are integrated on a top board, and the photoelectric counting unit, the NB-IOT wireless unit, the power supply voltage stabilizing unit and the battery are integrated on a bottom board; the top plate and the bottom plate communicate through a pin header interface.
Further, the main control unit adopts
The second purpose of the invention is realized by adopting the following technical scheme:
an internet of things-based skipping rope, comprising: the rope skipping tester comprises a main handle, an auxiliary handle, a rope and the rope skipping tester based on the Internet of things, wherein the rope skipping tester is arranged inside the main handle, and the main handle is connected with the auxiliary handle through the rope.
The third purpose of the invention is realized by adopting the following technical scheme:
the utility model provides a rope skipping test system based on thing networking, includes user terminal, thing networking platform and as above the rope skipping based on thing networking, user terminal can with the rope skipping based on thing networking binds so that the user terminal accessible thing networking platform acquires the test data of rope skipping or pass through the thing networking platform with the rope skipping tester communicates.
Compared with the prior art, the invention has the beneficial effects that:
the rope skipping tester based on the Internet of things calculates rope skipping times in a photoelectric counting mode, and compared with a mechanical switch, the rope skipping tester based on the Internet of things does not have the problem of mechanical abrasion; and the NB-IOT wireless unit uploads the test data to the Internet of things platform so that a user can inquire all historical data through the Internet of things platform, and the rope skipping tester becomes a sensor and a data acquisition device in the Internet of things, so that the motion data of a plurality of rope skipping sporters can be acquired, and data analysis can be performed.
Drawings
Fig. 1 is a structural block diagram of a rope skipping tester based on the internet of things provided by the invention;
FIG. 2 is a circuit diagram of the main control unit and the display unit shown in FIG. 1;
FIG. 3 is a circuit configuration diagram of the photoelectric counting unit in FIG. 1;
FIG. 4 is a circuit block diagram of the NB-IOT radio of FIG. 1;
fig. 5 is a circuit structure diagram of the power supply voltage stabilizing unit in fig. 1, wherein the power supply voltage stabilizing unit includes a power supply voltage stabilizing module and a power supply control switch module;
FIG. 6 is a circuit configuration diagram of the power detecting unit in FIG. 1;
fig. 7 is a circuit configuration diagram of the indicator light unit of fig. 1;
FIG. 8 is a circuit block diagram of a pin header interface for implementing the top and bottom plate communication connections;
fig. 9 is a waveform diagram of a pulse signal output by the infrared receiving module.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Referring to fig. 1 to 8, a rope skipping tester based on the internet of things includes: the device comprises a main control unit, a photoelectric counting unit, an NB-IOT wireless unit, a display unit, a power supply voltage stabilizing unit and a battery; the main control unit is electrically connected with the photoelectric counting unit, the NB-IOT wireless unit, the display unit and the power supply voltage stabilizing unit respectively; the power supply voltage stabilizing unit is electrically connected with the battery, and the main control unit can transmit test data to the Internet of things platform through the NB-IOT wireless unit.
The rope skipping tester based on the Internet of things calculates rope skipping times in a photoelectric counting mode, and compared with a mechanical switch, the rope skipping tester based on the Internet of things does not have the problem of mechanical abrasion; and the test data can be uploaded to the platform of the Internet of things through the NB-IOT wireless unit, so that the rope skipping tester becomes a sensor and a data acquisition device in the Internet of things, and therefore, the acquisition of the motion data of a plurality of rope skipping sportsmen is realized, and data analysis can be carried out.
Specifically, the power supply voltage stabilizing unit includes a power supply voltage stabilizing module and a power supply control switch module, referring to fig. 5, when the switch Key1 is pressed, the voltage flows from the battery VBAT to the resistor R20, through the diode D20, and through the switch Key1 to the ground terminal. The P-channel field effect transistor Q20 is conducted, and 3.7V voltage is output to the power supply voltage stabilizing module. In the power supply voltage stabilizing module, after the 3.7V voltage passes through the low dropout regulator HT7333, the 3.3V voltage is stably output. Therefore, the microprocessor U1 works, the level of the
As a preferred embodiment, the battery pack further comprises a power detection unit, and the power detection unit is electrically connected with the main control unit and the battery respectively. Referring to fig. 6, one end of the power detection unit is connected to the battery VBAT, the voltage of 3.7V is divided by the resistor R24, the voltage is, for example, 3.3V at the connection line RAT _ AD (the microprocessor U1 can recognize the voltage value), and the connection line RAT _ AD is connected to the
As a preferred embodiment, the system further comprises an indicator light unit, and the indicator light unit is electrically connected with the main control unit. Referring to fig. 7, the indicator light unit is connected to
In a preferred embodiment, the NB-IOT wireless unit adopts an M5310-A module. Referring to fig. 4, the M5310-a module is responsible for communicating with an onenet platform (a mobile dedicated internet of things platform), and includes a SIM card circuit module, an antenna module, a module reset module, a communication scarf joint circuit, and an NB-IOT chip (M5310-a). The SIM card provides communication numbers and signals of the Internet of things, the antenna module is used for gain amplification of the signals, the module resetting module is used for ensuring stable power supply of the whole wireless module of the Internet of things, and the communication scarf circuit is used for ensuring stable communication between the NB-IOT chip and the SIM card circuit module and reducing crosstalk; the NB-IOT chip is responsible for uploading data processed by the microprocessor U1 to the mobile onenet platform through the SIM card circuit module. One end of the communication scarf joint circuit is connected with
In a preferred embodiment, the battery is a rechargeable battery. The rechargeable lithium battery is adopted, so that the battery can be recycled without replacing the battery.
As a preferred embodiment, the photoelectric counting unit comprises an infrared ray emitting module (IR908-7C), an infrared ray receiving module (PT2559B) and a rotating element; the infrared transmitting module is connected with the main control unit, the infrared receiving module is provided with a first pulse signal output end and a second pulse signal output end, the first pulse signal output end and the second pulse signal output end are both electrically connected with the main control unit, the rotating element is arranged between the infrared transmitting module and the infrared receiving module, and when the rotating element rotates, the infrared transmitting module and the infrared receiving module can be periodically blocked from infrared transmission, so that the infrared receiving module generates periodic pulse signal output; the first pulse signal output end and the second pulse signal output end have a phase difference, so that the main control unit can judge positive and negative rotation according to the descending sequence of the levels of the pulse signals of the first pulse signal output end and the second pulse signal output end.
The rotating element adopts a code wheel, one circle of the code wheel has 10 tooth openings, the code wheel can periodically block infrared rays when rotating, the infrared ray receiving module converts the tooth number count of the code wheel into level pulse signals, the number of rotating turns is calculated and transmitted to
During the test, the code wheel theory cuts infrared rays to cause the level of Sig1_ T2H2 and Sig1_ T1H2 of R7 and R8 to change periodically, and a certain gap exists between two receiving wafers of an IR1 sensor receiving part, so that level signals Sig1_ T2H2 and Sig1_ T1H2 have a certain phase difference, and therefore, as a judgment basis of positive and negative rotation, as shown in FIG. 9, when the code wheel rotates forwards, the level of Sigl _ T1H2 is firstly reduced to a corresponding to the low level, the level of Sigl _ T2H2 is high to mark the positive rotation, when the level of Sigl _ T1H2 is reduced to b corresponding to the low level, the level of Sigl _ T2H2 is low to mark the negative rotation, information of the positive and negative rotation is provided, the CPU can acquire the real-time rotation state of the code wheel, thereby improving the measurement accuracy, the CPU can receive the signals and calculate the number of skipping turns and simultaneously send corresponding data on an
As a preferred embodiment, each circuit unit is integrated on two circuit boards, so that electronic components can be arranged in a small space; the main control unit and the display unit are integrated on a top plate, and the photoelectric counting unit, the NB-IOT wireless unit, the power supply voltage stabilizing unit and the battery are integrated on a bottom plate; the top plate and the bottom plate communicate through a pin header interface. The bottom plate and the top plate are connected by a 1.27mm double-row pin, a battery power supply of 3.7V directly supplies power to the M5310-A module, the module supplies power to the patch sim card again to ensure the signal stability, and the antenna part uses a soft board welding type antenna supporting band-8 to replace the prior ceramic antenna. The power supply 3.7v is reduced to 3.3v through the power supply voltage stabilizing unit to supply power to the CPU and the photoelectric sensor, when the code wheel of the bottom plate rotates to count the pulse, the CPU calculates the pulse to obtain the numerical value of a rope skipping loop, and finally the CPU transmits the data to the M5310-A module so as to upload the data to the iot platform.
In a preferred embodiment, the main control unit adopts STM32LC8T6, adopts a 32-bit microprocessor, is easier to write programs, and has larger capacity for storing programs.
The invention also provides a skipping rope based on the Internet of things, which comprises: the rope skipping tester comprises a main handle, an auxiliary handle, a rope and the rope skipping tester based on the Internet of things, wherein the rope skipping tester is arranged inside the main handle, and the main handle is connected with the auxiliary handle through the rope.
In addition, the invention also provides a rope skipping testing system based on the Internet of things, which comprises a user terminal, an Internet of things platform and the rope skipping based on the Internet of things, wherein the user terminal can be bound with the rope skipping based on the Internet of things so that the user terminal can acquire the testing data of the rope skipping through the Internet of things platform or can be communicated with the rope skipping tester through the Internet of things platform.
The skipping rope can be used only by being bound with the app end, and the binding process specifically comprises the following steps: 1. inputting a unique code of the rope skipping device at the app end of the mobile phone, and then sending a binding instruction to the platform server to request binding; 2. the platform server generates a corresponding verification code according to the unique code of the rope skipping device in the binding instruction (the verification code is a device ID, and the device ID is generated according to the IME number of the NB-IOT chip and the IMSI card number of the SIM card circuit module, so that the rope skipping ID number is uniquely corresponding to the IME number and the IMSI card number), and sends the verification code to the rope skipping device according to the unique code of the rope skipping device input in the app; 3. the skipping rope equipment receives the verification code and displays the verification code on an LCD screen; 4. and inputting the verification code displayed by the rope skipping device in a device binding interface in the app to finish binding. The tester can use the AT instruction to operate the M5310-A module through the CPU, wherein the operation comprises time inquiry, equipment network access, data reporting, platform command receiving and log-off. Specifically, a time inquiry program function, an equipment network access program function, a data reporting program function, a platform command receiving program function and a log-off program function are generated through AT instruction set programming, when a user needs to execute corresponding operation, the corresponding function is sent to the NB-IOT chip through the CPU and is automatically executed by the NB-IOT chip. The SIM card provides a network access function, and the module firmware can be remotely upgraded to facilitate user management. The data transmission format can be customized, for example, the communication format for the CPU to upload data to the internet of things platform through the M5310-a module is as follows: AT +
The command is used for reporting data of a specified Resource to a platform, wherein the first 0 is an Instance ID of an onent device, the second 0 is an mID issued during an Instance Object operation, 3200 is an Object ID, 0 is an Instance ID, 5750 is a Resource ID, 1 is a data type specifying the reported Resource, here, strong type, xx represents data length, StartTime represents start test time, EndTime represents test end time, TimeCost represents time used for the test, JumpingFreq represents rope skipping times every 3 seconds, and the interval is not fixed, and at present, the command is divided into: 30. and 60, 120 and 180 seconds, the variable-length data are uploaded to the platform server and can be analyzed accordingly so as to be uploaded to the personal mobile phone APP, and therefore a rope skipping curve is drawn to reflect the overall motion and instantaneous burst strength of the tester in each time period.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种智能跳绳器