Professional Documents
Culture Documents
DLD Report
DLD Report
DLD Report
PROJECT REPORT
GROUP MEMBERS:
TABLE OF CONTENTS
1) Acknowledgement ........................................................................ 3
2) Introduction .................................................................................. 4
3) Components .....................................................................………. 5
6) Circuit Diagram…………………………………………………..
7) Conclusion ..................................................................................... 9
8) Reference………………………………………………………….
ACKNOWLEDGEMENT
I would also like to acknowledge the contributions of both and Miss Bushara in
fostering a positive learning environment. Your enthusiasm for teaching and your
dedication to our development as students have inspired me to strive for excellence.
Your mentorship has not only enhanced my technical skills but also instilled in me a
passion for circuit analysis that will undoubtedly shape my future endeavors.
INTRODUCTION
The Electric Code Lock project utilizing the 4017 IC represents a practical application of
digital electronics, showcasing the versatility of this integrated circuit in security systems.
Electronic code locks have become integral in providing secure access to various devices and
spaces. This experiment delves into the working principles of the 4017 IC and its application
in creating a reliable and efficient electric code lock.
4017 IC Functionality:
The 4017 IC, or Johnson Decade Counter, is a widely used component in digital electronics
due to its ability to count in decimal fashion and produce ten decoded outputs. In this project,
the 4017 IC serves as the core element for creating a sequential code verification system.
Understanding its functionality is crucial for implementing a secure and robust electric code
lock.Project Objective:The main goal of this experiment is to design and implement an
Electric Code Lock system using the 4017 IC. The system is configured to recognize a
specific code combination and actuate a relay to unlock the device. This project not only
provides hands-on experience in working with digital circuits but also emphasizes the
significance of sequential logic and binary-to-decimal conversion in security applications.
Code Verification: The system will showcase the importance of sequential counting for
code verification, enabling secure access control.
Binary Interpretation: Understanding how binary inputs translate into decimal values is
a crucial aspect, allowing for the creation of numeric code combinations
Relay Operation: The project involves the practical application of relay-based control
systems, simulating the unlocking mechanism of an electric code lock.
COMPONENT REQUIREMENTS
IC-CD4017:
The CD4017 IC is a CMOS Decade counter and it is used in the
applications of low-range counting. This IC will count from 0 to 10 and the
circuit with an IC 4017 will save board space as well as the time necessary
to design the circuit. This decade counter is similar to Johnson 10 stage
decade counter.
TRANSISTOR:
BC547 is usually used for current amplifier, quick switching and pulse-width
modulation (PWM). you can simply use this transistor to achieve it. In addition,
it can also be used as a switch that you can easily switch on or off a DC device
with this transistor.
Diode <IN4007>:
1N4007 is a rectifier diode, designed specifically for circuits that need to
convert alternating current to direct current. It can pass currents of up to 1
A, and have peak inverse voltage (PIV) rating of 1,000 V
RESISTOR:
A resistor is a passive two-terminal electrical component that implements
electrical resistance as a circuit element. In electronic circuits, resistors are
used to reduce current flow, adjust signal levels, to divide voltages, bias
active elements, and terminate transmission lines, among other uses.
Tactical Push button:
A “tactile switch” is one type of widely used switch that completes an
electrical circuit typically when pressure is applied to the device by the user,
which then gives the user a perceptible “click” or haptic bump in response,
indicating current flow. Current flow is turned off when the switch is
released.
WORKING:
Power-On Initialization:
Upon applying a 5V DC power supply, the 4017 IC is in its initial state, with Q0 (Pin 2)
high. BC547 transistor is off, and the relay is in a state that allows the 12V supply to
reach the solenoid lock, keeping the door locked.
Password Entry Sequence:
The correct password sequence is SW2 → SW4 → SW6 → SW8. When SW2 is pressed,
it introduces a clock pulse to the 4017 IC, advancing it to Q1 (Pin3). Pressing SW4
advances to Q2 (Pin 4), SW6 to Q3 (Pin 5), and SW8 to Q4 (Pin7). At Q4, the 4017 IC
triggers Pin 10, which connects to the base of the BC547 transistor.
Unlocking Mechanism:
BC547 transistor turns on, allowing current flow to the relay. The relay interrupts the
12V supply to the solenoid lock, unlocking the door. The door remains unlocked until
the reset condition is met.
Reset Mechanism:
Pressing the RESET button resets the 4017 IC, bringing it back to Q0. BC547 turns off,
deactivating the relay. The solenoid lock receives the 5V supply again, locking the door.
Security Measures:
pressing any of the password sequence buttons out of order or before the reset results in
the reset of the 4017 IC. Memory reset buttons (SW1, SW3, SW5, SW7) reset the 4017
IC, preventing an incorrect combination.
Repeatable Operation:
The system is designed to be repeatable, allowing users to enter the correct password
sequence followed by the RESET button to lock the door again
Truth table:
Q0 Q1 Q2 Q3 Clear Output
0 0 0 0 0 0
0 0 0 1 0 0
0 0 1 0 0 0
0 0 1 1 0 0
0 1 0 0 0 0
0 1 0 1 0 0
0 1 1 0 0 0
0 1 1 1 0 0
1 0 0 0 0 0
1 0 0 1 0 0
1 0 1 0 0 0
1 0 1 1 0 0
1 1 0 0 0 0
1 1 0 1 0 0
1 1 1 0 0 0
1 1 1 1 1 0
1 1 1 1 0 1
CIRCUIT DIAGRAM
CONCLUSION