Eight channel remote relay card
ILLUSTRATED ASSEMBLY MANUAL H8056IP-1
This relay card can be used in several ways : stand
alone card, addressed by switches or open collector
outputs or remote controlled through RS232.
K8056K8056
This relay card can be used in several ways: Stand alone card, addressed by switches or open collector
outputs. Remote controlled through RS232.
In option remote controlled using RF (radio frequency) signals
and K8058 remote control+ RX433 module
Since the card can be addressed using RS232 commands, you may write custom applications in any language you want or on
any platform you want.
Test software can be downloaded from our web site.
This device complies with Part 15 of the FCC Rules provided the enclosed instructions are followed to the letter. Use of the device is subject to the following conditions: (1) this device must not cause harmful interference and (2) the operation of this device should not be influenced by unwanted interference. More information about FCC can be look at http://www.fcc.gov
3
Features & specifications
Features :
Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using VDR’s. LED confirmation on each relay contact. Eight drive inputs to use with open collectors or regular switches. RS232 input to drive the card with computer or terminal. High or low impendant selection (10K or 1K). Optional RF driving possibility using RX433 type module(*). Together with
K8058 eight channel RF remote control.
Specifications
Power: 12Vac / 500mA (including 12V output) Unregulated 12Vdc / 200mA power output Diagnostic / test software
Separate relay on/off test with moment or toggle function. Clear all / set all relays function. Address selection, up to 255 cards can be selected. Emergency stop for all cards. Minimum system for test software :
Pentium class CPU Windows 95 or higher Mouse and free RS232 port * Not simultanious with RS232
4
Assembly hints
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 compo-
nents 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 draw-
ings. Values on the circuit diagram are subject to changes. Values in this assembly guide are correct*
0.000
5
Use the check-boxes to mark your progress. Please read the included information on safety and customer service * Typographical inaccuracies excluded. Always look for possible last minute manual updates, indicated as ‘NOTE’ on a separate leaflet. 1.3 Soldering Hints :
1- Mount the component against the PCB sur-face 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 !
Assembly hints
AXIAL COMPONENTS ARE TAPED IN THE CORRECT MOUNTING SEQUENCE !
6
Construction
R1 : 1K (1-0-2-B) R2 : 10K (1-0-3-B) R3 : 56 (5-6-0-B) R4 : 56 (5-6-0-B) R5 : 10K (1-0-3-B) R6 : 56 (5-6-0-B) R7 : 10K (1-0-3-B)
4. Resistors.
R...
J (6x)
1. Jump wires.
D5 : 1N4148 D6 : 1N4148 D7 : 1N4148 D8 : 1N4148 D9 : 1N4148 D10 : 1N4148 D11 : 1N4148 D12 : 1N4148
2. Diodes (check the polarity)
CATHODE
D...
ZD1 : 5V1
3. Zener diode (check the polarity)
CATHODE
ZD...
R8 : 56 (5-6-0-B) R9 : 10K (1-0-3-B) R10 : 56 (5-6-0-B) R11 : 10K (1-0-3-B) R12 : 56 (5-6-0-B) R13 : 56 (5-6-0-B) R14 : 56 (5-6-0-B) R15 : 10K (1-0-3-B) R16 : 10K (1-0-3-B) R17 : 10K (1-0-3-B) R18 : 1K (1-0-2-B) R19 : 470 (4-7-1-B) R20 : 4R7 (4-7-B-B) R21 : 4R7 (4-7-B-B) R22 : 1K (1-0-2-B) R23 : 10K (1-0-3-B) R24 : 1K (1-0-2-B)
D1 : 1N4007 D2 : 1N4007 D3 : 1N4007 D4 : 1N4007
5. Diodes (check the polarity)
CATHODE
D...
SW1 : Test (KRS0612)
6. Push button
SW...
C1 : 100n (104, 0.1, u1) C2 : 100n (104, 0.1, u1)
7. Capacitors
c...
7
Construction
IC1 : 14p
8. IC sockets. Watch the position of the notch!
LD1 … LD8 : Output indication LD9 : Power indication LD10 : DATA indication
9. LEDs. Watch the polarity!
LD1
CATHODE
LD1 LD2 LD3 LD4 LD5 LD6 LD7 LD8 LD9 LD10
3mm RED
T1 T2 T3 T4 T5 BC547B T6 T7 T8 T9
10. Transistors
T1
JP1 : 3p “ON/OFF remote” JP2 : 3p “RS232/RF” JP3 : 3p “Normal/Current”
11. Header
C3 : 100µF C4 : 100µF
12. Electrolytic capacitors. Watch the polarity !
C...
ATTENTION : SK2 to SK9 are 7,5mm pitch connectors, SK12 to SK19 are 5mm pitch connectors!
SK1 : 2p => (AC 12V input) SK2 : 2p SK3 : 2p SK4 : 2p SK5 : 2p SK6 : 2p Output 1 … 8 SK7 : 2p SK8 : 2p SK9 : 2p
13. Screw connectors
8
Construction
SK10 : 2p => RS232 input SK11 : 2p => V Out 12V SK12 : 2p SK13 : 2p SK14 : 2p SK15 : 2p SK16 : 2p SK17 : 2p SK18 : 2p SK19 : 2p
Input 1 … 8
VDR1 VDR2 VDR3 VDR4 VDR5 VDR6 VDR7 VDR8
14. VDR’s
VDR300 (300VAC/385VDC)
VR1 : UA7805
Check the orientation !
15. Voltage regulator
VR...
C5 : 1000µF
16. Electrolytic capacitor. Watch the polarity !
C...
RY1 RY2 RY3 RY4 VR10V121C RY5 RY6 RY7 RY8
17. Relays
IC1 : VK8056 programmed Pic16F630 or eq.
18. IC. Watch the position of the notch!
9
Control options
19. Control options
Normal Current
10K 1K
ONOFF
Fig 2.0
9 pole
3 : TxD 5 : GND 25 pole
2 : TxD 7 : GND
0 IN
3 5 53
TO PCSUBD 9 pole female TO K8056
10 meter max.
5 3 TxD
GND
1) RS232 cable :
Do not use a null-modem cable !! Jumper setting :
Place JP1 in ON position
Place JP2 in RS232 mode, see fig 1.0.
Choose the impedance, high or low with JP3. Define the impedance on experimental use. The impedance depends on the length of RS232 cable you’re using.
Normally the impedance is 10Kohm => select normal. If you use current loop (long cable), select current. The impedance will be 1Kohm.
2) Wireless link :
It is possible to use the K8056 together with a remote control (e.g. our K8058). In this case an optional receiver module type RX433 is available.
The receiver module is mounted on the left hand side of the K8056 board. Watch the position, the coil point to the relays of the K8056. If you choose wire-less operation, make sure to set jumper JP1 & JP2 in right position.
Transmission quality depends on your environment. Other RF sources might interfere with your signal.
Jumper setting :
Place JP2 in RF mode.
Place now JP1 in ON position (see fig. 2.0)
Put JP1 in OFF mode if you don't use a remote control (RS232 or wireless link)
RFRS232
Fig 1.0
10
Note: A Test program can be downloaded from our web site. The source code (VB) is also available. (English only)
1) Instructions for software design :
As the instructions consist of a string of ASCII characters, it is easy to design software which transmits the instructions via the serial port of the PC.
Port settings are: 2400/8/N/1
For wired operation, the instruction sequence needs to be sent at least twice.
For wireless operation, we recommend to send the instruction string at least 5 times in a row to ensure proper reception under all conditions. For improved reliability, add a pause of a least 300ms between two different instructions.
Please note that environmental conditions can interfere with the signal. Therefore, the unit is not suited for use as or as part of any kind of equipment which might cause harm to people or property if a malfunction should occur.
2) Instruction sequence :
To execute a command, the correct sequence needs to be sent to the K8056. Basically, a command sequence looks like this : 1. CHR$(13) 2. card address (1..255) 3. instruction 4. address (1..255) or relay# ('1'..'9' ASCII) 5. checksum (2-complement of the sum of the 4 previous bytes + 1) 3) Instructions : 'E' : Emergency stop all cards, regardless of address. Carefull, relays turned
on by open collector inputs will not be turned off by this command).
'D' : Display address. All cards show their current address in a binary fashion. (LD1 : MSB , LD8 : LSB)
'S' : Set a relay. 'S'-instruction should be followed by relay # '1' to '8'. ('9' sets all relays at once).
'C' : Clear a relay. 'C'-instruction should be followed by a relay # '1' to '8'. ('9' clears all relays at once.)
'T' : Toggle a relay. 'T'-instruction should be followed by a relay # '1' to '8'.
20. Addressing the K8056 card through RS232 commands.
Addressing
11
Addressing
'A' : Change the current address of a card. 'A'-instruction should be followed by the new address (1..255)
'F' : Force all cards to address 1 (default) 'B' : Send a byte. Allows to control the status of all relays in one instruction, by
sending a byte containing the relay status for each relay. (MSB : relay1, LSB : relay8)
4. Program example : see Velleman site (www.velleman.be)
12
Diagnostic / Test software
1
2
3
4
5 6 8 7
13
Note : You can download software from our website www.velleman.be which makes it very easy to control your relay card(s). A. Operating modes: The K8056 features 4 operating modes : 1. Set all outputs active / non-active 2. Eight toggle buttons 3. Eight momentary buttons 4. One button is reserved as 'emergency' function Momentary : Hold the key to activate the output and release the key to deactivate it. Toggle : Operates according to the principal of a classic switch, i.e. press a key once to activate and press again to deactivate. Emergency function : Deactivate all the outputs on the same time. B. Address selection: 1. Select the address of the relay card you want to control. 2. Confirm the selection by clicking the "show addr." button.
NOTE : Make sure that you have selected the correct serial port! C. Changing address : Choose the address you want to allocate to the relay card and confirm it by clicking the "Chang addr." button.
21. DIAGNOSTIC / TEST SOFTWARE
Diagnostic / Test software
14
PCB
22. PCB
SK
11
LD10
NO
2
Vel
lem
an
P80
56-1
V O
ut
0 +1
2V
Dat
a in
T9
RS
232/
2400
/N/8
/1
RF
RS
232
Rem
ote
conf
igur
atio
n
JP2
R21
R20
Cur
rent
JP3
Nor
mal
R22
R23
ZD1
SK
10
0- IN
RS
232
R18
R24
LD9
D3IN
PUT
AC
12V
C4
C1
VR1
C5
R1
D2
D1
R2
R3
RX1
T1LD
1
to int ant
D5
RY
1
T2LD
2
R4
R5
D6
RY
2
VD
R1
NO
1
ANT.D4
VD
R2
SK
1S
K2
SK
3
R17
SK
13
0 -
2
SK
12
0 -
1
R19
JJ
0 -
3
SK
14
C3
J
C2
SK
15
0 -
4
SK
16
0 -
5
I N P
U T
S
IC1
SK
17
0 -
6
SK
18
0 -
7
JJ
J
Tes
tOff
0 -
8
SK
19
SW
1
JP1
Offi
ce u
seF
or h
ome
or
On
Re-
mot
e
RY
7
LD7
NO
7
LD3
T3
R6
R7
R
RY
3 D7
T4
R8
LD4
R9
R10
RY
4 D8
NO
3
VD
R3
VD
R4
NO
4
T6
R11
T5LD
5
R12
D9
RY
5
R15
LD6
T7
R13
D10
RY
6
NO
6
VD
R5
NO
5
VD
R6
SK
4S
K5
SK
7S
K6
SK
8
D12
R14
R16
T8LD
8
D11
RY
8VD
R8
NO
8
VD
R7
SK
9
C1C2
COMNO NC
C1
C2
CO
MNO NC
C1C2
COMNO NC
C1C2
COMNO NC
C1C2
COMNO NC
1C1C2
COMNO NC
C1C2
COMNO NC
C1C2
COMNO NC
15
23. Schematic diagram
Schematic diagram
Titl
e
VR
10V
121
C
RY
1 1N41
48
D5
LED
3RL
LD1
56R
R3
VD
R300
VD
R1
SK2
VR
10V
121
C
RY
2 1N41
48
D6
LED
3RL
LD2
56R
R4
VD
R300
VD
R2
SK3
VR
10V
121
C
RY
3 1N41
48
D7
LE
D3R
LL
D3
56R
R6
VD
R300
VD
R3
SK
4
VR
10V
121C
RY
4 1N41
48
D8
LE
D3R
LL
D4
56R
R8
VD
R30
0
VD
R4
SK
5
VR
10V
121C
RY
5 1N41
48
D9
LE
D3R
LL
D5
56R
R10
VD
R30
0
VD
R5
SK
6
VR
10V
121
C
RY
6 1N41
48
D10
LE
D3R
LL
D6
56R
R12
VD
R30
0
VD
R6
SK7
VR
10V
121
C
RY
7 1N41
48
D11
LED
3RL
LD7
56R
R13
VD
R30
0
VD
R7
SK8
VR
10V
121
C
RY
8 1N41
48
D1
2
LED
3RL
LD8
56R
R14
VD
R300
VD
R8
SK9
SK
1
1N40
07
D3
1N40
07
D4
1N40
07D
11N
4007
D2
1KR1
1000
µ/2
5V
C5
LED
3RL
LD9
+12
V
+12V
+12V
+12V
+12V
+12V
+12
V+
12V
+12
V
SK11
SK
12
SK
13
SK
14
SK
15S
K16
SK
17
SK
18
SK
19
+12V
RA
5/T
1C
KI/
OS
C1/
CLK
IN2
RA
3/M
CL
R/V
pp4
RC
55
RC
46
RC
37
RA
4/T
1G
/OS
C2/C
LKO
UT
3R
A0/
CIN
+/IC
SPD
AT
13
RA
1/C
IN-/
ICSP
CL
K12
RA
2/C
OU
T/T
0CK
I/IN
T11
RC
28
RC
19
RC
010
VDD1
VSS14
PIC
16F6
30-I/
PIC1
IO GND
UA
78X
X
VR
1
100N
OM
C1
+5V
100N
OMC
2
1K
R24
5V1
ZD1
1KR18
SK10
BC
547
T1
10K
R2
BC
547
T2
10K
R5
BC
547
T3
10K
R7
BC
547
T4
10K
R9
BC
547
T5
10K
R11
BC
547
T6
10K
R15
BC
547
T7
10K
R16
BC
547
T8
10K
R17
OU
T1O
UT
2O
UT3
OU
T4O
UT5
OU
T6
OU
T7
OU
T1
OU
T2
OU
T3
OU
T6
OU
T5
OU
T4
OU
T7O
UT
8
OU
T8
SW
KRS
0611
SW1
8ch
anne
lrel
ayca
rd
GND1L
IN O
UT
3
VCC4
VCC5 GND
6
GND7
AN
T8
DIG
OU
T2
RX
433
MO
DU
LE
RX
1
BC
547
T9
10K
R23
1KR22
+5V
AN
TEN
NA
AN
T.
RS2
32
- RF
JP2
CU
RR
EN
T
JP3
LE
D3R
L
LD10
470R
R19
Remote ON/OFF
JP1
4R7
R21
100µ
/35
VC
3
100µ
/35
V
C4
4R7
R20
Test
bu
tton
NO
RM
AL
Modifications and typographical errors reserved © Velleman Kit nv H8056IP’1 - 2014 (rev1)
5 4 1 0 3 2 9 2 9 2 0 3 4
VELLEMAN NV Legen Heirweg 33, B-9890 GAVERE
Belgium (Europe)