10 Channel, 2-Wire REMOTE CONTROL - Apogee Kits · 2009-03-29 · Skill level : Beginner 1o 2o 3þ...

19
Total solder points: 247 Skill level : Beginner 1o 2o 3 4o 5o Advanced ILLUSTRATED MANUAL H8023IP-ED1 10 Channel, 2-Wire REMOTE CONTROL K8023 Features: This kit allows you to control up to 10 devices using only 2 wires at a long distance. Microprocessor controlled. Inputs can be push-buttons, switches or open collector outputs from another device. The receiver section provide 10 open collector outputs which allow you to control relays directly. Terminal block connectors for all input and output connections are included. All outputs are provided with LED indication. Can be used with our kits: K6711,K8000,K8006,... Can be connected to our standard relay card: K6714. Specifications : 10 open collector outputs 50V/100mA Tested to a distance of up to 50m (55 yards) between control- and receiver section. Operating voltage: Single 12-15V AC or DC, 300mA. Dimensions control pcb (wxdxh): 70x50x16mm (2,7”x2”x0,6”). Dimensions receiver pcb (wxdxh): 103x50x24mm(4”x2”x1”). modifications reserved

Transcript of 10 Channel, 2-Wire REMOTE CONTROL - Apogee Kits · 2009-03-29 · Skill level : Beginner 1o 2o 3þ...

Total solder points: 247 Skill level : Beginner 1o 2o 3þ 4o 5o Advanced

ILLUSTRATED MANUAL H8023IP-ED1

10 Channel, 2-Wire REMOTE CONTROL

K8023 Features: þ This kit allows you to control up to 10 devices using only 2 wires at a long distance. þ Microprocessor controlled. þ Inputs can be push-buttons, switches or open collector outputs from another device. þ The receiver section provide 10 open collector outputs which allow you to control relays directly. þ Terminal block connectors for all input and output connections are included. þ All outputs are provided with LED indication. þ Can be used with our kits: K6711,K8000,K8006,... þ Can be connected to our standard relay card: K6714. Specifications : • 10 open collector outputs 50V/100mA • Tested to a distance of up to 50m (55 yards) between control- and receiver section. • Operating voltage: Single 12-15V AC or DC, 300mA. • Dimensions control pcb (wxdxh): 70x50x16mm (2,7”x2”x0,6”). • Dimensions receiver pcb (wxdxh): 103x50x24mm(4”x2”x1”).

modifications reserved

5%

4K7= ( 4 - 7 - 2 - B )

1%

4K7= ( 4 - 7 - 0 - 1 - 1 )

COLOR= 2… 5

I P E SF S DK N D GB F NL CODE

CODICE COLORE

CODIGO DE

CORES

CODIGO DE

COLORES

VÄRI KOODI

FÄRG SCHEMA

FARVEKODE

FARGEKODE

FARB KODE

COLOUR CODE

CODIFI-CATION DES COU-LEURS

KLEURKODE

CODE

0 Nero Preto Negro Musta Svart Sort Sort Schwarz Black Noir Zwart 0 1 Marrone Castanho Marrón Ruskea Brun Brun Brun Braun Brown Brun Bruin 1 2 Rosso Encarnado Rojo Punainen Röd Rød Rød Rot Red Rouge Rood 2 3 Aranciato Laranja Naranjado Oranssi Orange Orange Orange Orange Orange Orange Oranje 3 4 Giallo Amarelo Amarillo Keltainen Gul Gul Gul Gelb Yellow Jaune Geel 4 5 Verde Verde Verde Vihreä Grön Grøn Grønn Grün Green Vert Groen 5 6 Blu Azul Azul Sininen Blå Blå Blå Blau Blue Blue Blauw 6 7 Viola Violeta Morado Purppura Lila Violet Violet Violet Purple Violet Paars 7 8 Grigio Cinzento Gris Harmaa Grå Grå Grå Grau Grey Gris Grijs 8 9 Bianco Branco Blanco Valkoinen Vit Hvid Hvidt Weiss White Blanc Wit 9 A Argento Prateado Plata Hopea Silver Sølv Sølv Silber Silver Argent Zilver A B Oro Dourado Oro Kulta Guld Guld Guldl Gold Gold Or Goud B

3

1. Assembly (Skipping this can lead to troubles ! ) Ok, so we have your attention. These hints will help you to make this project suc-cessful. 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 en-ables 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 can-not 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 re-

quired, 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 * Typographical inaccuracies excluded. Always look for possible last minute manual updates, indicated as ‘NOTE’ on a separate leaflet.

0.000

4

1.3 Soldering Hints :

Mount the component against the PCB surface and carefully solder the leads

Make sure the solder joints are cone-shaped and shiny

Trim excess leads as close as possible to the solder joint

5

AXIAL COMPONENTS ARE TAPED IN THE CORRECT MOUNTING SEQUENCE !

START

REMOVE THEM FROM THE TAPE

ONE AT A TIME !

Assembly of the receiver PCB: P8023R

1. ¼W & ½W RESISTORS

R...

q R1: 470 (4 - 7 - 1 - B) q R2: 470 (4 - 7 - 1 - B) q R3: 470 (4 - 7 - 1 - B) q R4: 470 (4 - 7 - 1 - B) q R5: 470 (4 - 7 - 1 - B) q R6: 470 (4 - 7 - 1 - B) q R7: 470 (4 - 7 - 1 - B) q R8: 470 (4 - 7 - 1 - B) q R9: 470 (4 - 7 - 1 - B) q R10: 470 (4 - 7 - 1 - B) q R11: 470 (4 - 7 - 1 - B) q R12: 56 (5 - 6 - 0 - B - 9) q R13: 10K (1 - 0 - 3 - B)

q R14: 1K (1 - 0 - 2 - B) q R15: 22 (2 - 2 - 0 - B)

2. DIODES (Watch the polarity!)

D...CATHODE

q D1: 1N4007 q D2: 1N4007 q D3: 1N4007 q D4: 1N4007 q D5: 1N4007 q D6: 1N4007

3. ZENERDIODE (Watch the polarity!)

ZD...CATHODE

q ZD1: 5V1/500mW

_______________________________________________________________________________________________________________________________________________________

6

4. IC SOCKET

q IC1: 18P q IC2: 16P q IC3: 16P

5. CAPACITORS

C...

q C1: 15pF (15) q C2: 15pF (15) q C3: 330pF (331) q C4: 100nF (104) q C5: 100nF (104) q C6: 100nF (104)

6. ELECTROLYTIC CAPACITORS (Watch the polarity!)

C...

q C7: 10µF q C8: 100µF q C9: 1000µF/25V

7. TRANSISTOR

q T1: BC547

8. LEDs (Watch the polarity!)

COLOR= 2...5

LD...

CATHODE

q LD1...LD11: LED 3mm.

7

9. QUARTZ CRYSTAL

X...

q X1: 4.0 Mhz.

10. VOLTAGE REGULATOR

VR...

q VR1: 7810 (UA7810)

11. TERMINAL BLOCK CONNECTORS

q SK1...SK8: 2p (SCREW02)

12. MOUNT THE IC’s (Check the position of the notch!)

q IC1: VK8023 (PIC16C54) q IC2: ULN2003 q IC3: ULN2003

Assembly of the control PCB: P8023S

1. ¼W & ½W RESISTORS

R...

q R16: 1K (1 - 0 - 2 - B) q R17: 4K7 (4 - 7 - 2 - B) q R18: 10K (1 - 0 - 3 - B) q R19: 10K (1 - 0 - 3 - B) q R20: 10K (1 - 0 - 3 - B) q R21: 10K (1 - 0 - 3 - B) q R22: 10K (1 - 0 - 3 - B) q R23: 10K (1 - 0 - 3 - B) q R24: 10K (1 - 0 - 3 - B) q R25: 10K (1 - 0 - 3 - B) q R26: 10K (1 - 0 - 3 - B) q R27: 10K (1 - 0 - 3 - B) q R28: 220 (2 - 2 - 1 - B - 9)

_______________________________________________________________________________________________________________________________________________________

8

2. DIODE (Watch the polarity!)

D...CATHODE

q D7: 1N4007

3. IC SOCKET

q IC4: 18P

4. CAPACITORS

C...

q C10: 15pF (15) q C11: 15pF (15) q C12: 100nF (104) q C13: 100nF (104)

5. ELECTROLYTIC CAPACITORS (Watch the polarity!)

C...

q C14: 10µF q C15: 470µF/25V

6. TRANSISTOR

q T2: BC547

7. VOLTAGE REGULATOR

VR...

q VR2: 78L05 (UA78L05)

9

8. LED (Watch the polarity!)

COLOR= 2...5

LD...

CATHODE

q LD12: LED 3mm.

9. QUARTZ CRYSTAL

X...

q X2: 4.0 Mhz.

10.TERMINAL BLOCK CONNECTORS

q SK9: 3P (SCREW03) q SK10...SK14: 2P (SCREW02)

11. MOUNT THE IC (Check the position of the notch!)

q IC4: VK8023 (PIC16C54)

_______________________________________________________________________________________________________________________________________________________

10

12. OPERATION

A) Control section (P8023S): Both PCBs are connected to each other by means of two wires, VTX+ and VTX-. They supply power to the control board and carry the data signal. This signal contains information regarding the status of the 10 inputs. Filtering and regulating of the power supply is performed by VR2, together with C15, C12, C13 and C14, which also suppress possible oscillation of the voltage regulator. The micro controller continuously monitors the status of the inputs, and switches T2 according to a custom developed serial protocol. This allows a current to flow in the VTX wires. LD12 also lights allowing you to check the operation of the sys-tem. B) Receiver section (P8023R): The receiver end also contains a power supply section. Diodes D1 to D4 rectify the incoming power. Voltage regulator VR1 and the surrounding capacitors make sure the control part receives a regulated 10V. From this 10V, R12, ZD1 and C8 derive 5V DC to supply the microcontroller. The actual receiving part consists of D6, D7, R14, R15 and T1. The current variations in the VTX-lines cause a voltage drop over R15, which is filtered by C3 and amplified by T1, before it is fed to the micro controller. Reception is indicated by LD11. The microcontroller analyses the serial signal, and puts the corresponding outputs high or low. Because the microcontroller cannot sink large currents, we added IC2 and IC3, which provide open collector outputs. Hook-up and testing: Connect both PCB’s P8023S and P8023R according to fig. 1. Both push buttons and switches can be used to control the inputs. Keep the distance between the switches or push buttons and the circuit as short as possible. If the circuit is used in a noisy environment (e.g. proximity of electric motors, transformers, ….) or if the distance between the switches and the circuit exceeds 1m (3"), a shielded cable must be used to connect the switches. The shield must be connected to the ‘COM’ terminal. If the K8023 circuit is powered from an AC source, then you will need an external DC source to power the relays, and the ‘+ Vext’ terminal must be connected. (fig 1) This kit can be used with several other Velleman Kits. Fig 2…5 show some hook-up examples.

11

13. Connecting the control- and receiver print.

P

8023

S

P80

23R

S1

S2

S

3 S

4

S5

S6

S

7 S

8

S9

S10

RY

1....

......

......

......

......

......

......

......

......

......

.....R

Y10

+ -V

ext

12V

/300

mA 12

..15V

in +

VTX

-

1

2

3

4

5

6

7

8

9

10

+V

ext G

ND

+VTX

- CO

M1

23

45

67

89

10

Fig. 1

_______________________________________________________________________________________________________________________________________________________

12

14. Connecting the K8023 to the K6714, relais card.

P80

23R

12..1

5Vin

+V

TX-

1

2

3

4

5

6

7

8

9

1

0 +

Vex

t GN

D

Fro

m P

8023

S

VB

GN

D 1

2

3

4

5

6

7

8

9

1

0

11

12

13

1

4 1

5

16

P67

14

Fig. 2

13

15. Connecting the K8023 to the K6711, IR receiver.

P

8023

S

P67

11

TO

P80

23R

VA

GN

D V

B G

ND

1

2

3

4

5

6

7

8

9

1

0

11

12

13

14

15

+V

+VTX

-C

OM

12

34

56

78

910

Fig. 3

_______________________________________________________________________________________________________________________________________________________

14

16. Connecting the K8023 to the K8006, modular light system.

P

8006

P80

23R

12V

/300

mA 12

..15V

in +

VTX

-

1

2

3

4

5

6

7

8

9

10

+V

ext G

ND

Bas

e un

it fo

r ho

me

mod

ular

ligh

t sys

tem

C

1

2

3

4

5

Fro

m P

8023

S

TO S

EC

ON

D K

8006

Fig. 4

15

17. Connecting the K8023 to the K8006, computer interface card.

P80

23R

12..1

5Vin

+V

TX-

1

2

3

4

5

6

7

8

9

1

0 +

Vex

t GN

D

Fro

m P

8023

SP80

00

+IO/1-

+IO/2-

+IO/3-

+IO/4-

+IO/5-

+IO/6-

+IO/7-C

ompu

ter

Inte

rface

Boa

rd

+12V

DC

GN

D

Fig. 5

_______________________________________________________________________________________________________________________________________________________

16

18. PCB LAYOUT

R19

R21

SK11COM+VTX-

SK9

D7

C15

321SK10

R20

R22

SK13654 7

SK12

IC4

98 10SK14

R23R24

R18

C13

T2

R28VR2

C12

LD12

R26

C14

R27

R16

X2

P8023S'1VELLEMAN

R17

R25

C10

C11

D5

IC1

T1 C3

R13ZD

1

C7

C5

D4

C9

LD11C8

D3

C2

VR

1C

4 D2

SK2SK1

R11

D1

R12

12..15Vin +VTX-

SK7

R7

VELLEMAN P8023R'1

R14

R1

LD1

X1

C6C1

432 65

R4

R2

R3

IC2

R5

R6

5

SK3 SK4

R15D6

1 2 3 4

SK6SK56 7 8 9

987 10

R8

R9

IC3

R10

SK8+Vext10 GND

17

19. SCHEMATIC DIAGRAM: Control section.

SK

9

GN

D2

GN

D2

GN

D2

Vin

1

GND2

Vou

t3

VR

2U

A78

L05 GN

D2

GN

D2

RA

017

RA

118

RA

21

RA

32

RB

06

RB

17

RB

28

RB

39

RB

410

RB

511

RB

612

RB

713

VSS 5

MC

LR

/VPP

4

OSC

1/C

LKIN

16T

0CK

I3

OSC

2/CL

KO

UT

15

VDD14

IC4

VK

8023

(PIC

16C

54)

GN

D2

GN

D2

GN

D2

GN

D2

GN

D2

GN

D2

R28

220/

0.6W

R16

1K

R17

4K7

R18

10K

R19

10K

R20

10K

R21

10K

R22

10K

R23

10K

R24

10K

R25

10K

R26

10K

R27

10K

C13

100n

C14

10µ

C11

15p

C10

15p

C12

100n

C15

470µ

/25-

35V

T2

BC

547

X2

4MH

z

D7

1N40

07+

LD

12

LE

D3R

L

SK14

SK13

SK12

SK11

SK10

12

34

56

78

910

-

CO

M

VT

X

_______________________________________________________________________________________________________________________________________________________

18

20. SCHEMATIC DIAGRAM: Receiver section.

GN

D

Vin

1

GND 2

Vou

t3

VR

1U

A78

10

GN

DG

ND

GN

DG

ND

GN

DG

ND

IN 1

1IN

22

IN 3

3IN

44

IN 5

5IN

66

IN 7

7C

OM

MO

N8

CL

AM

P9

OU

T 7

10O

UT

611

OU

T 5

12O

UT

413

OU

T 3

14O

UT

215

OU

T 1

16IC

2

UL

N20

03

IN 1

1IN

22

IN 3

3IN

44

IN 5

5IN

66

IN 7

7C

OM

MO

N8

CL

AM

P9

OU

T 7

10O

UT

611

OU

T 5

12O

UT

413

OU

T 3

14O

UT

215

OU

T 1

16IC

3

UL

N20

03

RA

017

RA

118

RA

21

RA

32

RB

06

RB

17

RB

28

RB

39

RB

410

RB

511

RB

612

RB

713

VSS 5

MC

LR

/VPP

4O

SC1/

CL

KIN

16T

0CK

I3

OSC

2/C

LK

OU

T15

VDD14

IC1

VK

8023

(PI

C16

C54

)G

ND

GN

D

GN

DG

ND

GN

D

GN

DG

ND

GN

D

X1

4Mhz

GN

D

GN

D

GN

D

SK1

SK3

SK4

SK5

SK6

SK7

SK8

GN

D

1 2 3 4 5 6 7 8 9 10 +Vex

t

GN

D

SK2

+ -D

11N

4007

D3

1N40

07D

2

1N40

07

D4

1N40

07

D6

1N40

07

D5

1N40

07

ZD

15V

1C

9

1000

µ/2

5V

C4

100n

C5

100n

C7

10µ

GN

D

C8

100µ

C3

330p

C1

15p

C2 15p

C6

100n

T1

BC

547

LD

11L

ED

3RL

LD

1

LE

D3R

L

LD

2L

D3

LD

4L

D5

LD

6L

D7

LD

8L

D9

LD

10

R12

56/0

.6W

R11

470

R13

10K

R15

22

R14

1K

R1

470

R2

470

R3

470

R4

470

R5

470

R6

470

R7

470

R8

470

R9

470

R10

470

VT

X12

...15

Vin

19