Velleman K8090 Assembly instructions

Page 1
8 CHANNEL USB RELAY CARD
o
t
t
o
p
B
S
U
e
t
u
p
m
o
c
u
o
y
e
s
U
Total solder points: 363 Difficulty level: beginner 1 2 3 4 5 advanced
w
or
.
d
l
e
d
i
s
t
u
o
e
h
t
o
t
t
c
e
n
n
o
c
K8090
K8090
ILLUSTRATED ASSEMBLY MANUAL H8090IP-1
Page 2
Page 3
Features & specifications
Eight relay channels controlled by your computer! Use your computer USB port to connect to the outside world. Connect up to 16A to each of the high power relays. Board space for extra VDR noise suppressors is provided and on board push buttons can be used to test/operate all the relays.
Features
USB-controlled relay card manual operation for toggle, momentary or timer operation (selectable through
software)
timer settings up to 18 hours (DLL function) optional open collector connectivity (push button simulation) event-driven and open protocol two way PC communication (USB Event return) LED indication for power and relay action
Optional VDR (type VDR300) transient suppression for use with inductive loads
minimum system requirements:
PC running USB compatible Windows version USB1.1 and USB2.0 full speed compatible internet connection for software download
optional DIN rail enclosure: B8006 (Note: cut-out the USB connector)
Specifications
power supply for relays: 9-10Vac or 12 to 14Vdc (500mA)
8 high-power relays: 16A each (resistive load)
dimensions: 160 x 107 x 30mm / 6.3 x 4.2 x 1.2
*
e
r
a
w
ft
o
s
n
w
o
r
fo
l
l
d
A
o
l
e
v
e
d
m
o
r
f
t
n
e
m
p
e
w
r
u
o
e
l
p
m
o
c
e
b
n
a
c
b
T
.
e
t
i
s
e
h
t
s
e
t
l
n
w
o
d
o
s
t
s
e
a
k
c
a
p
d
e
d
a
o
g
e
r
a
w
ft
.
e
* If voltages > 30V are connected, then an enclosure must be used !
3
Page 4
Assembly hints
0
.
0
0
0
1. Assembly (Skipping this can lead to troubles ! )
Ok, so we have your attention. These hints will help you to make this project successful. Read them carefully.
1.1 Make sure you have the right tools:
A good quality soldering iron (25-40W) with a small tip.
Wipe it often on a wet sponge or cloth, to keep it clean; then apply solder to the tip, to give it a wet look. This is called ‘thinning’ and will protect the tip, and enables you to make good connections. When solder rolls off the tip, it needs cleaning.
Thin raisin-core solder. Do not use any flux or grease.
A diagonal cutter to trim excess wires. To avoid injury when cutting
excess leads, hold the lead so they cannot fly towards the eyes.
Needle nose pliers, for bending leads, or to hold components in place.
Small blade and Phillips screwdrivers. A basic range is fine.
For some projects, a basic multi-meter is required, or might
be handy
1.2 Assembly Hints :
Make sure the skill level matches your experience, to avoid disappointments. Follow the instructions carefully. Read and understand the entire step before
you perform each operation.
Perform the assembly in the correct order as stated in this manual Position all parts on the PCB (Printed Circuit Board) as shown on the
drawings.
Values on the circuit diagram are subject to changes. Values in this assembly guide are correct* Use the check-boxes to mark your progress. Please read the included information on safety and customer service
4
Page 5
Assembly hints
* Typographical inaccuracies excluded. Always look for possible last minute man­ual updates, indicated as ‘NOTE’ on a separate leaflet.
1.3 Soldering Hints :
1- Mount the component against the PCB
surface and carefully solder the leads
2- Make sure the solder joints are cone-shaped and shiny
3- Trim excess leads as close as possible to the solder joint
REMOVE THEM FROM THE TAPE ONE AT A TIME !
DO NOT BLINDLY FOLLOW THE ORDER OF
THE COMPONENTS ONTO THE TAPE.
ALWAYS CHECK THEIR VALUE ON THE
PARTS LIST!
5
Page 6
Construction
c...
1. Diodes (check the polarity)
CATHODE
D...
D1 ... D10 : 1N4148 D11 ... D14 : 1N4007
2. Resistors.
R.. .
R1 ... R21 : 1K (1 - 0 - 2 - B) R22 : 4.7 (4 - 7 - B - B)
R23 ... R36 : 100K (1 - 0 - 0 - 3 - 1) R37 ... R46 : 200K (2 - 0 - 0 - 3 - 1)
3. IC socket. Watch the position of the notch!
IC1 : 20p
4. Capacitors
C1, C2 : 22pF (22) C3 : 10nF (103) C4 ... C6 : 100nF (104) C7 : 470nF (474)
5. Push button
SW1 ... SW8
(channel 1 to 8)
6. LEDs. Watch the polarity!
CATHODE
LD1
LD1 ... LD11 : 3mm RED
LD1 … LD8 : Output indication LD9 : USB DATA LD10 : USB power indication LD11 : Relay power indication
7. Transistors
T1 T2 T3 T4
T1
T5 BC547B T6 T7 T8
8. USB connector
SK10 : B - female
9. Pinheader
3pins:
JP1 : event
Set event jumper default to Off.
6
Page 7
Construction
C...
VR...
C...
10. Terminal blocks
SK1 : 2p power supply
SK2 ... SK9 : 2p (channels 1 ... 8)
11. Electrolytic capacitors. Watch the polarity !
C8, C9 : 4,7µF
12. Quartz crystal
X1 : 12MHz
X...
13. Voltage regulator
VR1 : UA7805
Check the
orientation !
15. Relays
RY1  RY5
RY2  RY6
RY3  RY7
RY4  RY8
Important : Put an extra layer of
solder on all pre-thinned PCB tracks,
to improve their current handling
16. IC. Watch the position of the notch!
IC1 : VK8090
programmed PIC18F14K50-I/P or eq.
17. Rubber feet
Mount the rubber feet on the solder side of the PCB if you do not mount the kit into an DIN rail enclosure
18. Open collector input (optional)
Connection diagram for use with an open-collector system.
capabilities.
.
14. Electrolytic capacitor.
Watch the polarity !
C10 : 1000µF
1 2 3 5 4 6 7 8
7
Page 8
Test & connection
19. Test and connection
The card uses a separate supply for the relays and one for the board microcon­troller.
Test 1:
Connect a power supply of 9 to 10Vac or 12 to 14Vdc (minimum 500mA).
The power LED should turn on.
The USB power LED will also turn on (indicating that the microprocessor power
is ON).
Push the buttons and the relays should activate.
Test 2:
Disconnect the power supply.
Connect the USB port to the PC.
The USB power LED should turn on.
Pressing the buttons will make the output indicator LEDs turn on, but the relays
will not activate.
Now the card can be used with all connections. It is possible to power the card through USB only, but the relays will not activate. The relay indicator LEDs will work fine. This mode can be used for software testing.
Check our web site to download more program examples.
8
Page 9
PCB
PCB
9
Page 10
Titl e
Numb er Revis ionSize
B
1N41 48
D1
LED3RL
LD1
100K
R23
VDR300
VDR1
SK2
1N41 48
D2
VDR300
VDR2
SK3
1N4148
D3
VDR300
VDR3
SK4
1N41 48
D4
VDR300
VDR4
SK5
1N4148
D5
VDR3 00
VDR5
SK6
1N41 48
D6
VDR300
VDR6
SK7
1N41 48
D7
VDR300
VDR7
SK8
1N4148
D8
VDR300
VDR8
SK9
SK1
GND
1N40 07
D13
1N40 07
D14
1N40 07
D11
1N40 07
D12
GND
1K
R1
1000 µ/2 5V
C10
LED3RL
LD11
+12V
+12V +12V +12V +12V +12 V +12V +12V +12V
GND
100n F
C4
BC547
T1
1K
R2
GND
GND
OUT1
OUT1
OUT2
OUT3
OUT6
OUT5
OUT4
OUT7
OUT8
SW1
GND
8 channel USB relay card
P8090-2 01
Mode
JP1
LED3RL
LD10
1K
R10
4R7
R22
RB5/AN1 1/RX/D T12RB6/SCK/SCL11RB7/TX/CK
10
VUS B
17
RB4/AN10/SDI/SDA
13
RA3/MCLR/VPP
4
RC0/AN4/C12IN+/INT0/VREF+16RC1/AN5/C12IN1-/INT1/VREF-
15
RC2/ AN6/P 1D /C1 2IN2-/ CVR EF/I NT2
14
RC3/AN7 /P1C/C 12IN3-/PGM
7
RC4/P1B/C12OUT/SRQ
6
RC5/CCP1/P1A/T0CKI
5
RC6/AN8/SS/T13CK1/T1OSI
8
RC7/ AN 9/ SDO / T1 OSC O
9
RA4/AN3/OSC2/CLKO3RA5/OSC1/CLKI
2
VDD
1
VSS
20
D+/ PGD
19
D-/PG C
18
PIC18F14K5 0-I/P
IC1
VBUS1USB_ D-2USB_ D+3GND
4
6 5
USB CON CC08 9
SK10
GND
GND
GND
GND GND GND
GND
GND
GND
22P
C1
22P
C2
10n
C3
470n F
C7
12MHz
X1
4µ7
C8
SW2 SW3 SW8SW7SW6SW5SW4
GND
1K
R13
USB
LD9
200K
R38
200K
R39
200K
R40
200K
R41
200K
R43
200K
R44
200K
R45
200K
R46
100K
R31
200K
R37
200K
R42
100K
R32
100K
R33
100K
R34
100K
R35
100K
R36
LED3RL
LD2
100K
R24
BC547
T2
1K
R3
GND
OUT2
LED3RL
LD3
100K
R25
BC547
T3
1K
R4
GND
OUT3
LED3RL
LD4
100K
R26
BC547
T4
1K
R5
GND
OUT4
LED3RL
LD5
100K
R27
BC547
T5
1K
R6
GND
OUT5
LED3RL
LD6
100K
R28
BC547
T6
1K
R7
GND
OUT6
LED3RL
LD7
100K
R29
BC547
T7
1K
R8
GND
OUT7
LED3RL
LD8
100K
R30
BC547
T8
1K
R9
GND
OUT8
1K
R11
+5V
1K
R12
100nF
C6
100nF
C5
GND GND GND
4.7µ/16 -25V
C9
GND
+12V
1N41 48
D10
1N4148
D9
VPP
1
VDD2GND
3
PGD4PGC
5
ICSP CONNECTOR
ICS P
GND
1
2
3
4
5
6
7
8
9
10
CON BTWM10SK11
GND
I O
GND
UA7805
VR1
GND
GND
1K
R21
1K
R20
1K
R19
1K
R14
1K
R15
1K
R16
1K
R18
1K
R17
RY1 RY2 RY3 RY4 RY5 RY6 RY7 RY8
Schematic diagram
Schematic diagram
10
Page 11
Page 12
VELLEMAN NV
Legen Heirweg 33
9890 Gavere
Belgium Europe
Info ?: http://www.velleman.be
Modifications and typographical errors reserved © Velleman nv H8090IP - 2010
5 410329 412050
Loading...