An Introduction To Digital Design
By Jason King
2/5
()
About this ebook
A systematic study of Digital Design techniques and circuit analysis, culminating in 4 major design and build projects involving numerous types of digital circuits and concepts.
Scattered throughout the text are 36 research and study questions making this book suitable for both personal and group study. To enhance the learning experience the workbook includes more than 160 diagrams, charts and circuits!
Jason King
Lives in Geelong, Australia. Born 1971 Married with 4 boys Upcoming Books include: - An Introduction to AI Coding - An Introduction to Microprocessors Thank you to Marcus Hayden for the sepia icon artwork used throughout my study books. www.art.mdhayden.com
Read more from Jason King
An Introduction To Physics (Classical Mechanics) Rating: 0 out of 5 stars0 ratingsAn Introduction to Physics (Material Science Metallurgy) Rating: 0 out of 5 stars0 ratingsAn Introduction To Data Acquisition Rating: 0 out of 5 stars0 ratingsAn Introduction to Stock Market Investing Rating: 0 out of 5 stars0 ratingsBiblical Basics Rating: 0 out of 5 stars0 ratingsPromise of Eternity Rating: 0 out of 5 stars0 ratingsWords of Eternity Rating: 0 out of 5 stars0 ratings50 Reasons Why My Wife Is Amazing Rating: 0 out of 5 stars0 ratings
Related to An Introduction To Digital Design
Related ebooks
The Basics of Electronics Rating: 0 out of 5 stars0 ratingsBeginning Analog Electronics through Projects Rating: 3 out of 5 stars3/5Handbook of Electronics Formulas and Calculations - Volume 2 Rating: 0 out of 5 stars0 ratingsBasic Electronics: Book 2 Rating: 5 out of 5 stars5/5Circuit bench - 100 shields for arduino Rating: 0 out of 5 stars0 ratingsElectronic Components and Systems Rating: 5 out of 5 stars5/5Analog Dialogue, Volume 46, Number 3 Rating: 0 out of 5 stars0 ratingsTroubleshooting Electronic Components With The PET Bloodhound Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 48, Number 1 Rating: 4 out of 5 stars4/5CMOS Circuits Manual Rating: 0 out of 5 stars0 ratingsIntroduction to Digital Electronics Rating: 4 out of 5 stars4/5Newnes Digital Logic IC Pocket Book Rating: 5 out of 5 stars5/5Electronics Explained: Fundamentals for Engineers, Technicians, and Makers Rating: 5 out of 5 stars5/5Electronic Diagrams Rating: 4 out of 5 stars4/5Handbook of Electronics Formulas and Calculations - Volume 1 Rating: 0 out of 5 stars0 ratingsAntti-Brain Vol I Rating: 0 out of 5 stars0 ratingsAnalog Dialogue, Volume 47, Number 1 Rating: 0 out of 5 stars0 ratingsTransistor Circuit Design Tables Rating: 5 out of 5 stars5/5Understand Electronics Rating: 5 out of 5 stars5/5Digital Electronics Demystified Rating: 0 out of 5 stars0 ratingsThe Circuit Designer's Companion Rating: 4 out of 5 stars4/5Mims Circuit Scrapbook V.I. Rating: 5 out of 5 stars5/5Practical Electronics Handbook Rating: 4 out of 5 stars4/5Reference Guide To Useful Electronic Circuits And Circuit Design Techniques - Part 1 Rating: 3 out of 5 stars3/5Electronics Rating: 0 out of 5 stars0 ratingsFun Projects for the Experimenter - volume 2 Rating: 0 out of 5 stars0 ratingsFPGAs: Instant Access Rating: 0 out of 5 stars0 ratingsA Guide to Printed Circuit Board Design Rating: 4 out of 5 stars4/5Practical Design of Digital Circuits: Basic Logic to Microprocessors Rating: 5 out of 5 stars5/5Electronics: A Course Book for Students Rating: 0 out of 5 stars0 ratings
Electrical Engineering & Electronics For You
Electrical Engineering 101: Everything You Should Have Learned in School...but Probably Didn't Rating: 5 out of 5 stars5/5Schaum's Outline of Basic Electricity, Second Edition Rating: 5 out of 5 stars5/5Electrical Engineering Rating: 4 out of 5 stars4/5DIY Lithium Battery Rating: 3 out of 5 stars3/5Practical Electrical Wiring: Residential, Farm, Commercial, and Industrial Rating: 4 out of 5 stars4/5The Homeowner's DIY Guide to Electrical Wiring Rating: 5 out of 5 stars5/5How to Diagnose and Fix Everything Electronic, Second Edition Rating: 4 out of 5 stars4/5Electricity for Beginners Rating: 5 out of 5 stars5/5Understanding Automotive Electronics: An Engineering Perspective Rating: 4 out of 5 stars4/5Electrician's Pocket Manual Rating: 0 out of 5 stars0 ratingsBeginner's Guide to Reading Schematics, Fourth Edition Rating: 4 out of 5 stars4/5Programming the Raspberry Pi, Third Edition: Getting Started with Python Rating: 5 out of 5 stars5/5Beginner's Guide to Reading Schematics, Third Edition Rating: 0 out of 5 stars0 ratingsSolar & 12 Volt Power For Beginners Rating: 4 out of 5 stars4/5Upcycled Technology: Clever Projects You Can Do With Your Discarded Tech (Tech gift) Rating: 5 out of 5 stars5/5Understanding Electricity Rating: 4 out of 5 stars4/5Electronics Explained: Fundamentals for Engineers, Technicians, and Makers Rating: 5 out of 5 stars5/5Electronics Engineering Rating: 0 out of 5 stars0 ratingsBasic Electricity Rating: 4 out of 5 stars4/5Starting Electronics Rating: 4 out of 5 stars4/5Electrical Engineering: Know It All Rating: 4 out of 5 stars4/5Raspberry Pi Electronics Projects for the Evil Genius Rating: 3 out of 5 stars3/5Off-Grid Projects: Step-by-Step Guide to Building Your Own Off-Grid System Rating: 0 out of 5 stars0 ratingsElectric Circuits Essentials Rating: 5 out of 5 stars5/5Raspberry Pi Projects for the Evil Genius Rating: 0 out of 5 stars0 ratingsVery Truly Yours, Nikola Tesla Rating: 5 out of 5 stars5/5Programming Arduino: Getting Started with Sketches Rating: 4 out of 5 stars4/5The Fast Track to Your Technician Class Ham Radio License: For Exams July 1, 2022 - June 30, 2026 Rating: 5 out of 5 stars5/5C++ Programming Language: Simple, Short, and Straightforward Way of Learning C++ Programming Rating: 4 out of 5 stars4/5
Reviews for An Introduction To Digital Design
1 rating0 reviews
Book preview
An Introduction To Digital Design - Jason King
Introduction to Digital Design
Published by Jason King at Smashwords
Copyright 2014 Jason King
Smashwords Edition, License Notes
This eBook is licensed for your personal education and enjoyment only. This eBook may not be re-sold or copies passed on. If you would like to share this book with another person, please purchase an additional copy for each recipient.
If you’re reading this book and did not purchase it, please return to Smashwords.com and purchase your own copy. Thank you for respecting the hard work of this author.
All images produced by Jason King using MS PowerPoint and MS Paint, except for the sepia icons which were created by Marcus Hayden under paid contract from the author.
Contents
1 Introduction
1.1 Workbook Overview
1.2 Logic Gates
2 Designing Logic Circuits
2.1 Boolean Algebra
2.2 K-Maps
2.3 State Diagrams
2.4 Equivalent Circuits
3 Building Logic Circuits
3.1 Comparator
3.2 Binary Coded Decimal
3.3 Adder
3.4 Subtracter
3.5 Encoder
3.6 Multiplexor and De-multiplexor
3.7 Multivibrators
3.8 Latches and Flip-Flops
3.9 Shift Registers
3.10 Counters
3.11 Timers and Clocks
3.12 UART
3.13 Timing Considerations
4 Interfacing
4.1 Relay Isolator
4.2 Opto-Coupler
4.3 Digital to Analogue Conversion
4.4 Analogue to Digital Conversion
4.5 Displays
4.6 Power Supplies
4.7 RS232 Conversion
4.8 Memory
5 Projects
5.1 Combination Lock
5.2 Electronic Dice
5.3 Traffic Lights
5.4 Ten Pin Bowling
6 Closing
7 Task and Project Solutions
1 Introduction
It is said that we live in a digital simulation and that everything from light, sound, matter etc operates at discrete digital increments. Indeed, Planck’s Length for example suggests space is made up of increments of approximately 1.616x10-35 meters. As another example Planck’s time consists of 5.391x10-44 second increments.
Everything you may have therefore though of as Analogue in nature should technically be defined as Digital (of very high resolution).
Consider the possibilities of a Digital world while enjoying this brief introduction to the topic.
1.1 Workbook Overview
This study will introduce you to the world of digital logic and design and explore the foundational element of digital circuits, the Logic Gate. We will then expand into digital circuit design, specialist Integrated Circuits and finally put the theory into practice by designing and building 4 projects.
Scattered throughout each chapter are research and study tasks making this book suitable for both personal and group study.
Basic electronic (Analogue and Digital) understanding is assumed.
TASK 1: Find out who Charles Babbage was and what contribution he made to computing logic.
1.2 Logic Gates
The binary digits 0 and 1 are what first come to mind when the word Digital
is mentioned in the vicinity of electronics mined people. In terms of electronics, Digital refers to discrete quantities or values as apposed to analogue which refers to infinitely variable values.
Note: Something to ponder. Research in the field of quantum physics suggests the entire universe and everything within it can be considered as a digital simulation in that every measurable quantity is quantized into discrete indivisible units. I.e. there is no such things as analogue quantities, just very high resolution digital samples that appear
contiguous.
Using the binary system for electronic design has many benefits including:
- Two digits can easily be represented electrically by the two states electricity on
and electricity off
, voltage high/low, polarity +/- etc.
- A language or coded way of representing logic can be constructed using the two digits.
- Mathematical calculations can be easily and quickly represented and performed.
- Others?
Once the binary standard is selected to construct
the electronic language, a standard has to be defined as to what electrical voltage levels would represent a digital 1 and digital 0. The 5 volt standard was derived by default from the operating requirements of the TTL (Transistor-Transistor Logic) developed in 1961 and first implemented into an IC (integrated circuit) as digital logic switches (or gates).
CMOS (complementary metal-oxide semiconductor) technology developed in 1963 uses the same 5V levels but with slightly different logic levels due to the chemical makeup of the gate.
Operational differences between TTL and CMOS technology do exist though:
- CMOS have high noise immunity, lower static (rest) power consumption, less wasted heat, allow for higher chip densities and have faster operation that TTL.
- CMOS disadvantages include higher power consumption with increases of clock speed, more complex design rules and sensitive to electrostatic discharges.
For these reasons and others, designs will typically use a combination of technology to suit the particular use.
Figure 1 – Digital Logic Levels.
Voltage levels within a circuit can be effected by load resistance, interference, distance etc resulting in the logic levels not being high or low enough to accurately represent the intended binary digit. Logic gate IC’s are designed with an eternal power supply so that influence on the processed logic in minimized.
The TTL related voltage diagram below shows:
A) A clear 5volt high signal representing a digital logic 1.
B) A clear 0volt low signal representing a digital logic 0.
C) A floating
signal that is undefined and could be miss-read by the logic as either a 1 or a 0.
D) A weak signal that may or may not be high long enough to be registered as a logic 1.
E) A pulsating signal that obviously wants to be a logic 1 but may not be high long enough to trigger the required input. The spike that goes above 5volts may also cause some internal damage.
Figure 2 – Logic Level Scenarios.
Rise time (and conversely fall time) is the time it takes for a logic state to change from one to another. Delays are typically caused by capacitance, inductance and resistances within the circuit. These time factors can also have an effect of weather a logic signal is able to trigger the required circuitry. Worth noting is that the logic sensing/switching gate requires a power supply itself.
Let us now look at the various types of digital logic gates.
The logic NOT gate is the most basic of all the gates. It simply inverts the input so that if the input is a high (binary digit 1) then the output is a low (binary digit 0) and vice versa, hence it is sometimes refereed to an as inverter. The chart below left indicates the state of the output for a given input. In the field of Digital electronics this chart is referred to as a Truth Table
.
Figure 3 – NOT Gate truth table and symbol.
The NOT gate symbol is a triangle with the input and output leads in the position as shown in the above right image. The output tip of the triangle will have a small circle which represents the fact that the