SlideShare a Scribd company logo
1 of 20
IS 151
Digital Circuitry
Mercy Mbise (PhD, Essex)

Aron Kondoro
IS 151 Digital Circuitry

1
Materials, Assessment and Contact
• Book
– Digital Fundamentals, Floyd, T.F
– Available in the Unit’s library – contact Mr. Mathew Mndeme

• Laboratory Software
– Deeds Digital Circuit Simulator – TC lab
– Laboratory Instructor – Mr. Mwasita (TA)

• Assessment:
– 60% exam
– 40% coursework

• Contact
– My contact is through your Class Representative

IS 151 Digital Circuitry

2
Digital vs. Analog Quantities
• Electronic circuits can be divided into two
broad categories
– 1. Analog Quantities
• Quantities with continuous values (most things that
can be measured quantitatively). E.g. air
temperature changes over a continuous range of
values; temperature does not change from, say 70
to 71 instantaneously; it takes on all infinite values
in between: see graph
• Other examples: time, pressure, distance and
sound
IS 151 Digital Circuitry

3
Digital vs. Analog Quantities
• Diagram: Temperature graph (page 2)
Temperature (F)

100

95

90

85

80

75

70

1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12

A.M

Time of Day

P.M

IS 151 Digital Circuitry

4
Digital vs. Analog Quantities
• Suppose temperature values are taken every
hour (sampling), the graph will look like:

IS 151 Digital Circuitry

5
Digital vs. Analog Quantities
• Diagram: Sampled Temperature graph (page 3)
Temperature (F)

100

95

90

85

80

75

70

1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12

A.M

Time of Day

P.M

IS 151 Digital Circuitry

6
Digital vs. Analog Quantities
• The sampled values represent the
temperature at discrete points over a 24hour period.
– i.e. 1,2,3 etc, which are discrete

• The analog quantity (temperature) have
been converted to a form that can be
represented in digital form

IS 151 Digital Circuitry

7
Digital vs. Analog Quantities
– 2. Digital Quantities
• Quantities with discrete values
• Data can be processed and transmitted
more efficiently and reliably
• Useful in data storage: e.g. music when
converted to digital can be stored more
compactly (e.g.mp3 music)

IS 151 Digital Circuitry

8
Data Representation Basics
• Computing systems are complex
devices, dealing with a variety of information
categories
• Computing systems store, present, and modify:
–
–
–
–
–

Text
Audio
Images and graphics
Video
Etc.
IS 151 Digital Circuitry

9
Binary Representation
• Why binary representation (as opposed to
decimal or octal, etc..)?
– Cost
• Devices that store and manage digital data are far less
expensive and complex for binary representation.

– Reliability
• More reliable when they have to represent one out of only
two possible values.

– Handling
• Electronic signals are easier to maintain if they carry only
binary data.
IS 151 Digital Circuitry

10
Binary Representation
• One bit can either be 0 or 1.
– Therefore, one bit can represent only two things – 1
and 0

• To represent more than two things, multiple bits
are needed
– Two bits can represent four things because there are
four combinations of 0 and 1 that can be made from
two bits: 00, 01, 10, 11.

• In general, n bits can represent 2n things
because there are 2n combinations of 0 and 1
that can be made from n bits.
IS 151 Digital Circuitry

11
Data Formats - How to Interpret
Data
• Internal representation must be
appropriate
– E.g. Images, sound, and video: have to be
digitized
• Images – need detailed description of the
data, how color is represented at each data point
• Sound – need sampling, digitizing
• Video – need sampling and digitizing in space and
time (because of motion)
IS 151 Digital Circuitry

12
Codes and Characters
• The problem:
– Representing text strings, such as
Hello, world in a computer

• Each character is coded as a byte (8 bits)
– including blank spaces, commas, full stops

• Most common coding system is ASCII
• To represent alphanumeric characters – 8 bits per character
– 7-bit code : 27 = 128 codes are used (128 characters can be
represented)
– 8th bit is unused (or used for a parity bit)

• Two types of codes:
– 95 are “Graphic” codes (visible)
• Alphabetic, numeric and punctuation characters

– 33 are “Control” codes (control features)
• Shift, delete, enter, etc.

IS 151 Digital Circuitry

13
Binary Digits
– In digital electronics, there are only two
possible states and can be represented by
• two different voltage levels: HIGH and LOW
• current levels: OPEN and CLOSED
• lamps: ON and OFF

– The two states are called codes, and
combinations of the two are used to represent
numbers, symbols, alphabetic characters and
other types of information
IS 151 Digital Circuitry

14
Binary Digits
– The two-state number system is called
binary, and the two digits in the binary system
are 0 and 1.
• A binary digit is called a bit (binary digit).

– In digital circuits, two voltage levels are used
to represent the two bits
• 1 – represented by a high voltage level (HIGH)
• 0 – represented by a low voltage level (LOW)
– POSITIVE LOGIC – will be used throughout!
– C.f. NEGATIVE logic:, 1 – LOW, 0 – HIGH
IS 151 Digital Circuitry

15
Logic Levels
– Logic levels are voltages used to represent a
1 and a 0.
– One voltage level represents a HIGH and one
voltage level represents a LOW.
– Practically, a HIGH or a LOW can be any
voltage between a specified minimum value
and a specified maximum.

IS 151 Digital Circuitry

16
Logic Levels
• Diagram: Logic level ranges (page 5)
VH(max)
HIGH (1)
VH(min)
Uncertain
VL(max)
LOW (0)
VL(min)

• From the figure, VH(max) and VH(min) represent the maximum and
minimum HIGH voltage values, respectively
• VL(max) and VL(min) represent the maximum and minimum LOW
voltage values, respectively.
• The range of voltages between VL(max) and VH(min) is a range of
uncertainty; a voltage in the range of uncertainty can appear as
either a HIGH or a LOW.
IS 151 Digital Circuitry

17
Logic Levels
• Examples:
– The high values of a certain digital circuit may
range from 2 V to 5 V and the LOW values
from 0 V to 0.8 V.
– If a voltage of 3.5 is applied, the circuit will
accept it as a HIGH (or binary 1); a voltage of
0.5 V will be accepted as a LOW (binary 0); a
voltage of 1 V will be uncertain

IS 151 Digital Circuitry

18
Exercises
• Differentiate between a digital and an analog quantity
• Give examples of digital and analog systems
• Classify the following into analog (continuous) or digital
(discrete)
– (a) Shades of colours in a TV program about landscapes
– (b) TV screen test pattern, white background, black dots
only
– (c) Days in a week, Mon, Tues, Wed, Thurs, Fri, Sat, Sun.
– (d) Sine wave
– (e) A musical symphony
– (f) Chairs/seats in a room
– (g) Integers -2, -1, 0, 1, 2, 3,...
– (h) All real numbers
IS 151 Digital Circuitry

19
• End of Lecture

IS 151 Digital Circuitry

20

More Related Content

What's hot

Digital electronics introduction
Digital electronics introductionDigital electronics introduction
Digital electronics introductionvanitabatra1
 
Switching theory Unit 1
Switching theory Unit 1Switching theory Unit 1
Switching theory Unit 1SURBHI SAROHA
 
Lecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of ThingsLecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of ThingsAlexandru Radovici
 
Key vocabulary 10 & 11 g
Key vocabulary 10 & 11 gKey vocabulary 10 & 11 g
Key vocabulary 10 & 11 gCDI Aljeer
 
Electronics for the Internet of Things
Electronics for the Internet of ThingsElectronics for the Internet of Things
Electronics for the Internet of ThingsAlexandru Radovici
 
Switching theory unit 2
Switching theory unit 2Switching theory unit 2
Switching theory unit 2SURBHI SAROHA
 
Advantage of binary number system
Advantage of binary number systemAdvantage of binary number system
Advantage of binary number systemSooraj Maurya
 
Digital Thermometer Arduino Based Abstract Details
Digital Thermometer Arduino Based Abstract DetailsDigital Thermometer Arduino Based Abstract Details
Digital Thermometer Arduino Based Abstract DetailsJustin George
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ajit kumar singh
 
Logic families(unit 4)
Logic families(unit 4)Logic families(unit 4)
Logic families(unit 4)SURBHI SAROHA
 
Bar code reader
Bar code reader   Bar code reader
Bar code reader BASIL BABU
 

What's hot (15)

Digital electronics introduction
Digital electronics introductionDigital electronics introduction
Digital electronics introduction
 
Two Bit Adder
Two Bit AdderTwo Bit Adder
Two Bit Adder
 
Switching theory Unit 1
Switching theory Unit 1Switching theory Unit 1
Switching theory Unit 1
 
Lecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of ThingsLecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of Things
 
Encoders
EncodersEncoders
Encoders
 
Key vocabulary 10 & 11 g
Key vocabulary 10 & 11 gKey vocabulary 10 & 11 g
Key vocabulary 10 & 11 g
 
Electronics for the Internet of Things
Electronics for the Internet of ThingsElectronics for the Internet of Things
Electronics for the Internet of Things
 
Switching theory unit 2
Switching theory unit 2Switching theory unit 2
Switching theory unit 2
 
Advantage of binary number system
Advantage of binary number systemAdvantage of binary number system
Advantage of binary number system
 
Digital Thermometer Arduino Based Abstract Details
Digital Thermometer Arduino Based Abstract DetailsDigital Thermometer Arduino Based Abstract Details
Digital Thermometer Arduino Based Abstract Details
 
Sensors and Peripherals
Sensors and PeripheralsSensors and Peripherals
Sensors and Peripherals
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
 
Logic families(unit 4)
Logic families(unit 4)Logic families(unit 4)
Logic families(unit 4)
 
Arduino Thermometer
Arduino ThermometerArduino Thermometer
Arduino Thermometer
 
Bar code reader
Bar code reader   Bar code reader
Bar code reader
 

Viewers also liked (18)

kmap
kmapkmap
kmap
 
02 combinational logic
02 combinational logic02 combinational logic
02 combinational logic
 
Ceng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer AdderCeng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer Adder
 
K-map method
K-map methodK-map method
K-map method
 
KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)
 
K map
K mapK map
K map
 
Applications of boolean algebra minterm and maxterm expansions
Applications of boolean algebra minterm and maxterm expansionsApplications of boolean algebra minterm and maxterm expansions
Applications of boolean algebra minterm and maxterm expansions
 
Minterm and maxterm
Minterm and maxtermMinterm and maxterm
Minterm and maxterm
 
Basics of K map
Basics of K mapBasics of K map
Basics of K map
 
Karnaugh Graph or K-Map
Karnaugh Graph or K-MapKarnaugh Graph or K-Map
Karnaugh Graph or K-Map
 
Kmap
KmapKmap
Kmap
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gates
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Ppt Digital Electronics
Ppt Digital ElectronicsPpt Digital Electronics
Ppt Digital Electronics
 
Digital electronics - Basics
Digital electronics - BasicsDigital electronics - Basics
Digital electronics - Basics
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for students
 

Similar to IS 151 (2013) Lecture 1

IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1wajanga
 
- DLD_Lecture_01.ppt
- DLD_Lecture_01.ppt- DLD_Lecture_01.ppt
- DLD_Lecture_01.pptAurora358969
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxabelllll
 
ICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxssuser71a3af
 
Chapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdfChapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdfTamiratDejene1
 
Digital Electronics Notes
Digital Electronics NotesDigital Electronics Notes
Digital Electronics NotesMathankumar S
 
IntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.pptIntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.pptYogeshNeelappa2
 
Lecture 1 introduction
Lecture 1   introductionLecture 1   introduction
Lecture 1 introductionBassem Hassan
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CAvinash Reddy Penugonda
 
Digital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxDigital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxMalikQadeer8
 
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Ra'Fat Al-Msie'deen
 
Analog and Digital Signals presenation.ppt
Analog and Digital Signals presenation.pptAnalog and Digital Signals presenation.ppt
Analog and Digital Signals presenation.pptAbdulWahabAslam3
 
AnalogDigitalSignals1.ppt signal inputs outputs
AnalogDigitalSignals1.ppt signal inputs outputsAnalogDigitalSignals1.ppt signal inputs outputs
AnalogDigitalSignals1.ppt signal inputs outputsMuhammedNazer
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardwareK. A. M Lutfullah
 

Similar to IS 151 (2013) Lecture 1 (20)

IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1
 
- DLD_Lecture_01.ppt
- DLD_Lecture_01.ppt- DLD_Lecture_01.ppt
- DLD_Lecture_01.ppt
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptx
 
ICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptx
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Chapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdfChapter 1_Introduction to digital design (EEEg4302).pdf
Chapter 1_Introduction to digital design (EEEg4302).pdf
 
DLD_Lecture_notes2.ppt
DLD_Lecture_notes2.pptDLD_Lecture_notes2.ppt
DLD_Lecture_notes2.ppt
 
Digital Electronics Notes
Digital Electronics NotesDigital Electronics Notes
Digital Electronics Notes
 
IntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.pptIntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.ppt
 
chapter 1.pptx
chapter 1.pptxchapter 1.pptx
chapter 1.pptx
 
Lecture 1 introduction
Lecture 1   introductionLecture 1   introduction
Lecture 1 introduction
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded C
 
Digital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxDigital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptx
 
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
 
Dld lecture module 01
Dld lecture module 01Dld lecture module 01
Dld lecture module 01
 
AnalogDigitalSignals1.ppt
AnalogDigitalSignals1.pptAnalogDigitalSignals1.ppt
AnalogDigitalSignals1.ppt
 
Analog and Digital Signals presenation.ppt
Analog and Digital Signals presenation.pptAnalog and Digital Signals presenation.ppt
Analog and Digital Signals presenation.ppt
 
AnalogDigitalSignals1.ppt signal inputs outputs
AnalogDigitalSignals1.ppt signal inputs outputsAnalogDigitalSignals1.ppt signal inputs outputs
AnalogDigitalSignals1.ppt signal inputs outputs
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardware
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

IS 151 (2013) Lecture 1

  • 1. IS 151 Digital Circuitry Mercy Mbise (PhD, Essex) Aron Kondoro IS 151 Digital Circuitry 1
  • 2. Materials, Assessment and Contact • Book – Digital Fundamentals, Floyd, T.F – Available in the Unit’s library – contact Mr. Mathew Mndeme • Laboratory Software – Deeds Digital Circuit Simulator – TC lab – Laboratory Instructor – Mr. Mwasita (TA) • Assessment: – 60% exam – 40% coursework • Contact – My contact is through your Class Representative IS 151 Digital Circuitry 2
  • 3. Digital vs. Analog Quantities • Electronic circuits can be divided into two broad categories – 1. Analog Quantities • Quantities with continuous values (most things that can be measured quantitatively). E.g. air temperature changes over a continuous range of values; temperature does not change from, say 70 to 71 instantaneously; it takes on all infinite values in between: see graph • Other examples: time, pressure, distance and sound IS 151 Digital Circuitry 3
  • 4. Digital vs. Analog Quantities • Diagram: Temperature graph (page 2) Temperature (F) 100 95 90 85 80 75 70 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 A.M Time of Day P.M IS 151 Digital Circuitry 4
  • 5. Digital vs. Analog Quantities • Suppose temperature values are taken every hour (sampling), the graph will look like: IS 151 Digital Circuitry 5
  • 6. Digital vs. Analog Quantities • Diagram: Sampled Temperature graph (page 3) Temperature (F) 100 95 90 85 80 75 70 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 A.M Time of Day P.M IS 151 Digital Circuitry 6
  • 7. Digital vs. Analog Quantities • The sampled values represent the temperature at discrete points over a 24hour period. – i.e. 1,2,3 etc, which are discrete • The analog quantity (temperature) have been converted to a form that can be represented in digital form IS 151 Digital Circuitry 7
  • 8. Digital vs. Analog Quantities – 2. Digital Quantities • Quantities with discrete values • Data can be processed and transmitted more efficiently and reliably • Useful in data storage: e.g. music when converted to digital can be stored more compactly (e.g.mp3 music) IS 151 Digital Circuitry 8
  • 9. Data Representation Basics • Computing systems are complex devices, dealing with a variety of information categories • Computing systems store, present, and modify: – – – – – Text Audio Images and graphics Video Etc. IS 151 Digital Circuitry 9
  • 10. Binary Representation • Why binary representation (as opposed to decimal or octal, etc..)? – Cost • Devices that store and manage digital data are far less expensive and complex for binary representation. – Reliability • More reliable when they have to represent one out of only two possible values. – Handling • Electronic signals are easier to maintain if they carry only binary data. IS 151 Digital Circuitry 10
  • 11. Binary Representation • One bit can either be 0 or 1. – Therefore, one bit can represent only two things – 1 and 0 • To represent more than two things, multiple bits are needed – Two bits can represent four things because there are four combinations of 0 and 1 that can be made from two bits: 00, 01, 10, 11. • In general, n bits can represent 2n things because there are 2n combinations of 0 and 1 that can be made from n bits. IS 151 Digital Circuitry 11
  • 12. Data Formats - How to Interpret Data • Internal representation must be appropriate – E.g. Images, sound, and video: have to be digitized • Images – need detailed description of the data, how color is represented at each data point • Sound – need sampling, digitizing • Video – need sampling and digitizing in space and time (because of motion) IS 151 Digital Circuitry 12
  • 13. Codes and Characters • The problem: – Representing text strings, such as Hello, world in a computer • Each character is coded as a byte (8 bits) – including blank spaces, commas, full stops • Most common coding system is ASCII • To represent alphanumeric characters – 8 bits per character – 7-bit code : 27 = 128 codes are used (128 characters can be represented) – 8th bit is unused (or used for a parity bit) • Two types of codes: – 95 are “Graphic” codes (visible) • Alphabetic, numeric and punctuation characters – 33 are “Control” codes (control features) • Shift, delete, enter, etc. IS 151 Digital Circuitry 13
  • 14. Binary Digits – In digital electronics, there are only two possible states and can be represented by • two different voltage levels: HIGH and LOW • current levels: OPEN and CLOSED • lamps: ON and OFF – The two states are called codes, and combinations of the two are used to represent numbers, symbols, alphabetic characters and other types of information IS 151 Digital Circuitry 14
  • 15. Binary Digits – The two-state number system is called binary, and the two digits in the binary system are 0 and 1. • A binary digit is called a bit (binary digit). – In digital circuits, two voltage levels are used to represent the two bits • 1 – represented by a high voltage level (HIGH) • 0 – represented by a low voltage level (LOW) – POSITIVE LOGIC – will be used throughout! – C.f. NEGATIVE logic:, 1 – LOW, 0 – HIGH IS 151 Digital Circuitry 15
  • 16. Logic Levels – Logic levels are voltages used to represent a 1 and a 0. – One voltage level represents a HIGH and one voltage level represents a LOW. – Practically, a HIGH or a LOW can be any voltage between a specified minimum value and a specified maximum. IS 151 Digital Circuitry 16
  • 17. Logic Levels • Diagram: Logic level ranges (page 5) VH(max) HIGH (1) VH(min) Uncertain VL(max) LOW (0) VL(min) • From the figure, VH(max) and VH(min) represent the maximum and minimum HIGH voltage values, respectively • VL(max) and VL(min) represent the maximum and minimum LOW voltage values, respectively. • The range of voltages between VL(max) and VH(min) is a range of uncertainty; a voltage in the range of uncertainty can appear as either a HIGH or a LOW. IS 151 Digital Circuitry 17
  • 18. Logic Levels • Examples: – The high values of a certain digital circuit may range from 2 V to 5 V and the LOW values from 0 V to 0.8 V. – If a voltage of 3.5 is applied, the circuit will accept it as a HIGH (or binary 1); a voltage of 0.5 V will be accepted as a LOW (binary 0); a voltage of 1 V will be uncertain IS 151 Digital Circuitry 18
  • 19. Exercises • Differentiate between a digital and an analog quantity • Give examples of digital and analog systems • Classify the following into analog (continuous) or digital (discrete) – (a) Shades of colours in a TV program about landscapes – (b) TV screen test pattern, white background, black dots only – (c) Days in a week, Mon, Tues, Wed, Thurs, Fri, Sat, Sun. – (d) Sine wave – (e) A musical symphony – (f) Chairs/seats in a room – (g) Integers -2, -1, 0, 1, 2, 3,... – (h) All real numbers IS 151 Digital Circuitry 19
  • 20. • End of Lecture IS 151 Digital Circuitry 20