MC Based 4 Channel Dimmer
MC Based 4 Channel Dimmer
4 Channel Dimmer
100W Bulb
230V
A.C.
220V
100W Bulb
230V
A.C.
220V
DWN Switch
ENT Switch
UP Switch
100W Bulb
230V
A.C.
220V
Apply 12V AC
From a transformer
100W Bulb
230V
A.C.
220V
Apply 12V AC
From a transformer
One can reduce the light intensity to 20 steps. 1 means full light and 19 means lowest intensity.
This kit is delivered with
Channel 1 has a intensity step value of 5.
Channel 2 has a intensity step value of 10.
Channel 3 has a intensity step value of 15.
Channel 4 has a intensity step value of 18.
These value will be displayed on LCD
CH1 05 CH2 10
CH3 15 Ch4 18
How to Change the Set Values
Press ENT Button for two second. Next LCD Display shows
Next release ENT button and Press and
hold UP button for 6 seconds. And then Set High PPM
release it.
The LCD Display shows
PPM Channel3
Followed by 00
PPM Channel1 Use UP key to set the light intensity
step(any value between 1 to 20, 1
00 means highest light intensity , 19 means
lowest light intensity) let put 15 light
Use UP key to set the light intensity intensity step value for channel3.
step(any value between 1 to 20, 1
means highest light intensity , 19 means PPM Channel3
lowest light intensity) let put 05 light
intensity step value for channel1. 15
PPM Channel1 Press ENT button to select the value for
channel3.
05
Press ENT button to select the value for Next LCD Display shows
channel1.
Set High PPM
Next LCD Display shows
PPM Channel4
Followed by
00
PPM Channel2 Use UP key to set the light intensity
00 step(any value between 1 to 20, 1
means highest light intensity , 19 means
Use UP key to set the light intensity lowest light intensity) let put 18 light
step(any value between 1 to 20, 1 intensity step value for channel4.
means highest light intensity , 19 means
lowest light intensity) let put 10 light PPM Channel3
intensity step value for channel2. 18
PPM Channel2
Press ENT button to select the value for
10 channel4.
1
2 Bt136
3
18 17 16 15 141312 11 2 3 2 230V
A.C.
MOC3021 6
180
26
27 PIC16F876A
28
4
20 1 9 10 8 19 21 24 23 22 5 3.3K 180
4MHZ 1 4 220V
100W Bulb
1
4.7K 2 Bt136
+ 3
22pf 22pf 2
+ 5V 230V
A.C.
MOC3021 6
180
+ 5V
+
5 4
3.3K 180
6 16X2 LCD 15 1 4 220V
100W Bulb
VA
VLC VCC VSS VC
1
2 Bt136
14 13 12 11 10 9 8 7 3 2 1 16 3
2 230V
A.C.
MOC3021 6
10K 0.1 uf
180
3.3K 180
4
+
+5 V DC 1 220V
100W Bulb
1
Transformer 2 Bt136
3
3.3K 2
1 4 10K
230V
A.C.
D2 D1 MOC3021 6
230V
5
2 180
A.C.
D3 D4
6
MCT2E
+
+ 5V + 5V + 5V
Synchronous circuit
tion of an alternating current circuit and a direct It is necessary to generate a gate pulse at time
current circuit, and high-speed operation. The required in order to control TRIAC. A starting
voltage to handle in main TRIAC is compara- point is 0V of alternating voltage. It is necessary
tively high voltage like 220VAC. However, to detect 0V of alternating voltage. By this
because the voltage of a PIC circuit is 5VDC, it is circuit, the voltage of 5V is inputted into RB0
necessary to separate both circuit. So terminal of PIC in the shape of a pulse when the
optocoupler MOC3021LED is controlled by PIC polarity of alternating voltage changes.
which operates with 5VDC, it is possible to As a photo coupler, the photo coupler for AC/DC
control the current of circuits, such as 220VAC, is used. LED is driven with alternating voltage
and ON/OFF of a photo transistor is controlled
by the light. LED makes polarity reverse and
is connected in parallel. Therefore, even if the
polarity of alternating voltage changes, one of
LED lights up. When LED is ON, a photo
transistor will be in ON state, and the voltage
of RB0 terminal of PIC is set to almost 0V.
Because voltage falls in the portion which
changes the polarity of alternating voltage,
there is time to turn on neither of the LED.
Because the light to a photo coupler is lost at
this time, a photo transistor will be in an OFF
state and the voltage of RB0 terminal of PIC
with TRIAC. If light is put in LED to the portion of
will be set to 5V. PIC16F series is equipped with
the base of a transistor like a photo transistor,
the function to which interruption operation is
the motion of the electrons and holes of N type
carried out by the pulse inputted into RB0. In the
and P type semiconductor will be activated.
left figure, the external pull-up resistor is drawn
Thereby, the same effect as having passed
on RB0. In an actual circuit, the pull-up function
current to the base. Therefore, if LED is turned
built in PIC is used. The current which can be
on, Photo-Triac can be changed into an electri-
passed in the LED section of a photo coupler is
cal connection state. If the Photo-Triac is in an
about tens of mA at the maximum. Therefore,
electrical connection state, and if a gate current
the high voltage for turning on LED cannot be
flows into the main TRIAC, it will be in an
used. In this time, 6VAC for making the power
electrical connection state. Then, the voltage
supply for PIC is used. Furthermore, current is
applied to Photo-Triac becomes almost 0V.
controlled by the resistor. The pulse duration
Thereby, an electrical connection state is
given to RB0 depends on the time which LED
canceled. Therefore, current flows into the gate
has switched off. It seems hundreds of micro-
seconds.