CN106841670A - Wind direction test device and method - Google Patents

Wind direction test device and method Download PDF

Info

Publication number
CN106841670A
CN106841670A CN201710090763.3A CN201710090763A CN106841670A CN 106841670 A CN106841670 A CN 106841670A CN 201710090763 A CN201710090763 A CN 201710090763A CN 106841670 A CN106841670 A CN 106841670A
Authority
CN
China
Prior art keywords
wind
pin
mobile terminal
triode
slide rheostat
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
CN201710090763.3A
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.)
Shanghai Wind Communication Technologies Co Ltd
Original Assignee
Shanghai Wind Communication Technologies 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 Shanghai Wind Communication Technologies Co Ltd filed Critical Shanghai Wind Communication Technologies Co Ltd
Priority to CN201710090763.3A priority Critical patent/CN106841670A/en
Publication of CN106841670A publication Critical patent/CN106841670A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P5/00Measuring speed of fluids, e.g. of air stream; Measuring speed of bodies relative to fluids, e.g. of ship, of aircraft
    • G01P5/08Measuring speed of fluids, e.g. of air stream; Measuring speed of bodies relative to fluids, e.g. of ship, of aircraft by measuring variation of an electric variable directly affected by the flow, e.g. by using dynamo-electric effect
    • G01P5/086Measuring speed of fluids, e.g. of air stream; Measuring speed of bodies relative to fluids, e.g. of ship, of aircraft by measuring variation of an electric variable directly affected by the flow, e.g. by using dynamo-electric effect by using special arrangements and constructions for measuring the dynamo-electric effect
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P13/00Indicating or recording presence, absence, or direction, of movement
    • G01P13/02Indicating direction only, e.g. by weather vane

Abstract

The present invention relates to field of terminal technology, a kind of wind direction method of testing and device are disclosed.In the present invention, wind direction test device, including fixed support, aerofoil, slide rheostat and connector;One end of aerofoil is hinged with fixed support, and the other end is hanging;Slide rheostat is arranged on fixed support;Connector is connected with mobile terminal;One end of slide rheostat connects the power supply pin of connector, and the other end of slide rheostat connects the ground connection pin of connector, and sliding end and the aerofoil of slide rheostat are mechanically connected, and are electrically connected with the signal acquisition pin of connector;Wherein, sliding end movement is driven when aerofoil is rotated, and the magnitude of voltage of slide rheostat is exported by signal acquisition pin, mobile terminal is used to calculate wind-force value according to magnitude of voltage.The embodiment of the present invention additionally provides a kind of wind direction method of testing.Relative to prior art, the embodiment of the present invention can improve the degree of accuracy of wind direction value detection, and compact structure, be convenient for carrying.

Description

Wind direction test device and method
Technical field
The present invention relates to field of terminal technology, more particularly to wind direction method of testing and device.
Background technology
Wind speed, wind direction are reaction weather condition very important parameter, the life to environmental monitoring, air adjustment and industrial or agricultural Product has a major impact, therefore quickly accurately measuring wind speed and direction has important practical significance again in time.Traditional vane It is current still widely used detection device with wind vane, but these device architectures are larger, it has not been convenient to carry;The patent No.: 201510346251.X discloses a kind of mobile strap that can test wind direction and mobile phone A PP, and the mobile strap is by solid The capacitance pen that can swing with the wind of suspension on fixed rack, what is produced when being acted on by wind-force certain is flapped toward with pivot angle to test wind Power wind direction, records wind direction, and then understand display wind direction value by mobile phone application software with the sensed position of mobile phone screen A kind of device, but slide rheostat resistance is weighed by touch panel coordinates, because touch panel coordinates error is larger, cause The wind direction value for detecting is not accurate enough.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of wind direction test device and method, can improve wind direction It is worth the degree of accuracy of detection, and compact structure, is convenient for carrying.
In order to solve the above technical problems, The embodiment provides a kind of wind direction test device, being applied to move Dynamic terminal, described device includes:Fixed support, aerofoil, slide rheostat and connector;One end of the aerofoil is solid with described Fixed rack is hinged, and the other end of the aerofoil is hanging;The slide rheostat is arranged on the fixed support;The connector It is connected with the mobile terminal;
One end of the slide rheostat connects the power supply pin of the connector, and the other end of the slide rheostat connects Connect the ground connection pin of the connector, the sliding end of the slide rheostat is mechanically connected with the aerofoil, and with the company Connect the signal acquisition pin electrical connection of device;
Wherein, when the mobile terminal is in wind-force detection pattern, the aerofoil drives the sliding end to move when rotating, And by the magnitude of voltage of the signal acquisition pin output slide rheostat, the mobile terminal is used for according to the voltage Value calculates wind-force value.
Embodiments of the invention additionally provide a kind of wind direction method of testing, are applied to above-mentioned device, methods described Including:When the trigger signal of test wind direction is received, the mobile terminal enters the wind-force detection pattern;Described During device follows the terminal to rotate together with, direction when persistently detecting the mobile terminal in different rotary angle And the magnitude of voltage of the slide rheostat output corresponding with the direction;Wind-force size is calculated according to the magnitude of voltage, and The maximum of the wind-force is obtained as wind-force value;The direction of the corresponding mobile terminal of the wind-force value is obtained, as wind To;Show the wind-force value and wind direction.
The embodiment of the present invention in terms of existing technologies, drives the sliding end of slide rheostat to move when being rotated by aerofoil Move, and then change the resistance of slide rheostat, the value of wind-force is calculated by the magnitude of voltage on slide rheostat.Meanwhile, according to The direction of the geomagnetic sensor computing terminal in terminal, so as to obtain wind direction, compares and passes through touch panel coordinates in the prior art To weigh slide rheostat resistance, the wind direction value that the embodiment of the present invention is detected is more accurate.In addition, the embodiment of the present invention In wind direction test device by that can be connected on mobile terminal by connector, wind direction test need not carried out When also allow for taking off, compact structure, be convenient for carrying.
In addition, the connector is headset plug;The mobile terminal include control chip and with the headset plug The earphone jack of matching;Mike's pin of the headset plug, the first sound channel pin, ground connection pin correspond respectively to the power supply Pin, the signal acquisition pin, the ground connection pin;Mike's pin of the earphone jack connects the control chip respectively Mike end and the first triode colelctor electrode, the emitter stage of first triode connects the feeder ear of the control chip, The base stage of first triode connects the first control end of the control chip;First sound channel pin of the earphone jack point The colelctor electrode of the second triode and the colelctor electrode of the 3rd triode are not connected, and the emitter stage of second triode connects the control The analog-to-digital conversion end of coremaking piece, the base stage of second triode connects first control end, the hair of the 3rd triode Emitter-base bandgap grading connects the first sound channel end of the control chip, and the base stage of the 3rd triode connects the second control of the control chip End processed;
Wherein, when the mobile terminal is in wind-force detection pattern, first control end exports high level signal and institute State the second control end output low level signal;Now, first triode and second triode ON, the described 3rd 3 Pole pipe is turned off, and Mike's pin of the earphone jack is turned on the feeder ear of the control chip, and the first of the earphone jack Sound channel pin is turned on the analog-to-digital conversion end of the control chip;When the mobile terminal is in headset mode, first control End output low level signal processed and second control end output high level signal;Now, first triode and described The shut-off of two triodes, the 3rd triode ON, Mike's pin of the earphone jack and the Mike end of the control chip Conducting, the first sound channel pin of the earphone jack is turned on the first sound channel end of the control chip.
The earphone jack that the present embodiment can be carried using mobile terminal, by increasing by three triodes to existing earphone Control circuit is adjusted so that earphone in the present embodiment control circuit can both realize original ear-phone function, again can be with Coordinating with the headset plug in test device carries out testing wind-force value, simple and convenient.And, can be used in the present embodiment existing Headset plug and earphone jack replace connector, saved cost.
In addition, first sound channel is one of in L channel or R channel.Present embodiments provide the first sound Various implementations in road.
In addition, the fixed support includes base and the framework perpendicular to the base;One end of the aerofoil and institute State frame articulation.Present embodiments provide a kind of support bracket fastened specific implementation.
In addition, the support bracket fastened bottom has adsorption layer, it is described mobile whole for the fixed support to be fixed on On end.More facilitated by adsorption layer and fix on mobile terminals fixed support.
In addition, in the calculating wind-force size according to the magnitude of voltage, specifically including:According to the magnitude of voltage is calculated The resistance value of slide rheostat;The deviation angle of the aerofoil is calculated according to the resistance value;Calculated according to the deviation angle Wind-force size.Present embodiments provide a kind of specific implementation that wind-force size is calculated according to magnitude of voltage.
In addition, in the calculating wind-force size according to the magnitude of voltage, specifically including:According to the magnitude of voltage and the wind The default corresponding relation of the deviation angle of plate, reads the corresponding deviation angle of the magnitude of voltage;Calculated according to the deviation angle Wind-force size.Another specific implementation that wind-force size is calculated according to magnitude of voltage is present embodiments provided, can be direct According to the corresponding deviation angle of default corresponding relation read voltage value of magnitude of voltage and the deviation angle of aerofoil, without calculating, more Plus it is simple, it is convenient.
In addition, the direction and corresponding with direction when persistently detecting that the mobile terminal is in different rotary angle Before the magnitude of voltage of the slide rheostat output, also include:Judge that the fixed support is located at normal place.By fixed support Positioned at normal place, direction when being easy to calculate mobile terminal in different rotary angle based on the normal place.
In addition, after showing the wind-force value and wind direction, also including:Judgement receives the triggering for stopping test wind direction Signal;Exit the wind-force detection pattern.So that embodiments of the invention are more perfect.
Brief description of the drawings
Fig. 1 is wind direction test device structural representation according to a first embodiment of the present invention;
Fig. 2 is the circuit diagram of wind direction test device according to a first embodiment of the present invention;
Fig. 3 is wind direction test device structural representation according to a second embodiment of the present invention;
Fig. 4 is the flow chart of wind direction method of testing according to a third embodiment of the present invention;
Fig. 5 is the flow chart of wind direction method of testing according to a fourth embodiment of the present invention;
Fig. 6 is the flow chart of wind direction method of testing according to a fifth embodiment of the present invention;
Fig. 7 is the flow chart of wind direction method of testing according to a sixth embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to each reality of the invention Example is applied to be explained in detail.However, it will be understood by those skilled in the art that in various embodiments of the present invention, in order to Reader is set to more fully understand the application and propose many ins and outs.But, even if without these ins and outs and based on Under each embodiment many variations and modification, it is also possible to realize the application technical scheme required for protection.
The first embodiment of the present invention is related to a kind of wind direction test device, is applied to mobile terminal 1 00, the present embodiment Wind direction test device include:Fixed support 1, aerofoil 2, slide rheostat 3 and connector 4, as shown in Figure 1:
One end of aerofoil 2 is hinged with fixed support 1, and the other end of aerofoil 2 is hanging;Slide rheostat 3 is arranged at fixed branch On frame 1;Connector 4 is connected with mobile terminal 1 00;One end of slide rheostat 3 connects the power supply pin 41 of connector 4, slides The other end of rheostat 3 connects the ground connection pin 43 of connector 4, and sliding end and the aerofoil 2 of slide rheostat 3 are mechanically connected, and And electrically connected with the signal acquisition pin 42 of connector 4, as shown in Figure 2;
Specifically, the fixed support 1 in the present embodiment includes base 11 and the framework 12 perpendicular to base 11, aerofoil 2 are preferably rectangle, and one end of aerofoil 2 is hinged with framework 12, and the other end is hanging, and when blowing air over, aerofoil 2 is with framework 12 Center rotating.
In the present embodiment, mobile terminal 1 00 be provided with the corresponding interface of connector 4, will can be connected by the interface Device 4 is connected in mobile terminal 1 00, so that wind direction test device accesses mobile terminal 1 00.When mobile terminal 10 is in wind During power detection pattern, such as mobile terminal 1 00 is detected when having accessed wind direction test device, or mobile terminal 1 00 Sliding end movement is driven when receiving the instruction for entering wind-force detection pattern, when aerofoil 2 is rotated, and it is defeated by signal acquisition pin Go out the magnitude of voltage of slide rheostat 3, mobile terminal 1 00 is used to calculate wind-force value according to magnitude of voltage.
Optionally, the bottom of the fixed support 1 in the present embodiment has adsorption layer, for fixed support 1 to be fixed on into shifting In dynamic terminal 100.Specifically, when support is fixed in mobile terminal 1 00, such as the screen of mobile terminal 1 00 can be fixed on On curtain, when calm, screen holding of the aerofoil 2 with mobile terminal 1 00 under self gravitation effect, is vertical, and where aerofoil 2 Plane and the intersection of the plane where screen and the upper and lower ends keeping parallelism of screen, so, when there is wind, aerofoil 2 is in wind Blow down and ceaselessly rotate, mobile terminal 1 00 is slowly rotated by 360 °, when mobile terminal 1 00 rotates to certain angle, aerofoil 2 Rotation amplitude it is maximum, now can be by the side residing for the geomagnetic sensors detection mobile terminal 1 00 in mobile terminal 1 00 To being wind direction.The magnitude of voltage of slide rheostat 3 can calculate wind-force value during according to the rotation amplitude of aerofoil 2 maximum.
The present embodiment in terms of existing technologies, drives the sliding end movement of slide rheostat when being rotated by aerofoil, And then the resistance of change slide rheostat, the value of wind-force is calculated by the magnitude of voltage on slide rheostat.Meanwhile, according to terminal The direction of interior geomagnetic sensor computing terminal, so as to obtain wind direction, is compared and weighed by touch panel coordinates in the prior art Amount slide rheostat resistance, the wind direction value that the present embodiment is detected is more accurate.In addition, the wind direction in the present embodiment Test device need not carry out also allowing for removing when wind direction is tested by that can be connected on mobile terminal by connector Come, compact structure, be convenient for carrying.
The second embodiment of the present invention is related to a kind of wind direction test device.Base of the second embodiment in first embodiment Improved on plinth, theed improvement is that:In the present embodiment, it is possible to use headset plug 5 is used as connector 4.
Specifically, the connector 4 in the present embodiment is headset plug 5;Mobile terminal 1 00 include control chip 6 and The earphone jack 7 matched with headset plug 5;Mike's pin of the headset plug 5 in the present embodiment, the first sound channel pin, ground connection Pin corresponds respectively to power supply pin 41, signal acquisition pin 42, ground connection pin 43;
Mike's pin 71 of earphone jack 7 connects the colelctor electrode of the triode 8 of Mike end 61 and first of control chip 6 respectively C, the emitter e of the first triode 8 connects the feeder ear 62 of control chip 6, the base stage b connection control chips 6 of the first triode 8 The first control end 63;First sound channel pin 72 of earphone jack 7 connects the colelctor electrode c and the three or three of the second triode 9 respectively The colelctor electrode c of pole pipe 10, the emitter e of the second triode 9 connects the analog-to-digital conversion end 64 of control chip 6, the second triode 9 Base stage b connects the first control end 63, and the emitter e of the 3rd triode 10 connects the first sound channel end 65 of control chip 6, the three or three The base stage b of pole pipe connects the second control end 66 of the control chip 6, the connection control chip 6 of ground connection pin 73 of earphone jack 7 Earth terminal 67, as shown in Figure 3.
Wherein, when mobile terminal 1 00 is in wind-force detection pattern, the first control end 63 output high level signal and second Control end 66 exports low level signal;Now, the first triode 8 and the second triode 9 are turned on, and the 3rd triode 10 is turned off, ear Mike's pin in machine transplanting of rice hole 7 is turned on the feeder ear 62 of control chip 6, the first sound channel pin and the control chip 6 of earphone jack 7 Analog-to-digital conversion end 64 turn on, under this pattern, can by earphone jack 7 access wind direction test device, test wind-force Value and wind direction.
When mobile terminal 1 00 is in headset mode, the first control end 63 exports low level signal and the second control end 66 is defeated Go out high level signal;Now, the first triode 8 and the second triode 9 are turned off, and the 3rd triode 10 is turned on, the wheat of earphone jack 7 Gram pin is turned on the Mike end 61 of control chip 6, the first sound channel pin of earphone jack 7 and the first sound channel of control chip 6 End 65 turns on, and under this pattern, earphone jack 7 realizes its original ear-phone function.
It should be noted that the first sound channel in the present embodiment can for L channel or R channel in one of.
The earphone jack that the present embodiment can be carried using mobile terminal, by increasing by three triodes to existing earphone Control circuit is adjusted so that earphone in the present embodiment control circuit can both realize original ear-phone function, again can be with Coordinating with the headset plug in test device carries out testing wind-force value, simple and convenient.And, can be used in the present embodiment existing Headset plug and earphone jack replace connector, saved cost.
Third embodiment of the invention is related to a kind of wind direction method of testing, is applied in first or second embodiment Wind direction test device, the flow of the wind direction method of testing of the present embodiment is as shown in figure 4, specific as follows:
In step 401, judge whether to receive the trigger signal for testing wind direction.Specifically, can be by inspection Whether survey accesses wind direction test device to judge whether to receive the trigger signal for testing wind direction, such as, work as inspection When measuring access wind direction test device, then judge to receive the trigger signal of test wind direction;Or, it is also possible to moving Corresponding APP is installed in dynamic terminal, the test of wind direction is triggered by clicking on the testing button in APP;In this step, if sentencing Disconnected result is yes, illustrates to receive the trigger signal of test wind direction, then into step 402, otherwise explanation is not received by The trigger signal of wind direction is tested, then continues executing with this step.
In step 402, mobile terminal enters wind-force detection pattern.Specifically, into after wind-force detection pattern, can To use wind direction test device, wind direction is tested on mobile terminals.
In step 403, during wind direction test device follows mobile terminal to rotate together with, lasting detection is moved The magnitude of voltage that direction and slide rheostat corresponding with the direction when dynamic terminal is in different rotary angle export.Specifically Say, after wind direction test device is fixed on mobile terminals, mobile terminal can be horizontally rotated 360 degree, wind-force wind To test device as mobile terminal is rotated together with, aerofoil is ceaselessly rotated under the blowing of wind, and mobile terminal is in different rotations During gyration, the wind-force that aerofoil is experienced also can be different, and the resistance of such slide rheostat can not also stop change, slide rheostat The magnitude of voltage of output can also change accordingly, and the magnitude of voltage of slide rheostat output characterizes the wind-force value on aerofoil, that is, slide and become The magnitude of voltage of resistance device output is bigger, and the wind-force that aerofoil is experienced is bigger.
In step 404, wind-force size is calculated according to magnitude of voltage.
In step 405, the maximum of wind-force is obtained as wind-force value.Specifically, horizontally rotated in mobile terminal Cheng Zhong, aerofoil is ceaselessly rotated under the blowing of wind, and when rotation of mobile terminal is to certain angle, the rotation amplitude of aerofoil is most Greatly, the wind-force experienced now on aerofoil is bigger, and the maximum of this wind-force is used as wind-force value.
In a step 406, the direction of the corresponding mobile terminal of wind-force value is obtained, as wind direction.Specifically, on aerofoil The wind-force experienced it is bigger when, the direction of now mobile terminal can be obtained by geomagnetic sensor in mobile terminal, make It is wind direction.
In step 407, wind-force value and wind direction are shown.Specifically, can be somebody's turn to do in the display screen display of mobile terminal Wind-force value and wind direction.
The present embodiment in terms of existing technologies, drives the sliding end movement of slide rheostat when being rotated by aerofoil, And then the resistance of change slide rheostat, the value of wind-force is calculated by the magnitude of voltage on slide rheostat.Meanwhile, according to terminal The direction of interior geomagnetic sensor computing terminal, so as to obtain wind direction, is compared and weighed by touch panel coordinates in the prior art Amount slide rheostat resistance, the wind direction value that the present embodiment is detected is more accurate.
It is seen that, the present embodiment is embodiment of the method corresponding to those in the first embodiment, and the present embodiment can be real with first Example is applied to work in coordination implementation.The relevant technical details mentioned in first embodiment are still effective in the present embodiment, in order to reduce Repeat, repeat no more here.Correspondingly, the relevant technical details mentioned in the present embodiment are also applicable in first embodiment.
Fourth embodiment of the invention is related to a kind of wind direction method of testing.Fourth embodiment is on the basis of 3rd embodiment On made further refinement, refinement part is:In the present embodiment, there is provided one kind of wind-force size is calculated according to magnitude of voltage Specific implementation.The flow of the wind direction method of testing of the present embodiment is as shown in figure 5, specific as follows:
Step 501- steps 503 in the present embodiment are similar with the step 401- steps 403 in 3rd embodiment, herein not Repeat again.
In step 504, wind-force size is calculated according to magnitude of voltage.This step includes step 5041, step 5042 and step 5043。
In step 5041, the resistance value of slide rheostat is calculated according to magnitude of voltage.Specifically, can be according to magnitude of voltage With the resistance value of the ratio calculation slide rheostat of the current value of circuit where slide rheostat.
In step 5042, the deviation angle of aerofoil is calculated according to resistance value.Specifically, can be according to resistance value and wind The default corresponding relation of the deviation angle of plate obtains the deviation angle of the corresponding aerofoil of resistance value.
In step 5043, wind-force size is calculated according to deviation angle.Specifically, can be according to deviation angle and wind-force Corresponding relation obtain the corresponding wind-force size of deviation angle.
Step 505- steps 507 in the present embodiment are similar with the step 405- steps 407 in 3rd embodiment, herein not Repeat again.
Present embodiments provide a kind of specific implementation that wind-force size is calculated according to magnitude of voltage.
Fifth embodiment of the invention is related to a kind of wind direction method of testing.5th embodiment is on the basis of 3rd embodiment On made further refinement, refinement part is:In the present embodiment, there is provided wind-force size is calculated in addition according to magnitude of voltage A kind of specific implementation.The flow of the wind direction method of testing of the present embodiment is as shown in fig. 6, specific as follows:
Step 601- steps 603 in the present embodiment are similar with the step 401- steps 403 in 3rd embodiment, herein not Repeat again.
In step 604, wind-force size is calculated according to magnitude of voltage.Specifically, this step includes step 6041 and step 5042。
In step 6041, according to magnitude of voltage and the default corresponding relation of the deviation angle of aerofoil, read voltage value correspondence Deviation angle.Specifically, magnitude of voltage can be pre-stored in the default corresponding relation of the deviation angle of aerofoil in the present embodiment In mobile terminal.
In step 6042, wind-force size is calculated according to deviation angle.Specifically, can be according to deviation angle and wind-force Corresponding relation obtain the corresponding wind-force size of deviation angle.
Step 605- steps 607 in the present embodiment are similar with the step 405- steps 407 in 3rd embodiment, herein not Repeat again.
Another specific implementation that wind-force size is calculated according to magnitude of voltage is present embodiments provided, can direct root According to the corresponding deviation angle of default corresponding relation read voltage value of magnitude of voltage and the deviation angle of aerofoil, without calculating, more Simply, it is convenient.
Sixth embodiment of the invention is related to a kind of wind direction method of testing.Sixth embodiment is on the basis of 3rd embodiment On improve, mainly the improvement is that, in the present embodiment, can fixed support be located at normal place when enter sector-style again The test of power wind direction, improves the degree of accuracy of detection, and the flow of the wind direction method of testing of the present embodiment is as shown in fig. 7, specific It is as follows:
The step of the present embodiment 701 to step 702 with 3rd embodiment the step of 401- steps 402 it is similar, herein no longer Repeat.
In step 703, judge that fixed support is located at normal place.Specifically, when fixed support is located at normal place When, aerofoil is vertical with the screen holding of mobile terminal, and plane where aerofoil and the plane where screen intersection and screen Upper and lower ends keeping parallelism, so, be easy to based on the normal place calculate mobile terminal be in different rotary angle when side To the wind direction of calculating is more accurate.In this step if the determination result is YES, illustrate that fixed support is located at normal place, then enter Step 704, otherwise illustrates that fixed support is not at normal place, then terminate the flow of wind direction method of testing.
The step of the present embodiment 704 to step 708 with 3rd embodiment the step of 403- steps 407 it is similar, herein no longer Repeat.
In step 709, judge whether to receive the trigger signal for stopping test wind direction.Specifically, Ke Yitong Cross and detect whether to disconnect wind direction test device to judge whether to receive the trigger signal for stopping test wind direction, such as Say, when disconnection wind direction test device is detected, then judge to receive the trigger signal for stopping test wind direction;Or Person, it is also possible to install corresponding APP on mobile terminals, wind direction is stopped by clicking on the conclusion button in APP and triggering Test;In this step, if the determination result is YES, illustrate to receive the trigger signal for stopping test wind direction, then into step 710, otherwise explanation is not received by stopping the trigger signal of test wind direction, then continue executing with this step.
In step 720, wind-force detection pattern is exited.
In the present embodiment, the test of wind direction can be again carried out when fixed support is located at normal place, it is easy to be based on The direction when normal place calculates mobile terminal in different rotary angle, improves the degree of accuracy of detection, in addition, in display wind After force value and wind direction, when the backed off after random wind-force detection pattern of the trigger signal for judging to receive stopping test wind direction, make Obtain the present embodiment more perfect.
It will be appreciated by those skilled in the art that all or part of step in realizing above-described embodiment method can be by Program is completed to instruct the hardware of correlation, and the program storage is in a storage medium, including some instructions are used to so that one Individual equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform the application each embodiment methods described All or part of step.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the various embodiments described above are to realize specific embodiment of the invention, and In actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (10)

1. a kind of wind direction test device, is applied to mobile terminal, it is characterised in that described device includes:Fixed support, wind Plate, slide rheostat and connector;
One end of the aerofoil is hinged with the fixed support, and the other end of the aerofoil is hanging;
The slide rheostat is arranged on the fixed support;
The connector is connected with the mobile terminal;
One end of the slide rheostat connects the power supply pin of the connector, the other end connection institute of the slide rheostat State the ground connection pin of connector, the sliding end of the slide rheostat is mechanically connected with the aerofoil, and with the connector Signal acquisition pin electrical connection;
Wherein, when the mobile terminal is in wind-force detection pattern, the aerofoil drives the sliding end to move when rotating, and leads to The magnitude of voltage that the signal acquisition pin exports the slide rheostat is crossed, the mobile terminal is based on according to the magnitude of voltage Calculate wind-force value.
2. device according to claim 1, it is characterised in that the connector is headset plug;The mobile terminal bag Include control chip and the earphone jack matched with the headset plug;
Mike's pin of the headset plug, the first sound channel pin, ground connection pin correspond respectively to the power supply pin, the letter Number collection pin, the ground connection pin;
Mike's pin of the earphone jack connects the Mike end of the control chip and the colelctor electrode of the first triode, institute respectively The emitter stage for stating the first triode connects the feeder ear of the control chip, and the base stage of first triode connects the control First control end of chip;
First sound channel pin of the earphone jack connects the colelctor electrode of the second triode and the colelctor electrode of the 3rd triode respectively, The emitter stage of second triode connects the analog-to-digital conversion end of the control chip, the base stage connection institute of second triode The first control end is stated, the emitter stage of the 3rd triode connects the first sound channel end of the control chip, the three or three pole The base stage of pipe connects the second control end of the control chip;
Wherein, when the mobile terminal is in wind-force detection pattern, first control end output high level signal and described the Two control ends export low level signal;Now, first triode and second triode ON, the 3rd triode Shut-off, Mike's pin of the earphone jack is turned on the feeder ear of the control chip, the first sound channel of the earphone jack Pin is turned on the analog-to-digital conversion end of the control chip;
When the mobile terminal is in headset mode, first control end exports low level signal and second control end is defeated Go out high level signal;Now, first triode and second triode are turned off, and the 3rd triode ON is described The Mike end of Mike's pin of earphone jack and the control chip turns on, the first sound channel pin of the earphone jack with it is described The first sound channel end conducting of control chip.
3. device according to claim 2, it is characterised in that first sound channel is its in L channel or R channel One of.
4. device according to claim 1, it is characterised in that the fixed support includes base and perpendicular to the bottom The framework of seat;
One end of the aerofoil and the frame articulation.
5. device according to claim 1, it is characterised in that the support bracket fastened bottom has adsorption layer, for will The fixed support is fixed on the mobile terminal.
6. a kind of wind direction method of testing, is applied to as described in any one of claim 1 to claim 5 claim Device, it is characterised in that methods described includes:
When the trigger signal of test wind direction is received, the mobile terminal enters the wind-force detection pattern;
During described device follows the terminal to rotate together with, persistently detect that the mobile terminal is in different rotary angle The magnitude of voltage in direction and the slide rheostat output corresponding with the direction when spending;
Wind-force size is calculated according to the magnitude of voltage, and obtains the maximum of the wind-force as wind-force value;
The direction of the corresponding mobile terminal of the wind-force value is obtained, as wind direction;
Show the wind-force value and the wind direction.
7. method according to claim 6, it is characterised in that described that wind-force size calculated according to the magnitude of voltage, tool Body includes:
The resistance value of the slide rheostat is calculated according to the magnitude of voltage;
The deviation angle of the aerofoil is calculated according to the resistance value;
Wind-force size is calculated according to the deviation angle.
8. method according to claim 6, it is characterised in that described that wind-force size calculated according to the magnitude of voltage, tool Body includes:
According to the magnitude of voltage and the default corresponding relation of the deviation angle of the aerofoil, the corresponding skew of the magnitude of voltage is read Angle;
Wind-force size is calculated according to the deviation angle.
9. method according to claim 6, it is characterised in that persistently detect that the mobile terminal is in different rotary angle When direction and the slide rheostat corresponding with direction output magnitude of voltage before, also include:
Judge that the fixed support is located at normal place.
10. method according to claim 6, it is characterised in that after the display wind-force value and wind direction, also include:
Judgement receives the trigger signal for stopping test wind direction;
Exit the wind-force detection pattern.
CN201710090763.3A 2017-02-20 2017-02-20 Wind direction test device and method Pending CN106841670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710090763.3A CN106841670A (en) 2017-02-20 2017-02-20 Wind direction test device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710090763.3A CN106841670A (en) 2017-02-20 2017-02-20 Wind direction test device and method

Publications (1)

Publication Number Publication Date
CN106841670A true CN106841670A (en) 2017-06-13

Family

ID=59128697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710090763.3A Pending CN106841670A (en) 2017-02-20 2017-02-20 Wind direction test device and method

Country Status (1)

Country Link
CN (1) CN106841670A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107389140A (en) * 2017-08-17 2017-11-24 上海建科建筑节能技术股份有限公司 Subway tunnel testing natural ventilation rate is put
CN108709677A (en) * 2018-04-13 2018-10-26 北京汽车集团有限公司 wind sensor and vehicle
CN110165572A (en) * 2019-05-07 2019-08-23 安徽永川电气设备有限公司 A kind of power distribution cabinet with intelligent wind power generating function
CN111948424A (en) * 2020-07-16 2020-11-17 新华三技术有限公司 Wind direction detection system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1303943A1 (en) * 1985-10-10 1987-04-15 Куйбышевский авиационный институт им.акад.С.П.Королева Transducer of kinetic energy head of gas flow
CN202770582U (en) * 2012-06-17 2013-03-06 毕明星 Wind force measuring instrument
CN103076464A (en) * 2012-12-20 2013-05-01 东南大学 Wind-speed and wind-direction sensor
CN103824489A (en) * 2014-02-25 2014-05-28 孔永津 Wind power tester
CN104122028A (en) * 2014-06-16 2014-10-29 袁家建 Wind power measurement module
CN204575678U (en) * 2015-04-23 2015-08-19 孙铭 Simple indoor wind indicator
CN104954571A (en) * 2015-06-19 2015-09-30 东南大学 Mobile phone accessory and mobile phone APP (application) capable of testing wind power and wind direction
CN205374506U (en) * 2015-12-28 2016-07-06 中国石油天然气股份有限公司 Wind -force wind direction indicating device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1303943A1 (en) * 1985-10-10 1987-04-15 Куйбышевский авиационный институт им.акад.С.П.Королева Transducer of kinetic energy head of gas flow
CN202770582U (en) * 2012-06-17 2013-03-06 毕明星 Wind force measuring instrument
CN103076464A (en) * 2012-12-20 2013-05-01 东南大学 Wind-speed and wind-direction sensor
CN103824489A (en) * 2014-02-25 2014-05-28 孔永津 Wind power tester
CN104122028A (en) * 2014-06-16 2014-10-29 袁家建 Wind power measurement module
CN204575678U (en) * 2015-04-23 2015-08-19 孙铭 Simple indoor wind indicator
CN104954571A (en) * 2015-06-19 2015-09-30 东南大学 Mobile phone accessory and mobile phone APP (application) capable of testing wind power and wind direction
CN205374506U (en) * 2015-12-28 2016-07-06 中国石油天然气股份有限公司 Wind -force wind direction indicating device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107389140A (en) * 2017-08-17 2017-11-24 上海建科建筑节能技术股份有限公司 Subway tunnel testing natural ventilation rate is put
CN108709677A (en) * 2018-04-13 2018-10-26 北京汽车集团有限公司 wind sensor and vehicle
CN110165572A (en) * 2019-05-07 2019-08-23 安徽永川电气设备有限公司 A kind of power distribution cabinet with intelligent wind power generating function
CN111948424A (en) * 2020-07-16 2020-11-17 新华三技术有限公司 Wind direction detection system

Similar Documents

Publication Publication Date Title
CN106841670A (en) Wind direction test device and method
CN111521213A (en) Sensor testing device and method
CN108332931A (en) A kind of drop test device for handset touch panel
CN206493333U (en) A kind of robot balance testing agency
CN103246431B (en) A kind of regulation screen display direction method, Apparatus and system
CN202758003U (en) DC resistance tester
CN206058173U (en) The burning of automobile clutch angular transducer and test device
CN106645972A (en) Platform used for detecting resistance value of small resistor
CN203479796U (en) Soil moisture detection system
CN202836960U (en) Mechanical performance detection device of control panel
CN205359478U (en) Portable intelligent PFT appearance
CN209841023U (en) Upright column verticality detector
CN107421494A (en) Vehicle attitude detection method and device
CN104702842B (en) A kind of method for controlling rotating camera component to rotate and mobile terminal
CN206523398U (en) A kind of mud balance detection means of construction of the highway
CN206523112U (en) A kind of Automobile Parts Inspection fixing device
CN107741239A (en) Gyroscope scale factor test system and method
CN204859297U (en) A mechanical hand device for testing cell -phone temperature and sensitivity
CN209131842U (en) Temperature testing device and Research on Automatic Measuring System of Temperature
CN109211722A (en) A kind of shale gas desorption pressures test device
CN107346276A (en) One kind is based on domestic processor platform SATA chip signal testing tools
CN104034450B (en) The measuring method of automobile door glass motion stress
CN209117627U (en) A kind of audio technology building hollowing detector and robot
CN211505622U (en) Portable detection device of active capacitance pen
CN105847500B (en) Test result wiring method, device and test macro and mobile terminal

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200211

AD01 Patent right deemed abandoned