Lab Practices Handout
Lab Practices Handout
1 2 3 4 5 6 7 8 9
A
B
COM
60
UNIV ERSAL PROTOBOARD
4 3 2 1
Figure 1: The universal protoboard that you will use in the laboratory.
The areas labeled 4 in Figure 1 have holes that are connected in the other direction. This
part of the protoboard is where you will place ICs and discrete components such as resistors,
capacitors, etc. Refer to Figures 2 and 3 for proper placement and connection of ICs. In
these figures, there is a +5V "bus" and a GND "bus". Any wire connected to this bus will be
connected to either +5V or GND (provided these power signals have been connected from
the power supply). It is a good practice to always use red colored wires for +5V lines and
black wires for GND lines. The black object in these diagrams represents an IC (Integrated
Use these
holes to
connect pins
of ICS to
Insert ICs in the multiple
middle like this, places
noting the position
of the notch
Figure 2: Showing how the protoboards are wired internally (shown by the thick arrows),
and also the procedure for placing chips.
+5V
Notch
pin 1 GND
Figure 3: Showing the connection of ICs. In particular, this diagram shows pin number 11 of
this IC connected to GND, and pin number 22 connected to +5V.
• Use supply bypass capacitors: Ideally, the power supply is a rock-steady voltage
waveform at +5V and 0V. In practice, however, the supply waveform is noisy, i.e., it has
a small rapidly-fluctuating component. This fluctuating component is usually because of
surge currents drawn by each of the little transistors in our digital system, and because of
the inability, due to high inductance, of the power supply to meet these surge current
requirements. Also, every now and then, one may find large transient fluctuations. These
effects can sometimes become large enough to cause unwanted changes in our digital
circuit. Supply Bypass Capacitors help us in this regard. A capacitor has a high
impedance to DC and a low impedance to voltage fluctuations. Putting a large (e.g.,.
0.1μF) capacitor between the +5V and ground pins of your chips effectively short
When wiring supply bypass capacitors, we need to be careful! Here’s why. When
you pick a large (0.1μF – 10μF ) capacitor, you are most probably using an electrolytic
capacitor. Electrolytic capacitors cannot handle both positive and negative voltages. They
are usually marked quite clearly with plus + and/or minus – symbols to indicate their
preferred polarity. You can damage them by wiring them with reverse polarity. Usually,
the damage is accompanied with overheating, and sometimes a small explosion!
Switches 1,2,3 and 4: These are toggle switches that behave as follows.
A B
COM
A
B
COM
When the switch is in the A position, the COM line is connected to A. When the switch is in
the B position, the COM line is connected to B. These switches can be made to stay in either
position for as long as we wish.
Switches 5,6, and 7 (momentary toggle switches): These switches are similar to the first
four switches except for the fact that they are spring loaded. They ordinarily stay in the A
position, as shown below.
A B
COM
Normal Position
COM
When Pressed
Here are two ways to wire them up for use. The right-hand circuit is preferred.
+5V +5V
A B
1K (not connected) 1K
A B
OUTPUT
= +5V in position A
0V in position B
OUTPUT
= +5V in position A
0V in position B
Switches 8, 9: These are push-button switches, and have only two connections A and B, as
indicated below.
How you wire up a push-button switch makes a difference. You can wire up a push-button as
either a high asserting or low asserting switch as shown below.
+5V +5V
1K
Low-asserting output
(0V when pressed)
High-asserting output 1K
(+5V when pressed)
Never apply power to your circuit until you have checked all connections carefully. In
particular, check for short-circuits. Shorts between power and ground will probably not
harm the power supply, but it could be disastrous to your circuit. Also check the polarity of
devices such as electrolytic capacitors. Many devices can be destroyed by improper
connection.
The upper right portion of the protoboard consists of terminals for attaching the power cable.
(It should be in your toolbox.) Use the following color convention:
• Red: +5 volts
• Green/Black: Ground (0 volts)
• Purple: -12 volts
• Yellow: +12 volts
Cleanup after yourself. Specifically, make sure that there are no pieces of wires or plastic on
the tables and floors. All pieces of wires are to be placed in the trash can or recycle box.
Keep in mind that your TAs are instructed to not sign off on your activity unless you clean
up properly.