3.3.4. Control of an awning or parasol electric

Automatic electric awning or parasol
This section details the control of an electric awning or parasol with simple control buttons, this example is equal to that used in the control of an electric blind.
Amplifier
- DO1 Digital Output 1 (relay 10A) of the Unit1 connected to the engine, open canopy.
- DO2 digital output 1 (relay 10A) of the Unit1 connected to the engine, close the awning.
Control
- 1 digital input DI1 Unit1 connected to the upload button.
- 1 digital input DI2 Unit1 connected to the button down.
Program
First set of possible actions you can take the user on the button.
1. If you perform a short press (time less than 250ms).
For this case, handle the Click event, both in the switch is up and down in, for both, the process is sent Time On 1min.
2. If you perform a long press (longer than 250ms).
Down event occurs to 250ms and Up event when the button is released, taking advantage of these processes to send 1min Time On and Off respectively. Programmed in both keys.
The effect is that when you make a push on the keys will open or close the awning completely. If we make a long press will enter the manual control mode, in which the canopy makes the opening and closing movement while the button is held down, when it is released, the motor will stop and the awning will remain in the position.
For automatic control and programming daily, with light sensors, solar radiation sensors, thermal etc. It has to use the facility with real time clock or the central sensors that have performed extremely efficient control of these devices, providing a better energy savings and total control of unwanted solar radiation.