CN210199540U - Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation - Google Patents

Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation Download PDF

Info

Publication number
CN210199540U
CN210199540U CN201921097786.8U CN201921097786U CN210199540U CN 210199540 U CN210199540 U CN 210199540U CN 201921097786 U CN201921097786 U CN 201921097786U CN 210199540 U CN210199540 U CN 210199540U
Authority
CN
China
Prior art keywords
module
main controller
motor control
balcony
detection module
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
CN201921097786.8U
Other languages
Chinese (zh)
Inventor
Lugang Liu
刘鲁刚
Jianfeng Xiang
项建峰
Chuanren Liu
刘传仁
Chengkang Su
苏承康
Chao Xu
徐超
Zhe Zhu
朱哲
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.)
Pinghu Vocational Middle School
Original Assignee
Pinghu Vocational Middle School
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 Pinghu Vocational Middle School filed Critical Pinghu Vocational Middle School
Priority to CN201921097786.8U priority Critical patent/CN210199540U/en
Application granted granted Critical
Publication of CN210199540U publication Critical patent/CN210199540U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Abstract

The utility model discloses an energy self-sufficient intelligent balcony control system based on photovoltaic power generation, which comprises a main controller, a power supply module, an external environment detection module, an operating keyboard, a motor control module and a limit position limiting module; the power supply module provides direct current power supply for the main controller; the external environment detection module detects wind power, humidity and illumination outside the balcony and whether rainfall occurs or not, and feeds back detection results to the main controller; the control mode of the main controller is switched by the operation keyboard, and manual control of a balcony can be realized; the motor control module is controlled by the master controller, and the master controller analyzes and processes signals of the external environment detection module and the operation keyboard and then changes the output state of the motor control module; the limit position limiting module is triggered when each mechanism runs to the limit position, and then provides a trigger signal for the main controller to force the corresponding motor control module to stop outputting.

Description

Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation
Technical Field
The utility model belongs to the technical field of intelligent balcony, specifically speaking relates to an energy self-supporting formula intelligence balcony control system based on photovoltaic power generation.
Background
With the rapid development of domestic economy in the twentieth century, the life rhythm of people is gradually accelerated, and higher requirements are put forward on the use convenience, intelligence and automation of home furnishing.
At present, with the more deep urbanization construction in China and the rapid expansion of real estate, the rapid development of the decoration home industry is directly promoted, and the airing of clothes or other articles can be carried out on a balcony; however, in the same way, people hopefully can rest on the balcony, shine the sun or arrange another small space, and the requirement for the utilization rate of the balcony space is gradually increased. The existing clothes hanger is generally designed in a built-in mode, the clothes hanger is arranged at the position of a balcony ceiling, the clothes drying efficiency is low due to the defect of low sunlight utilization rate caused by the limitation of a balcony, the space of the balcony occupied by the clothes hanger is large, the space utilization rate of the balcony is reduced, the space function use of the balcony is influenced, and the living quality is influenced.
Meanwhile, in order to realize intelligent control of the balcony, a set of control system capable of realizing intelligent balcony control is required.
Disclosure of Invention
The utility model aims at providing an energy self-supporting intelligent balcony control system based on photovoltaic power generation, it is anticipated is overcoming the problem that exists in the background art.
In order to solve the technical problem, the purpose of the utility model is to realize like this:
an energy self-supporting intelligent balcony control system based on photovoltaic power generation comprises a main controller, a power supply module, an external environment detection module, an operation keyboard, a motor control module and a limit position limiting module;
the power supply module provides direct current power supply for the main controller;
the external environment detection module detects wind power, humidity and illumination outside the balcony and whether rainfall occurs or not, and feeds back detection results to the main controller;
the operation keyboard switches the control mode of the main controller and can realize manual control of the balcony;
the motor control module is controlled by the main controller, and the main controller analyzes and processes signals of the external environment detection module and the operation keyboard and then changes the output state of the motor control module;
the limit position limiting module is triggered when each mechanism runs to the limit position, and then provides a trigger signal for the main controller to force the corresponding motor control module to stop outputting.
On the basis of the above scheme and as a preferable scheme of the scheme: the external environment detection module comprises a wind power detection module, a raindrop detection module, an illumination intensity detection module and a humidity detection module, and the signal output ends of the wind power detection module, the raindrop detection module, the illumination intensity detection module and the humidity detection module are communicated with the signal acquisition end of the main controller.
On the basis of the above scheme and as a preferable scheme of the scheme: the motor control module comprises a first motor control module, a second motor control module, a third motor control module and a fourth motor control module, and the control signal input ends of the first motor control module, the second motor control module, the third motor control module and the fourth motor control module are respectively communicated with the corresponding control signal output end of the main controller.
On the basis of the above scheme and as a preferable scheme of the scheme: the limiting position limiting module comprises a window ascending limiting switch, a window descending limiting switch, a horizontal extension limiting switch, a horizontal contraction limiting position limiting switch, a vertical descending limiting switch and a vertical ascending limiting switch, wherein the window ascending limiting switch, the window descending limiting switch, the horizontal extension limiting switch, the horizontal contraction limiting position limiting switch, the vertical descending limiting switch and the vertical ascending limiting switch are respectively communicated with the corresponding signal input end of the main controller.
On the basis of the above scheme and as a preferable scheme of the scheme: the operating keyboard is in communication with a signal input of the master controller.
On the basis of the above scheme and as a preferable scheme of the scheme: the main controller is a single chip microcomputer, and the model of the main controller is STC-89C 52.
Compared with the prior art, the utility model outstanding and profitable technological effect is: this control system utilizes singlechip and a plurality of module component to realize the intelligent control of intelligent balcony, and its modular circuit structure is favorable to maintaining and the buildding of maintenance and system, and control system's buildding is with low costs, and the reliability is high.
Drawings
FIG. 1 is a schematic view of the overall structure of an intelligent balcony;
FIG. 2 is a schematic view of the interior structure of the intelligent balcony;
FIG. 3 is a front view of the balcony interior structure of the intelligent balcony;
FIG. 4 is a side view of the balcony interior structure of the intelligent balcony;
FIG. 5 is a schematic view of a hanger extension mechanism;
FIG. 6 is a control system circuit diagram;
fig. 7 is a control schematic block diagram.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments will be clearly and completely described below with reference to fig. 1 to 7 of the embodiments, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step, based on the given embodiments, fall within the scope of protection of the present application.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present application.
In the description of the present application, the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated.
Self-supporting formula intelligence balcony of energy based on photovoltaic power generation includes
The balcony outer wall assembly 100 includes a hollow outer wall 110, a window 120 and a window lifting assembly 130, wherein the window 120 and the window lifting assembly 130 are located in the outer wall 110, the window 120 is fixedly installed at an output end of the window lifting assembly 130, and the window 120 is retractable into the outer wall 110 by means of the window lifting assembly 130 to expose the balcony to the outside environment.
The outer wall 100 comprises an outer wall frame 111 and a channel 113 formed at the upper end of the wall panel 110, the output end of the window lifting assembly 130 is fixedly connected with the lower end of the window 120, the window 120 is driven by the output end of the window lifting assembly 130, and the window passes through the channel 113 to move above the outer wall 100 to isolate the balcony from the outside.
Also included is a window guide assembly 132 comprising a guide rod 1321 and a slider 1322, which are symmetrically disposed, wherein the slider 1322 slides axially along the guide rod 1321 and is fixed to the window 120.
Specifically, in this embodiment, it is preferable that the window lifting assembly 130 includes a stepping motor and a screw nut pair 131, a main shaft of the stepping motor is fixedly connected to a screw 1311 of the screw nut pair to drive the screw 1311 to rotate, a screw hole is formed in the window 120, a threaded hole is formed in a nut 1322 of the screw nut pair, a screw passes through the screw hole and then is screwed into the threaded hole of the nut, and the window is fixedly connected to the nut.
In order to prevent the window from being damaged due to exceeding the maximum range of the window stroke, the present embodiment preferably further includes a window stroke limiting assembly 140 including a window up limiting switch 141 and a window down limiting switch 142, wherein the output end of the window lift assembly 130 stops when the contact of the window up limiting switch 141 is pressed when the window is up to the limit position and the contact of the window down limiting switch 142 is pressed when the window is down to the limit position.
The hanging rack mechanism 200 comprises a hanging rack 210, a horizontal linear reciprocating component 230 and a vertical linear reciprocating component 240, wherein the horizontal linear reciprocating component 230 is fixedly arranged at the output end of the vertical linear reciprocating component 240, the hanging rack 210 is fixedly arranged at the output end of the horizontal linear reciprocating component 230, the hanging rack 210 changes the relative distance between the hanging rack 210 and the ground by means of the action of the output end of the vertical linear reciprocating component 240, and after the window 120 is retracted to the outer wall body 100, the hanging rack 210 translates towards the outside of the balcony along with the output end of the horizontal linear reciprocating component 230.
The hanging rack 210 is slidably assembled on a sliding frame 220, the horizontal linear reciprocating component 230 is fixedly arranged on the sliding frame 220, and the sliding frame 220 is fixedly arranged on the output end of the vertical linear reciprocating component 240.
There is a horizontal movement limit assembly, which comprises a horizontal extension limit switch 272 and a horizontal contraction limit switch 271, wherein when the hanging rack 210 is located at the horizontal extension limit position and the horizontal contraction limit position, the horizontal extension limit switch 272 and the horizontal contraction limit switch 271 are respectively triggered.
It should be noted that the horizontal linear reciprocating assembly 230 includes a stepping motor 231 and a screw nut pair 232, a screw 2321 of the screw nut pair is fixedly connected to a main shaft of the stepping motor 231, the screw is driven by the main shaft of the stepping motor to rotate, a nut 2322 of the screw nut pair is fixedly connected to the inner side of the hanger, when the stepping motor 231 drives the screw to rotate forward or backward, the nut 2322 can be driven to move axially along the screw, so as to drive the hanger to extend out of the balcony or retract into the balcony. When the hanger extends out of the balcony to the limit position, the contact of the horizontal extension limit switch 272 is triggered, so that the main controller controls the driving motor to stop rotating; when the hanger retracts to the limit position towards the inside of the balcony, the contact of the limit switch 271 for the horizontal retraction limit position is triggered, so that the main controller controls the driving motor to stop rotating.
The rack sliding guide assembly 250 is symmetrically disposed, in this embodiment, each rack sliding guide assembly 250 includes a support bar 251 and two sliding blocks 252 sliding along the support bar 251, two ends of the support bar 251 are respectively fixed to the sliding frame 220 through two support seats 253, and the sliding blocks 252 are fixedly connected to the rack 252 after being sleeved on the support bar 251. Specifically, a support plate 211 is fixedly arranged on the hanger, a threaded hole is formed in the slider 252, a fixing hole corresponding to the threaded hole is formed in the support plate 211, and a screw passes through the fixing hole and is screwed in the threaded hole of the support plate 211 to fixedly connect the support plate and the slider, so that when the horizontal linear reciprocating motion assembly 230 drives the hanger 210 to move, the slider 252 is driven to slide along the support rod 252, on one hand, the mounting structure of the hanger is reinforced, the stability of the hanger is enhanced, on the other hand, the stress of a screw rod of the horizontal linear reciprocating motion assembly 230 is shared, and the stability of the whole structure is enhanced; in addition, the design of two sliders has strengthened the equilibrium of stores pylon, even the gravity that bears on the stores pylon is unbalanced, two sliders also can be fine balance, prevent its skew.
The vertical linear reciprocating assembly 240 includes a telescopic rod 241 having an upper end fixed to the top of the balcony and a lower end fixed to the sliding frame 220, and a lifting mechanism 242 capable of applying a vertical upward force to the sliding frame 220 to force the sliding frame 220 to move upward.
There is also a vertical movement limit position limiting assembly comprising a vertical downward limit switch 282 and a vertical upward limit switch 281, the vertical downward limit switch 282 and the vertical upward limit switch 281 being activated when the carriage 220 is in the vertical downward limit and the vertical upward limit positions, respectively.
It should be noted that the lifting mechanism 242 includes a stepping motor 2421, a reel 2422, a rope 2423, a first guide wheel 2424, a second guide wheel 2425 and a third guide wheel 2426, an input shaft of the reel 2422 is fixedly connected to a main shaft of the stepping motor 2421, the reel 2422 is driven by the main shaft of the stepping motor to rotate, a rear end of the rope 2423 is divided into two parts, namely a first rope 24231 and a second rope 24232, a free end of the first rope 24231 is fixedly connected to one side of the carriage after passing through the third guide wheel 2426, a free end of the second rope 24232 is fixed to the other side of the carriage after passing through the second guide wheel 2425, the fixed first and second ropes keep the carriage horizontally balanced, a front end of the rope 2423 is wound around the first guide wheel 2424 and then wound around the reel 2422, when the lead screw is driven by the stepping motor 231 to rotate forward or backward, the rope 2423 is wound around the reel to be tensioned or released from the reel, thereby lifting or releasing the carriage, enabling the sliding frame to fall under the action of gravity, so that the relative distance between the sliding frame and the hanging rack and the ground is changed; in addition, in this embodiment, the telescopic frame is preferably composed of four telescopic assemblies 241 with central symmetry, and specifically, the telescopic assemblies 241 are distributed at four corners of the sliding frame 220. Each telescopic assembly 241 comprises a first swing arm 2411 and a second swing arm 2412, wherein a first end of the first swing arm 2411 is hinged to a second end of the second swing arm 2412, a second end of the first swing arm 2411 is movably connected to the balcony ceiling through a hinge 2416, and a first end of the second swing arm 2412 is hinged to the carriage 220 through a hinge 2417.
Specifically, a first end of a first swing arm 2411 is fixedly provided with a first connecting piece 2413, a second end of a second swing arm 2142 is fixedly provided with a second connecting piece 2414, a damping block 2415 is arranged between the first connecting piece 2413 and the second connecting piece 2414, a bolt shaft sequentially penetrates through the first connecting piece 2413, the rear end parts of the damping block 2415 and the second connecting piece 2414 are screwed through a nut, so that the first swing arm 2411 and the second swing arm 2412 are hinged, in the ascending or descending process of the sliding frame, the first swing arm 2411 and the second swing arm 2412 rotate around the axis of the bolt shaft to be folded, the size of the telescopic frame adopting the structure is smaller after being folded, the space occupation problem is well controlled, and in the descending process of the sliding frame depending on gravity, the damping block 2415 can well control the sliding frame by an auxiliary stepping motor and a reel and can stably move downwards.
In addition, in order to prevent the first swing arm and the second swing arm from interfering with each other during the folding process, in the present embodiment, preferably, the first connection piece 2413 and the second connection piece 2414 are respectively located at the outermost sides of the first swing arm 2411 and the second swing arm 2412, and the width of the damping block 2415 is not less than the total width of the first swing arm 2411 and the second swing arm 2412.
Because the sliding frame has a certain speed in the process of moving upwards, when the sliding frame moves upwards to the limit position, although the stepping motor and the reel stop rotating, the sliding frame can generate impact due to inertia, so that the sliding frame runs beyond the limit, the expansion bracket can be damaged or impact noise can be generated.
Photovoltaic module 300, contain photovoltaic board 310, it sets firmly outside outer wall 100, make the photovoltaic board expose under the sunshine, through the shining of sun messenger photovoltaic board electric energy, the electric energy provides the power through rectification voltage regulator circuit to whole control system, of course, still can guarantee this photovoltaic module to provide stable electric energy to control system in order to make when cloudy day or sunshine lack, preferred photovoltaic module still includes the battery in this embodiment, think that the battery charges and store the electric energy when sunshine is sufficient, still can provide stable power to control system when overcast and rainy day or illumination are not enough.
Certainly, the power supply of the control system is not limited to the photovoltaic module, and the power supply can be provided to the control system after the voltage reduction and rectification of the mains supply, so that the control system can be supplied with power under the condition that the photovoltaic module fails to provide power for the control system.
And an external environment detecting unit for detecting wind, temperature and humidity, and illumination outside the balcony, and providing data for controlling the operation of the window lifting unit 130, the horizontal linear reciprocating unit 230, and the vertical linear reciprocating unit 240.
In this embodiment, outer environment detection module contains wind-force detection module, raindrop detection module, illumination intensity detection module and humidity detection module, and at actual installation, above-mentioned outer environment detection module all exposes in outer environment, and the position of installation is favorable to corresponding detection module can be direct, quick the change of accepting outer environment most.
In order to realize automatic control of the balcony, the control system in the embodiment comprises a main controller, a power supply module, an external environment detection module, an operation keyboard, a motor control module and a limit position limiting module; the power supply module provides direct current power supply for the main controller; the external environment detection module detects wind power, humidity and illumination outside the balcony and whether rainfall occurs or not, and feeds back detection results to the main controller; the control mode of the main controller is switched by the operation keyboard, and manual control of a balcony can be realized; the motor control modules are controlled by the master controller, and the master controller analyzes and processes signals of the external environment detection module and the operation keyboard and then changes the output state of each motor control module so as to change the running state of each stepping motor; the limit position limiting module is triggered when each mechanism runs to the limit position, and then provides a trigger signal for the main controller to force the corresponding motor control module to stop outputting.
Specifically, the external environment detection module comprises a wind power detection module, a raindrop detection module, an illumination intensity detection module and a humidity detection module, and the signal output ends of the wind power detection module, the raindrop detection module, the illumination intensity detection module and the humidity detection module are communicated with the signal acquisition end of the main controller.
The motor control module comprises a first motor control module, a second motor control module, a third motor control module and a fourth motor control module, wherein the control signal input ends of the first motor control module, the second motor control module, the third motor control module and the fourth motor control module are respectively communicated with the corresponding control signal output end of the main controller.
The limiting position limiting module comprises a window ascending limiting switch, a window descending limiting switch, a horizontal extension limiting switch, a horizontal contraction limiting position limiting switch, a vertical descending limiting switch and a vertical ascending limiting switch, wherein the window ascending limiting switch, the window descending limiting switch, the horizontal extension limiting switch, the horizontal contraction limiting position limiting switch, the vertical descending limiting switch and the vertical ascending limiting switch are respectively communicated with the corresponding signal input end of the main controller.
An operator keypad is in communication with the signal input of the master controller.
The main controller is a single chip microcomputer, and the model number of the single chip microcomputer is STC-89C 52.
The remote control system also comprises a wireless communication module for remotely controlling the main controller.
The control method of the control system comprises the following steps:
after the system is started in a shutdown state, the system is initialized, at this time, the vertical linear reciprocating assembly 240 drives the sliding frame to move upwards to the top of the balcony, the horizontal linear reciprocating assembly 230 drives the hanging frame to retract into the balcony, and the window lifting assembly 130 drives the window to ascend to close the balcony.
The operating mode of the control system is selected by operating the keyboard, and is divided into a manual mode and an automatic mode, and the specific operation is to press a key S4 to switch the modes, press a key S4 to switch the modes into the manual mode, and press a key S4 to switch the modes into the automatic mode.
If the manual mode signal is detected, it is necessary to control the drying and retrieving of clothes by operating the corresponding keys S2 and S3 on the keypad.
Specifically, after the button S2 is pressed, the window lifting assembly 130 drives the window to descend to open the window of the balcony, so as to communicate the space in the balcony with the outside; then the horizontal linear reciprocating motion assembly 230 drives the hanging rack to move towards the outside of the balcony, and clothes are exposed outside the balcony, so that the clothes are dried; in addition, it should be noted that the button S5 is used for adjusting the relative height between the hanger and the floor of the balcony, and pressing the button S5 can control the vertical linear reciprocating assembly 240 to drive the carriage and the hanger to move downward, so as to reduce the height, and when the height reaches the vertical downward limit position, the vertical downward limit switch 282 is triggered, and at this time, if the button S5 is continuously pressed, the vertical linear reciprocating assembly 240 will drive the carriage and the hanger to move upward, so as to increase the height of the hanger relative to the floor of the balcony; similarly, when the clothes airing rack reaches the vertical ascending limit position and triggers the vertical ascending limit switch 281, if the button S5 is still pressed, the vertical linear reciprocating motion assembly 240 drives the sliding frame and the hanging rack to move downwards, so as to reciprocate, thereby facilitating the user to adjust the height of the hanging rack as required when the clothes airing rack is used for airing clothes, and facilitating the user to hang clothes and other aired objects.
Then, after the button S3 is pressed, the horizontal linear reciprocating assembly 230 drives the rack to move towards the balcony, and the rack and the clothes hung on the rack are retracted into the balcony, and then the window lifting assembly 130 drives the window to move upwards to close the window of the balcony, so as to isolate the balcony from the external environment, thereby achieving the clothes retracting function.
If the automatic mode signal is detected, the wind power detection module, the raindrop detection module, the illumination intensity detection module and the humidity detection module can detect the environment outside the balcony in real time, the clothes can be automatically controlled to be dried when the environment is appropriate in wind, no rainfall exists, the illumination intensity reaches a set value and the humidity is low, and the clothes cannot be dried when one of the conditions does not meet the requirement; if the weather changes and the automatic clothes drying action is executed before, the automatic clothes collection is carried out when one of the conditions is not met, and the specific mechanical actions of the clothes drying and clothes collection mechanisms are referred to as a manual mode.
Then, to implement the above control, a set of reliable software is not required, and the specific software is as follows:
#include<reg52.h>
#include<math.h>//Keil library
#include<stdio.h>//Keil library
#include<INTRINS.H>
#include<BH1750.H>
#include<DHT11.H>
#define uchar unsigned char
#define uint unsigned int
#define bl_up {bl_bz=1;BL_DIR=0;}
#define bl_down {bl_bz=1;BL_DIR=1;}
#define bl_stop {bl_bz=0;}
#define pt_up {pt_bz=1;PT_DIR=1;}
#define pt_down {pt_bz=1;PT_DIR=0;}
#define pt_stop {pt_bz=0;}
#define zj_chu {zj_bz=1;ZJ_DIR=0;}
#define zj_jin {zj_bz=1;ZJ_DIR=1;}
#define zj_stop {zj_bz=0;}
sbit BL _ CP = P0^ 2;/glass
sbit BL_DIR=P0^3;
sbit PT _ CP = P0^ 4// platform
sbit PT_DIR=P0^5;
sbit ZJ _ CP = P0^ 6// stent
sbit J_DIR=P0^7;
bit bl _ bz, pt _ bz, zj _ bz// step on flag
sbit APP _ MS = P1^ 0// mode switching
sbit APP _ SJ = P1^ 2// sunning control
sbit APP _ BL = P1^ 4// glass control
sbit APP_LS=P1^6;
sbit MS=P1^1;
sbit SJ=P1^3;
sbit BL=P1^5;
sbit LS=P1^7;
sbit BLXW_di=P2^4;
sbit BLXW_ding=P3^3;
sbit PTXW_di=P3^4;
sbit PTXW_ding=P3^5;
sbit ZJXW_wai=P3^6;
sbit ZJXW_nei=P3^7;
sbit led = P0^ 0;/mode indicator light
uchar bz0,bz1,bz2,bz3;
bit bb,ss;
uchar moshi;/= 0 hand-operated inside airing, =1 hand-operated outside airing, =2 automatic airing
V/wind power P3.2, raindrop P2.2
sbit YD=P2^2;
uint fl_n,fs;
float fl;
uchar ms,ms1;
Dibit DIO = P2^ 5// serial data input
sbit RCLK1= P2^ 6// clock pulse signal-rising edge valid
sbit SCLK = P2^ 7;/hit signal-rising edge valid
unsigned char code dm[]=
{// 0 1 2 3 4 5 6 7 8 9 A b C d E mie -
0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90,0x8C,0xBF,0xC6,0xA1,0x86,0xFF,0xbf};
unsigned char code wx[]= {0x08,0x04,0x02,0x01};
uchar sj[4],n,xx;
void LED_OUT(unsigned char X)
{ unsigned char i;
for(i=8;i>0;i--)
{ if (X&0x80) DIO=1;
else DIO=0;
X<<=1;
SCLK = 0;
SCLK = 1;}}
void yanshi(unsigned int t)
{ while(t--);}
void show()
{ sj[0]=RH/10;
sj[1]=RH%10;
sj[2]=fs/10;
sj[3]=fs%10;
LED_OUT(dm[sj[n]]);
LED_OUT(wx[n]);
RCLK1 = 0;
RCLK1 = 1;
yanshi(100);
LED_OUT(dm[sj[n]]);
LED_OUT(0x00);
RCLK1 = 0;
RCLK1 = 1;
if(++n>3)n=0;}
void init()
{ EA=1;
TMOD=0X11;
TH0=0XFD;
TL0=0X00;
ET0=1;
TR0=1;
TH1=0XF0;
TL1=0X60;
ET1=1;
TR1=1;
IT0 = 1// set to falling edge trigger
// EX0 = 1// external interrupt 0 interrupt enable bit }
void in0() interrupt 0// interrupt service function
{ fl_n++;
if(ms>=250)
{ fl=0.1+0.0875*fl_n;
fs=(uint)fl;
fl_n=0;
EX0=0; }}
void t0() interrupt 1
{ TH0=0XFF;
TL0=0X00;
if(bl_bz==1)
{BL_CP=~BL_CP;}
if(pt_bz==1)
{PT_CP=~PT_CP; }
if(zj_bz==1)
{ZJ_CP=~ZJ_CP;} }
void t1()interrupt 3 //4ms
{ TH1=0XF0;
TL1=0X60;
ms++;
/* ms1++;
if(ms1>=125)
{ms1=0;
ss=~ss;}*/
show();}
void chushihua()
{ while(ZJXW_nei==1)
{zj_jin;}
zj_stop;
while(PTXW_ding==1)
{pt_up;}
pt_stop;
while(BLXW_ding==1)
{bl_up;}
bl_stop;}
void anjian()
{ if ((MS==0||APP_MS==0)&&bb==0)
{moshi++;
if (moshi>1)
{moshi=0;}
bb=1;
zj_stop;
bl_stop;
bz0=bz1=bz2=bz3=0;}
else if(MS==1&&APP_MS==1)
{bb=0;}
if(moshi==0)led=1;
else if (moshi==1)led=0;}
void kongzhi()
{ if ((BL==0||APP_BL==0)&&bz0==0)
{ bl_down;
bz0=1;}
else if (bz0==1&&BLXW_di==0)
{bl_stop;
bz0=2;}
if((BL==0||APP_BL==0)&&bz0==2)
{bl_up;
bz0=3;}
else if (bz0==3&&BLXW_ding==0)
{bl_stop;
bz0=0;}
if ((SJ==0||APP_SJ==0)&&bz1==0&&ZJXW_nei==0)
{pt_down;
bz1=1;}
else if (bz1==1&&PTXW_di==0)
{pt_stop;
bz1=2;}
if((SJ==0||APP_SJ==0)&&bz1==2&&ZJXW_nei==0)
{pt_up;
bz1=3;}
else if (bz1==3&&PTXW_ding==0)
{pt_stop;
bz1=0;}
if (moshi==0)
{if ((LS==0||APP_LS==0)&&bz2==0&&BLXW_di==0)
{zj_chu;
bz2=1;}
else if (bz2==1&&ZJXW_wai==0)
{zj_stop;
bz2=2;}
if((LS==0||APP_LS==0)&&bz2==2&&BLXW_di==0)
{zj_jin;
bz2=3;}
else if (bz2==3&&ZJXW_nei==0)
{zj_stop;
bz2=0;} }
else
{if (YD==1&&light>100&&RH<80&&fs<5&&bz3==0)//&&fl>10
{bl_down;
bz3=1;}
else if (bz3==1&&BLXW_di==0)
{bl_stop;
zj_chu;
bz3=2;}
else if (bz3==2&&ZJXW_wai==0)
{zj_stop;
//bl_up;
bz3=4;}
else if (bz3==3&&BLXW_ding==0)
{bl_stop;
bz3=4;}
if ((YD==0||light<=100||RH>=80||fs>=5)&&bz3==4)//&&fl>10
{bl_down;
bz3=5;}
else if (bz3==5&&BLXW_di==0)
{bl_stop;
zj_jin;
bz3=6;}
else if (bz3==6&&ZJXW_nei==0)
{zj_stop;
bl_up;
bz3=7;}
else if (bz3==7&&BLXW_ding==0)
{bl_stop;
bz3=0;} } }
/*void main()
{init();
while(1)
{if (MS==0)
{if (BLXW_ding==0)
{bl_stop}
else
{bl_up;} }
else if (SJ==0)
{if (BLXW_di==0)
{bl_stop}
else
{bl_down;} }
else
{bl_stop; }
if (BL==0)
{if (ZJXW_wai==0)
{zj_stop}
else
{zj_chu;} }
else if (LS==0)
{if (ZJXW_nei==0)
{zj_stop}
else
{zj_jin;} }
else
{zj_stop;}
if (MS==0)
{if (PTXW_ding==0)
{pt_stop}
else
{pt_up;} }
else if (SJ==0)
{ if (PTXW_di==0)
{pt_stop}
else
{pt_down;} }
else
{ pt_stop;} } }*/
void main()
{DHT11_delay_ms(1500);
Init _ BH1750(),/initialize BH1750
init();
chushihua();
while(1)
{BH1750();
anjian();
kongzhi();
if(++xx>10)
{xx=0;
EA=0;
DHT11_receive();
EA=1;
EX0=1;
ms=0; } }}。
The above-mentioned embodiment is only the preferred embodiment of the present invention, and does not limit the protection scope of the present invention according to this, so: all equivalent changes made according to the structure, shape and principle of the utility model are covered within the protection scope of the utility model.

Claims (6)

1. The utility model provides an energy self-supporting formula intelligence balcony control system based on photovoltaic power generation which characterized in that: the control system comprises a main controller, a power supply module, an external environment detection module, an operation keyboard, a motor control module and a limit position limiting module;
the power supply module provides direct current power supply for the main controller;
the external environment detection module detects wind power, humidity and illumination outside the balcony and whether rainfall occurs or not, and feeds back detection results to the main controller;
the operation keyboard switches the control mode of the main controller and can realize manual control of the balcony;
the motor control module is controlled by the main controller, and the main controller analyzes and processes signals of the external environment detection module and the operation keyboard and then changes the output state of the motor control module;
the limit position limiting module is triggered when each mechanism runs to the limit position, and then provides a trigger signal for the main controller to force the corresponding motor control module to stop outputting.
2. The photovoltaic power generation-based energy self-sufficient intelligent balcony control system is characterized in that: the external environment detection module comprises a wind power detection module, a raindrop detection module, an illumination intensity detection module and a humidity detection module, and the signal output ends of the wind power detection module, the raindrop detection module, the illumination intensity detection module and the humidity detection module are communicated with the signal acquisition end of the main controller.
3. The photovoltaic power generation-based energy self-sufficient intelligent balcony control system is characterized in that: the motor control module comprises a first motor control module, a second motor control module, a third motor control module and a fourth motor control module, and the control signal input ends of the first motor control module, the second motor control module, the third motor control module and the fourth motor control module are respectively communicated with the corresponding control signal output end of the main controller.
4. The photovoltaic power generation-based energy self-sufficient intelligent balcony control system is characterized in that: the limiting position limiting module comprises a window ascending limiting switch, a window descending limiting switch, a horizontal extension limiting switch, a horizontal contraction limiting position limiting switch, a vertical descending limiting switch and a vertical ascending limiting switch, wherein the window ascending limiting switch, the window descending limiting switch, the horizontal extension limiting switch, the horizontal contraction limiting position limiting switch, the vertical descending limiting switch and the vertical ascending limiting switch are respectively communicated with the corresponding signal input end of the main controller.
5. The photovoltaic power generation-based energy self-sufficient intelligent balcony control system is characterized in that: the operating keyboard is in communication with a signal input of the master controller.
6. The photovoltaic power generation-based energy self-sufficient intelligent balcony control system is characterized in that: the main controller is a single chip microcomputer, and the model of the main controller is STC-89C 52.
CN201921097786.8U 2019-07-13 2019-07-13 Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation Expired - Fee Related CN210199540U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921097786.8U CN210199540U (en) 2019-07-13 2019-07-13 Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921097786.8U CN210199540U (en) 2019-07-13 2019-07-13 Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation

Publications (1)

Publication Number Publication Date
CN210199540U true CN210199540U (en) 2020-03-27

Family

ID=69867635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921097786.8U Expired - Fee Related CN210199540U (en) 2019-07-13 2019-07-13 Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation

Country Status (1)

Country Link
CN (1) CN210199540U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110376945A (en) * 2019-07-13 2019-10-25 平湖市职业中学 A kind of power self-support formula Intelligent balcony control system based on photovoltaic power generation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110376945A (en) * 2019-07-13 2019-10-25 平湖市职业中学 A kind of power self-support formula Intelligent balcony control system based on photovoltaic power generation

Similar Documents

Publication Publication Date Title
CN211200693U (en) Intelligent balcony based on photovoltaic power generation
CN109518435A (en) A kind of multifunctional intellectual clothes hanger
CN102978882A (en) Automatically flexible solar airer
CN210199540U (en) Energy self-sufficient type intelligent balcony control system based on photovoltaic power generation
CN211498207U (en) Intelligent balcony capable of automatically retracting clothes hanger based on temperature and humidity
CN108708142A (en) A kind of portable type outdoor drying rack based on Internet of Things
CN209593364U (en) A kind of folding solar battery board mounting stand
CN211498206U (en) Clothes hanger that dries in air of intelligence balcony stretches out mechanism
CN213681390U (en) Intelligent integrated balcony clothes hanger
CN211848546U (en) Multifunctional automatic clothes airing device
CN206289438U (en) A kind of electric up-down telescopic air-drying device
CN206636422U (en) A kind of full-automatic multi-functional photovoltaic window
CN211199801U (en) Wall structure of intelligence balcony
CN211498208U (en) Vertical lifting mechanism of intelligent balcony clothes hanger
CN209703137U (en) A kind of multifunctional intellectual clothes hanger
CN110273465A (en) A kind of Intelligent balcony based on photovoltaic power generation
CN111394961A (en) Environment perception type translation rotation combined type automatic clothes airing device
CN215907683U (en) Extension formula intelligence window device
CN113411037B (en) Intelligent environment-friendly power generation system for high-rise building
CN214033055U (en) Voice-controlled intelligent clothes hanger
CN210104954U (en) Low-carbon energy-saving sunlight room building
CN110376945A (en) A kind of power self-support formula Intelligent balcony control system based on photovoltaic power generation
CN201861369U (en) Automatic segmentation telescopic balcony clothes rack
CN207847420U (en) A kind of intelligent elevated window
CN110699931A (en) Outdoor clothes airing equipment convenient and fast to use

Legal Events

Date Code Title Description
GR01 Patent grant
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: 20200327

Termination date: 20200713