Project Report Related To Darkness Detector For Bachelor Project
Project Report Related To Darkness Detector For Bachelor Project
1
GROUP MEMBERS
SAYANHODEEP BANERJEE
CLASS ROLL: 431
UNIVERSITY ROLL: T91/ECE/204071
REGISTRATION NUMBER: D01-1111-0076-20
ARJUN GHOSH
CLASS ROLL: 439
UNIVERSITY ROLL: T91/OOE/204142
REGISTRATION NUMBER: D01-1111-0184-20
2
ABSTRACT
Absence of light is what causes darkness, and we can automatically detect darkness or intensity
of light using a Light Dependent Resistor (LDR). The circuit can be integrated with other
electronics circuits or projects to control lights of a small bulb for automating lighting of
something as large as whole city’s street lights. In this project, we have designed a
simple Darkness Detector circuit and made some improvisations to design a counter which
can count from 0 to 9.
3
THEORY AND WORKING PRINCIPLE
4
CIRCUIT ON PCB WITHOUT COUNTER
This is based on the transistor switching circuit where a BC548B NPN transistor is used to
switch between high and low voltage at emitter terminal depending on the input voltage applied
at its base terminal. A LDR (Light Dependent Resistor) is connected to the base and ground,
whose resistance and consequently voltage across it’s terminal, drops nearly to zero ideally
when illuminated with a light of high intensity and proper wavelength. There is a LED
connected to the emitter terminal which helps to see the switching mechanism visually. The
whole process works like this- when the LDR is illuminated, its resistance decreases, voltage
drop across its terminal decreases, a very low voltage is applied to the base, hence the transistor
goes in the cutoff state and there is not enough voltage to make the LED glow . Similarly, when
the LDR is present in dark, it’s resistance increases, voltage drop across its terminal increases, the
transistor goes into saturation and the LED glows. The whole process can be summarised as-
5
CIRCUIT WITH COUNTER
The above circuit can be integrated with 4026 Decade counter IC which counts from 0 to 9
when a transition occurs from high to low voltage or vice versa. The counter is suitable to be
interfaced with a Seven Segment display and it can show numbers from 0 to 9. It is a 16 pin IC
with 2 terminals for power (VDD and VSS), 7 terminals for seven segment display (A, B, C,
D, E, F, and G), one Reset pin, clock, clock inhibit, display enable input, display enable output,
carry output and ungated C segment output. The interfacing circuit is shown below where the
clock pin is connected to the emitter terminal. Clock Inhibit is connected to the ground. In this
circuit when light is illuminated to LDR, clock pin goes in transition from high to low voltage.
Now when the LDR detect darkness, clock pin transits from low to high voltage. The counter
detects this transition and increment its count by one. In this way we have made a circuit which
can detect the number of dark spots crossed in an illuminated region. The Reset button is
present to reset the display to zero. The resistors are used either as a current limiting resistor or
as a pull up/pull down resistor.
6
COMPONENTS REQUIRED
1. PCB substrate
2. Anhydrous Ferric Chloride
3. Nail Polish Remover
4. Drilling Machine
5. Soldering Equipment
7
PRINTED CIRCUIT BOARD (PCB) DESIGN
A PCB mechanically supports and electrically connects electronic components using conductive
tracks, pads and other features etched from sheets laminated on to a non- conductive substrate.
A PCB consists of a conducting layer that is made up of copper foil. The insulating layer dielectric is
laminated together with epoxy resin. The most common used PCB is ER-4. Boards may be single or
double sided.
PCB DRILLING
The components that have to be attached to the multilayered PCB can be done by VIAS drilling. A
dremel drill press is used to punch the holes. Usually a 0.035 inch drill kit is used. For high volume
production automated drilling machines are used.
PCB ASSEMBLING
PCB assembling includes the assembling of the electronic components on the respective holes in the
PCB. The components leads are then soldered to the PCB using soldering equipment. The common
aspect of PCB assembling is that the components leads are electrically and mechanically fixed to the
board with a molten metal solder.
8
DESIGNED PCB LAYOUT (IN EasyEDA)
9
FIG: 3D IMAGE OF PCB LAYOUT (FRONT SIDE)
10
PCB FABRICATION
11
EXPERIMENTAL DATA AND TESTING
TRIGGERING VOLTAGE
It is found that the counter used in the circuit triggers when the clock input making transition
from low to high voltage, crosses the value of 2.77V, when supplied with a 5V power. The
triggering voltage is 1.8V, when triggered through the clock inhibit pin. Clock pin is used for
positive edge triggering and Clock inhibit pin is used for negative edge triggering .
12
RESULT AND DISCUSSIONS
1. Due to some loose connection or improper soldering, the circuit shows disturbance and
noise.
2. It is found that LED glows in the normal lighting condition. To make it turn off, intense
light is required to be focused on the LDR.
3. Due to cheaper components used and lack of calculation, the circuit is not that precise
and can misbehave sometimes.
13
APPLICATIONS OF THIS CIRCUIT
14
BIBLIOGRAPHY
1. Photoresistor – Wikipedia
https://en.wikipedia.org/wiki/Photoresistor#:~:text=A%20photoresistor%20(also%20
known%20as,on%20the%20component's%20sensitive%20surface.
2. DIY Double Sided PCB- YouTube
https://youtu.be/h0AKHJ_4Xmw
3. Counter circuit using LDR- YouTube
https://youtu.be/XM5iWJ3LkZc
15