Integrated projection water heater, method for controlling projection and readable storage medium storing program for executing
Technical field
The present invention relates to field of water heaters, in particular to the integrated projection water heater of one kind, a kind of method for controlling projection
With a kind of computer readable storage medium.
Background technology
Electric appliance water heater has become the electric appliance that family generally uses, and is all typically mounted in bathroom, and user is daily
Time majority in bathroom is more than more than half an hour, for the recreational facilities in bathroom,
(1) most users can enter bathroom with mobile phone, be on the one hand easy to cause mobile phone water inlet, on the other hand take a shower in user
When it is inconvenient for operation.
(2) projection arrangement set in the housing of water heater in the relevant technologies, the projection lens of projection arrangement are placed in shell
On the one hand body surface face can only unidirectionally project, on the other hand, lack of defination, the usage experience of influence power user.
Invention content
At least one in order to solve the above-mentioned technical problem, an object of the present invention is to provide the integrated projection hot water of one kind
Device.
It is another object of the present invention to propose a kind of method for controlling projection.
Another object of the present invention is to propose a kind of integrated projection water heater.
A further object of the present invention is to propose a kind of computer readable storage medium.
To achieve these goals, the embodiment of first aspect present invention proposes a kind of integrated projection water heater, including:
Electric appliance water heater;Projection device is set to the lower part of the housing of water heater, and is connect with Water heater electric, and projection device is used to project
Projected image;Reflecting device is projected, including apparatus casing and is set to the speculum on apparatus casing surface, speculum is with throwing
Shadow equipment is correspondingly arranged, and when speculum is opened, projected image can be by mirror projection to first to region, to form
One size broadcast interface, when projection mirror is closed, projected image can be projected directly to second to region, to form second
Size broadcast interface;Projection screen can be deployed in first to region and/or second to region, so that broadcast interface is shown in throwing
On shadow curtain.
In the technical scheme, projection device is provided on electric appliance water heater, is played with realizing in bathroom by projecting
The function of video projects reflecting device by setting, realizes projected image and be able to be projected in first to region or second
To region, allow the user to respectively by first to the first size broadcast interface in region or by second to the of region
Two broadcast interfaces watch project content, by setting the projection screen that can be unfolded or pack up, and in the prior art directly by image
It projects on the single wall in bathroom and compares, on the one hand, meet user's project content viewed from different directions in bathroom
On the other hand demand, has ceramic tile due to bathing indoor wall and being usually sticked, by setting projection screen, project content is enable to throw
On shadow to projection screen, the clarity of project content broadcasting is improved, improves the viewing experience of user.
In addition, the integrated projection water heater in above-described embodiment provided by the invention can also have following supplementary technology spy
Sign:
In the above-mentioned technical solutions, it is preferable that further include:Controller is respectively connected to electric appliance water heater and projection device,
For controlling, electric appliance water heater is run controller and/or projection device is run.
In the technical scheme, the operation of electric appliance water heater and projection device is controlled respectively by using a controller,
The integrated control of water heater and projection device is realized, so as to which when opening water heater, synchronous realization is to projection device
Initialization control, and then improve the convenience of the control of projection device.
In any of the above-described technical solution, it is preferable that projection reflecting device further includes:Shaft is horizontally placed on equipment shell
The upside of body, speculum can rotate around the axis;Stepper motor, is respectively connected to controller and shaft, and stepper motor is used to drive
Turn shaft rotation is moved, and to control, speculum overturning is opened or overturning is closed.
In the technical scheme, it is electric rotating machine by setting shaft and stepper motor, stepper motor on projection device,
It is rotated with drive shaft, shaft drives speculum to open by overturning or pack up closing in rotation process, by by controller
Be connected to stepper motor, with by controller control stepper motor run, and then realize see speculum automatic turning open or
Pack up closing.
In any of the above-described technical solution, it is preferable that projection reflecting device further includes:First travel switch is set to
In standby housing, and controller is connected to, when speculum is opened, the first travel switch is closed;Second travel switch is set to
In standby housing, and controller is connected to, when speculum overturns and is closed, the second travel switch is closed.
In the technical scheme, by setting the first travel switch and the respectively in the apparatus casing of projection reflecting device
Two travel switches with the state according to the first travel switch detected and the state of the second travel switch, determine speculum institute
The state at place, detection method is simple, and reliability is high.
In any of the above-described technical solution, it is preferable that further include:Focusing detection device is connected to projection device, focusing inspection
Survey the clarity that device is used to detect projected image.
In the technical scheme, by setting focusing detection device, to detect whether current focus makes current perspective view
Seem no in the clarity state for being suitble to viewing, when detecting that current image quality is bad, automatic focusing is realized, with further
It is lifted at the convenience and user experience preset when carrying out intelligent entertainment.
In any of the above-described technical solution, it is preferable that focusing detection device includes:Image capture device, can be with projection
Image is correspondingly arranged, and is connected to controller, and image capture device is detected by controller and projected after projected image is collected
Whether the pixel point density of image is less than pre-set density threshold value, with when pixel point density is less than pre-set density threshold value, control is adjusted
Save the focal length of projection device.
In the technical scheme, image collecting device is set as by the detection device that will focus, to acquire current projection
Image, and projected image is sent to controller, with by the pixel point density of controller parsing current projected picture, and by with
Pre-set density threshold value is compared, and judges whether the clarity of current projected picture meets viewing demand, to be unsatisfactory in judgement
During viewing demand, by adjusting focal length, image definition is adjusted.
Wherein, image collecting device can be correspondingly arranged two, with corresponding acquisition first to region with second to region
Image.
In any of the above-described technical solution, it is preferable that focusing detection device includes:Distance detection device is set to projection
In equipment, and be connected to controller, distance detection device for detection of projection devices camera lens and first to region or second to
The distance between region, so that controller determines whether to control to adjust the focal length of projection device according to distance.
In the technical scheme, by the distance between distance detection device detection of projection devices and view field, pass through
Controller determines the focal length that distance needs are arranged in pairs or groups, and to obtain clear picture, controller may be used look-up table and find the projection
Apart from required lens location, then zoom stype projection lens is driven to turn to the position using not only motor, to realize
Auto-focusing.
Wherein, distance measuring device uses optical ranging principle, for example sets two camera lenses respectively or surveyed using infrared ray
Away from.
In any of the above-described technical solution, it is preferable that further include:Remote control equipment, is connected to controller, and remote control equipment can
Remote signal is generated, so that controller performs corresponding control instruction according to remote signal, is played with being controlled by control instruction.
In the technical scheme, by setting remote control equipment, telecommand is sent to controller, to realize distant control function,
Distant control function can realize the control to projecting reflecting device, the control to projection screen, control to auto-focusing and to figure
Control as broadcasting etc..
In any of the above-described technical solution, it is preferable that remote control equipment includes:Laser touch module, is connected to controller, swashs
Light touch module can form Touch Screen to region or second first to region, and controller can be according to Touch Screen
Occlusion area generates corresponding control instruction.
In the technical scheme, by setting laser touch module, to form high-precision hand Touch Screen in view field,
User can directly be manipulated using finger or other opaque articles on projected picture, on the one hand, and operation is more convenient,
On the other hand, in the larger bathroom of aqueous vapor, practicability higher.
Specifically, laser touch module can include IR laser module and image inductor, on wall or projection screen
One IR laser module is installed, one is formed higher than surface 1 to 2mm in projection surface, the black light film of thickness about 1mm,
When hand or opaque article contact surface, light is reflected on an image inductor being disposed over, by right
The accurate calculating of light spot position, obtains the coordinate of virtual mouse.
In any of the above-described technical solution, it is preferable that remote control equipment includes:Space remote control can pass through wireless channel
Be connected to controller, space remote control can capture space mobile route so that controller is according to the generation pair of space mobile route
The control instruction answered.
In any of the above-described technical solution, it is preferable that further include:First wireless communication module is set to electric appliance water heater
On, and it is connected to controller;First is set to the back lower side of projection device to region, and second is opposite with projection device to region
Setting, projection screen are set to second to region;Projection screen is provided with the second wireless communication module, and the second wireless communication module can
Wireless channel is formed with the first wireless communication module, projection screen can receive the enabled instruction of controller by wireless channel, with
It is unfolded when forming broadcast interface, wherein, second is more than the first area to region to the area in region.
In the technical scheme, first to region be water heater back lower side, second to region be with projection device just
To positive area, projection device can form 18 cun of projection first to region, and 80 cun of throwing is set to region second
Shadow curtain by setting wireless communication module and microprocessor on projection screen, realizes the Automatic-expanding of projection screen in rolling.
In any of the above-described technical solution, it is preferable that further include:Touching display screen is set to the housing of water heater, and even
It is connected to controller.
In the technical scheme, by setting touching display screen, on the one hand, can realize above-mentioned remote control by touch control operation
On the other hand the function of equipment, can also control the adjusting and operation of water heater by touching display screen.
The embodiment of second aspect of the present invention proposes a kind of method for controlling projection, including:It is held in integrated projection water heater
After row initialization operation, the current state of speculum is detected;Control expansion projection is determined whether according to the current state of speculum
Curtain, to show the broadcast interface of projection device by projection screen.
In the technical scheme, by detecting the current state of speculum, to be determined to be according to the current state of speculum
No expansion projection screen realizes the state of speculum and the matching of projection screen state, and then can be when needing to be unfolded projection screen
It realizes automatic stretching, extension, improves automatization level, simplify operating procedure.
Wherein, projection screen can be deployed in first to region or second to region.
Specifically, first to region can be water heater back lower side, second to region can be with projection device just
To positive area, projection device can form 18 cun of projection to region first, can be set at the top of region second
Projection screen spool is put, with the state according to speculum, it is determined whether expansion projection screen.
In the above-mentioned technical solutions, it is preferable that after integrated projection water heater performs initialization operation, detect speculum
Current state specifically includes following steps:The state of the first travel switch and the second travel switch is detected respectively;Detecting
One stroke switch is closed, and when the second travel switch disconnects, determines that reflective mirror is opened;Detecting the disconnection of the first travel switch, the
When two travel switches are closed, determine that reflective mirror is closed;Detecting the disconnection of the first travel switch, when the second travel switch disconnects,
Determine that reflective mirror is in half unfolded state;Detecting the first travel switch closure, when the second travel switch is closed, generation reports an error
Information.
In the technical scheme, by setting the first travel switch and the respectively in the apparatus casing of projection reflecting device
Two travel switches with the state according to the first travel switch detected and the state of the second travel switch, determine speculum institute
The state at place, and when detecting speculum exception, error information is generated, detection method is simple, and reliability is high.
In any of the above-described technical solution, it is preferable that further include:When detecting that reflective mirror is in half unfolded state, root
According to the regulating command received, adjust reflective mirror and open or close.
In the technical scheme, it is detecting that the first travel switch and the second travel switch are off-state, is then showing
State of the speculum neither opening completely nor in folding then sends according to use demand and opens order to stepper motor to beat
Speculum is opened until the first travel switch is closed or sends shutdown command to stepper motor to pack up speculum until the second stroke
Switch is closed.
In any of the above-described technical solution, it is preferable that integrated projection water heater is installed on a side wall of the interior space,
Projection screen is installed on another side wall opposite with a side wall, control expansion is determined whether according to the current state of speculum
Projection screen to show the projected image of projection device by projection screen, specifically includes following steps:Detecting reflective mirror opening
When, control projection screen is not unfolded;When detecting that reflective mirror is closed, control projection screen expansion.
In the technical scheme, when detecting that reflective mirror is opened, show current projector, image projection in a side wall
On (first to region), then projection screen is not unfolded, when detecting that reflective mirror is closed, shows projector, image projection in another side
On wall (second to region), at this time by the way that projection screen is unfolded to show image by projection screen, on the one hand, realize projection screen
On the other hand Automatic-expanding, when projected image is larger, by setting projection screen, improves viewing effect with rolling.
In any of the above-described technical solution, it is preferable that determine whether control expansion projection according to the current state of speculum
Curtain to show the projected image of projection device by projection screen, further includes:When detecting that reflective mirror is opened, broadcast interface is thrown
For shadow on a side wall, broadcast interface shows the first switching key, and the first switching key closes speculum for controlling;It is examining
When measuring reflective mirror closing, broadcast interface is projected on projection screen, and broadcast interface shows the second switching key, and the second switching is pressed
Key opens speculum for controlling, and controls and pack up projection screen.
In the technical scheme, by showing that the first switching key is cut with second respectively on the broadcast interface of different directions
Button is changed, the first switching key closes speculum for controlling, and is played to switch to second to region from first to region, second
Switching key opens speculum for controlling, and packs up projection screen, is played with switching to first to region from second to region, from
And the automatic switchover not projected in the same direction is realized, advanced optimize operating process.
Wherein, the touch-control of switching key can be realized by laser touch module.
The technical solution of third aspect present invention proposes a kind of integrated projection water heater, and including processor, processor is used
The throwing as described in any one of technical solution of above-mentioned second aspect is realized when the computer program stored in memory is performed
The step of shadow control method.
The embodiment of the fourth aspect of the present invention proposes a kind of computer readable storage medium, is stored thereon with computer
Program is realized when computer program is executed by processor such as the projection controlling party of any one of the technical solution of above-mentioned first aspect
The step of method.
Pass through integrated projection water heater proposed by the present invention, on the one hand, meet user and seen from different directions in bathroom
It sees the demand of project content, on the other hand, has ceramic tile due to bathing indoor wall and being usually sticked, by setting projection screen, make throwing
Shadow content can be projected on projection screen, improve the clarity of project content broadcasting, improve the viewing experience of user.
The additional aspect and advantage of the present invention will become practice apparent or by the present invention in following description section
Recognize.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination accompanying drawings below to embodiment
Significantly and it is readily appreciated that, wherein:
Fig. 1 shows the schematic block diagram of integrated projection water heater according to an embodiment of the invention;
Fig. 2 shows the schematic flow diagrams of method for controlling projection according to an embodiment of the invention;
Fig. 3 shows the schematic flow diagram of method for controlling projection according to another embodiment of the invention;
Fig. 4 shows the schematic block diagram of integrated projection water heater according to another embodiment of the invention.
Specific embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented using other different from other modes described here, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Referring to the integrated projection water heater of Fig. 1 to Fig. 3 descriptions according to some embodiments of the invention.
As shown in Figure 1, integrated projection water heater according to an embodiment of the invention, including:Electric appliance water heater 102;
Projection device 104 is set to the lower part of the housing of water heater, and is connect with Water heater electric, and projection device 104 is used to project perspective view
Picture;Reflecting device 106 is projected, including apparatus casing and is set to the speculum on apparatus casing surface, speculum is set with projection
Standby 104 are correspondingly arranged, and when speculum is opened, projected image can be by mirror projection to first to region 108, to be formed
First size broadcast interface, when projection mirror is closed, projected image can be projected directly to second to region, to form
Two size broadcast interfaces;Projection screen can be deployed in first to region 108 and/or second to region, so that broadcast interface is shown
In on projection screen.
In this embodiment, projection device 104 is provided on electric appliance water heater 102, passes through projection in bathroom to realize
The function of video is played, reflecting device 106 is projected by setting, projected image is realized and is able to be projected in first to region
108 or second, to region, allow the user to respectively by first to the first size broadcast interface in region 108 or by
Two watch project content to second broadcast interface in region, by setting the projection screen that can be unfolded or pack up, with the prior art
In directly project image onto on the single wall in bathroom and compare, on the one hand, meet user and seen from different directions in bathroom
It sees the demand of project content, on the other hand, has ceramic tile due to bathing indoor wall and being usually sticked, by setting projection screen, make throwing
Shadow content can be projected on projection screen, improve the clarity of project content broadcasting, improve the viewing experience of user.
Wherein, by controlling angle of the speculum when opening, to reflect in different angle, first to region 108 and second
It can be oppositely arranged, can also be arranged in a mutually vertical manner to region.
Wherein, α is the dispersion angle of the light emitted by projection device 104 or projects the light after reflecting device 106 reflects
The dispersion angle of line.
Since bathroom space is limited, mirror is also equipped on the wall in many bathrooms, projection screen can be mounted on mirror
Top is unfolded when in use, is packed up when not in use, while can not also influence the normal use of mirror.
In addition, the integrated projection water heater in above-described embodiment provided by the invention can also have following supplementary technology spy
Sign:
In the above embodiment, it is preferable that it further includes:Controller is respectively connected to electric appliance water heater 102 and projection device
104, for controlling, electric appliance water heater 102 is run controller and/or projection device 104 is run.
In this embodiment, the fortune of electric appliance water heater 102 and projection device 104 is controlled respectively by using a controller
Row, realizes the integrated control of water heater and projection device 104, so as to which when opening water heater, synchronous realization is to projection
The initialization control of equipment 104, and then improve the convenience of the control of projection device 104.
Embodiment one:
In any of the above-described embodiment, it is preferable that projection reflecting device 106 further includes:Shaft is horizontally placed on equipment shell
The upside of body, speculum can rotate around the axis;Stepper motor, is respectively connected to controller and shaft, and stepper motor is used to drive
Turn shaft rotation is moved, and to control, speculum overturning is opened or overturning is closed.
In this embodiment, it is electric rotating by setting shaft and stepper motor, stepper motor on projection device 104
Machine is rotated with drive shaft, and shaft drives speculum by overturning opening or packing up closing in rotation process, by that will control
Device is connected to stepper motor, stepper motor to be controlled to run by controller, and then realizes that the automatic turning for seeing speculum is opened
Or pack up closing.
Embodiment two:
In any of the above-described embodiment, it is preferable that projection reflecting device 106 further includes:First travel switch is set to
In standby housing, and controller is connected to, when speculum is opened, the first travel switch is closed;Second travel switch is set to
In standby housing, and controller is connected to, when speculum overturns and is closed, the second travel switch is closed.
In this embodiment, by projection reflecting device 106 apparatus casing in set respectively the first travel switch with
Second travel switch with the state according to the first travel switch detected and the state of the second travel switch, determines speculum
State in which, detection method is simple, and reliability is high.
Specifically, first is and 104 face of projection device to region to the back lower side that region 108 is water heater, second
Positive area, such as detect the first travel switch be closed, show speculum open, electric appliance water heater be projected in immediately below throw
It penetrates to form 18 cun of projection, if be set to second is in unfolded state to the projection screen in region, transmission packs up order to 80 cun
Projection curtain controller, to pack up 80 cun of projection screen, such as detect the second travel switch be closed, show speculum be rugosity
State then sends and opens order to 80 cun of projection screen, to open projection screen to front projected picture, such as detects the first stroke
Switch and the second travel switch are off-state, then show state of the speculum neither opening completely nor in folding, then
Opening order is sent to stepper motor according to use demand to open speculum up to the first travel switch is closed or sends closing
Order is to stepper motor to pack up speculum until the second travel switch closure, such as detects the first travel switch and the second stroke
Switch is that closed state then shows travel switch or system mistake, then direct carry out system reports an error.
In any of the above-described embodiment, it is preferable that further include:Focusing detection device, is connected to projection device 104, focuses
Detection device is used to detect the clarity of projected image.
In this embodiment, by setting focusing detection device, to detect whether current focus makes current projected image
Whether in the clarity state for being suitble to viewing, when detecting that current image quality is bad, automatic focusing is realized, further to carry
Rise the convenience and user experience in default progress intelligent entertainment.
Embodiment three:
In any of the above-described embodiment, it is preferable that focusing detection device includes:Image capture device, can be with perspective view
As being correspondingly arranged, and be connected to controller, image capture device detects perspective view after projected image is collected, by controller
Whether the pixel point density of picture is less than pre-set density threshold value, when pixel point density is less than pre-set density threshold value, to control to adjust
The focal length of projection device 104.
In this embodiment, image collecting device is set as by the detection device that will focus, to acquire current perspective view
Picture, and projected image is sent to controller, with by the pixel point density of controller parsing current projected picture, and by with it is pre-
If density threshold is compared, judge whether the clarity of current projected picture meets viewing demand, to be unsatisfactory for seeing in judgement
When seeing demand, by adjusting focal length, image definition is adjusted.
Wherein, image collecting device can be correspondingly arranged two, with corresponding acquisition first to region 108 and second to region
Image.
Example IV:
In any of the above-described embodiment, it is preferable that focusing detection device includes:Distance detection device is set to projection and sets
On standby 104, and be connected to controller, distance detection device for the camera lens of detection of projection devices 104 and first to region 108 or
Second to the distance between region, so that controller determines whether to control to adjust the focal length of projection device 104 according to distance.
In this embodiment, by the distance between distance detection device detection of projection devices 104 and view field, pass through
Controller determines the focal length that distance needs are arranged in pairs or groups, and to obtain clear picture, controller may be used look-up table and find the projection
Apart from required lens location, then zoom stype projection lens is driven to turn to the position using not only motor, to realize
Auto-focusing.
Wherein, distance measuring device uses optical ranging principle, for example sets two camera lenses respectively or surveyed using infrared ray
Away from.
In any of the above-described embodiment, it is preferable that further include:Remote control equipment, is connected to controller, and remote control equipment can give birth to
Into remote signal, so that controller performs corresponding control instruction according to remote signal, played with being controlled by control instruction.
In this embodiment, by setting remote control equipment, telecommand is sent to controller, it is distant to realize distant control function
Control function can realize the control to projecting reflecting device 106, the control to projection screen, control to auto-focusing and to figure
Control as broadcasting etc..
Embodiment five:
In any of the above-described embodiment, it is preferable that remote control equipment includes:Laser touch module is connected to controller, laser
Touch module can form Touch Screen first to region 108 or the second to region, and controller can be according to Touch Screen
Occlusion area generate corresponding control instruction.
In this embodiment, it by setting laser touch module, to form high-precision hand Touch Screen in view field, uses
Family can directly be manipulated using finger or other opaque articles on projected picture, on the one hand, operation is more convenient, separately
On the one hand, in the larger bathroom of aqueous vapor, practicability higher.
Specifically, laser touch module can include IR laser module and image inductor, on wall or projection screen
One IR laser module is installed, one is formed higher than surface 1 to 2mm in projection surface, the black light film of thickness about 1mm,
When hand or opaque article contact surface, light is reflected on an image inductor being disposed over, by right
The accurate calculating of light spot position, obtains the coordinate of virtual mouse.
Embodiment six:
In any of the above-described embodiment, it is preferable that remote control equipment includes:Space remote control can be connected by wireless channel
Be connected to controller, space remote control can capture space mobile route corresponded to so that controller is generated according to space mobile route
Control instruction.
In any of the above-described embodiment, it is preferable that further include:First wireless communication module is set to electric appliance water heater 102
On, and it is connected to controller;First is set to the back lower side of projection device 104 to region 108, and second sets to region and projection
Standby 104 are oppositely arranged, and projection screen is set to second to region;Projection screen is provided with the second wireless communication module, the second channel radio
Believe that module can form wireless channel with the first wireless communication module, projection screen can receive opening for controller by wireless channel
Dynamic instruction, to be unfolded when forming broadcast interface, wherein, second is more than the first area to region 108 to the area in region.
In this embodiment, first to the back lower side that region 108 is water heater, and second to region is and projection device
The positive area of 104 faces, projection device 104 can form 18 cun of projection to region 108 first, be set second to region
80 cun of projection screen is put, by setting wireless communication module and microprocessor on projection screen, realizes the Automatic-expanding of projection screen
In rolling.
In addition, second is more than the first area to region to the area in region, first is specifically as follows to the area in region
18 cun, second is specifically as follows 80 cun to the area in region, first to region relative to second to the close electric appliance water heater in region
Setting, so as to make first to be more suitable for touch control operation to region, second is more suitable for watching to region.
Embodiment seven:
In any of the above-described embodiment, it is preferable that further include:Touching display screen, is set to the housing of water heater, and connects
To controller.
In this embodiment, by setting touching display screen, on the one hand, can realize that above-mentioned remote control is set by touch control operation
On the other hand standby function, can also control the adjusting and operation of water heater by touching display screen.
In addition, after initialization operation is completed, can also respectively be shown on touching display screen first to display button with
Second to display button, according to the touch control operation received, realizes that projected image can be by mirror projection to first to area
Domain can directly be projected to second to region with forming first size broadcast interface or projected image, be broadcast with forming the second size
Put interface.
As shown in Fig. 2, method for controlling projection according to an embodiment of the invention, including:Step 202, it is thrown integrated
After shadow water heater performs initialization operation, the current state of speculum is detected;Step 204, it is true according to the current state of speculum
It is fixed whether to control expansion projection screen, to show the broadcast interface of projection device by projection screen.
In this embodiment, by detecting the current state of speculum, determined whether with the current state according to speculum
Projection screen is unfolded, realizes the state of speculum and the matching of projection screen state, and then can be real when needing to be unfolded projection screen
Now automatic stretching, extension, improves automatization level, simplifies operating procedure.
Wherein, projection screen can be deployed in first to region or second to region.
Specifically, first to region can be water heater back lower side, second to region can be with projection device just
To positive area, projection device can form 18 cun of projection to region first, can be set at the top of region second
Projection screen spool is put, with the state according to speculum, it is determined whether expansion projection screen.
In the above embodiment, it is preferable that after integrated projection water heater performs initialization operation, working as speculum is detected
Preceding state, specifically includes following steps:The state of the first travel switch and the second travel switch is detected respectively;Detecting first
Travel switch is closed, and when the second travel switch disconnects, determines that reflective mirror is opened;Detect the first travel switch disconnect, second
When travel switch is closed, determine that reflective mirror is closed;Detecting the disconnection of the first travel switch, when the second travel switch disconnects, really
Determine reflective mirror and be in half unfolded state;It is detecting the first travel switch closure, when the second travel switch is closed, is generating the letter that reports an error
Breath.
In this embodiment, by setting the first travel switch and second respectively in the apparatus casing of projection reflecting device
Travel switch with the state according to the first travel switch detected and the state of the second travel switch, is determined residing for speculum
State, and when detecting speculum exception, generate error information, detection method is simple, and reliability is high.
Specifically, first to the back lower side that region is water heater, second to region be forward direction with projection device face
Region such as detects that the first travel switch is closed, and shows what speculum was opened, and electric appliance water heater is projected in underface projection stroke
18 cun of projection, if be set to second is in unfolded state to the projection screen in region, transmission packs up order to 80 cun of projection
Curtain controller to pack up 80 cun of projection screen, such as detects that the second travel switch is closed, shows speculum as folded state, then
It sends and opens order to 80 cun of projection screen, to open projection screen to front projected picture, such as detect the first travel switch
It is that closed state then shows travel switch or system mistake with the second travel switch, then direct carry out system reports an error.
In any of the above-described embodiment, it is preferable that further include:When detecting that reflective mirror is in half unfolded state, according to
The regulating command received adjusts reflective mirror and opens or closes.
In this embodiment, it is detecting that the first travel switch and the second travel switch are off-state, is then showing anti-
State of the mirror neither opening completely nor in folding is penetrated, then is sent according to use demand and opens order to stepper motor to open
Speculum is until the first travel switch is closed or sends shutdown command to stepper motor to pack up speculum up to the second stroke is opened
It closes and closes.
In any of the above-described embodiment, it is preferable that integrated projection water heater is installed on a side wall of the interior space, with
Projection screen is installed on another opposite side wall of one side wall, determines whether that control expansion is thrown according to the current state of speculum
Shadow curtain to show the projected image of projection device by projection screen, specifically includes following steps:Detecting reflective mirror opening
When, control projection screen is not unfolded;When detecting that reflective mirror is closed, control projection screen expansion.
In this embodiment, when detecting that reflective mirror is opened, show current projector, image projection in a side wall (the
One to region) on, then projection screen is not unfolded, when detecting that reflective mirror is closed, shows projector, image projection in another side wall
On (second to region), at this time by the way that projection screen is unfolded to show image by projection screen, on the one hand, realize projection screen from
On the other hand dynamic expansion, when projected image is larger, by setting projection screen, improves viewing effect with rolling.
In any of the above-described embodiment, it is preferable that control expansion projection screen is determined whether according to the current state of speculum,
To show the projected image of projection device by projection screen, further include:When detecting that reflective mirror is opened, broadcast interface is projected in
On one side wall, broadcast interface shows the first switching key, and the first switching key closes speculum for controlling;It is detecting
When reflective mirror is closed, broadcast interface is projected on projection screen, and broadcast interface shows the second switching key, and the second switching key is used
Speculum is opened, and control and pack up projection screen in control.
In this embodiment, by showing the first switching key and the second switching respectively on the broadcast interface of different directions
Button, the first switching key close speculum for controlling, and are played with switching to second to region from first to region, second cuts
Change button for control open speculum, and pack up projection screen, played with switching to first to region from second to region, thus
The automatic switchover not projected in the same direction is realized, has advanced optimized operating process.
Wherein, the touch-control of switching key can be realized by laser touch module.
Specifically, when display interface shows the second switching key, and after the second switching key of user's touch-control, be electrically integrated throwing
The stepper motor of shadow water heater control speculum opens speculum, stops until the first travel switch is received after signal is closed,
Projected picture is projected onto immediately below integrated projection water heater the picture of (first to region) 18 cun of projection, and detects user in real time
Whether press projection in button, to perform corresponding process instruction, at the same be electrically integrated projection water heater transmission pack up order to
80 cun of projection screen is packed up in the controller of projection screen, when detecting that speculum is in an open state, then display interface shows
One switching key, instruction user are currently 18 cun of projections, can press and be transformed into 80 cun of projections (second to region), when user presses
After lower 80 cun of projections, it is electrically integrated projection water heater control stepping click and packs up speculum, and send opening order to projection screen, collection
Into the projection of 80 cun of water heater forward projects of projection.
Embodiment eight:
As shown in figure 3, method for controlling projection according to another embodiment of the invention, including:Step 302, electric appliance heat
Hydrophone performs initialization operation;Step 304, the initialization of display interface is performed according to the travel switch of speculum;Step 306,
The initialization of speculum is performed according to the travel switch of speculum;Step 308, projection screen is performed according to the travel switch of speculum
Initialization;Step 310, it opens and projects and project graphic interface;Step 312, such as detect that user presses 18 cun of projection buttons,
Speculum is opened to project downwards, and packs up projection screen;Step 314, as detected and judging that user presses 80 cun of projection buttons,
Projection screen is unfolded, and packs up speculum to front projection.
As shown in figure 4, integrated projection water heater according to an embodiment of the invention, including processor 404, processor 404
The method for controlling projection as described in above-mentioned any embodiment is realized during for performing the computer program stored in memory 402
The step of.
Embodiment nine:
Specifically, projection device, automatic focusing camera lens, laser touch control detection are integrated with below electric appliance water heater to set
Standby, projection device captures image sharpness using automatic focusing camera lens and is automatically adjusted focal length for projecting image, makes
Projected image is apparent, using laser touch control detection equipment for detecting whether user carries out touch-control in projected picture, to hold
The corresponding processing operation of row, speculum project downwards 18 cun of pictures for progress and turn to 80 cun of pictures of front projection
It changes, when speculum is opened, projected picture is reflected into the underface of electric appliance water heater, the projected picture of 18 cun of projection is convenient
User carries out touch control, and when speculum is folded up, electric appliance water heater projects 80 cun of projected picture to front, when
During the projection of 80 cun of projection, dedicated projection screen, projection screen and electric appliance heat are mounted with immediately ahead of electric appliance water heater between 1.6-2 meters
It can be carried out wireless communication between hydrophone, send to open in order to projection screen controller when 80 cun of projections of projection and open curtain
Cloth improves the clarity of display and the adaptability of environment, and the audio-visual amusement for carrying out large screen is enjoyed, so as to meet the difference of user
Cinema, is really moved into bathroom by projection demand.
Computer readable storage medium according to an embodiment of the invention is stored thereon with computer program, computer journey
The step of method for controlling projection as described in above-mentioned any embodiment is realized when sequence is executed by processor.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
For carrying or storing any other computer-readable medium of data.
According to the technique and scheme of the present invention, reflecting device is projected by setting, realizes projected image and be able to project
First to region or second to region, allow the user to respectively by first to region first size broadcast interface or
Project content is watched to second broadcast interface in region by second, by setting the projection screen that can be unfolded or pack up, with showing
Have and compared on the single wall that bathroom is directly projected image onto in technology, on the one hand, meet user in bathroom from difference
The demand of project content is watched in direction, on the other hand, is had ceramic tile due to bathing indoor wall and being usually sticked, is projected by setting
Curtain, enables project content to project on projection screen, improves the clarity of project content broadcasting, improves the viewing body of user
It tests.
It these are only the preferred embodiment of the present invention, be not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.Any modification for all within the spirits and principles of the present invention, being made,
Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.