Led BLU | Led GREEN | Explanation | Note |
OFF |
Flashing |
Normal working |
|
Flashing |
OFF |
Indicate the request of the: programming open time for single swing gate. |
To program this time see: PulsBLU |
Flashing |
Flashing |
Indefinite situation - the gate not knows what to do |
Check the operation of the: FCA and FCC that for swing gate must be opened. If you are using a Swing Gate reprogram the time of opening, see PulsBLU. |
PulsBLU |
SetUp Used to configure the opening time. |
Afther the PowerON if PulsBLU is pressed, it is started the routine that allows you to set the run time for the swing gate (SetUp). After you are started the SetUp, release the PulsBLU and then follow the steps below (see steps: 1 and 2). During the first installation, if the gate is configured as a swing gate, automaticaly you are in the routine that allows you to set the run time for the swing gate. For configure the run time, follow the steps below. 1) Place the gate CLOSED 2) Press the BLUE button to fully open up the gate and then release it. At this point the gate is programmed and will automatically close. |
Basic Functions
StatoLampeggioLedVerde
= SPENTO;
The
blinking Green LED is OFF
StatoLampeggioLedVerde
= ACCESO;
The
blinking Green LED is ON
VLed_OFF;
The
Green LED is turned OFF
StatoLampeggioLedBlu
= SPENTO;
The
blinking Blue LED is OFF
StatoLampeggioLedBlu
= ACCESO;
The
blinking Blue LED is ON
BLed_OFF;
The
Blue LED is turned OFF
statoLampeggiante
= SPENTO;
The
blinking LAMP is OFF
statoLampeggiante
= ACCESO;
The
blinking LAMP is ON
LAMP_OFF;
The
LAMP is turned OFF
AttesaPressioneTastoBLU();
Waiting
until the Blue Button is pressed and released.
The
Blue Button is on the STM32F0-Discovery.
Delay(n);
Set
a delay of n ms. If n==1000 the delay is 1sec
The ADC input channels are used under DMA and the allocation is show below.
Name |
Simbol |
PIN |
Function |
Name of channel |
Tab position |
Tempo Luce di Cortesia |
TLC |
PA1 |
Analog |
ADC_Channel_1 |
RegularConvData_Tab[0] |
Crepuscolare |
CRE |
PA7 |
Analog |
ADC_Channel_7 |
RegularConvData_Tab[1] |
Reserved |
PWM |
PA3 |
Analog |
ADC_Channel_3 |
RegularConvData_Tab[2] |
Sensibilità Crepuscolare |
SC |
PA2 |
Analog |
ADC_Channel_2 |
RegularConvData_Tab[3] |
Tempo Luce di Cortesia ---> Time Courtesy Light
Crepuscolare ---> Crepuscular
Suggested improvement
Add a motor speed control also called: gate’s final opening/closing phase slow-down speeds.