Automatic Street Light and Logic Gates .
Automatic Street Light and Logic Gates .
Street Light
An introduction:
Principle:
This circuit uses a popular timer I.C 555. I.C 555 is connected as a
comparator with pin-6 connected with positive rail, the output goes
high(1) when the trigger pin 2 is at lower then 1/3rd level of the supply
voltage. Conversely the output goes low (0) when it is above 1/3rd level.
So a small change in the voltage of pin-2 is enough to change the level of
output (pin-3) from 1 to O and 0 to 1. The output has only two states
high and low and can not remain in any intermediate stage. It is
powered by a 6V battery for portable use. The circuit is economical in
power consumption. Pin 4, 6 and 8 is connected to the positive supply
and pin 1 is grounded. To detect the presence of an object we have used
LDR and a source of light.
LDR is a special type of resistance whose value depends on the
brightness of the light which is falling on it. It has resistance of about 1
mega ohm when in total darkness, but a resistance of only about 5k
ohms when brightness is illuminated. It responds to a large part of the
light spectrum. We have made a potential divider circuit with LDR and
100K variable resistance connected in series. We know that voltage is
directly proportional to conductance so more voltage we will get from
this divider when LDR is getting light and low voltage in darkness.
This divided voltage is given to pin 2 of IC 555. Variable is so adjusted
that it crosses the potential of 1/3rd in brightness and falls below 1/3rd
in darkness. Sensitiveness can be adjusted by this variable resistance. As
soon as LDR gets dark the voltage of pin 2 drops 1/3rd of the supply
voltage and pin 3 gets high and the LED or buzzer which is connected
to the output gets activated.
Circuit Diagram of Automatic Street Light
Component used:
a)Battery :
For 9v power supply we can use 6pcs dry cell or 6F22 9v single piece
battery.
b) Switch:
Any general purpose switch can be used. Switch is used as a circuit
breaker.
When light falls on the LDR then its resistance decreases which results
in an increase of the voltage at pin 2 of the IC 555, IC 555 has a
comparator inbuilt, which compares between the input voltage from
pin 2 and 1/3rd of the power supply voltage. When input falls below
1/3rd then output is set high otherwise it is set low. Since in
brightness, input voltage rises, we obtain no positive voltage at output
of pin 3 to drive the relay or LED, besides in poor light conditions we
get output to energise.
Precautions:
IMPORTANT TERMS
Boolean Operation:-
We are conversed with the four fundamental mathematical operations
viz. addition, subtraction, multiplication and division. Whenever
Boolean algebra Binary decision is involved, we use Boolean operation,
A Boolean is a statement giving the relation between the output and
certain input variables. It may be clear that the input variables can only
have two values namely "1" & "O" like "+", "-", "X","/" are used in
ordinary algebra; we use the operators AND, OR and NOT in Boolean
algebra.
Binary Decision:
The decision that results in either 'YES' or 'NO' is called a Binary
Decision. In our daily life we come across situations which demand
logical decisions can be taken by electronic circuits. Thus depending
upon the requirement a lift in a multistoried building can be made to
operate in a number of ways. Similarly traffic lights can be operated to
give red, yellow and green signals in a set pattern.
Binary Algebra: -
George Boole invented Boolean Algebra which deals with logical
statements having only two values: True or False. In this system of
algebra we make use of only two digits, i.e., 0 &1 to represent any
number. Any number greater than 1 can be written by suitable
combinations of digits 0 &1 as shown below:
Decimal Binary system Decimal Binary system
numbers numbers
0 0000 8 1000
1 0001 9 1001
2 0010 10 1010
3 0011 11 1011
4 0100 12 1100
5 0101 13 1101
6 0110 14 1110
7 0111 15 1111
SYNOPSIS
DIGITAL CIRCUITS:
Circuits which can make logical decisions based on input conditions are
called digital circuits. It is an electronic circuit in which the current &
voltage signals have only two levels (either on or off). Thus in digital
circuits only two values are represented by 0 & 1 of input & output
voltage.
LOGIC GATES:
DEFINITION:
A Gate is simply an electronic circuit which operates on one or more
signals. Depending on the requirement of the application, Logic Gates
can be classified as
● OR Gate :- Addition.
OR GATE
(K=A+B)
OR Gate is the logic gate which signifies the " addition" operation.
It requires two or more input signals. If any of the input signals is"1"
(high), this gate gives the output"1" i.e. high. This gate is symbolised as
follows:
A B Y(OR)
0 0 0
0 1 1
1 0 1
1 1 1
As shown in the circuit diagram and truth table the negative terminal
of the battery is grounded corresponds to the O state & the positive to
the 1 state.
NOT GATE
(K=A')
No conveys the sense of negativity. It is a logic gate which operates on
only one input to give one output. It produces as output, the negative
of the variable at the input. It is also called the ‘INVERTER’. Its
symbol is
A K(NOT)
0 1
1 0
AND Gate
(y=A* B)
AND Gate symbolises multiplication operation Boolean Algebra. It can
be practically realised by using diodes. Practical realisation of it is
mentioned in realisation of the NAND Gate.
Its symbol is:-
y= (A*B)
A B Y (AND)
0 0 0
0 1 0
1 0 0
1 1 1
The working of the circuit is just the reverse of the working of AND
gate. The voltage drop procedure is just the same except for the fact
that it results in high voltage only and only if the inputs are high, i.e. 1,
otherwise for all other cases the output of the circuit is low, ie, in the
case of both low inputs or that of the case one low and one high input.
The working of the diode is just the opposite of a gate. The output of
the is a product of the inputs which may have the binary value, either 0
or 1.
NAND GATE
NAND Gate is the inverter of AND Gate. AND Gate signifies the
multiplication operation. When NOT Gate is connected with AND
Gate the resultant obtained by AND is inverted & this combination is
called NAND Gate. It also consists of two or more inputs but only one
output
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
NOR GATE
(Y=A+B)
It is an equivalent to an OR gate followed by a NOT gate i.e. all the
outputs of the OR gate are inverted. The Truth Table for NOR gate is
just opposite of OR gate
Its symbol is as follows:
A B Y(NOR)
0 0 1
0 1 0
1 0 0
1 1 0
XOR GATE
K=(AB’+A’B)
The XOR Gate is the abbreviation of Exclusive OR Gate.
Its symbol is as follows:
A
B Y
A B Y(XOR)
0 0 0
0 1 1
1 0 1
1 1 0
X-NOR GATE
K=(A’B+AB’)
It is the inverse gate of XOR gate i.e. a combination of XOR gate &
NOT gate.
The symbol of this gate is as follows:-
A
B K
A B Y(XOR) K(XNOR)
0 0 0 1
0 1 1 0
1 0 1 0
1 1 0 1
SYNOPSIS
The experiment deals with designing & working of LOGIC GATES
emphasising especially on OR, NOT & NAND gates along with a little
information on all other logical gates.
The experiment also deals with the practical realisation of the logic
gates.
Result: All the gates have been successfully realised through truth
table and have been realised practically through circuits
Conclusion
Automatic Street Light uses very few components and is of a great use.
It can be used for illuminating streets and highways. It consumes less
energy. It is very easy and useful circuit for the project work of a
student and can be made easily by anyone
Logic gates are the building blocks of digital circuits in which diodes
and transistors are used to perform switching functions. They form the
heart of digital electronics. In this project, all the logic gates have been
practically realised through truth tables and circuits
TEACHER’S REMARKS
THE ADITYA BIRLA PUBLIC
SCHOOL
Session 2023-24
CERTIFICATE
This is to certify that the project work entitled “Study of Logic
Gates” and “Automatic Street Light” has been successfully
completed by “Nishant Kumar Kushwaha” of class 12th Science of
“The Aditya Birla Public School “
SIGNATURE
Index
● To study the working of Automatic Street Light