H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high...

16
Total solder points: 277 Difficulty level: beginner 1 2 3 4 5 advanced 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. K8056 K8056

Transcript of H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high...

Page 1: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

Total solder points: 277 Difficulty level: beginner 1 2 3 4⌧ 5 advanced

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

Page 2: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

2

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

Page 3: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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

Page 4: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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

Page 5: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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 !

Page 6: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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

Page 7: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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

Page 8: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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!

Page 9: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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

Page 10: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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

Page 11: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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)

Page 12: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

12

Diagnostic / Test software

1

2

3

4

5 6 8 7

Page 13: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

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

Page 14: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

14

PCB

22. PCB

SK11

LD10

NO

2

Velle

man

P8

056-

1

V O

ut

0 +1

2V

Data

in

T9

RS23

2/24

00/N

/8/1

RFRS23

2

Rem

ote

conf

igur

atio

n

JP2

R21

R20

Curre

nt

JP3

Norm

al

R22

R23

ZD1

SK10

0- IN

RS23

2

R18

R24

LD9D3

INPU

TAC

12V

C4

C1

VR1C5

R1

D2

D1

R2

R3

RX1

T1

LD1

to int ant

D5

RY1

T2

LD2

R4

R5

D6

RY2

VDR1NO

1

ANT.D4

VDR2

SK1

SK2

SK3

R17

SK13

0 - 2

SK12

0 - 1

R19

JJ

0 - 3 SK

14

C3J

C2

SK15

0 - 4

SK16

0 - 5

I N P

U T

S

IC1

SK17

0 - 6

SK18

0 - 7

JJ

J

TestO

ff0

- 8

SK19

SW1

JP1

Offi

ce u

seFo

r hom

e or

On

Re-

mot

e

RY7

LD7

NO

7

LD3

T3

R6

R7

R

RY3 D7

T4R8

LD4

R9

R10

RY4 D8

NO

3

VDR3

VDR4

NO

4

T6

R11

T5

LD5

R12

D9

RY5

R15

LD6

T7

R13

D10

RY6

NO

6

VDR5

NO

5

VDR6

SK4

SK5

SK7

SK6

SK8

D12

R14

R16

T8

LD8

D11

RY8VD

R8

NO

8

VDR7

SK9

C1C2

COMNO NC

C1C2

COMNO NC

C1C2

COMNO NC

C1C2

COMNO NC

C1C2

COMNO NC

1C1C2

COMNO NC

C1C2

COMNO NC

C1C2

COMNO NC

Page 15: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

15

23. Schematic diagram

Schematic diagram

Title

VR1

0V12

1C

RY

1 1N41

48

D5

LED3

RLLD

156

RR

3

VD

R300

VD

R1

SK2

VR1

0V12

1C

RY2 1N

4148

D6

LED

3RL

LD2

56R

R4VDR3

00

VDR2

SK3

VR10

V12

1C

RY3 1N

4148

D7

LED

3RL

LD3

56R

R6

VD

R300

VD

R3

SK4

VR

10V

121C

RY4 1N

4148

D8

LED

3RL

LD4

56R

R8

VD

R300

VD

R4

SK5

VR

10V1

21C

RY

5 1N41

48

D9

LED3

RLLD

556

RR

10

VD

R300

VD

R5

SK6

VR1

0V12

1C

RY

6 1N41

48

D10

LED

3RL

LD6

56R

R12

VDR3

00

VDR6

SK7

VR10

V12

1C

RY7 1N

4148

D11

LED

3RL

LD7

56R

R13

VDR3

00

VDR7

SK8

VR10

V12

1C

RY8 1N

4148

D12

LED

3RL

LD8

56R

R14

VD

R300

VD

R8

SK9

SK1

1N40

07D

3

1N40

07

D4

1N40

07D

11N

4007

D2

1KR1

1000

µ/25

V

C5

LED

3RL

LD9

+12V

+12V

+12V

+12V

+12V

+12V

+12V

+12V

+12V

SK11

SK12

SK13

SK14

SK15

SK16

SK17

SK18

SK19

+12V

RA5/

T1C

KI/O

SC1/

CLK

IN2

RA3/

MC

LR/V

pp4

RC5

5

RC4

6

RC3

7

RA4/

T1G

/OSC

2/CL

KO

UT

3R

A0/C

IN+/

ICSP

DA

T13

RA

1/C

IN-/I

CSP

CLK

12

RA2

/COU

T/T0

CKI

/INT

11

RC2

8

RC1

9

RC0

10

VDD1 VSS 14

PIC1

6F63

0-I/PIC

1

IO GND

UA78

XX

VR1

100N

OM

C1

+5V

100N

OM

C2

1K R24

5V1

ZD1

1KR18

SK10

BC

547

T1

10K

R2

BC

547

T2

10K

R5

BC5

47T3

10K

R7

BC54

7T4

10K

R9

BC

547

T5

10K

R11

BC

547

T6

10K

R15

BC5

47T7

10K

R16

BC5

47T8

10K

R17

OU

T1O

UT2

OU

T3O

UT4

OUT5

OUT6

OU

T7

OU

T1

OU

T2

OU

T3

OU

T6

OU

T5

OU

T4

OU

T7O

UT8

OU

T8

SW K

RS06

11

SW1

8ch

anne

lrel

ayca

rd

GND 1LIN

OU

T3

VCC4

VCC5 GND 6

GND 7

AN

T8

DIG

OU

T2

RX43

3 M

ODU

LE

RX1

BC5

47

T9

10K

R23

1KR22

+5V

AN

TEN

NA

ANT.

RS2

32 -

RF

JP2

CU

RREN

T

JP3

LED

3RL

LD10

470R

R19

Remote ON/OFF

JP1

4R7

R21

100µ

/35V

C3

100µ

/35V

C4

4R7

R20

Test

butto

n

NO

RMA

L

Page 16: H8056IP'1 - Ihr Shop für Elektronik-Zubehör · 3 Features & specifications Features : Eight high quality relay contacts, 5A/230VAC max. Relay outputs are transient suppressed using

VELLEMAN KIT NV Legen Heirweg 33

9890 Gavere Belgium Europe

Info ?: http://www.velleman.be

Modifications and typographical errors reserved © Velleman Kit nv H8056IP - 2004 - ED1

5 4 1 0 3 2 9 2 9 2 0 3 4