Beruflich Dokumente
Kultur Dokumente
Prelim Period
A. Introduction
B. Number System
- Binary, N2
- Decimal, N10
- Octal, N8
- Hexadecimal, N16
C. Conversion
D. Binary Arithmetic Operations
- Basic Addition
- Subtraction using R’s
Complement
- Direct Multiplication
- Simple Division
Midterm Period
A. Introduction to Logic Design and
Logic Design
- AND gate
- OR gate
- NOT gate
- NAND gate
And
- NOR gate
- XOR gate
C. Logic Gates, Truth Table, and
Theories
Switching Theories
D. Logic Circuit design and Analysis
Prefinal Period
A. Breadboarding
B. Integrated Circuits
- 7408, 2-input Quad AND gate
- 7432, 2-input Quad OR gate
- 7404, Inverter
- 7400, 2-input Quad NAND
gate
- 7402, 2-input Quad NOR gate
- 7486, 2-input Quad XOR gate
C. Combinational Circuits Activities
and Experiments
Final Period
A. Introduction to Electronics
B. 0 to 9 Counter
C. Design Project
PRELIM PERIOD
History
The binary number system was refined by Gottfried Wilhelm Leibniz (published in 1705) and he also
established that by using the binary system, the principles of arithmetic and logic could be combined.
Digital logic as we know it was the brain-child of George Boole, in the mid19th century. Boole died
young, but his ideas lived on. In an 1886 letter.
Charles Sanders Peirce described how logical operations could be carried out by electrical switching
circuits. Eventually, vacuum tubes replaced relays for logic operations.
Lee De Forest's modification, in 1907, of the Fleming valve can be used as an AND logic gate.
Ludwig Wittgenstein introduced a version of the 16-row truth table as proposition 5.101 of Tractatus
Logico-Philosophicus (1921).
Walther Bothe, inventor of the coincidence circuit, got part of the 1954 Nobel Prize in physics, for the
first modern electronic AND gate in 1924.
Compared to vacuum tubes, transistors have many advantages: they are smaller, and require less
power than vacuum tubes, so give off less heat. Silicon junction transistors were much more reliable
than vacuum tubes and had longer, indefinite, service life. Transistorized computers could contain tens
of thousands of binary logic circuits in a relatively compact space.
While working at Texas Instruments, Jack Kilby recorded his initial ideas concerning the integrated
circuit in July 1958, successfully demonstrating the first working integrated example on 12 September
1958. This new technique allowed for quick, low-cost fabrication of complex circuits by having a set
of electronic circuits on one small plate ("chip") of semiconductor material, normally silicon.
In the early days of simple integrated circuits, the technology's large scale limited each chip to only a
few transistors, and the low degree of integration meant the design process was relatively simple.
Manufacturing yields were also quite low by today's standards
As the technology progressed, millions, then billions of transistors could be placed on one chip, and
good designs required thorough planning, giving rise to new design methods
Number system is a way or methodology on how numbers are represented inside the computer’s memory.
Human beings think in decimal, while computers process in binary. Technically, computer can accept data in human
readable form then convert them into acceptable computer code to generate an output which can be understood by
man.
There are two (2) important concepts involved when studying number systems, these are:
1. That all number systems follow the concept of positional notation. This means that the numerical value
given to a digit is determined by its relative position in a given number.
2. That all number systems follow a set of valid values
Number System Base (N) Range
Binary N2 0 to 1
Decimal N10 0 to 9
Octal N8 0 to 7
Hexadecimal N16 0 to 9 followed by A,B,C,D,E,F
Where A=10, B=11, C=12,
Gateways Institute of Science and Technology
LOGD133 : Logic Design and Switching Theories 3
Introduction to Switching Theory and Logic Circuits
Examples:
Convert 101101 to Decimal 1 + 4 + 8 + 32 = 45
32 16 8 4 2 1 Therefore 1011012 = 4510
1 0 1 1 0 1
Examples:
Convert 111100110 to Octal
4 2 1 4 2 1 4 2 1 Therefore 11110001102 = 7468
1 1 1 1 0 0 1 1 0
7 4 6
Examples:
Convert 10111110110 to Hexadecimal
4 2 1 8 4 2 1 8 4 2 1 Therefore 101111101102 = 5F616
1 0 1 1 1 1 1 0 1 1 0
5 15 = F 6
Examples:
1. Convert 264 in octal to binary
2 6 4 Therefore 2648 = 0101101002
010 110 100
Exercises. Convert the following number system to the requires number value
Binary Decimal Octal Hexadecimal
11100100101
123
7552
ACE
Examples:
1. Add 101011 to 110010
1 1
1 0 1 0 1 12
+ 1 1 0 0 1 02
1 0 1 1 1 0 12
Answer: 10111012
1 1 1 1 1
1 1 1 0 0 12
+ 1 0 1 0 1 12
1 1 0 0 1 0 02
Answer: 11001002
Rules:
0-0=0
0-1=1 ; with borrow of 1 digit at the left side
1-0=1
1-1=0
Examples:
1. Subtract 111001 to 101010
Minuend 1 1 1 0 0 12
Subtrahend - 1 0 1 0 1 02
R1 (Complement of the Minuend)
1 1 1
0 0 0 1 1 02
+ 1 0 1 0 1 02
1 1 0 0 0 02
R2 (Recomplement of the Sum)
0 0 1 1 1 12
Minuend 1 1 0 0 1 12
Subtrahend - 1 0 0 0 1 12
R1 (Complement of the Minuend)
0 0 1 1 0 02
+ 1 0 0 0 1 12
1 0 1 1 1 12
R2 (Recomplement of the Sum)
0 1 0 0 0 02
Answer: 100002
Note: To check if the answer is correct, try converting the binary values to decimal then operate the
subtraction method
C. Multiplication
Rules:
0x0=0
0x1=0
1x0=0
1x1=1
Examples:
1. Multiply 101 by 11 2. Multiply 1101 by 110
101 1101
x 11 x 110
101 0000
+ 101 . + 1 11101
11112 1101 .
10011102
D. Division
Rules:
1. Begin from the left of the dividend
2. Perform a series of subtraction, wherein the subtrahend is subtracted to the minuend
3. If the subtraction is possible, the quotient is 1
4. If not, the quotient is 0
Examples:
1. 1101 divided by 0
MIDTERM PERIOD
Digital Logic is the basis of electronic systems, such as computers and cell phones. Digital Logic is rooted
in binary code, a series of zeroes and ones each having an opposite value. This system facilitates the design of
electronic circuits that convey information, including logic gates. Digital Logic gate functions include and, or and not.
The value system translates input signals into specific output. Digital Logic facilitates computing, robotics and other
electronic applications.
Digital Logic Design is foundational to the fields of electrical engineering and computer engineering. Digital
Logic designers build complex electronic components that use both electrical and computational characteristics.
These characteristics may involve power, current, logical function, protocol and user input. Digital Logic Design is
used to develop hardware, such as circuit boards and microchip processors. This hardware processes user input,
system protocol and other data in computers, navigational systems, cell phones or other high-tech systems.
Levels of Integration
Integrated circuits are often classified by the number of transistors and other electronic components they
contain:
SSI (Small-Scale Integration) – Up to 100 electronic components per chip
MSI (Medium-Scale Integration) – From 100 to 3,000 electronic components per chip
LSI (Large-Scale Integration) - From 3,000 to 100,000 electronic components per chip
VLSI (Very Large-Scale Integration) – From 100,000 to 1,000,000 electronic components per chip
ULSI (Ultra Large-Scale Integration) – More than 1 million electronic components per chip
Logic Families
TTL ECL MOS CMOS
Transistor-transistor Emitter-coupled logic Metal-oxide Complementary
logic semiconductor metal-oxide
semiconductor
TTL and ECL are based upon bipolar transistors. TTL has a well-established popularity among logic families.
ECL is used only in systems requiring high-speed operations. MOS and CMOS are based on field effect transistors.
They are widely used in large scale integrated circuits because of their high component density and relatively low
power consumption. CMOS logic consumes far less power than MOS logic.
There are various commercial integrated circuit chips available. TTL ICs are usually distinguished by
numerical designation as the 5400 and 7400 series. The former has a wide operating-temperature range, suitable for
military use, and the latter has a narrower temperature range, suitable industrial use. The power supply for TTL ICs
usually is 5V. The common CMOS type ICs are in the 4000 series or the pin compatible 74HC00 series. The power
supply for CMOS ICs ranges from 3V to 15V. The common ECL type is designated as the 10000 series.
AND gate
The AND gate is an electronic circuit that gives a high output (1) only if all its
inputs are high. A dot (.) is used to show the AND operation i.e. A.B. Bear in
mind that this dot is sometimes omitted i.e. AB
OR gate
The OR gate is an electronic circuit that gives a high output (1) if one or
more of its inputs are high. A plus (+) is used to show the OR operation.
NAND gate
This is a NOT-AND gate which is equal to an AND gate followed by a NOT
gate. The outputs of all NAND gates are high if any of the inputs are low. The
symbol is an AND gate with a small circle on the output. The small circle
represents inversion.
NOR gate
This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of all NOR gates are low
if any of the inputs are high. The symbol is an OR gate with a small circle on the output. The small circle represents
inversion.
NOT gate
The NOT gate is an electronic circuit that produces an inverted
version of the input at its output. It is also known as
an inverter. If the input variable is A, the inverted output is
known as NOT A. This is also shown as A', or A with a bar over
the top, as shown at the outputs.
XOR gate
The 'Exclusive-OR' gate is a circuit which will give a high output if either,
but not both, of its two inputs are high. An encircled plus sign is used to
show the XOR operation
XNOR gate
The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will
give a low output if either, but not both, of its two inputs are high. The
symbol is an XOR gate with a small circle on the output.
PREFINAL PERIOD
Breadboarding
These strips connect the holes on top of the board. This makes it easy to connect components together to
build circuits. To use the breadboard, the legs of the components are placed in the holes or sockets. The holes are
made so that they will hold the components in place. Each hole is connected to one of the strips running
underneath the board.
Each wire forms a node. A node is a point in a circuit where two components are connected. Connections
between different components are formed by putting their legs in a common node. On the breadboard, a node is
the row of holes that are connected by the strip of metal underneath. The long top and bottom row of holes are
called terminals in which the power source is being attached.
The rest of the circuit is built by placing components and connecting them together with jumper wires.
Then when a path is formed by wires and components from the positive supply node to the negative supply node,
we can turn ON the power and current flows through the path, and the circuit comes alive.
For chips with many legs like ICs, place them in the middle of the board (IC slot) so that half of the legs are
on one side of the middle line and the half is on the other side.
In the real world of digital electronics, we very seldom deal with single logic gate structures, because it is not
practical to produce them. Instead we rely on the Integrated Circuits (IC), containing many transistors configured to
produce multiple logic circuits in one package.
The individual ICs has different configurations of logic gates inside but it considered the input/output
designation of the legs/pins. A typical 74-series IC has 14 legs divided in half to create the flow sequence between
legs. Pin 1 to Pin 7 is typically located below the IC notch which is denoted by the Pin 1 and PIN 14. The notch in
the IC indicates the IC façade and is placed at the left side. Pin 8 to Pin 14 is located at the top of the IC interface
considering the notch at the left side. The Pin numbers are designated in counter-clockwise setup.
Pin 7 is created to be connected at the GND (ground) which is mostly 0V while Pin 14 is connected to the
Vcc considering the +V of the circuit. This IC setup is called Dual In-line Package or DIP.
Pin Layout
Vcc
GND
Vcc
7486 7404
GND
Vcc
7486 7408
GND
ACTIVITY No. 4: Half-Adder Circuit using OR, NOT and AND Gate Version 1
Breadboard
ICs (7432, 7404, 7408)
Materials: Connecting wires
LED bulb
DC Power Source
Vcc
GND
ACTIVITY No. 5: Half-Adder Circuit using OR, NOT and AND Gate Version 2
Breadboard
ICs (7432, 7404, 7408)
Materials: Connecting wires
LED bulb
DC Power Source
Vcc
GND
DC Power Source
Vcc
GND
Determine the
possible bit value for
each combination
Vcc
GND
State S R Q Q Description
Set 1 0 0 1 Set Q » 1
1 1 0 1 no change
Reset 0 1 1 0 Reset Q » 0
1 1 1 0 no change
Invalid
Invalid 0 0 1 1
Condition
FINAL PERIOD
Introduction to Electronics
Electronics is the science of how to control electric energy, energy in which the electrons have a
fundamental role. Electronics deals with electrical circuits that involve active electrical components such as vacuum
tubes, transistors, diodes and integrated circuits, and associated passive electrical components and interconnection
technologies. Commonly, electronic devices contain circuitry consisting primarily or exclusively of
active semiconductors supplemented with passive elements; such a circuit is described as an electronic circuit.
The nonlinear behavior of active components and their ability to control electron flows makes amplification
of weak signals possible, and electronics is widely used in information processing, telecommunication, and signal
processing. The ability of electronic devices to act as switches makes digital information processing possible.
Interconnection technologies such as circuit boards, electronics packaging technology, and other varied forms of
communication infrastructure complete circuit functionality and transform the mixed components into a regular
working system.
Electronics is distinct from electrical and electro-mechanical science and technology, which deal with the
generation, distribution, switching, storage, and conversion of electrical energy to and from other energy forms
using wires, motors, generators, batteries, switches, relays, transformers, resistors, and other passive components.
This distinction started around 1906 with the invention by Lee De Forest of the triode, which made
electrical amplification of weak radio signals and audio signals possible with a non-mechanical device. Until 1950 this
field was called "radio technology" because its principal application was the design and theory of radio
transmitters, receivers, and vacuum tubes.
Today, most electronic devices use semiconductor components to perform electron control. The study of
semiconductor devices and related technology is considered a branch of solid-state physics, whereas the design and
construction of electronic circuits to solve practical problems come under electronics engineering. This article focuses
on engineering aspects of electronics.
Branches of electronics
1. Digital electronics
2. Analogue electronics
3. Microelectronics
4. Circuit Design
5. Integrated circuit
6. Optoelectronics
7. Semiconductor
8. Semiconductor device
An electronic component is any physical entity in an electronic system used to affect the electrons or their
associated fields in a manner consistent with the intended function of the electronic system. Components are
generally intended to be connected together, usually by being soldered to a printed circuit board (PCB), to create an
electronic circuit with a particular function (for example an amplifier, radio receiver, or oscillator). Components may
be packaged singly, or in more complex groups as integrated circuits. Some common electronic components
are capacitors, inductors, resistors, diodes, transistors, etc. Components are often categorized as active (e.g.
transistors and thyristors) or passive (e.g. resistors, diodes, inductors and capacitors).
Digital Circuits
Digital circuits are electric circuits based on a number of discrete voltage levels. Digital circuits are the most
common physical representation of Boolean algebra, and are the basis of all digital computers. To most engineers,
the terms "digital circuit", "digital system" and "logic" are interchangeable in the context of digital circuits. Most digital
circuits use a binary system with two voltage levels labeled "0" and "1". Often logic "0" will be a lower voltage and
referred to as "Low" while logic "1" is referred to as "High". However, some systems use the reverse definition ("0" is
"High") or are current based. Quite often the logic designer may reverse these definitions from one circuit to the next
as he sees fit to facilitate his design. The definition of the levels as "0" or "1" is arbitrary.
Ternary (with three states) logic has been studied, and some prototype computers made.
Computers, electronic clocks, and programmable logic controllers (used to control industrial processes) are
constructed of digital circuits. Digital signal processors are another example.
Building blocks:
Logic gates
Adders
Flip-flops
Counters
Registers
Multiplexers
Schmitt triggers
Highly integrated devices:
Microprocessors
Microcontrollers
Application-specific integrated circuit (ASIC)
Digital signal processor (DSP)
Field-programmable gate array (FPGA)
Pin Configurations
CD 4033 IC