MSC Project
MSC Project
MSC Project
PROJECT REPORT
ON
MASTER OF SCIENCE
IN
(PHYSICES)
SUBMITTED BY
PROOF. R.B.KHARADE
1
EXAM SEAT NO. :-
CERTIFICATE
2
ACKNOWLEDGMENT
3
Contents
4
Abstract
5
Introduction of Project Work
6
Block Diagram
POWER SUPPLY
7
Circuit Diagram
8
Working
The electronic code lock project is designed to generate a predefined code using
push-button switches, which are connected to the input clock of the CD4017 IC.
The CD4017 IC is a decade counter that can count up to 10 in response to the
input clock. The diodes are connected in series with the switches to prevent any
backflow of current, which could damage the IC or disrupt the operation of the
circuit.
When the user enters the correct code by pressing the corresponding switches in
the correct sequence, the output of the CD4017 IC triggers the base of the
transistor, turning it on. The transistor acts as a switch, allowing current to flow
through the relay. The relay can be used to lock or unlock the door or cabinet,
depending on the user’s requirements.
The circuit uses a 9V battery to power the system. The battery is connected to the
circuit via an on/off switch. When the switch is turned on, the circuit is energized,
and the CD4017 IC is ready to receive the input clock generated by the push-
button switches.
The project is designed to be user-friendly and highly customizable. Users can
define their own codes by setting the sequence of switches to be pressed, which
can be easily changed if needed. Additional switches can be added to increase the
number of possible codes.
The electronic code lock project is highly reliable and safe to use. The use of
diodes in the project ensures that the circuit is protected from any reverse current
flow, which could damage the components. An SL100 transistor is used as a
switching element to drive the relay, ensuring that the relay is only triggered when
the correct code is entered.
Overall, the electronic code lock project offers a cost-effective, effective, and
customizable solution to the problem of securing doors and cabinets. With its
simple design, readily available components, and reliable performance, the code
lock system is an excellent choice for anyone looking for a secure for a secure
and easy-to-use locking mechanism.
9
Method/Experimental Procedure
Step 1: Planning
Before starting to build the project, it is essential to plan the layout of the
circuit. This can be done using a schematic diagram or by sketching the circuit
on a piece of paper. The circuit consists of a CD4017 IC, push-button switches,
diodes, an SL100 transistor, a relay, a 9V battery, and an on/off switch. The
circuit can be built on a breadboard or PCMB.
Step 2: Connecting the CD4017 IC
The first step is to connect the CD4017 IC to the power source, ground,
and clock input. Connect the VDD pin of the IC to the positive terminal of the
9V battery via the on/off switch. Connect the GND pin of the IC to the negative
terminal of the battery. Connect the clock input of the IC to the first push-button
switch through a 1N4148 diode. Connect the output pins of the IC to the base of
the SL100 transistor.
Step 3: Adding the Push-Button Switches
Next, connect the remaining six push-button switches in series with
1N4148 diodes to the clock input of the CD4017 IC. The diodes should be
connected in such a way as to allow the current to flow only in one direction,
from the switch to the IC.
Step 4: Connecting the SL100 Transistor
Connect the emitter of the SL100 transistor to ground and the collector to
the relay coil. The relay contacts can be used to lock or unlock a door or
cabinet. Connect the base of the transistor to the output pins of the CD4017 IC.
The transistor acts as a switch, allowing current to flow through the relay when
the correct code is entered.
Step 5: Powering the Circuit
Connect the 9V battery to the circuit via an on/off switch. Make sure that
the battery polarity is correct and that the switch is in the “off” position before
connecting the battery. After connecting the battery, turn on the switch, and the
circuit is ready to use.
10
Step 6: Testing the Circuit
Test the circuit by entering the predefined code by pressing the
corresponding push-button switches in the correct sequence. If the correct code
is entered, the relay should click, indicating that it has been triggered, and the
lock should be released. If the wrong code is entered, the relay will not trigger,
and the lock will remain locked.
Step 7: Finishing the Circuit
After testing, solder the components onto a PCB or breadboard to make a
permanent circuit. Ensure that all connections are secure and that the components
are correctly placed on the PCB or breadboard.
Overall, electronic code lock project is straightforward and efficient way to
secure doors or cabinets using a predefined code. The project can be easily
assembled using readily available components, and its customizable feature make
it ideal for a wide range of applications.
11
List of Components
MATERIAL QUANTITY
IC CD4017 1
PUSH-BUTTON SWITCHES 7
IN4148 DIODES 7
SL100 TRANSISTOR 1
12V RELAY 1
9V BATTERY 1
BATTERY HOLDER 1
ON/OFF SWITCH 1
SOLDERING IRON AND SOLDER -
WIRE CUTTERS -
BREADBOARD OR PCB -
12
Details of Components
13
CD4017 Pin Configuration:
Pin
Pin Name Description
Number
These are the 10 output pins on
1 to 7 and Output pins Q0 to which the counting occurs, they are
9, 10, 11 Q9 not in order hence verify pin diagram
above
Connected to the Ground of the
8 Vss or Ground
circuit
This pin goes high after the IC
12 Carry Out (CO) counts from 1 to 10. This is used as
carry while counting.
This is an input which when made
13 Clock Enable (EN) high will hold the count at the
current state
The counting happens when this
clock pulse goes high, this pin is
14 Clock
normally connected to 555 timer or
other uC to produce a pulse
As the name suggests this pin resets
15 Resets
the count back to 1
Connects to the supply voltage
16 Vdd / Vcc
typically +5V
Features
14
Applications
Used in LED matrix, LED chaser and other LED projects
Binary counter or Binary decoder
Can be used for divide by N Counting
Remove metering automotive, medical electronics
Diodes:
A diode is a two-terminal electronic component that conducts current
primarily in one direction (asymmetric conductance); it has low (ideally zero)
resistance in one direction, and high (ideally infinite) resistance in the other. A
diode vacuum tube or thermionic diode is a vacuum tube with two electrodes, a
heated cathode and a plate, in which electrons can flow in only one direction,
from cathode to plate. A semiconductor diode, the most common type today, is a
crystalline piece of semiconductor material with a p-n junction connected to two
electrical terminals.
Semiconductor diode were the first semiconductor electronic devices.
The discovery of asymmetric electrical conduction across the contact between a
crystalline mineral and a metal was made by German physicist Ferdinand Braun
in 1874. Today, most diodes are made of silicon, but other materials such as
gallium arsenide and germanium are used.
The diode is p-n junction device. Diode is the component used to
control the flow of the current in any one direction. The diode widely works in
forward bias.
Diode which are current flows from P to N junction. The Zener diode
is used in reverse bias function i.e., N to P direction. Visually the identification
of the diode’s terminal can be done by identifying he silver/black line. The
silver/black line is the negative terminal (cathode) and the other terminal is the
positive terminal (cathode).
15
Applications
Diodes: Rectification, free-wheeling, etc.
Zener diode: Voltage control, regulator etc.
Tunnel diode: Control the current flow, snobbier circuit, etc.
Types of Diodes
Transistor SL100
16
SL100 Pin Configuration
Applications
Switching
Manufacture of logic gates
Amplification and sound reproduction
Ratio transmission and signal processing.
Relay (+12V): -
17
A type of relay that can handle the high power required to directly
control an electric motor or other loads is called a contactor. Solid-state relays
control power circuits with no moving parts, instead using a semiconductor
device to perform switching. Relay with calibrated operating characteristics and
sometimes multiple operating coils are used to protect electrical circuits from
overload or faults; in modern electric power systems these functions are
performed by digital instruments still called “protective relay”.
Magnetic latching relays require one pulse of coil power to move their
contacts in one direction, and another, redirected pulse to move them back.
Required pulses from the same input have no effect. Magnetic latching relays are
useful in applications where interrupted power should not be able to transition the
contacts.
Relay pinout: -
18
Applications of Relay: -
Characterization
19
The project is highly customizable, allowing the user to define their own
sequence of button presses and adjust the timing of the relay activation. The
components and tools.
One of the key benefits of this project is its low cost of use. It is an ideal
solution for securing small areas or personal belongings, and can be adapted for
use in a variety of applications. The codelock can also be paired with additional
security measures, such as an alarm system or surveillance cameras, for enhanced
security.
Overall, the electronic codelock project is a useful and practical circuit that
provides a simple yet effective method of access control. It is a great project for
hobbyists and professionals alike, and can be easily customized to suit a variety
of applications.
20
Result
The electronic codelock project was built and tested successfully. The
circuit was assembled on a breadboard using the IC CD4017, push-button
switches. IN4148 diodes, an SL100 transistor, a 12V relay, a 9V battery holder,
and an on off switch.
The first step in the testing process was to ensure that the individual
components of the circuit were functioning correctly. Each component was tested
separately, and any faulty components were replaced with new ones. Once all the
components were working correctly, they were connected according to the
schematic diagram.
The next step was to test the sequence of button presses required to activate
the relay and gain access to the secure area. A pre-defined sequence of button
presses was entered correctly, and the relay activated, allowing access to the
secure area. When an incorrect sequence was entered, the relay did not activate,
preventing access to the secure area.
The timing of the relay activation was also adjusting to ensure that the relay
remained active for a set period of time before deactivating. This was achieved
by changing the value of the timing capacitor connected to pin of the IC CD4017.
The timing was adjusting until the relay remained active for the desired period of
time, ensuring that access to the secure area was limited to authorized personnel
only.
In addition to the testing process, the project was also evaluated for its
practicality and usability. The circuit was found to be easy to assemble and could
be built using basic electronic components and tools. The codelock was also
highly customizable, allowing the user to define their own sequence of button
presses and adjust the timing of the relay activation. This made the project
suitable for a wide range of applications.
21
Overall, the electronic codelock project met the desired specification and
performed as expected. It provided a simple and effective method of access
control, and could be easily customized for use in a variety of applications. The
project was a success and demonstrated the effectiveness of the CD4017 IC in
digital and electronic applications.
22
Conclusion
The SL100 transistor was used as a switch to control the relay, which
provided the main mechanism for access control. The relay remained active for a
set period of time before deactivating, ensuring that access to the secure area was
limited to authorized personnel only.
The project was thoroughly tested to ensure that it was reliable and
functional under a range of conditions. The circuit was found to be stable and
reliable, and was able to withstand a range of temperatures and lighting
conditions. The project was also evaluated for its practicality and usability. It was
found to be easy to assemble and customize, making it suitable for a wide range
of applications.
23
References
24