Digital Practice 1
Digital Practice 1
Digital Practice 1
• In the form of integrated circuit (IC) Dual in Line (DIL) chips as shown above
• Digital circuits are wired inside the chip. Inputs, outputs and supply points are
then wired to pins where external circuit connections will be made
• How circuitry is wired inside the chip can be retrieved from the data sheet as
shown on the right above
74HC00
• First four figures (74HC) identify the logic family the IC belongs to. In
other words it define the type of components used to build up the
circuitry inside the IC – In this case the logic family is Complimentary
Metal Oxide Semiconductor (CMOS), and MOSFETs are used to build
up the circuitry inside the chip (IC)
• The last two numbers (00) identify the function of the IC. In this case it
indicates the IC performs an AND function.
• To determine exactly the function of a chip it is necessary to obtain the
data sheet for the part number found on the IC
• As already said the above IC is of the dual in line type. Also it should
be said that the type is also called ‘Through Hole Type’. This is
because to install the chip on a circuit board holes have to be drilled to
make space where the chip is inserted. Then the pins are soldered to
the copper of the circuit board so that pins
are interconnected to the circuitry as
required. Other types available could be
‘Single in Line’ (uses through hole
technology) and ‘Surface Mount type’ which
are just mounted on the circuit board without
need of drilling any holes.
The logic probe has two LED’s which indicate the HI (Red LED) or LO (Green
LED) digital voltage levels. Two crocodile clips are connected to the same
supply of the circuit under test (Red to +5V and Black to 0V). For testing we
just hold the logic probe as if it was a writing pen, and touch the pin of the IC
or the circuit connection where we need to check the logic state, with the tip of
the probe. According to which LED becomes ON we will know whether that
connection is at a HI or LO logic state.
There are two selector switches on the Logic probe. One switch is set
according to the type of digital IC’s we are using in the circuit. Types of IC’s
can be TTL or CMOS. These different types of IC’s operate at different
voltage levels. So we need to set the logic probe according to the IC’s used in
the circuit so that the correct voltage levels are sensed by the probe. The type
of ICs which we will be using in this demonstration are CMOS which however
work with TTL voltage levels, hence the switch should be set to TTL
This is the equipment where digital circuits will be built, analyzed and tested
during your practical lessons in Digital Electronics. An illustration of this
equipment is shown below. It is an ‘all-in-one’ piece of test equipment with an
area where we can build our experimental circuit; with availability of all the
supplies necessary for the circuit and test equipment needed to be connected;
with availability of all the inputs we need to feed into the circuit; and finally
with indicators we can use as outputs for our experimental circuits.
On/off
Hi/Lo Logic inputs
switch Output indicators
Pulsed input
Circuit connection ports
switches
External
clock inputs
Supply connections
Bread-Board (for logic probe)
Through this connection, the digital trainer receives the dc supply. Special
care should be taken when connecting the supply to the trainer. The positive
is at the centre pin. The DC supply must be set to 6 volts dc. Please be sure
the supply has the correct polarity and is at the correct voltage level
before connecting to the Digital Trainer.
When this toggle switch is moved to the right, power is applied to the digital
trainer. A Red LED near the supply connection should light on to indicate
power is ON.
On this board, components and wiring can be inserted to form the digital
circuit of the practical experiment. There are two bread boards available on
the trainer.
(i). The Upper and lower banks of each bread-board have two separate lines
of insertion holes. Each of the lines is horizontally interconnected (with a
break in the middle).
(ii). The two insertion hole banks in the middle are vertically interconnected.
There is a break between each central bank to allow for integrated circuits to
be inserted.
On the digital trainer there are a set of switches which are used as input
controls to the circuit in experiments. Two Red momentary switches produce
a pulse input which goes from LO to HI and back to LO (0-1-0). A bank of 8
dip switches on the right of the two momentary switches produce HI or LO
inputs to the circuitry on the bread board. In the Up position these switches
provide a logic 0, while in the down position the switches provide a logic 1.
A set of 8 Red LED’s are available on the digital trainer. These are used as
output indicators for the circuits in the experiments.
Through these ports you can connect the circuit on the bread board to Supply,
Inputs, and Outputs. There is another connection port which provides a
square wave clock generated by the trainer. This clock is described further
below in these notes.
(6). Clock:
External clocks can be connected to the trainer via the connections available
on the top right hand side of the unit.
On the bottom right of the trainer there are two connections which provide a
5V supply for the logic probe. The logic probe is another test equipment used
to test digital circuits. It will be described further down in these notes.
Parts:
Equipment:
Description Qty
Digital trainer 01
AC/DC adaptor to power the trainer and circuits (through trainer) 01
Logic Probe (powered from trainer) 01
_________________________________
The circuit shown above is a simple logic circuit which warns the driver of a
car should he forget the key inserted into the ignition switch or the side/head
lamps on while getting off the car. In the circuit above an ON or a ‘Door Open’
will be a logic 1
(a). Construct the circuit shown above on the breadboard found on the trainer.
Consult IC data on page 1 to check the pins required to be used to correctly
wire the circuit. As it can be noted, on the circuit diagrams there is no
indication where the supply should be connected for the circuit. It is important
however not to forget connecting the supply pins of every IC. Should this not
be done, the circuit will never work. From the information given on Page 5 it
can be concluded that Each IC should have pin 14 connected to +5V and pin
7 to 0V (GND).
(b). Circuit input conditions should simulated by the HI/LO ‘input’ switches
found on the trainer. So connect inputs A to D of the circuit above to 4 of the
HI/LO input sockets found on the trainer. Circuit output should be connected
to one of the ‘Output LEDs’ available on the trainer. By this you should be
able to monitor the condition produced by your circuit. LED on will indicate a
logic 1 or High state, while LED off will indicatea logic 0 or Low state.
(c). Now apply power to the circuit and then input the logic combinations to
the circuit according to the truth table below. Note the output Y of the circuit
for each input combination applied and then compile the truth table found on
next page, according to the outputs you get on the circuit Output LED
(d). Now using the logic probe check the logic state at pin 6 of IC U1:B during
the following input combinations:
The circuit shown above is a simple logic circuit which performs the function
of an alarm circuit monitoring a room which has a single door and a single
window. Provided the power is on and the alarm is armed, should the one or
both of the apertures be open, or the power line is cut, the alarm siren will
receive a logic 1 signal to start sounding. A logic 1 will be representing a door
or window open, Alarm power ON, and Alarm armed
(a). Construct the circuit shown above on the breadboard found on the trainer.
Consult IC data on page 1 to check the pins required to be used to correctly
wire the circuit. As it can be noted, on the circuit diagrams there is no
indication where the supply should be connected for the circuit. It is important
however not to forget connecting the supply pins of every IC. Should this not
be done, the circuit will never work. From the information given on Page 5 it
can be concluded that Each IC should have pin 14 connected to +5V and pin
7 to 0V (GND).
(b). Circuit input conditions should simulated by the HI/LO ‘input’ switches
found on the trainer. So connect inputs A to D of the circuit above to 4 of the
HI/LO input sockets found on the trainer. Circuit output should be connected
to one of the ‘Output LEDs’ available on the trainer. By this you should be
able to monitor the condition produced by your circuit. LED on will indicate a
logic 1 or High state, while LED off will indicatea logic 0 or Low state.
(c). Now apply power to the circuit and then input the logic combinations to
the circuit according to the truth table below. Note the output Y of the circuit
for each input combination applied and then compile the truth table found on
next page, according to the outputs you get on the circuit Output LED
(d). Now using the logic probe check the logic state at pin 6 of IC U1:B during
the following input combinations: