CN103236139B - The method of work of reading/writing distance correcting instrument - Google Patents

The method of work of reading/writing distance correcting instrument Download PDF

Info

Publication number
CN103236139B
CN103236139B CN201310128093.1A CN201310128093A CN103236139B CN 103236139 B CN103236139 B CN 103236139B CN 201310128093 A CN201310128093 A CN 201310128093A CN 103236139 B CN103236139 B CN 103236139B
Authority
CN
China
Prior art keywords
chip microcomputer
power supply
ultrasonic sensor
distance
performs
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.)
Expired - Fee Related
Application number
CN201310128093.1A
Other languages
Chinese (zh)
Other versions
CN103236139A (en
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.)
Dalian Minzu University
Original Assignee
Dalian Nationalities University
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 Dalian Nationalities University filed Critical Dalian Nationalities University
Priority to CN201310128093.1A priority Critical patent/CN103236139B/en
Publication of CN103236139A publication Critical patent/CN103236139A/en
Application granted granted Critical
Publication of CN103236139B publication Critical patent/CN103236139B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The invention discloses a kind of method of work of reading/writing distance correcting instrument, comprise the steps: S1: power-on I, power supply II; S2: button arranges the distance threshold between ultrasonic sensor and user and exports to single-chip microcomputer; S3: described distance threshold is stored to storer and controls display screen and shows this distance threshold by single-chip microcomputer; S4: Single-chip Controlling power supply II is closed; S5: whether have people within the scope of infrared sensor detection 1m, and result of detection is exported to single-chip microcomputer, be perform S6, otherwise perform S4; S6: Single-chip Controlling power supply II is opened; S7: ultrasonic sensor obtains the distance between user and this ultrasonic sensor and acquisition result is exported to single-chip microcomputer; S8: single-chip microcomputer judges whether described distance that ultrasonic sensor obtains is less than the distance threshold of storage, is perform S9, otherwise performs S5; S9: the prompting of monolithic processor controlled sounding device is reported to the police, and performs S7; Energy-saving practical of the present invention, hommization are good.

Description

The method of work of reading/writing distance correcting instrument
Technical field
The present invention relates to a kind of reading/writing distance correcting instrument and method of work thereof.
Background technology
Current teen-age near-sighted number increases year by year, and cause the reason of myopia except schoolwork burden is heavy, also have much relations with teen-age read-write custom, closely read-write causes adolescent myopia very important reason for a long time.There is following shortcoming in the device corrected for reading/writing distance of the prior art: complex structure, carries inconvenience; Power consumption is higher, needs external power supply, limits range of application; Automatically can not open, and then can not realize the moment and use and correct; Reading/writing distance is non-adjustable, hommization difference etc.
Summary of the invention
The present invention is directed to the proposition of above problem, and develop that a kind of structure is simple, the reading/writing distance correcting instrument of energy-saving practical and method of work thereof.
Technological means of the present invention is as follows:
A kind of reading/writing distance correcting instrument, comprising:
Whether people is had and the infrared sensor exporting result of detection for detecting within the scope of 1m;
The ultrasonic sensor obtaining result is also exported for the distance obtained between user and ultrasonic sensor;
The button of single-chip microcomputer is exported to for the distance threshold that arranges between ultrasonic sensor and user;
For the storer stored described distance threshold;
For the display screen shown described distance threshold;
For the power supply I of powering to infrared sensor and single-chip microcomputer;
Connect button respectively, storer, display screen, infrared sensor, ultrasonic sensor, distance threshold for being transmitted by button is stored to storer and controls display screen and shows this distance threshold, power supply II opening and closing are controlled according to whether there being the result of detection of people within the scope of the 1m that infrared sensor exports, judge the size of the distance threshold that the Distance geometry between the user that ultrasonic sensor obtains and this ultrasonic sensor stores, and according to the single-chip microcomputer that the judged result control acoustical generator prompting that the described distance that ultrasonic sensor obtains is less than distance threshold is reported to the police,
Control signal for transmitting according to single-chip microcomputer carries out pointing out the acoustical generator of reporting to the police;
For the power supply II of powering to button, storer, display screen, ultrasonic sensor and acoustical generator;
The upper cover also comprising base and be coupling with base; Described storer, power supply I, single-chip microcomputer and power supply II are encapsulated in base; Described infrared sensor, ultrasonic sensor and acoustical generator are arranged on base; Described button and display screen are arranged on the upper surface of upper cover;
Further, described infrared sensor and ultrasonic sensor are placed in the storage tank that base is provided with;
Further, described acoustical generator comprises the loudspeaker being arranged on base upper surface and the earphone be connected with the earphone interface that base side wall has;
Further, described power supply I and power supply II are battery;
Further, described base side wall is also provided with the charging inlet for charging to power supply I and power supply II.
A method of work for reading/writing distance correcting instrument, comprises the steps:
S1: power-on I, power supply II, performs S2;
S2: button arranges the distance threshold between ultrasonic sensor and user and exports to single-chip microcomputer, performs S3;
S3: described distance threshold is stored to storer and controls display screen and shows this distance threshold by single-chip microcomputer, performs S4;
S4: Single-chip Controlling power supply II is closed, performs S5;
S5: whether have people within the scope of infrared sensor detection 1m, and result of detection is exported to single-chip microcomputer, be perform S6, otherwise perform S4;
S6: Single-chip Controlling power supply II is opened, performs S7;
S7: ultrasonic sensor obtains the distance between user and this ultrasonic sensor and acquisition result is exported to single-chip microcomputer, performs S8;
S8: single-chip microcomputer judges whether described distance that ultrasonic sensor obtains is less than the distance threshold of storage, is perform S9, otherwise performs S5;
S9: the prompting of monolithic processor controlled sounding device is reported to the police, and performs S7.
Owing to have employed technique scheme, reading/writing distance correcting instrument provided by the invention and method of work thereof, by adopting power supply I, power supply II is powered respectively, when infrared sensor detect within the scope of 1m have people time, single-chip microcomputer controls power supply II unlatching again, at this moment ultrasonic sensor obtains the distance between user and this ultrasonic sensor again, and then achieve when having people to exist in certain limit around the present invention, with ultrasonic sensor be core reading/writing distance obtain and remind ingredient just start work, when infrared sensor to detect within the scope of 1m nobody, Single-chip Controlling power supply II is closed, not only reduce power consumption of opening in real time for the device of reading/writing distance rectification of the prior art, and can realize when infrared sensor detect within the scope of 1m have people time, the present invention starts working automatically, avoiding the device for reading/writing distance rectification of the prior art needs user manually opened, user is often occurred to forget opening device and the problem that can not correct reading/writing distance in the moment, thus teen-age read-write custom well cannot be ensured, for above-mentioned reasons, power consumption of the present invention is less, and then adopts battery as power supply, can use the present invention whenever and wherever possible like this, and solving the device for reading/writing distance rectification of the prior art generally needs the awkward problem of external power supply, single-chip microcomputer, storer, infrared sensor and ultrasonic sensor etc. are arranged in base by the present invention simultaneously, when button and display screen be placed in be coupling with base on cover, distribution rationally, namely be convenient to user and set applicable reading/writing distance, also be conducive to infrared sensor and ultrasonic sensor detection and obtain data, structure is simple, easy to carry, when the described distance that ultrasonic sensor obtains is less than the distance threshold of setting, the prompting of monolithic processor controlled sounding device is reported to the police, user is reminded to adjust current reading/writing distance, correct the read-write custom of oneself, thus effectively prevent the generation of adolescent myopia, structure of the present invention is simple, energy-saving practical, automaticity are high, hommization good, not only be convenient to produce, and cost is very cheap is suitable for extensive popularization.
Accompanying drawing explanation
Fig. 1, Fig. 2 are the structural representations of correcting instrument of the present invention;
Fig. 3 is the structured flowchart of correcting instrument of the present invention;
Fig. 4 is the process flow diagram of method of work of the present invention.
In figure: 1, loudspeaker, 2, base, 3, infrared sensor, 4, ultrasonic sensor, 5, power supply I, 6, storer, 7, power supply II, 8, earphone interface, 9, charging inlet, 10, single-chip microcomputer, 11, upper cover, 12, button, 13, display screen, 14, acoustical generator.
Embodiment
A kind of reading/writing distance correcting instrument as shown in Figure 1, Figure 2 and Figure 3, comprising: whether have people and the infrared sensor 3 exporting result of detection for detecting within the scope of 1m, also the ultrasonic sensor 4 obtaining result is exported for the distance obtained between user and ultrasonic sensor 4, the button 12 of single-chip microcomputer 10 is exported to for the distance threshold that arranges between ultrasonic sensor 4 and user, for the storer 6 stored described distance threshold, for the display screen 13 shown described distance threshold, for the power supply I 5 of powering to infrared sensor 3 and single-chip microcomputer 10, connect button 12 respectively, storer 6, display screen 13, infrared sensor 3, ultrasonic sensor 4, distance threshold for being transmitted by button 12 is stored to storer 6 and controls display screen 13 and shows this distance threshold, control power supply II 7 according to whether there being the result of detection of people within the scope of the 1m that infrared sensor 3 exports to open and close, judge the size of the distance threshold that the Distance geometry between the user that ultrasonic sensor 4 obtains and this ultrasonic sensor 4 stores, and according to the single-chip microcomputer 10 that judged result control acoustical generator 14 prompting that the described distance that ultrasonic sensor 4 obtains is less than distance threshold is reported to the police, control signal for transmitting according to single-chip microcomputer 10 carries out pointing out the acoustical generator 14 of reporting to the police, for the power supply II 7 of powering to button 12, storer 6, display screen 13, ultrasonic sensor 4 and acoustical generator 14, the upper cover 11 also comprising base 2 and be coupling with base 2, described storer 6, power supply I 5, single-chip microcomputer 10 and power supply II 7 are encapsulated in base 2, described infrared sensor 3, ultrasonic sensor 4 and acoustical generator 14 are arranged on base 2, described button 12 and display screen 13 are arranged on the upper surface of upper cover 11, further, described infrared sensor 3 and ultrasonic sensor 4 are placed in the storage tank that base 2 is provided with, described acoustical generator 14 comprises the loudspeaker 1 being arranged on base 2 upper surface and the earphone be connected with the earphone interface 8 that base 2 sidewall has, described power supply I 5 and power supply II 7 are battery, described base 2 sidewall is also provided with the charging inlet 9 for charging to power supply I 5 and power supply II 7.
The method of work of a kind of reading/writing distance correcting instrument as shown in Figure 4, comprises the steps:
S1: power-on I 5, power supply II 7, performs S2;
S2: button 12 arranges the distance threshold between ultrasonic sensor 4 and user and exports to single-chip microcomputer 10, performs S3;
S3: described distance threshold is stored to storer 6 and controls display screen 13 and shows this distance threshold by single-chip microcomputer 10, performs S4;
S4: single-chip microcomputer 10 controls power supply II 7 and cuts out, and performs S5;
S5: infrared sensor 3 detects within the scope of 1m whether have people, and result of detection is exported to single-chip microcomputer 10, be perform S6, otherwise perform S4;
S6: single-chip microcomputer 10 controls power supply II 7 and opens, and performs S7;
S7: ultrasonic sensor 4 obtains the distance between user and this ultrasonic sensor 4 and acquisition result is exported to single-chip microcomputer 10, performs S8;
S8: single-chip microcomputer 10 judges whether described distance that ultrasonic sensor 4 obtains is less than the distance threshold of storage, is perform S9, otherwise performs S5;
S9: single-chip microcomputer 10 controls acoustical generator 14 and points out warning, performs S7.
Reading/writing distance correcting instrument provided by the invention and method of work thereof, by adopting power supply I, power supply II is powered respectively, when infrared sensor detect within the scope of 1m have people time, single-chip microcomputer controls power supply II unlatching again, at this moment ultrasonic sensor obtains the distance between user and this ultrasonic sensor again, and then achieve when having people to exist in certain limit around the present invention, with ultrasonic sensor be core reading/writing distance obtain and remind ingredient just start work, when infrared sensor to detect within the scope of 1m nobody, Single-chip Controlling power supply II is closed, not only reduce power consumption of opening in real time for the device of reading/writing distance rectification of the prior art, and can realize when infrared sensor detect within the scope of 1m have people time, the present invention starts working automatically, avoiding the device for reading/writing distance rectification of the prior art needs user manually opened, user is often occurred to forget opening device and the problem that can not correct reading/writing distance in the moment, thus teen-age read-write custom well cannot be ensured, for above-mentioned reasons, power consumption of the present invention is less, and then adopts battery as power supply, can use the present invention whenever and wherever possible like this, and solving the device for reading/writing distance rectification of the prior art generally needs the awkward problem of external power supply, single-chip microcomputer, storer, infrared sensor and ultrasonic sensor etc. are arranged in base by the present invention simultaneously, when button and display screen be placed in be coupling with base on cover, distribution rationally, namely be convenient to user and set applicable reading/writing distance, also be conducive to infrared sensor and ultrasonic sensor detection and obtain data, structure is simple, easy to carry, when the described distance that ultrasonic sensor obtains is less than the distance threshold of setting, the prompting of monolithic processor controlled sounding device is reported to the police, described acoustical generator comprises loudspeaker and earphone, different acoustical generators can be switched in different environments for use, user is reminded to adjust current reading/writing distance, correct the read-write custom of oneself, thus effectively prevent the generation of adolescent myopia, structure of the present invention is simple, energy-saving practical, automaticity is high, hommization is good, when using of the present invention, only this correcting instrument need be placed in user front to start shooting, power consumption of the present invention is very low, without external power supply, 3 joints No. 5 batteries are enough to use half a year, this correcting instrument does not have Radiation On Human body harmless, not only be convenient to produce, and cost is very cheap is suitable for extensive popularization, there is wide market outlook and good social benefit.
The above; be only the present invention's preferably embodiment; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, all should be encompassed within protection scope of the present invention.

Claims (1)

1. a method of work for reading/writing distance correcting instrument, is characterized in that comprising the steps:
S1: power-on I (5), power supply II (7), described power supply I (5) is for powering to infrared sensor (3) and single-chip microcomputer (10), power supply II (7), for the power supply of button (12), display screen (13), ultrasonic sensor (4) and acoustical generator (14), performs S2;
S2: button (12) arranges the distance threshold between ultrasonic sensor (4) and user and exports to single-chip microcomputer (10), performs S3;
S3: described distance threshold is stored to storer (6) and controls display screen (13) and shows this distance threshold by single-chip microcomputer (10), performs S4;
S4: single-chip microcomputer (10) controls power supply II (7) and cuts out, and performs S5;
S5: whether have people within the scope of infrared sensor (3) detection 1m, and result of detection is exported to single-chip microcomputer (10), be perform S6, otherwise perform S4;
S6: single-chip microcomputer (10) controls power supply II (7) and opens, and performs S7;
S7: ultrasonic sensor (4) obtains the distance between user and this ultrasonic sensor (4) and acquisition result is exported to single-chip microcomputer (10), performs S8;
S8: single-chip microcomputer (10) judges whether described distance that ultrasonic sensor (4) obtains is less than the distance threshold of storage, is perform S9, otherwise performs S5;
S9: single-chip microcomputer (10) controls acoustical generator (14) prompting and reports to the police, and performs S7.
CN201310128093.1A 2013-04-13 2013-04-13 The method of work of reading/writing distance correcting instrument Expired - Fee Related CN103236139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310128093.1A CN103236139B (en) 2013-04-13 2013-04-13 The method of work of reading/writing distance correcting instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310128093.1A CN103236139B (en) 2013-04-13 2013-04-13 The method of work of reading/writing distance correcting instrument

Publications (2)

Publication Number Publication Date
CN103236139A CN103236139A (en) 2013-08-07
CN103236139B true CN103236139B (en) 2016-02-17

Family

ID=48884177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310128093.1A Expired - Fee Related CN103236139B (en) 2013-04-13 2013-04-13 The method of work of reading/writing distance correcting instrument

Country Status (1)

Country Link
CN (1) CN103236139B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777476A (en) * 2014-06-27 2015-07-15 胡祖国 Device for preventing shortsightedness
CN106781324A (en) * 2017-01-09 2017-05-31 海南易成长科技有限公司 Vertebra system for prompting and light fixture are protected in a kind of eyeshield

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201886599U (en) * 2010-05-28 2011-06-29 长安大学 Juvenile sitting posture correction device based on automatic voltage regulation (AVR) singlechip
CN202383805U (en) * 2011-11-22 2012-08-15 冯淑娟 Sitting posture corrector
CN202838633U (en) * 2012-10-16 2013-03-27 浪潮集团有限公司 Computer infrared sitting posture correction device
CN203179245U (en) * 2013-04-13 2013-09-04 大连民族学院 Eye-to-table distance rectifier

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4620959B2 (en) * 2004-03-26 2011-01-26 キヤノン株式会社 Biological information monitor device
JP2010055585A (en) * 2008-08-29 2010-03-11 Plus Vision Corp Electronic pen device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201886599U (en) * 2010-05-28 2011-06-29 长安大学 Juvenile sitting posture correction device based on automatic voltage regulation (AVR) singlechip
CN202383805U (en) * 2011-11-22 2012-08-15 冯淑娟 Sitting posture corrector
CN202838633U (en) * 2012-10-16 2013-03-27 浪潮集团有限公司 Computer infrared sitting posture correction device
CN203179245U (en) * 2013-04-13 2013-09-04 大连民族学院 Eye-to-table distance rectifier

Also Published As

Publication number Publication date
CN103236139A (en) 2013-08-07

Similar Documents

Publication Publication Date Title
CN105357566B (en) A kind of voice remote controller and its method of supplying power to
CN204103574U (en) A kind of electronic lock full-automatic wireless charging device
CN106304485A (en) Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof
CN103236139B (en) The method of work of reading/writing distance correcting instrument
CN204315049U (en) A kind of bluetooth earphone formula myopia-proof intelligent instrument
CN205029825U (en) Intelligence accuse sleep earphone
CN206601649U (en) A kind of computer monitor with eyesight protection function
CN205881135U (en) Eyeshield mat applying with real -time propmting function
CN205728917U (en) A kind of ultrasound wave awakening pillow
CN203179245U (en) Eye-to-table distance rectifier
CN204351215U (en) A kind of Intelligent bracelet with temperature difference charge function
CN206861746U (en) A kind of portable negative ion air purifier
CN203012926U (en) Intelligent sitting posture monitor
CN206610301U (en) A kind of ciphering type guard of computer device
CN109495629A (en) A kind of cell-phone cover
CN205910506U (en) Quartzy clock with wireless function of charging
CN205539983U (en) It reminds alarm clock of function to have seat of a specified duration based on smart mobile phone
CN212788482U (en) Portable intelligent blood pressure detector
CN210055504U (en) Water cup device with drinking water prompt function
CN106054750A (en) Intelligent device for prompting acceptable intake of cooking seasoning used in kitchen
CN207198563U (en) A kind of multi-function watch
CN205828843U (en) A kind of intelligent Self-disconnecting data wire based on infrared induction
CN205829241U (en) A kind of automatic charging structure of robot
CN201199297Y (en) Anti-myopia spectacles
CN204428393U (en) Based on the guide hat that Arduino controls

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160217

Termination date: 20190413