Download Print this page

AVT 1881 Quick Start Manual page 2

8-channel led controller

Advertisement

U2
RES
1
RESET
(SCK)PB7
(MISO)PB6
(MOSI)PB5
S3
4
PA1
(OCI)PB3
LED
5
PA0
(AIN1)PB1
20
VDD
VCC
(AIN0)PB0
GND
10
GND
(ICP)PD6
(T1)PD5
(T0)PD4
(INT1)PD3
(INT0)PD2
(TXD)PD1
(RXD)PD0
ATTINY2313
Fig. 1 Schematic diagram
Mounting and start-up
The controller has been mounted on a board with the
arrangement of the components as shown in Figure 2.
Start mounting according to general principles, first
solder the lowest components - resistors, and end with
the highest ones - connectors. Once the device is
assembled, the ICs must be placed in their sockets and
Fig. 2 Mounting diagram
The sequence programming mode is entered by
pressing and holding down the S1 button. This state will
be signalled by a longer illumination of the LED. The
programming itself is carried out by setting the selected
combination (on and off outputs) with switch SW1 and
confirming it with button S1. Setting the SW1 switch to
the "ON" position turns on the respective channel
(lights up the diode connected to the output) and in the
"OFF" position turns off that channel. When the S1
SW1
19
1
16
D1
18
D2
2
15
17
3
14
D3
16
4
13
D4
PB4
15
D5
5
12
14
6
11
D6
PB2
13
D7
7
10
12
8
9
D8
11
9
R1
8
RES
7
4,7k
6
3
S2
2
S1
RP1
2
1
VDD
3
4
5
6
7
8
9
VDD
U1
1
VDD
VO
C2
C3
100uF
100nF
GND
a 12 V power supply must be connected to the VCC
input. The controller itself draws current, in the order
of several milliamps, but the current capacity of the
power supply should be adjusted to match the
current drawn by the ICs.
button is pressed, a brief flashing of the D1 diode
signals that the state set by switch SW1 is being
stored. Record the next steps in the sequence to be
created in the same way. When the microcontroller
memory is full of all 124 steps, the circuit will light the
LED longer each time the S1 button is pressed. Once
you have saved all the required sequences, you need
to decide if you want it to be played once or repeated
in a loop. Ending the sequence teaching procedure
S1
3
4
GND
3
GND
4
S3
3
4
GND
GND
LED
U3
1
D1
I1
D2
2
I2
3
D3
I3
D4
4
I4
5
D5
I5
D6
6
I6
7
D7
I7
8
D8
I8
GND
9
GND
78L05Z
VCC
3
VI
C1
C4
GND
2
100uF
100nF
S1
1
R2
2
VDD
S2
4,7k
S2
1
R3
2
VDD
4,7k
S3
1
R4
2
VDD
4,7k
R13
LED
1k
ULN2803
18
OUT1
O1
17
OUT2
O2
16
OUT3
O3
15
OUT4
O4
14
OUT5
O5
13
OUT6
O6
12
OUT7
O7
11
OUT8
O8
10
VCC
CD+
12VDC
D1
1N4007
2

Advertisement

loading