Professional Documents
Culture Documents
Published by McGraw Hill LLC, 1325 Avenue of the Americas, New York, NY 10121. Copyright ©2022 by
McGraw Hill LLC. All rights reserved. Printed in the United States of America. No part of this publication
may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system,
without the prior written consent of McGraw Hill LLC, including, but not limited to, in any network or other
electronic storage or transmission, or broadcast for distance learning.
Some ancillaries, including electronic and print components, may not be available to customers outside the
United States.
1 2 3 4 5 6 7 8 9 LWI 24 23 22 21
ISBN 978-1-260-59786-8
MHID 1-260-59786-5
All credits appearing on page or at the end of the book are considered to be an extension of the copyright page.
The Internet addresses listed in the text were accurate at the time of publication. The inclusion of a website
does not indicate an endorsement by the authors or McGraw Hill LLC, and McGraw Hill LLC does not
guarantee the accuracy of the information presented at these sites.
mheducation.com/highered
page v
Contents
Preface ix
Acknowledgments x
Walkthrough xii
About the Author xiv
Safety xv
Summary 145
Correlated Experiments 146
Chapter Review Questions 146
Critical Thinking Questions 150
Answers to Self-Tests 150
Preface
Digital Electronics: Principles and Applications, ninth edition, is an easy-to-read introductory text for students
new to the field of digital electronics. Providing entry-level knowledge and skills for a wide range of
occupations is the goal of this textbook and its ancillary materials. Prerequisites are general math and
introductory electricity/electronics. Binary math, Boolean concepts, simple programming, and various codes
are introduced and explained as needed. Concepts are connected to practical applications, and a systems
approach is followed that reflects current practice in industry. Earlier editions of the text have been used
successfully in a wide range of programs: electronic technology, electrical trades and apprenticeship training,
computer repair, communications electronics, and computer science, to name a few. This concise and practical
text can be used in any program needing a quick and readable overview of digital principles.
Chapter 1
• Expanded the formulas and examples.
• Revised the section on the oscilloscope.
Chapter 2
• Revised and expanded the section on binary to decimal conversion.
• Expanded the Bit, Bytes, Nibbles, and Words section.
Chapter 3
• Revised and expanded the section on the universal NAND gate.
• Added a new section on the use of a NOR gate as a universal gate.
• Revised the coverage of DeMorgan’s theorem.
• Revised the Summary section.
Chapter 4
• Added a new section on Boolean algebra.
• Expanded the coverage of Karnaugh maps.
• Revised the Summary section.
Chapter 5
• Expanded the section on digital IC specifications.
• Added new examples for the calculation of fan-out and power dissipation.
Chapter 6
• Revised the coverage of the ASCII codes.
Chapter 8
• Revised and expanded the section on ripple counters.
Chapter 11
• Revised the coverage of optical storage devices.
Chapter 12
• Introduced a real-time clock IC in the LSI digital clock section.
• Expanded the coverage of distance measurement using ultrasound.
Chapter 13
• Expanded the section on the microcomputer.
Chapter 14
• Revised the coverage of operational amplifiers in D/A conversion.
page 321
Additional Resources
An Experiments Manual for Digital Electronics contains a comprehensive test, a variety of hands-on lab
exercises and experiments, and additional problems for each chapter in the textbook.
McGraw-Hill Connect includes comprehensive Multisim files, keyed to circuits found in the ninth edition,
and a Multisim primer, which provides a tutorial on the software for new users.
Instructors can access instructor resources on McGraw-Hill Connect to find a wide selection of
information including:
• An Instructor’s Manual that includes a list of the parts and equipment needed to perform lab experiments,
learning outcomes for each chapter, answers to chapter review questions and problems, and more.
• PowerPoint presentations that provide comprehensive coverage of the topics in each chapter. A set of
questions at the end of each chapter’s slide deck provides a review of the topics covered.
• An image library that contains all of the figures presented in this textbook.
• A test bank with questions for each chapter.
New remote proctoring and browser-locking capabilities, hosted by Proctorio within Connect, provide control
of the assessment environment by enabling security options and verifying the identity of the student.
Seamlessly integrated within Connect, these services allow instructors to control students’ assessment
experience by restricting browser activity, recording students’ activity, and verifying students are doing their
own work.
Instant and detailed reporting gives instructors an at-a-glance view of potential academic integrity
concerns, thereby avoiding personal bias and supporting evidence-based claims.
page x
Acknowledgments
Roger Tokheim thanks family members Marshall, Rachael, Dan, Jack, Ben, and Carrie for their help on this
project.
Patrick Hoppe would like to thank his wife Rose and the team at McGraw-Hill for their invaluable help on
this project: Theresa Collins, Product Development Coordinator; Beth Baugh, Product Developer; Carey
Lange, Copy Editor; Sandy Wille and Jane Mohr, Content Project Managers; David Hash, Designer; and
Lorraine Buczek, Content Licensing Specialist.
page xi
page xii
Walkthrough
Digital Electronics: Principles and Applications, ninth edition, is designed for a first course in digital
electronics. It provides a concise, modern, and practical approach that’s suitable for a range of electricity and
electronics programs. With its easy-to-read style, numerous full-color illustrations, and accessible math level,
the text is ideal for readers who need to learn the essentials of digital electronics and apply them to on-the-job
situations.
page xiii
page xii
Over several decades, Roger L. Tokheim has published many textbooks and lab manuals in the areas of digital
electronics and microprocessors. His books have been translated into nine languages. He taught technical
subjects including electronics for more than 35 years in public schools.
Patrick Hoppe has been the Division Chair for Engineering Technology and lead electronics instructor at
Gateway Technical College for the past 21 years. He is also the coauthor of Electronic Principles, 9th edition
(McGraw-Hill) and its Experiments Manual. Pat has received state and national awards for his teaching,
including the NISOD Excellence award.
page xv
Safety
Electric and electronic circuits can be dangerous. Safe practices are necessary to prevent electrical shock, fires,
explosions, mechanical damage, and injuries resulting from the improper use of tools.
Perhaps the greatest hazard is electrical shock. A current through the human body in excess of 10
milliamperes can paralyze the victim and make it impossible to let go of a “live” conductor or component. Ten
milliamperes is a rather small amount of current flow: It is only ten one-thousandths of an ampere. An
ordinary flashlight can provide more than 100 times that amount of current!
Flashlight cells and batteries are safe to handle because the resistance of human skin is normally high
enough to keep the current flow very small. For example, touching an ordinary 1.5-V cell produces a current
flow in the microampere range (a microampere is one-millionth of an ampere). The amount of current is too
small to be noticed.
High voltage, one the other hand, can force enough current through the skin to produce a shock. If the
current approaches 100 milliamperes or more, the shock can be fatal. Thus, the danger of shock increases with
voltage. Those who work with high voltage must be properly trained and equipped.
When human skin is moist or cut, its resistance to the flow of electricity can drop drastically. When this
happens, even moderate voltages may cause a serious shock. Experienced technicians know this, and they also
know that so-called low-voltage equipment may have a high-voltage section or two. In other words, they do
not practice two methods of working with circuits: one for high voltage and one for low voltage. They follow
safe procedures at all times. They do not assume protective devices are working. They do not assume a circuit
is off even though the switch is in the OFF position. They know the switch could be defective.
Even a low-voltage, high-current-capacity system like an automotive electrical system can be quite
d anger ous . Short - circui t ing such a s ystem wi t h a ring or metal wat chband can caus e ve ry s evere bur ns—-
especially when the ring or band welds to the points being shorted.
As your knowledge and experience grow, you will learn many specific safe procedures for dealing with
electricity and electronics. In the meantime:
1. Always follow procedures.
2. Use service manuals as often as possible. They often contain specific safety information. Read, and
comply with, all appropriate material safety data sheets.
3. Investigate before you act.
4. When in doubt, do not act. Ask your instructor or supervisor.
12.Use only an approved fire extinguisher for electrical and electronic equipment. Water can conduct
electricity and may severely damage equipment. Carbon dioxide (CO2) or Halotron-type extinguishers
are usually preferred. Foam-type extinguishers may also be desired in some cases. Commercial fire
extinguishers are rated for the type of fires for which they are effective. Use only those rated for the
proper working conditions.
13.Follow directions when using solvents and other chemicals. They may be toxic, flammable, or may
damage certain materials such as plastics. Always read and follow the appropriate material safety data
sheets.
14.A few materials used in electronic equipment are toxic. Examples include tantalum capacitors and
beryllium oxide transistor cases. These devices should not be crushed or abraded, and you should wash
your hands thoroughly after handling them. Other materials (such as heat shrink tubing) may produce
irritating fumes if overheated. Always read and follow the appropriate material safety data sheets.
15.Certain circuit components affect the safe performance of equipment and systems. Use only exact or
approved replacement parts.
16.Use protective clothing and safety glasses when handling high-vacuum devices such as picture tubes and
cathode-ray tubes.
17.Don’t work on equipment before you know proper procedures and are aware of any potential safety
hazards.
18.Many accidents have been caused by people rushing and cutting corners. Take the time required to
protect yourself and others. Running, horseplay, and practical jokes are strictly forbidden in shops and
laboratories.
19.Never look directly into light emitting diodes or fiber- optic cables; some light sources, although
invisible, can cause serious eye damage.
Circuits and equipment must be treated with respect. Learn how they work and the proper way of working
on them. Always practice safety. Your health and life depend on it.
Electronics workers use specialized safety knowledge.
Light Poet/Shutterstock
page 1
Learning Outcomes
This chapter will help you to:
1-1 Identify several characteristics of digital circuits as opposed to analog circuits. Differentiate
between digital and analog signals, and identify the HIGH and LOW portions of a digital
waveform.
1-2 Classify the signals (analog or digital) in several application circuits. Analyze the operation of
several liquid-measuring circuits. Explain why converting analog inputs (currents and voltages)
from sensors to digital form can be useful.
1-3 List several common pieces of electronic gear that contain digital circuitry. Discuss the demand
for computer and electronics technicians, and identify training opportunities.
1-4 List three types of multivibrators, and describe how they generate types of digital signals.
Analyze several multivibrators and switch debouncing circuits.
1-5 Analyze several logic-level indicator circuits. Interpret logic probe readings during testing of a
digital circuit. Understand the definitions of HIGH, LOW, and undefined when observing logic
levels in both TTL and CMOS digital circuitry.
1-6 Demonstrate the use of several lab instruments.
E ngineers generally classify electronic circuits as being either analog or digital in nature. Historically, most
electronic products contained analog circuitry. Most newly designed electronic devices contain digital
circuitry. This chapter introduces you to the world of digital electronics.
What are the clues that an electronic product contains digital circuitry? Signs that a device contains digital
circuitry include:
Identifying digital products
1. Does it have a display that shows numbers, letters, pictures, or video?
2. Does it have a memory or can it store information?
3. Can the device be programmed?
4. Can it be connected to the Internet?
If the answer to any one of the four questions is yes, then the product probably contains digital circuitry.
Digital circuitry is quickly becoming pervasive because of its advantages over analog including:
Advantages of digital
1. Generally, digital circuits are easier to design using modern integrated circuits.
2. Information storage is easier to implement with digital.
3. Devices can be made programmable with digital.
4. More accuracy and precision are possible.
5. Digital circuitry is less affected by unwanted electrical interference called noise.
All persons working in electronics must have knowledge of digital electronic circuits. You will use simple
integrated circuits and displays to demonstrate the principles of digital electronics.
1-1 What Is a Digital Signal? page 2
In your experience with electricity and electronics you have probably used analog circuits. The circuit in Fig. 1-
1(a) puts out an analog signal or voltage. As the wiper on the potentiometer is moved upward, the voltage from
points A to B gradually increases. When the wiper is moved downward, the voltage gradually decreases from 5
to 0 volts (V). The waveform diagram in Fig. 1-1(b) is a graph of the analog output. On the left side the voltage
from A to B is gradually increasing to 5 V; on the right side the voltage is gradually decreasing to 0 V. By
stopping the potentiometer wiper at any midpoint, we can get an output voltage anywhere between 0 and 5 V.
An analog device, then, is one that has a signal which varies continuously in step with the input.
Fig. 1-1 (a) Analog output from a potentiometer. (b) Analog signal waveform.
Analog signal
A digital device operates with a digital signal. Figure 1-2(a) pictures a square-wave generator. The
generator produces a square waveform that is displayed on the oscilloscope. The digital signal is only at +5 V
or at 0 V, as diagrammed in Fig. 1-2(b). The voltage at point A moves from 0 to 5 V. The voltage then stays at
+5 V for a time. At point B the voltage drops immediately from +5 to 0 V. The voltage then stays at 0 V for a
time. Only two voltages are present in a digital electronic circuit. In the waveform diagram in Fig. 1-2(b) these
voltages are labeled HIGH and LOW. The HIGH voltage is +5 V; the LOW voltage is 0 V. Later we shall call
the HIGH voltage (+5 V) a logical 1 and the LOW voltage (0 V) a logical 0. Circuits that handle only HIGH
and LOW signals are called digital circuits.
Another random document with
no related content on Scribd:
decide whether the claimant of a Patent has a right to it, can it be
sanctioned in granting a privilege blindfold which establishes a
temporary monopoly? According to my view, this is a formidable,
almost insurmountable, stumbling-block, which, in my deliberate
opinion, will always stand in the way of a good and efficient Law of
Patents. I, therefore, am of opinion that no other satisfactory course
is open to us than to abolish Patents.
M. van Voorthuysen will not enter into many details, the subject
having been considered both from a juridical and an economical
point of view. He will, therefore, restrict himself to a few remarks on
M. Heemskerk’s speech. The hon. member acknowledges the
satisfaction the project gives him; it gratifies the feelings to which he
has given vent a great many times. It has been said that the
measure was a step backward, as Patents have taken the place of
exclusive privileges to guilds. At the time the Patent-right was
assuredly an improvement on the then existing system; but we have
been progressing so much since then that at present nothing short of
abolition will satisfy the wants of progress. He also refers to the
conclusion arrived at by Lord Stanley, which point M. Heemskerk has
left unnoticed—viz., 1st, that it is impossible to reward all who
deserve to be rewarded; 2nd, that it is impossible to reward
adequately to the service rendered to society at large; 3rd, that it is
impossible to hold third parties harmless from damage. And, in fact,
the alleged instance of the Daguerre prize having been divided with
another who equally proved his claim to the invention, speaks for
itself. It is doubtful who was the first inventor of the steam-engine;
there are several, at least, who claim the invention as their own.
There is another point he feels bound to refer to. M. Heemskerk has
said that abolishing Patents constitutes an attack upon the right of
property, and that deputy cautions against a first step, perhaps to be
followed up by others. This being a very serious inculpation, the hon.
member has asked the opinion of an eminent jurist, whom he will not
name as yet, whose authority M. Heemskerk is not likely to deny,
and who is in many respects congenial with that esteemed deputy.
The hon. member reads that opinion of one of the foremost
opponents of Patent-right, who calls it an obnoxious and intolerable
monopoly. And who is that clever jurist? It is M. Wintgens, who very
likely owed to his extraordinary acquirements in law matters his
appointment to the Department of Justice in the Heemskerk van
Zuylen Ministry.
M. Fock (Secretary of State for Home Affairs) will not have much
to say, after all which has been argued in yesterday’s and to-day’s
Session, in defence of the project. Nevertheless he will indulge in a
few remarks on the final report. With a view to the same, M.
Heemskerk submits the maintenance of Patents for inventions, but
the repeal of those “of admission.” But the Minister calls the attention
of the House to the circumstance that the Patents for inventions
which are being granted may aggregate to ten a year or thereabout.
What should remain for us to keep? Or else agents here will apply
for Patents on foreign inventions, so that “Patents of admission” will
re-appear under a different denomination. M. Godefroi has already
pointed to instances abroad, and the Minister can but add that,
despite M. Heemskerk’s assertion to the contrary, the Prussian
Government is by no means favourably disposed to the Patent-Law.
In December, 1868, Count von Bismarck addressed a message to
the North German Confederation, embodying the opinion of the
Prussian Government in favour of repeal, and even hinting that
Prussia would not mind taking the lead in the matter.[9] After entering
into a few more details concerning the final report, the Minister once
more demonstrates that Patents are great impediments to industry
and free-trade, and that it is in the public’s interest that they should
be abolished. The Netherlands, having once been foremost in doing
away with the tax on knowledge, must not now shrink from
conferring entire freedom on the field of industry. That is no reaction.
Is it reaction to break off with an intolerable state of things? No; it is
progress, and leads to free development. The Minister concludes
with a citation from Michel Chevalier, and declines to take M.
Heemskerk’s hint of deferring the discussion on the project.
M. Heemskerk Azn replies. He tenders thanks for the urbanity
observed throughout the discussion. But it is undeniable that his
opinion agrees with the existing right and the prevalent ideas in
Europe and America. Of course, if revocation is intended,
improvement of the law has to be given up. In reply to the Minister,
he has no doubt but that the desire for revocation originated in
Prussia, but he has said that in Germany the tide has turned in
favour of Patents, on the strength of the “Deutsche Industrie Zeitung”
and Klosterman’s recent work. The revocation of the Patent-Law
may have been contemplated, but the Prussian Government is not
now disposed to have the idea carried out. He asks but for what the
English equally asked for—i.e., a renewed inquiry. What, after all, is
foreign experience to the exercise of law in the Netherlands? How
does the project tally with the establishment of a new division of
industry in the Department for Internal Affairs, the chief occupation of
which is the granting of Patents? He will not argue with the Minister
on general remarks, but merely on the one relating to the abolition of
newspaper stamps. Why has that tax been repealed? If henceforth a
larger quantity of paper be covered with print, the tax has most likely
been done away with to promote the diffusion of general knowledge.
He supposes, however, the Minister will agree with Cicero, who says
that fame acquired by means of deeds which are not useful is but
vanity. The stamp duty has been repealed in order to be useful. And
in the present case, will the Minister deny all benefits to him who
does his utmost, so as to be useful? He replies also to the several
members who have made speeches; he contradicts M. de Bruyn
Kops about a general disposition supposed to exist in France
towards revocation of Patent-Laws. Michel Chevalier only has
changed his mind, but there is no opinion prevailing against Patents.
Quite recently both Joseph Garnier and Wolowski have refuted
Chevalier’s arguments.
The hon. member further insists upon his interpretation of the
Parliamentary debates in England, and names several instances of
inventors having acquired wealth. He does not admit that there is a
difference between Patent-right and Copyright; imitation of articles of
fabrication is, and will remain, as immoral as it is unfair. He shrinks
from touching the legal side of the question, but asks whether,
because of the Patent-right being restricted to a fixed time, the
conclusion must needs be drawn that absolutely no right should
exist, and that there should be no plea in equity whatever for an
inventor to get rewarded for his labours? Does the abstract question
of occupation of immaterial things cripple that hypothesis in any
way? He considers it from a more general and social point of view,
and vindicates his assertion that an inventor is entitled to a certain
amount of protection for his work, by which, at all events, he renders
a service to society; that Patents are incitements to many useful
inventions and to industry, which is equally M. de Bruyn Kops’
opinion, as stated in his work on political economy. He has been
asked why, when in the Ministry, he did not introduce a Patent
Reform Law. In the first place, he begs to observe that much was to
be done then, and besides, considering the smallness of our country,
he indulged in the anticipation that the idea of an international
agreement might gradually have gained ground. Should he,
however, have lived longer (politically speaking), he would most
likely have introduced a Bill for remodelling the Patent-Law. As for M.
Wintgen’s opinion, it is almost superfluous to say that one is not
bound to have in every respect homogeneous ideas with one’s
political friends. In reply to the question why, as a member of the
House, he does not make a proposal, he accepts the invitation, and
will in September next be prepared to take, as a member of the
House, the initiative of presenting a Bill for Reforming the Patent-
Law, provided the project now pending be no longer discussed.
M. Van Zinnick Bergmann replies, and maintains his opinion
about the justice of the Patent-right.
M. de Bruyn Kops refutes M. Heemskerk’s reply, and
demonstrates, by means of fresh examples, that the Patent-right is
intolerable and most obnoxious. He considers the question now
merely economically; MM. van Houten and Godefroi having so ably
discussed the legal points. The large benefits acquired by a few are,
as taken from his point of view, prejudicial to the public at large, and
against these few advantages there are great damages, as large
capitals dwindle away in the chase for the snare of Patents. M.
Heemskerk himself favours the revocation of Patents on the right “of
admission.” What is left after that? Nothing but the Patents of
invention. Why not try entire freedom and removal of all
impediments?
M. Godefroi will add one word more with reference to M.
Heemskerk’s readiness in accepting the challenge, of framing a new
project of law, and he must say that, whatever be the nature of such
proposal, it can hardly be expected to satisfy those who condemn
the principles of Patent-Law. But the orator who is so well posted
must certainly have framed already the main points from which the
project would have to be formed. By stating and explaining those
points, he would have done more service to the House than by mere
opposition to those who favour abolition. The hon. member repeats
the important query, whether Patents should be granted without
previously inquiring into the merits of the case; and then Government
would have to give its opinion just as well on an improved chignon as
on an improved steam-engine.
M. Gefken gives his motives for voting in favour of the project. He
says, where there is a right of property, it must be permanent, and
even transferable to the heirs; but a guarantee for a few years would
not do. He consequently does not recognise the right of property,
and merely considers the question with a view to usefulness; and, as
far as that goes, his experience in administrative and juridical offices
has taught him that Patents are not actually useful, and, on the
contrary, lead to speculation and impede the development of many a
useful concern. He favours free competition.
M. van Voorthuysen will not revert to M. Bergmann’s remark
about his being accustomed to recapitulate the debates, but denies
having intended to force upon him the authority of M. Wintgen’s
opinion. Such is not the case; but the fact of the opinions of two such
jurists as MM. Godefroi and Wintgen agreeing has set his mind at
rest as far as legal opinion is concerned.
M. Heemskerk Azn replies to M. Godefroi, and does not see why
he should just now go and sketch his project. Give him time and
opportunity, and he will introduce a Bill, provided this project be
deferred; and, in fact, what are they making such haste for?
Minister Fock maintains his sayings about the Prussian
Government favouring revocation, and further explains that the new
division in his department has no connexion with Patents, but was
made so as to concentrate all matters referring to industry. As for the
right of property in inventions, he would merely add that, according
to our legislation, Patents are but favours, which may be granted or
not, as the case may be.
Hereupon the discussion is closed.
With reference to Art. 1, M. Lenting asks, why the date on which
the new law has to take effect should be fixed for the 1st January
next. He would prefer that the words be, “After the day of the
publication of the law;” then no new Patents would be granted, those
already applied for only excepted.
The Minister inserts the amendment, after which Arts. 1 and 2 are
passed.
The project is then put to the vote, and passes the House by 49
ayes against 8 noes.
Against it voted MM. Bichon, Blussé, Vader, Hofmann, Heemskerk
Azn, Van Wassenaer, and Van Zinnick Bergmann.