Product Overview
The Velleman K6400 is a versatile electronic code lock kit designed for DIY assembly. It offers a high level of security with over 3000 possible codes and features a status LED indicator, pulse or switch output, and protection against polarity reversal. This manual provides comprehensive instructions for building, testing, and installing the device.
Features
- Over 3000 possible codes
- LED status indicator
- Pulse or switch output configurable
- Nine digits, with four code digits
- Protected against polarity reversal
- Relay output: 5A / 220V
Technical Data
- Power Supply: 9 to 15VDC or 8 to 12VAC
- Code setting time limit: +/- 5 seconds
- Current Consumption: Output "OFF": 0.3µA, Output "ON": 40mA
Required Materials for Building the Kit
- Small soldering iron (max 40W)
- 1mm solder wire (without flux)
- Small cutting pliers
Circuit Diagram Description
The circuit diagram illustrates the printed circuit board (PCB) layout for the Velleman K6400 code lock. It includes power input connectors for 5V DC and 15V DC adapters, along with ground (GND) connections. Key components such as resistors (R), capacitors (C), diodes (D), transistors (T), LEDs (LD), integrated circuits (IC), pushbuttons (SW), and connectors (SK) are depicted. Labeled areas include an ICSP CONNECTOR, a RESET button for a PIC microcontroller, and sections for a PIC Programmer and experiment board. Configuration jumpers (JP) are present for setting functions like RUN, PROG, 'Read', 'Write', and various module settings. The diagram also indicates power connections (+5V, +VPP) and output control, with a note advising to use the X1 socket only one at a time.
Assembly Instructions
General Assembly Tips
Follow these general guidelines for successful assembly:
- Mount components correctly oriented on the PCB as shown in the illustrations.
- Mount components in the correct sequence as indicated in the illustrated parts list.
- Use the provided checkboxes ? to track your progress.
- Pay close attention to any remarks made in the text.
- Most axial components are machine-placed on a band for ease of assembly; remove them one by one.
- Photos on the packaging can serve as a guide, but may not be 100% accurate due to potential product improvements.
Keyboard Module (P6400S) Assembly
- Mount the nine pushbuttons, ensuring they sit flush against the PCB.
- Mount LED LD1, observing its polarity.
- Determining the Code: The four code digits are set using wire bridges (draadbruggen/pontages/puentes) as illustrated in Fig 1.0. Figure 2 provides an example connection for code 1234.
⚠️ ATTENTION: The wire bridges forming the code must be placed as close to the PCB as possible to prevent them from contacting the aluminum front panel.
The code sequence is determined by connecting lines A, B, C, and D to the internal PCB connection points (keys 1-9). Line A represents the first code digit, B the second, and so on. Unused keys (typically 5) are connected to line N.
Master Module (P6400B) Preparation & Assembly
- Preparation: Mount seven bare wires on the solder side of the PCB. These wires will be used later for interconnection with the base PCB (see Fig 3.0).
⚠️ ATTENTION: Cut wires on the component side flush with the PCB. - Module Assembly:
- Mount jumper J1 if you want the code lock to function as an ON/OFF switch. If J1 is not mounted, the code lock will only provide a pulse output after code entry (this is primarily used for door locks).
- Mount jumper NC if you wish to use the normally "closed" relay contact, or jumper NO for the normally "open" relay contact.
- Mount the diodes, observing polarity. The side with the stripe should be inserted into the smaller hole marked "C".
- Mount the resistors (check the color code against the table).
- Mount the IC socket, noting the notch position.
- Mount the transistors.
- Mount the vertical resistors.
- Mount the electrolytic capacitors, observing polarity (the longest lead corresponds to the '+' pole).
- Mount the screw connectors.
- Mount the relay.
- Insert the IC into its socket, noting the notch position.
Final Assembly
⚠️ WARNING: Double-check all assembly thoroughly and DO NOT FORGET THE CODE, as it will not be accessible after the following assembly steps.
- Pass two 2mm screws through the front panel and secure them with nuts.
- Place a star washer over the screws, then mount the keyboard PCB. Ensure the LED is positioned within the front panel. The LED and pushbuttons should not protrude from the panel. The pushbuttons should be flush with the front surface.
- Place a 10mm spacer over the two screws, then slide the base PCB onto them. Ensure the interconnections pass through the base PCB.
- Secure both PCBs with two nuts. Solder the interconnections, being careful to avoid short circuits. Refer to Fig 4.0 for visual guidance.
Testing and Use
Connect a 9 to 15V DC or 8 to 12V AC power supply to points V and GND. (For DC, V is the positive terminal). Place the front panel film next to the keypad and enter the correct code. For a pulse output, this must be done within 5 seconds.
If everything is correct, the relay should activate and then deactivate (for pulse output). If a constant switching mode was chosen, the relay can be deactivated by pressing a digit that is NOT part of the code.
? Tip: If the relay deactivation time (for pulse output) is too short, it can be extended by mounting a 22µF capacitor instead of C1.
Installation
If the code lock is used outdoors, it is recommended to mount it recessed to prevent water ingress. For added security, fix the code lock into the wall first, and then attach the front panel film. This way, the mounting screws will be "hidden" behind the film. When attaching the film, ensure the "LED WINDOW" aligns with the hole in the aluminum panel.