Академический Документы
Профессиональный Документы
Культура Документы
Introduction
1
Chapter 2
Literature Survey
2.1 IC 555
The 555 timer IC is an amazingly simple yet versatile device. It has been around now for
many years and has been reworked into a number of different technologies. The two
primary versions today are the original bipolar design and the more recent CMOS
equivalent. These differences primarily affect the amount of power they require and their
maximum frequency of operation; they are pin-compatible and functionally
interchangeable.
This page contains only a description of the 555 timer IC itself. Functional circuits and a
few of the very wide range of its possible applications will be covered in additional pages
in this category.
2
The figure to the right shows the functional block diagram of the 555 timer IC. The IC is
available in either an 8-pin round TO3-style can or an 8-pin mini-DIP package. In either
case, the pin connections are as follows:
1. Ground.
2. Trigger input.
3. Output.
4. Reset input.
5. Control voltage.
6. Threshold input.
7. Discharge.
8. +Vcc +5 to +15 volts in normal use.
The operation of the 555 timer revolves around the three resistors that form a voltage
divider across the power supply, and the two comparators connected to this voltage
divider. The IC is quiescent so long as the trigger input (pin 2) remains at +VCC and the
threshold input (pin 6) is at ground. Assume the reset input (pin 4) is also at +VCC and
therefore inactive, and that the control voltage input (pin 5) is unconnected. Under these
conditions, the output (pin 3) is at ground and the discharge transistor (pin 7) is turned on,
thus grounding whatever is connected to this pin.
The three resistors in the voltage divider all have the same value (5K in the bipolar
version of this IC), so the comparator reference voltages are 1/3 and 2/3 of the supply
voltage, whatever that may be. The control voltage input at pin 5 can directly affect this
relationship, although most of the time this pin is unused.
The internal flip-flop changes state when the trigger input at pin 2 is pulled down below
+Vcc/3. When this occurs, the output (pin 3) changes state to +VCC and the discharge
transistor (pin 7) is turned off. The trigger input can now return to +VCC; it will not affect
the state of the IC.
However, if the threshold input (pin 6) is now raised above (2/3)+VCC, the output will
return to ground and the discharge transistor will be turned on again. When the threshold
input returns to ground, the IC will remain in this state, which was the original state when
we started this analysis.
3
The easiest way to allow the threshold voltage (pin 6) to gradually rise to (2/3)+VCC is to
connect it to a capacitor being allowed to charge through a resistor. In this way we can
adjust the R and C values for almost any time interval we might want.
The 555 can operate in either monostable or astable mode, depending on the connections
to and the arrangement of the external components. Thus, it can either produce a single
pulse when triggered, or it can produce a continuous pulse train as long as it remains
powered.
Astable multivibrator:
If we rearrange the circuit slightly so that both the trigger and threshold inputs are
controlled by the capacitor voltage, we can cause the 555 to trigger itself repeatedly. In
this case, we need two resistors in the capacitor charging path so that one of them can
also be in the capacitor discharge path. This gives us the circuit shown to the left.
In this mode, the initial pulse when power is first applied is a bit longer than the others,
having a duration of 1.1(Ra + Rb)C. However, from then on, the capacitor alternately
charges and discharges between the two comparator threshold voltages. When charging,
C starts at (1/3)VCC and charges towards VCC. However, it is interrupted exactly halfway
4
there, at (2/3)VCC. Therefore, the charging time, t1, is -ln(1/2)(Ra + Rb)C = 0.693(Ra +
Rb)C.
When the capacitor voltage reaches (2/3)VCC, the discharge transistor is enabled (pin 7),
and this point in the circuit becomes grounded. Capacitor C now discharges through Rb
alone. Starting at (2/3)VCC, it discharges towards ground, but again is interrupted halfway
there, at (1/3)VCC. The discharge time, t2, then, is -ln(1/2)(Rb)C = 0.693(Rb)C.
The total period of the pulse train is t1 + t2, or 0.693(Ra + 2Rb)C. The output frequency
of this circuit is the inverse of the period, or 1.44/(Ra + 2Rb)C.
Note that the duty cycle of the 555 timer circuit in astable mode cannot reach 50%. On
time must always be longer than off time, because Ra must have a resistance value
greater than zero to prevent the discharge transistor from directly shorting VCC to ground.
Such an action would immediately destroy the 555 IC.
5
Table 2.1 Data sheet of IC555
6
2.2 4017 Decade counter
7
The 4017 decade counter has ten outputs which go HIGH in sequence when a source of
pulses is connected to the CLOCK input and when suitable logic levels are applied to the
RESET and ENABLE inputs.
The counting action of the 4017 can be understood from the graph below:
Johnson counter
A Johnson counter is one type of walking ring counter using a shift register circuit in
which the NOT-Q, or inverse output of the final stage is connected to the serial input of
the first stage.
9
10
11
Fig 2.4 decade counter
12
Tabel 2.3 DC specifications
13
Tabel 2.4 Dynamic Electrical properties
Function
LEDs emit light when an electric current passes through them.
Colours of LEDs
LEDs are available in red, orange, amber, yellow, green, blue and white. Blue and white
LEDs are much more expensive than the other colours. The colour of an LED is
determined by the semiconductor material, not by the colouring of the 'package' (the
plastic body). LEDs of all colours are available in uncoloured packages which may be
diffused (milky) or clear (often described as 'water clear'). The coloured packages are
also available as diffused (the standard type) or transparent.
Tri-colour LEDs
The most popular type of tri-colour LED has a red and a green LED combined in one
package with three leads. They are called tri-colour because mixed red and green light
appears to be yellow and this is produced when both the red and green LEDs are on.
The diagram shows the construction of a tri-colour LED. Note the different lengths of the
three leads. The centre lead (k) is the common cathode for both LEDs, the outer leads (a1
and a2) are the anodes to the LEDs allowing each one to be lit separately, or both
together to give the third colour.
15
Bi-colour LEDs
A bi-colour LED has two LEDs wired in 'inverse parallel' (one forwards, one backwards)
combined in one package with two leads. Only one of the LEDs can be lit at one time and
they are less useful than the tri-colour LEDs described above.
16
Implementation
3.3 Description
17
This project operates red,amber and green LEDs in the correct sequence for a single
traffic light.The time taken for the complete red-red& amber-green-amber sequence can
be varied from about 2-1/2 minutes by adjusting the 1M preset.Some amber LEDs emit
light that is almost red so you may prefer to use a yellow LED.
The 555 astable circuit provides clock pulses for the 4017 counter which has ten
outputs(Q0 to Q9). The 4017 decade counter has ten outputs which go HIGH in sequence
when a source of pulses is connected to the CLOCK input and when suitable logic levels
are applied to the RESET and ENABLE inputs.
Each output becomes high in turn as the clock pulses are received.Appropriate outputs
are combined with diode to supply the amber and green LEDs.The red LED is connected
to the \10 output which is high for the first 5counts(Q0-Q4 high),this saves using 5 diodes
for red and simplies the circuit.
Chapter 4
18
Procedure
4.1 Draw schematic
1. Place the components required on the schematic page of eagle software selecting
the appropriate packages.
2. Connect the components with wires and connecters as per requirements.
3. Place nodes wherever required.
4. Run the program and check for errors.
5. If errors are encountered then rectify them.
6. Hence final schematic is ready.
4.2 Make layout
1. Click on board then board window will open.
2. Now group the components and move it inside the square present on the screen.
3. Resize the square to fit the circuit.
4. Click on autorouter,then adjust settings then click on ok.
5. Hence the layout is ready.
4.3 Transferring circuit on PCB
1. Redraw the circuit diagram on butter paper by placing butter paper on graph paper
using marker pen.
2. Before the ink dries, press the butter paper against copper containing side of PCB.
3. Hence mirror image of the circuit schematic id transferred on the Copper containing
side of PCB(glass epoxy).
4. Darken the connection lines on the PCB using a marker pen. Make sure two lines
don’t short.
4.4 Etching Process
1. Take a solution of Ferric Chloride and add to it some hydrogen peroxide(to quicken
the etching process). Keep the PCB in it for 45 minutes.
2. Remove the PCB when all the Copper surrounding the connection lines made by
marker pen is lost.
3. Dry the PCB.
4. Cover the PCB with flux and then tin the tracks.
4.5 Continuity
1. Remove a little part of marker pen using a blade.
2. Using multimeter check for continuity at each point.
19
4.6 Drilling
1. Make holes for the component leads on the PCB.
2. Use a hand drill.
4.7 Soldering
1. Solder the components at respective places.
2. Check for continuity between the various connected pins.
3. For IC’s first solder the IC holder in the drilled holes and then place IC in it,for
precaution.
4.8 Output
1. Give power supply (+9V and Ground) to the circuit.
2. See the output on three LED’s. If they are glowing in binary sequence from 0 to 9
such that ‘1’ denotes ‘on’ LED and ‘0’ denotes ‘off’ LED.
3. Hence Traffic light is implemented.
20
Chapter 5
Results
5. 1 Proteus simulation result
21
Fig5.2 Schematic Diagram
22
Fig 5.3 Waveforms
23
Chapter 6
Applications and conclusions
24
5.1 Application
Traffic lights for public transport often use signals that are distinct from those for private
traffic. They can be letters, arrows or bars of white or coloured light.
Some pedestrian and roadway traffic signals are fitted with readouts showing a
countdown until the next signal change.
Some traffic-light controlled junctions have a light sequence that stops all vehicular
traffic at the junction at the same time, and gives pedestrians exclusive access to the
intersection so that they can cross in any direction (including diagonally). This is known
as a pedestrian scramble in some places.
Traffic lights have been installed in most cities around the world to control the flow of
traffic. They assign the right of way to road users by the use of lights in standard colours
(Red - Amber (Officially Yellow in the United States) - Green), using a universal colour
code (and a precise sequence, for those who are colour blind). They are used at busy
intersections to more evenly apportion delay to the various users.
5.2 Conclusion
Thus we have successfully build and executed the traffic light project.
Chapter 6
25
References
• Wikipedia
• www.electronicsforyou.com
• www.electronics-lab.com
• www.redcircuits.com
• www.electro-tech-online.com
• http://demonstrations.wolfram.com/TrafficLights/
• http://projects.kittelson.com/pplt/displays2.htm
26