0% found this document useful (0 votes)
53 views16 pages

VELLEMAN - 8 Channel Remote Relay Card

electronica

Uploaded by

Jose
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views16 pages

VELLEMAN - 8 Channel Remote Relay Card

electronica

Uploaded by

Jose
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Eight channel remote relay card

s : stand
e d in several way
ard can be u s ollector
This relay c b y s w it c h es or open c
addressed 232.
alone card, c on tr o ll e d through RS
mote
outputs or re

K8056
ILLUSTRATED ASSEMBLY MANUAL H8056IP-1
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

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.


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

3
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.

0 .0
For some projects, a basic multi-meter is required, or might 00
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*

4
Assembly hints

 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

AXIAL COMPONENTS ARE TAPED IN


THE CORRECT MOUNTING SEQUENCE !

REMOVE THEM FROM THE TAPE ONE AT A


TIME !

5
Construction

1. Jump wires. R8 : 56 (5-6-0-B)


R9 : 10K (1-0-3-B)
J (6x) 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)
2. Diodes (check the polarity) R16 : 10K (1-0-3-B)
R17 : 10K (1-0-3-B)
D ... R18 : 1K (1-0-2-B)
R19 : 470 (4-7-1-B)
CATHODE R20 : 4R7 (4-7-B-B)
R21 : 4R7 (4-7-B-B)
R22 : 1K (1-0-2-B)
D5 : 1N4148 R23 : 10K (1-0-3-B)
D6 : 1N4148 R24 : 1K (1-0-2-B)
D7 : 1N4148
D8 : 1N4148 5. Diodes (check the polarity)
D9 : 1N4148 D...
D10 : 1N4148
D11 : 1N4148 C ATHO DE
D12 : 1N4148
D1 : 1N4007
3. Zener diode (check the polarity) D2 : 1N4007
ZD... D3 : 1N4007
D4 : 1N4007
ZD1 : 5V1 CATHODE

6. Push button

4. Resistors. SW...

R... 
SW1 : Test (KRS0612)

7. Capacitors
c...
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) C1 : 100n (104, 0.1, u1)
R7 : 10K (1-0-3-B) C2 : 100n (104, 0.1, u1)

6
Construction

8. IC sockets. Watch the position 11. Header


of the notch!
IC1 : 14p

9. LEDs. Watch the polarity!


JP1 : 3p “ON/OFF remote”
JP2 : 3p “RS232/RF”
JP3 : 3p “Normal/Current”
LD1
12. Electrolytic capacitors.
CATHODE
Watch the polarity !

C3 : 100µF
LD1 C4 : 100µF C...

LD2
LD3
LD4
LD5
LD6 3mm RED
LD7 13. Screw connectors
LD8
LD9
LD10
LD1 … LD8 : Output indication
LD9 : Power indication
LD10 : DATA indication

10. Transistors 
ATTENTION : SK2 to SK9 are
7,5mm pitch connectors, SK12 to
SK19 are 5mm pitch connectors!

T1 
SK1 : 2p => (AC 12V input)

T2 T1 
SK2 : 2p

T3 
SK3 : 2p

T4 
SK4 : 2p

T5 BC547B

T6 
SK5 : 2p

T7 
SK6 : 2p Output 1 … 8

T8 
SK7 : 2p

T9 
SK8 : 2p

SK9 : 2p

7
Construction


SK10 : 2p => RS232 input 17. Relays

SK11 : 2p => V Out 12V

SK12 : 2p

SK13 : 2p

SK14 : 2p

SK15 : 2p
Input 1 … 8

SK16 : 2p

SK17 : 2p

SK18 : 2p 
RY1

SK19 : 2p 
RY2

RY3
14. VDR’s 
RY4 VR10V121C

RY5

RY6

RY7

RY8

18. IC. Watch the position of the



VDR1 notch!

VDR2

VDR3 
IC1 : VK8056

VDR4 VDR300 (300VAC/385VDC) programmed

VDR5 Pic16F630 or eq.

VDR6

VDR7

VDR8

15. Voltage regulator

VR1 : UA7805
VR...


Check the
orientation !

16. Electrolytic capacitor.


Watch the polarity !

C5 : 1000µF
C...

8
Control options

19. Control options


1) RS232 cable :
TxD
GND 53 5
3
3 5
9 pole
3 : TxD
5 : GND 0 IN
25 pole TO PC
SUBD 9 pole female TO K8056
2 : TxD
7 : GND
10 meter max.


Do not use a null-modem cable !!
Jumper setting :

Place JP1 in ON position

Place JP2 in RS232 mode, see fig 1.0. Fig 1.0

Choose the impedance, high or low with JP3. Define the
impedance on experimental use. The impedance depends 2
23
on the length of RS232 cable you’re using. RS
RF

Normally the impedance is 10Kohm => select normal.


If you use current loop (long cable), select current. The impedance will be
1Kohm.
Normal Current
10K 1K

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 :
Fig 2.0

Place JP2 in RF mode.

Place now JP1 in ON position (see fig. 2.0)
F
OF
ON


Put JP1 in OFF mode if you don't use a remote control (RS232 or wireless link)

9
Addressing

20. Addressing the K8056 card through RS232 commands.

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'.

10
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)

11
Diagnostic / Test software

7 5 6 8

12
Diagnostic / Test software

21. DIAGNOSTIC / TEST SOFTWARE

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. 

13
14
SK1 SK2 SK3 SK4 SK5 SK6 SK7 SK8 SK9
PCB

AC 12V
INPUT
NO 1 NO 2 NO 3 NO 4 NO 5 NO 6 NO 7 NO 8 22. PCB

VDR1 VDR2 VDR3 VDR4 VDR5 VDR6 VDR7 VDR8

NO NO NO NO NO NO NO NO

D1
D2
D3
D4
COM COM COM COM COM COM COM COM
LD9
R1 ANT. NC NC NC NC NC NC NC NC

C5
RY1 RY2 RY3 RY4 RY5 RY6 RY7 RY8

to int ant
C1 C2 C1 C2 C1 C2 C1 C2 C1 C2 C1 C2 C1 C2 C1 C2

VR1
D5 D6 D7 D8 D9 D10 D11 D12
LD1 LD2 LD3 LD4 LD5 LD6 LD7 LD8
C4

R7
R8

R3
R2
R4
R14

T1 T2 T3 T4 T5 T6 T7 T8

R5
R6
R9
R10
R11
R12
R13

C1

RX1
R16

R15

T9
Velleman RP8056-1
R17

C2
LD10

ZD1
Data in

R24
J IC1

R20
R21
J J J

R22
R23
J J C3
R18 R19 For home or
Office use
RS232/2400/N/8/1 RS232 V Out INPUT S
JP3 On Off
JP2 0- IN 0 +12V 0-1 0-2 0-3 0-4 0-5 0-6 0-7 0-8 Re-
1 mote
RS232 Normal JP1
SK10 SK11 SK12 SK13 SK14 SK15 SK16 SK17 SK18 SK19
RF Current
SW1
Remote configuration
Test
SK1 SK2 SK3 SK4 SK5 SK6 SK7 SK8 SK9

VDR1 VDR2 VDR3 VDR4 VDR5 VDR6 VDR7 VDR8


D3 D4
VDR300 VDR300 VDR300 VDR300 VDR300 VDR300 VDR300 VDR300
1N4007 1N4007
RY1 RY2 RY3 RY4 RY5 RY6 RY7 RY8

D1 D2
1N4007 1N4007

+12V +12V +12V +12V +12V +12V +12V +12V


R1 VR10V121C VR10V121C VR10V121C VR10V121C VR10V121C VR10V121C VR10V121C VR10V121C
23. Schematic diagram

1K D5 D6 D7 D8 D9 D10 D11 D12

1N4148 1N4148 1N4148 1N4148 1N4148 1N4148 1N4148 1N4148


LD9
LED3RL R3 R4 R6 R8 R10 R12 R13 R14
56R LD1 56R LD2 56R LD3 56R LD4 56R LD5 56R LD6 56R LD7 56R LD8
LED3RL LED3RL LED3RL LED3RL LED3RL LED3RL LED3RL LED3RL

T1 T2 T3 T4 T5 T6 T7 T8
BC547 BC547 BC547 BC547 BC547 BC547 BC547 BC547

R2 R5 R7 R9 R11 R15 R16 R17


10K 10K 10K 10K 10K 10K 10K 10K

+12V +5V

UA78XX OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 OUT7 OUT8


VR1
I O

GND
100NOM
C5 C4 C1
1000µ/25V
100µ/35V
+5V
1

R19
4R7 R21
JP3
4
5

+12V 470R
NORMAL IC1 C2 C3 ANTENNA
VDD

LED3RL 100NOM 100µ/35V


CURRENT 2 ANT. RX1
RA5/T1CKI/OSC1/CLKIN
LD10 13
VCC
VCC

R18 JP1 RA0/CIN+/ICSPDAT OUT3 RX433 MODULE


3
R20 1K BC547 RA4/T1G/OSC2/CLKOUT 2
1K 12 DIG OUT
4R7 RA1/CIN-/ICSPCLK OUT4 Test button
SW1 8
11 ANT
RA2/COUT/T0CKI/INT
Remote ON/OFF

R24
T9 SW KRS0611 3
4 LIN OUT
RA3/MCLR/Vpp
ZD1
5 10
OUT1 RC5 RC0 OUT5
GND
GND
GND

R22
1K PIC16F630-I/P
5V1 6 9
OUT2 RC4 RC1 OUT6
R23
1
6
7

7 8
10K OUT8 RC3 RC2 OUT7
VSS

SK11 SK12 SK13 SK14 SK15 SK16 SK17 SK18 SK19 SK10
JP2
14

RS232 - RF Title
8 channel relay card

15
Schematic diagram
VELLEMAN NV
Legen Heirweg 33, B-9890 GAVERE
Belgium (Europe)

Modifications and typographical errors reserved © Velleman Kit nv


H8056IP’1 - 2014 (rev1)
5 410329 292034

You might also like