KEYBOARD, THE SLIGHTEST BENDING WILL BREAK THE GLASS AND COULD CAUSE
!
CAUTION:
INJURY.
A BROKEN KEYBOARD IS NOT COVERED BY THE
WARRANTY, A NEW KEYBOARD CAN BE ORDERED AT YOUR DEALER.
ORDER CODE: KB020501
IMPORTANT: Since this is a complex assembly with a lot of possibilities, it is advisable to
read through the complete instructions BEFORE starting the actual assembly.
BE WARNED !
3
Page 4
Features & Specifications
Specifications:
LED status indication for each key/output
Each key can be defined as toggle or momentary
Soft touch, see-through touch panel with 8 keys
Backlight with dim function
Unique key-click feedback
4 different functions (jumper selectable) :
• Eight independent keys (toggle or momentary selectable)
• Eight radio (rotary simulation) buttons
• Four radio buttons and 4 independent keys
Features:
8 open collector switches: max 50 Volt / 50mA (all outputs)
• One key serves as a memory for 7 other keys or “clear all” key fitted.
Board to wire connectors: 20cm wire.
Dimensions (including frame): 165x90x35 (depth)
Usable temperature range: -5°C to +40°C
Keyboard operating force: 40g. (with R0.8mm test point)
Keyboard lifetime: 1.000.000 operations with R3mm rubber
Power supply: 2 x 9VAC or 12VDC / 250mA max.
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 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
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.
5
Page 6
Assembly hints
1.3 Soldering Hints :
1- Mount the component against the PCB surface and carefully solder the leads
2- Make sure the solderjoints are cone-shaped and shiny
3- Trim excess leads as close as possible to the solder joint
Each key is function definable (moment or toggle) and backlit. It is even possible to simulate old fashioned
“radio buttons” (only one output can be ON, just like a rotary switch).
One key can be defined as a pre-set memory or serve as “all clear”.
The K8046 features 4 operating modes, selectable with shunt SK1 or SK2 :
1. Eight independent keys (toggle or momentary selectable).
2. Eight radio (Rotary simulation) buttons.
3. Four radio buttons and 4 independent keys.
4. One key is reserved as memory or “clear all” function.
Momentary (push button-) function : Hold the key to activate the output and release the key to deactivate it.
Toggle function : Operates according to the principle of a classic switch, i.e. you have to press the key once
to switch and press again to deactivate it.
10
SHUNT SELECTION
MODE SK1 SK2
1 OFF OFF
2 OFF ON
3 ON OFF
4 ON ON
Page 11
For each output :
S
K
1
S
K
1
S
K
2
If a momentary output is needed, DO NOT mount a diode for the corresponding output D1 to D8.
If a toggle output is needed, MOUNT a diode for the corresponding output D1 to D8.
CATHODE
D...
Diode type: 1N4148.
Check the polarity !
JUMPER SELECTION
Different possibilities in conjunction with diode setup:
1. Eight indepent keys (no jumper is mounted) toggle or momentary selectable see
previous page.
2. Eight radio ( Rotary simulation) buttons, only one button (output) at a time can be
ON. Again with possibility of momentary or toggle.
Normally a toggle function will be used for this type of output.
Keyboard set-up
2
K
S
11
Page 12
Keyboard set-up
S
K
1
S
K
2
S
K
1
S
K
2
3. Four radio buttons and 4 independent keys.
This is a combination of above. The first row (1 to4). Are independent buttons, the second
row (5 to 8) have a rotary simulation.
4. Key 8 is reserved as memory or ‘Clear all’ Function.
If D8 is mounted this key will switch between all clear and memory of the previous keyboard
setting.
If D8 is NOT mounted, this key will serve as all clear.
HINT: the separate CLEAR button can also be used as keyboard clear function.
This key will actually reset the processor.
12
Page 13
IR detector
18. Optional IR detector
It is possible to use the keyboard together with a remote control (e.g. our K8049 & K8051). In this case an
optional receiver module type IR38DM is available.
A special cut-out in the front panel has to be made, see figure 1.0.
Fig 1.0
13
Page 14
IR detector
Position the module like in the drawing. Use some hot glue to hold the receiver in place on the relay (Fig 2.0)
Make the connections:
Connect 1 with right side of R13
Connect 2 with COM connection of the output connector
Connect 3 with left connection of R20. See picture.
LD1 : 3mm Red
LD2 : 3mm Red
LD3 : 3mm Red
LD4 : 3mm Red
LD5 : 3mm Red
LD6 : 3mm Red
LD7 : 3mm Red
LD8 : 3mm Red
HINT: if not all keys/outputs are used, do not mount a LED for the not used key/output.
16
Page 17
Output status indication
• Cut of a piece of shrinking tube with a length equal to 7mm.
• Slide the shrinking tube over each LED. (Fig 4.0)
Fig 4.0
17
Page 18
LED’s for backlight
M
A
X
.
7
m
m
4. LED's for backlight
IMPORTANT
Mount these LED’s exactly
like in the drawings.
LD...
First: Bend the leads exactly like the drawing (Fig 5.0).
Next: Solder one lead, and check the position, if necessary correct by heating
the soldering (Fig 6.0).
Last: Solder the second connection.
LD9 : 3mm Green clear
LD10 : 3mm Green clear
LD11 : 3mm Green clear
LD12 : 3mm Green clear
LD13 : 3mm Green clear
L-934GC
Blue backlight is possible using
special LED’s (8pcs required).
TIP
Ordernr. : L-934MBC
LD14 : 3mm Green clear
LD15 : 3mm Green clear
LD16 : 3mm Green clear
18
Fig 5.0
Anode
Fig 6.0
MAX 7mm!
Page 19
5. Header for backlight PCB connection
Cut the header to use 10pins
(fig 7.0).
0
1
Place the header at position SK9
(Fig 8.0).
Backlight connection
Solder the header (fig 9.0)
Solderside
10!
Fig 7.0 Fig 8.0
10!
Fig 9.0
19
Page 20
Test assembly
6. Assembling (for testing)
Mount the four 15mm spacers as shown in the drawing using four 6mm bolts (Fig 10).
Fig 10
20
Page 21
Test assembly
Fit the touch screen pcb at the component side of
the base PCB (Fig 11)
Do not fix yet !
Make sure that the connector is correctly inserted
when you mount the backlight onto the spacers.
Fig 11
21
Page 22
Testing the circuit
7. Testing the circuit
A
1
2
3
4
B
22
Connect 9 to 12Vdc / 300mA, between GND (-) and VA or VB
Page 23
Testing the circuit
Before making a final assembly we will test the circuit:
Supply the power to the circuit (use the supplied wired connector, brown (-) and red (+) wire).
Normally the relay should “click” and the backlight should lit. If not; try “reset” SW1.
Now test the keyboard input (keyboard connector SK4):
Using a small piece of wire, make a shunt between point A and point 1, one of the output LED’s should lit.
Now test the other points A+2, A+3 and A+4.
All the top row output LED’s should have lit one by one.
Perform the same test using point B as common, all the bottom row output LED’s should lit one by one.
The circuit is now ready for final assembly.
REMOVE THE BACKLIGHT PCB !
23
Page 24
Creating your printed keyboard
8. Creating your printed keyboard
The big advantage of this kit is that it is possible to create your own keyboard lay-out using a computer and
printer. Use transparent foil suitable for your printer
As an example a few standard lay-outs are supplied, these can be used as a guide to create your own.
Please cut-out the desired layout before use.
On our web site a template can be downloaded (http://www.velleman.be/Downloads/0/Keyboard_layout.zip)
to start making you own design, your imagination is the limit, just keep in mind the position of the keys and
position of the output indications LED’s, see figure 12.
* Measurements are in mm !
Fig 12
24
Page 25
9. Mounting order overview
Mounting order
Front label
Top cover
Buttons
Touch screen
Printed lay-out
Support
PCB’s
Housing
FOLLOW THE ASSEMBLY
STEPS EXACTLY LIKE ON
THE NEXT PAGES !!
25
Page 26
Final assembly
10. Final assembly
Remove all impurities (e.g. dust, solder) between the various elements prior to assembly (between window
IMPORTANT:
& on-screen keys, on-screen keys & touchscreen).
STEP1
Gently remove the protective foil form the glass keyboard & support
Fig 13
Support
Glass keyboard
26
Page 27
de
i
s
e
v
i
t
i
ens
S
r
o
t
c
e
n
n
o
C
Fig 14
STEP 3
Position the keyboard gently into the frame
between the 4 edge positioners.
Check the position of the connector and
check that the touch sensitive side is downwards.
Final assembly
STEP2
Check the touch sensitive side of the keyboard.
See the position of the connector.
Fig 15
27
Page 28
Final assembly
STEP 4
Position your lay-out onto the keyboard.
Make sure the lay-out is positioned in the
centre and in the correct surface/position.
Fix the lay-out using two pcs of clear tape.
Fig 16
Fig 17
28
STEP 5
Position the keyboard support like in the drawing, between the provided studs, there is only 1 way.
HINT: to make the backlight more even and to prevent
seeing the backlight PCB, it is advisable to diffuse the
support plastic using some fine “sanding paper”
Again fix the plastic support using two pcs of tape.
Page 29
Final assembly
STEP 6
Connect the keyboard connector with the base PCB.
Take great care to not damage the printed cable. This cable is composed by a plastic base with
silver ink and shielded by a protective coating
Fig 18
29
Page 30
Final assembly
30
STEP 7
Mount the backlight PCB onto the base PCB, fix the PCB using four
2.5mm screws (Fig 19)
Fig 19
Page 31
STEP 8
Now the complete unit can be mounted into the frame.
Insert also the two push-button actuators at the correct place.
Fig 20
Final assembly
31
Page 32
Final assembly
STEP 9
Fix the PCB using 4 self taping screws + four metal washers and four rubber washers.
Do not tighten too much, this can damage
the glass touch screen!!
Metal washer
Rubber washer
32
Fig 21
Page 33
Final assembly
STEP 10
Make sure that the output LED’s correspond to your keyboard
lay-out. If not you will have to disassemble the unit and
reposition the lay-out.
Fig 22
STEP 11
Demo mode
To test the keyboard functions automatically, a demo mode is integrated.
1. Press and hold the backlight swith
2. Press clear briefly
3. Release the backlight switch, now the keyboard will show a demo of outputs and backlight dim.
Note: Before starting the “demo”, the output LED’s will indicate the “toggle” keys, this can be convenient
to check the keyboard set-up.
CAUTION:
During demo mode the “real” outputs are also activated.
33
Page 34
Mounting the keyboard
Max dia 8mm
4x
11. Mounting the keyboard
(Sc2)
HBEZEL
PREVENT THE ENCLOSURE FOR POSSIBLE TORSION, THIS CAN DESTROY / BREAK THE GLASS KEYBOARD.
PREVENT THE KEYBOARD TO DIRECT SUNLIGHT EXPOSION
The warranty does NOT cover a broken screen.
34
Protect the device against direct sunlight during assembly.
Page 35
WALL MOUNTED
Mounting the keyboard
Fig 23
35
Page 36
Mounting the keyboard
FLUSH MOUNTED
36
Fig 24
Max. diameter 8mm
138mm x 85mm x min. 40mm / 5,4” x 3,3” x 1,6”
Page 37
PANEL MOUNTED
Mounting the keyboard
Fig 25
37
Page 38
Use of the keyboard
12. Use of the keyboard
Connect the open collector outputs of the keyboard with your application. An open collector output is similar
to a switch contact but keep in mind that a polarity must be respected.
If all outputs are used the maximum current can not exceed 50mA with a maximum of 50Vdc
REMEMBER: There is NO voltage coming OUT of the outputs
Keyboard operation:
See next pages for connection examples.
Gently press the key on the glass keyboard, an output action should occur and the relay should give a keyboard click feeling.
If an output is set as a toggle, the corresponding output LED will be activated/deactivated with each press.
If an output is set as momentary, the corresponding output LED will be activated only during the key-press.
Backlight operation:
Each press of the backlight button will toggle between dim and regular backlight.
HINT: the dim backlight level can be decreased by increasing the resistor value of R19.
Remote control:
If a remote option is chosen, please set the remote K8049 & K8051 in mode 1 to make it compatible with the
keyboard (see remote control manual). The keys 1 to 8 on the remote will simulate the keyboard keys 1 to 4
(top row) and 5 to 8 (bottom row). The clear function of the remote (Shift + key 16) will clear the outputs
(same function as the “Clear” button).
38
Page 39
Power supply connection
13. Power supply connection
Hook-up when using a transformer : Hook-up when using an adapter or DC source :
120 - 220 VAC
MAINS
N
0 9 9
TRANSFORMER
K8046
COM
+
8
7
6
5
4
3
2
1
VB
VA
GND
+
9 - 12VDC / 250mA
-
K8046
COM
V
VA
GND
+
8
7
6
5
4
3
2
1
B
L
Fuse : 250mA T
2 x 9VAC/250mA
39
Page 40
Application examples
14. Example with K8006 (home modular light system)
The outputs can easily be connected to your own
application or to several of our kits; our K8045 LCD
message board, K8056 relay card, K6714-16 Relay
card, K8006 light system bus unit , K8000 computer
interface, K2633 or K2634 power cards, K8023 two
wire remote.
For further connections of the K8006 look at the
illustrated part list of the K8006.
24VAC
24VAC LOAD1N
LOAD2NLOAD3NLOAD4NLOAD5N
VELLEMAN K8006
AC POW ER
N
SUPPLY
DANGER
HIGH
L
VOLTAGE
40
TRANSFORMER
LN
PRIM
AC POW ER
2 x 9VAC
1
2345
C C C C C
909
LN
PRIM
AC POW ER
TRANSFORMER
PUSH BUTTON INPUTS
SW1SW2 SW3 SW4 SW5
12345
C
VELLEMAN K8046
OPEN
COLLECTOR
INPUTS
Page 41
15. Example with K8056 (8-channel relay card)
Application examples
AC POWER
12VAC/500mA
TRANSFORMER
PRIM
AC POWER
SK1 SK2 SK3 SK4 SK5 SK6 SK7
NO 1 NO 2
AC 12V
INPUT
NO 3 NO 4NO 6NO 5
VELLEMAN K8056
0 - 1
0 - 2
SK13
SK14SK16
I N P U T S
0 - 3
0 - 50 - 4
0 - 6
SK15
SK17
RS232
0- IN
SK10 SK11
V Out
0 +12V
SK12
SK18
NO 7
0 - 7
SK9SK8
NO 8
VELLEMAN K8046
0 - 8
SK19
COM+87654321VBVAGND
41
Page 42
Application examples
16. Example with K8023 (10-channel, 2 wire remote control)
12VAC/300mA
42
TRANSFORMER
PRIM
AC POWER
VELLEMAN
K8023R
9
10 87 6543 21-+
GND+Vext
K6714
K6714-16
K8006
K8000
...
VELLEMAN
K8023S
Vext
12V ... 15Vin
VELLEMAN K8046
Vext
1
COM 2345678910+-
2 x 9VAC
909
TRANSFORMER
LN
PRIM
AC POWER
Page 43
17. Example with K8045 (LCD message board)
SW3
GND
8
7
6
5
4
3
2
1
VB
VA
GND
Application examples
VELLEMAN K8045
2 x 9VAC
909
VELLEMAN K8046
TRANSFORMER
PRIM
LN
AC POWER
43
Page 44
Application examples
18. Example with K6714(16) (Relay card)
0 125 220 NC 1 NO NC 2 NO NC 3 NO NC 4 NO NC 5 NO NC 6 NO NC 7 NO NC 8 NO
123456789
VB
GND
HIGH
DANGER
VOLTAGE
AC POWER
44
NC 1 6 NO NC 15 NO NC 14 NO NC 13 NO NC 12 NO NC 1 1 NO NC 10 NO NC 9 NO
VELLEMAN K6714
1011131415
VELLEMAN K8046
16
Page 45
19. PCB layout.
PCB
45
Page 46
PCB
46
Page 47
20 Diagram
Title
RA0
6
RA1
7
RA2
8
RA3
9
RB0
10
RB1
11
RB2
12
RB3
13
RB4
14
RB5
15
RB6
16
RB7
17
RC0
18
RC1
19
RC2
20
RC3
21
RC4
22
RC5
23
RC6
24
RC7
25
VSS
4
MCLR/VPP
28
OSC1/CLKI N
27
T0CKI
1
OSC2/C LKOUT
26
NC
3
NC
5
VDD
2
PIC16C55
IC1
1
2
3
4
5
6
7
8
9
10
BTWM10 + BTWF10
SK5
1
2
3
SK3
IN 1
1
IN 2
2
IN 3
3
IN 4
4
IN 5
5
IN 6
6
IN 7
7
IN 8
8
GND
9
DIODE CLAM P
10
OUT 8
11
OUT 7
12
OUT 6
13
OUT 5
14
OUT 4
15
OUT 3
16
OUT 2
17
OUT 1
18
ULN2803A( 18)
IC2
100n
C3
100n
C4
100n
C5
100µ/25V
C7
10µF
C6
SK1SK2
1N4007
D10
1N4007
D11
D8 D7 D6 D5 D4 D3 D2
1N4148
D1
5V6
ZD2
5V6
ZD3
5V6
ZD4
5V6
ZD1
5V6
ZD5
5V6
ZD6
1
2
3
4
5
6
SK4
I O
GND
UA7805VR1
X4.000M HZ
X1
22p
C2
22p
C1
10K
R10
10K
R11
10K
R9
KRS1243
SW1
KRS1243
SW2
10K
R13
1K5
R14
+5V
+5V
+5V
+5V
+5V+5V
SK1 SK2
CLOSE
OPEN
OPEN
OPEN
OPEN
CLOSE
CLOSE CLOSE
8 Indep. bu ttons
8 Rotary switc h
4 Rotar y + 4 in dep.
B4= all off or mem.
ACTION
D1... D8 mounted = toggle mode for corresponding output
D1... D8 not mo unted = momen tary mode for c orrespo nding outpu t