Beruflich Dokumente
Kultur Dokumente
Basic Concepts:
time
Number System: The two number system which are used most often in the
digital electronics are Binary No. System & the hexadecimal System. Here we deal
only with the binary system.
Decimal Binary Hexadecimal
Binary System: It consists of
No. Equivalent Equivalent
just two numerals – 0 & 1.
0 0000 0
Decimal numbers in binary
1 0001 1
system using 4 bits &
hexadecimal system are: 2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
-1-
Clock: Looking electronically, a clock is simply a square wave i.e. alternate
high & low states. Each alternate high-low forms a clock cycle with a
specific frequency & duty cycle. Frequency is the no of cycles completed
in 1 sec & duty cycle is the ratio of the time period of high state to the time
period of the low state
v
o
l
t
a
g
e
time
Gates & Truth Tables: Gates are the logical units that perform
Boolean operations on one or more inputs. The common gates are NOT
gate, AND gate, OR gate, NAND gate, NOR gate, XOR gate & N-XOR
gate. For the function of the gates & their truth tables, refer the datasheets
of the gates or the presentation available on the club website.
-2-
Now let us look into the IC’s & other electrical
components that are going to be used for the
hands on workshop:
But, first of all, let’s see what an IC is:
IC – integrated circuit – is a small chip which when given input, performs
some specific operation on the inputs & gives some output. It basically is
made of millions of transistors in such a way that the desired operation is
performed.
Eg: 555, 4029, 7447 etc
-3-
Working with the 555
555 is used for producing a clock (square wave) at a
desired frequency. It can be used in various ways
like the astable mode, monostable mode etc. Here,
we deal with the astable operation of 555. Astable
mode ensures that the 555 is self-triggered & so, it
acts as a multi-vibrator.
Let us look into the working of 555 in astable mode:
D1 - Circuit
Connections to be made
-4-
D3- Output
-5-
D4- Internal Working of the 555
This is the internal working of the 555 timer. The chip derives its name from the three
R’s on the top of the image, they all are 5 kΩ. Hence, the name 555.
Now, let us see how we can set the 555 to work at the desired frequency by selecting
the right combination of resistances & capacitances. Using the convention as in D1,
From circuit analysis & mathematics, it can be obtained that:
Frequency = 1.44/{(RA + 2RB) * C1}
Also, 555 can produce waves with duty cycle else than the 50 % cycle. The desired
duty cycle can be worked out by using the result:
Duty Cycle = (RA + RB) * 100/ (RA + 2RB)
where duty cycle= Ratio of time period when the output is 1 to the time
period when the output is 0
-6-
Working With 4029 Counter
The IC 4029 has multiple function , i.e. as
a counter as well as a memory
device(using the flip flops). Here in the
workshop, we are considering only the
counter function & how it works.
When connected in the way as described
below, the 4029 counts from 0 to 9 (or 0 to
15) & gives the output in BCD (Binary
Coded Decimal) with 4 bits.
Pins & their Connections:
Pin No. Name Function Connection
1 Parallel Load When high, parallel bits are Ground
corresponding output bits.
When low, counter.
2 Output Bit 3 Most significant bit Output(goes to 7447)
3 Parallel bit 3 Bit copied to O3 when PL is ground
high
4 Parallel bit 0 Bit copied to O0 when PL is Ground
high
5 Clock Enable (bar) When grounded, the clock is Ground
enabled
6 Output Bit 0 Least significant bit Output(goes to 7447)
7 TC (bar) Gives a low when one cycle Output – can be used for
of count completes subsequent clock for other
counter
8 V reference(Low) To be connected to make the Ground
chip work
9 Binary or hex count To count upto 10 or 16 ground
10 UP or Down increase or decrease 5v
11 Output Bit 1 Output bit Output(goes to 7447)
12 Parallel bit 1 Bit copied to O1 when PL is Ground
high
13 Parallel bit 2 Bit copied to O2 when PL is Ground
high
14 Output bit 2 Output bit Output(goes to 7447)
15 Clock Pulse Input-the clock pulse- each Output of 555 i.e. pin 3
high increments the counter
16 Voltage (high) To be connected to make the 5V
chip work
-7-
Working With BCD to 7 Segment Decoder
7447
7 Segment Display g f K a b
e d K c decimal
-8-
Important Tips While Circuiting:
• Interconnect the horizontal lines & use them for ground & 5V purposes so that
ground & high can be provided to any pin in the circuit easily.
• Always keep in mind, never ever short high with low.
• Handle the chips carefully.
• Always keep in mind to give the chip High & Low at the corresponding place
i.e. Vss(or ground)) & Vdd(or Vcc), else the chip won’t work.
• Never leave any input of the chip in floating position i.e. not connected as that
can affect the output by introducing noise.
• When using an LED, always use it along with a resistor of appropriate value.
• Use the electrolytic capacitor with correct polarity.
• Keep the wires small & tight for clean & strong circuiting.
• Use some colour coding for easy identification of wires & connections during
debugging. For eg: Use red for high, green for ground & yellow, blue for
interconnections.
• In digital electronics, keep an LED ready for testing & debugging purposes.
What I mean by this is, that the Led should be connected to a resistor & wire,
so that it is flexible.( believe me, there is going to be a great use of it).
• When using resistors, do check that the legs do not touch each other.
• Incase of any confusion, contact your friendly neighbourhood Secy or
Coordy!
Things to Ponder:
-9-