Total solder points: 247 Skill level : Beginner 1o 2o 3þ 4o 5o Advanced
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
ILLUSTRATED MANUAL
H8023IP-ED1
5%
1%
4K7= ( 4 - 7 - 2 - B ) I
P E C CODICE CODIGO CODIGO DE O COLORE DE D CORES COLORES E 0 1 2 3 4 5 6 7 8 9 A B
Nero Marrone Rosso Aranciato Giallo Verde Blu Viola Grigio Bianco Argento Oro
Preto Castanho Encarnado Laranja Amarelo Verde Azul Violeta Cinzento Branco Prateado Dourado
Negro Marrón Rojo Naranjado Amarillo Verde Azul Morado Gris Blanco Plata Oro
COLOR= 2… 5
4K7= ( 4 - 7 - 0 - 1 - 1 ) SF VÄRI KOODI
Musta Ruskea Punainen Oranssi Keltainen Vihreä Sininen Purppura Harmaa Valkoinen Hopea Kulta
S
DK N FÄRG FARVE FARGE SCHEMA KODE KODE
Svart Brun Röd Orange Gul Grön Blå Lila Grå Vit Silver Guld
Sort Brun Rød Orange Gul Grøn Blå Violet Grå Hvid Sølv Guld
Sort Brun Rød Orange Gul Grønn Blå Violet Grå Hvidt Sølv Guldl
D FARB KODE
Schwarz Braun Rot Orange Gelb Grün Blau Violet Grau Weiss Silber Gold
GB
F
COLOUR CODIFI-
CODE
CATION DES COULEURS
Black Brown Red Orange Yellow Green Blue Purple Grey White Silver Gold
Noir Brun Rouge Orange Jaune Vert Blue Violet Gris Blanc Argent Or
NL KLEUR KODE
C O D E
Zwart Bruin Rood Oranje Geel Groen Blauw Paars Grijs Wit Zilver Goud
0 1 2 3 4 5 6 7 8 9 A B
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 (2540W) 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. any flux or grease.
Do not use
• 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
0.0 00
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. 3
1.3 Soldering Hints :
Mount the component Make sure the solder Trim excess leads as against the PCB surface joints are cone-shaped close as possible to the and carefully solder the and shiny solder joint leads
4
AXIAL COMPONENTS ARE TAPED IN THE CORRECT MOUNTING SEQUENCE ! START
q R14: 1K (1 - 0 - 2 - B) q R15: 22 (2 - 2 - 0 - B) 2. DIODES (Watch the polarity!)
CATHODE
REMOVE THEM FROM THE TAPE ONE AT A TIME !
q q q q q q
D...
D1: 1N4007 D2: 1N4007 D3: 1N4007 D4: 1N4007 D5: 1N4007 D6: 1N4007
Assembly of the receiver PCB: P8023R 1. ¼W & ½W RESISTORS
3. ZENERDIODE (Watch the polarity!)
R... CATHODE
q q q q q q q q q q q q q
R1: 470 (4 - 7 - 1 - B) R2: 470 (4 - 7 - 1 - B) R3: 470 (4 - 7 - 1 - B) R4: 470 (4 - 7 - 1 - B) R5: 470 (4 - 7 - 1 - B) R6: 470 (4 - 7 - 1 - B) R7: 470 (4 - 7 - 1 - B) R8: 470 (4 - 7 - 1 - B) R9: 470 (4 - 7 - 1 - B) R10: 470 (4 - 7 - 1 - B) R11: 470 (4 - 7 - 1 - B) R12: 56 (5 - 6 - 0 - B - 9) R13: 10K (1 - 0 - 3 - B)
ZD...
q ZD1: 5V1/500mW
5
_______________________________________________________________________________________________________________________________________________________
4. IC SOCKET
6. ELECTROLYTIC CAPACITORS (Watch the polarity!)
C...
q IC1: 18P q IC2: 16P q IC3: 16P
q C7: 10µF q C8: 100µF q C9: 1000µF/25V
5. CAPACITORS
C...
q q q q q q
C1: 15pF (15) C2: 15pF (15) C3: 330pF (331) C4: 100nF (104) C5: 100nF (104) C6: 100nF (104)
7. TRANSISTOR
q T1: BC547 8. LEDs (Watch the polarity!) COLOR= 2...5
LD...
CATHODE
q LD1...LD11: LED 3mm. 6
9. QUARTZ CRYSTAL
12. MOUNT THE IC’s (Check the position of the notch!)
X...
q X1: 4.0 Mhz.
q IC1: VK8023 (PIC16C54) q IC2: ULN2003 q IC3: ULN2003
10. VOLTAGE REGULATOR
Assembly of the control PCB: P8023S
VR...
1. ¼W & ½W RESISTORS
R...
q VR1: 7810 (UA7810) 11. TERMINAL BLOCK
CONNECTORS
q SK1...SK8: 2p (SCREW02)
q q q q q q q q q q q q q
R16: 1K (1 - 0 - 2 - B) R17: 4K7 (4 - 7 - 2 - B) R18: 10K (1 - 0 - 3 - B) R19: 10K (1 - 0 - 3 - B) R20: 10K (1 - 0 - 3 - B) R21: 10K (1 - 0 - 3 - B) R22: 10K (1 - 0 - 3 - B) R23: 10K (1 - 0 - 3 - B) R24: 10K (1 - 0 - 3 - B) R25: 10K (1 - 0 - 3 - B) R26: 10K (1 - 0 - 3 - B) R27: 10K (1 - 0 - 3 - B) R28: 220 (2 - 2 - 1 - B - 9)
7
_______________________________________________________________________________________________________________________________________________________
2. DIODE (Watch the polarity!)
5. ELECTROLYTIC CAPACITORS (Watch the polarity!)
D...
CATHODE
C...
q D7: 1N4007 3. IC SOCKET
q C14: 10µF q C15: 470µF/25V 6. TRANSISTOR
q IC4: 18P 4. CAPACITORS
C... q T2: BC547 7. VOLTAGE REGULATOR q q q q
C10: 15pF (15) C11: 15pF (15) C12: 100nF (104) C13: 100nF (104)
VR...
q VR2: 78L05 (UA78L05)
8
8. LED (Watch the polarity!)
10.TERMINAL BLOCK CONNECTORS
COLOR= 2...5
LD...
CATHODE
q LD12: LED 3mm. 9. QUARTZ CRYSTAL
X... q SK9: 3P (SCREW03) q SK10...SK14: 2P (SCREW02) 11. MOUNT THE IC (Check the position of the notch!)
q X2: 4.0 Mhz.
q IC4: VK8023 (PIC16C54)
9
_______________________________________________________________________________________________________________________________________________________
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 system. 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 hookup examples.
10
12..15Vin +VTX-
12V/300mA
2
4
S3 S4
3
6
S5 S6
5
8
S7 S8
7
10
S9 S10
9
1
2
3
4
5
6
7
9
10 +Vext GND
P8023R
8
RY1...............................................................RY10
S1 S2
+VTX- COM 1
P8023S
-
Vext
+
13. Connecting the control- and receiver print.
Fig. 1
11
_______________________________________________________________________________________________________________________________________________________
10 +Vext GND 9 7
8
10
6
9
5
8
4
7
3
6
2
5 4
1
3
12..15Vin +VTX-
2
From P8023S
VB GND 1
Fig. 2
12
P8023R
16 14 15 12 13 11
P6714
14. Connecting the K8023 to the K6714, relais card.
TO P8023R
VA GND VB GND 1
+VTX- COM 1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
P8023S
13 14 15
+V
P6711
11 12
15. Connecting the K8023 to the K6711, IR receiver.
Fig. 3
13
_______________________________________________________________________________________________________________________________________________________
P8023R
10 +Vext GND 9 8 7 5 4 3 2 1 12..15Vin +VTX-
12V/300mA
From P8023S
Fig. 4
14
6
TO SECOND K8006 5 4 3 2 1 C
Base unit for home modular light system
P8006
16. Connecting the K8023 to the K8006, modular light system.
2
+IO/51
3
4
+IO/4-
+IO/6-
+IO/712..15Vin +VTX-
5
6
+IO/3-
+12VDC GND
7
9
10 +Vext GND
P8023R
8
+IO/2-
From P8023S
+IO/1-
Computer Interface Board
P8000
17. Connecting the K8023 to the K8006, computer interface card.
Fig. 5
15
_______________________________________________________________________________________________________________________________________________________
LD12
18. PCB LAYOUT
T2
R16 R28
R26 R27 C13
VR2 C12
R18 R19 R20 R21
D7
C14
C15 +VTXCOM 1 2 SK9 SK10
12..15Vin
+VTX-
1
SK2
3
C10 R25 R24 R23
4
SK11
2
C11 X2
IC4
R22
5 6 SK12
7 8 SK13
3
SK3
4
5
SK4
6
9 10 SK14
7
SK5
8
9
SK6
10 +Vext
SK7
GND
SK8
R12
VELLEMAN P8023R'1
R15 D5
D6
T1 C3
R14 C6 C1
R4
R5
R6
R7
R8
R9
R10
X1
R3
C2
IC3
R2
LD11 C7 C8
IC2 R1
D3
ZD1 R11 R13
D1
D2 D4
VR1
C4
SK1
VELLEMAN P8023S'1
R17
2
3
4
5
6
7
8
9
10
C5 C9
16
IC1
LD1
COM
GND2
C11 15p
GND2
GND2
16 3 4 17 18 1 2 6
Vout
GND2
C14 10µ
T0CKI MCLR/VPP RA0 RA1 RA2 RA3 RB0
15 7 8 9 10 11 12 13
GND2
VK8023 (PIC16C54)
RB1 RB2 RB3 RB4 RB5 RB6 RB7
OSC1/CLKIN OSC2/CLKOUT
IC4
C13 100n
GND2
3
5
GND2
4K7
R17
GND2
C10 15p
4MHz
Vin
VSS
BC547
R28 R16 220/0.6W 1K
LED3RL
X2
GND2
C12 100n
1
VR2 UA78L05
2
LD12
GND2
1N4007 C15 470µ/25-35V
D7 GND 14 VDD
T2
GND2
SK9 + VTX -
1 2 SK10
3 4 SK11
5 6 SK12
7 8 SK13
9 10 SK14
10K 10K 10K 10K 10K 10K 10K 10K 10K 10K
R18 R19 R20 R21 R22 R23 R24 R25 R26 R27
19. SCHEMATIC DIAGRAM: Control section.
17
18
GND GND
15p
15p
GND C6 100n
C4 100n
GND
Vin
15 7 8 9 10 11 12 13
GND
Vout
VSS
5
GND
LED3RL
VK8023 (PIC16C54)
OSC1/CLKIN OSC2/CLKOUT T0CKI RB1 MCLR/VPP RB2 RA0 RB3 RA1 RB4 RA2 RB5 RA3 RB6 RB0 RB7
VDD 14
GND
C2
C1
4Mhz
16 3 4 17 18 1 2 6
GND
1000µ/25V
C9
1
VR1 UA7810
2
IC1
1N4007 1N4007
GND
D3
1N4007 D2 D4
SK1 1N4007 D1 GND
X1
12...15Vin
C7 10µ
R2 470 LD2
R1 470 LD1
LD3
R3 470 LD4
R4 470
C8 100µ
GND
LD6
R6 470
GND
LD5
R5 470
ZD1 5V1 GND
56/0.6W
R12
GND GND
C5 100n
3
LD7
R7 470
LD8
R8 470
LD9
R9 470
1K
GND
LD10
R10 470
GND
GND
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8
R14
C3 330p
LED3RL LD11
R11 470
GND
BC547
T1
R13 10K
GND
R15 22
+ VTX -
ULN2003
IN 1 OUT 1 IN 2 OUT 2 IN 3 OUT 3 IN 4 OUT 4 IN 5 OUT 5 IN 6 OUT 6 IN 7 OUT 7 COMMON CLAMP
IC3
ULN2003
IN 1 OUT 1 IN 2 OUT 2 IN 3 OUT 3 IN 4 OUT 4 IN 5 OUT 5 IN 6 OUT 6 IN 7 OUT 7 COMMON CLAMP
IC2
D5 1N4007
D6 1N4007
SK2
16 15 14 13 12 11 10 9
16 15 14 13 12 11 10 9
GND
SK8
SK7
SK6
SK5
SK4
SK3
GND
+Vext
10
9
8
7
6
5
4
3
2
1
_______________________________________________________________________________________________________________________________________________________
20. SCHEMATIC DIAGRAM: Receiver section.
19