Digital Electronics Principles & Applications Fifth Edition Chapter 2 Numbers We Use in Digital Electronics ©1999 Glencoe/McGraw-Hill Roger L. Tokheim.

Slides:



Advertisements
Similar presentations
Principles & Applications
Advertisements

Elektronika dan Instrumentasi: Elektronika Digital 3 – Enkoder, Dekoder, 7 segment Dari Dimas Firmanda Al Riza.
Number Systems and Codes
System Digital Encoder, Decoder, and Contoh Penerapanya.
Code Converters, Multiplexers and Demultiplexers
Number System Conversions Lecture L2.2 Section 2.3.
Electronics Technology Seven-Segment Displays
BCD to 7-Segment Display
Number Systems and Codes In PLC
 Binary Binary  Binary Number System Binary Number System  Binary to Decimal Binary to Decimal  Decimal to Binary Decimal to Binary  Octal and Hexadecimal.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 10 Arithmetic Circuits.
A Digital Timer Implementation using 7 Segment Displays.
Chapter 1 Number Systems and Codes 1. Outline 1. NUMBER SYSTEMS AND CODES 2. DIGITAL ELECTRONIC SIGNALS AND SWITCHES 3. BASIC LOGIC GATES 4. PROGRAMMABLE.
Number Systems.
COMPUTER NUMBER SYSTEMS & DIGITAL DEVICES By: Sohaib Rehman.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
A little bit of exercise.. ;). Exercise Given to you are some binary to decimal examples : Given to you are some binary to decimal examples : Tens Units.
Functions of Combinational Logic
Supplemental Chapter Number Bases
Salisbury Numbers we use in Auto Shop Why do I need to know this. When working on the computers in the auto shop sometimes we need to look into the.
Number Systems What is the Standard Base we
NUMBER SYSTEM.
Binary Number System & Logic Operations. The focus of the last lecture was on the microprocessor During that lecture we learnt about the function of the.
Number Systems Ron Christensen CIS 121.
Number systems, Operations, and Codes
Number Base Conversions
Converting From decimal to Binary & Hexadecimal to Binary
Digital Electronics Octal & Hexadecimal Number Systems.
Programming Logic Controllers Number Systems and Codes - Chapter 3.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Code Converters, Multiplexers and Demultiplexers
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Octal & Hexadecimal Number Systems
NUMBER SYSTEM. Number System Number Base B => B symbols – Base 16(Hexa):0, 1,……9, A,…, E, F – Base 10 (Decimal): 0, 1, 2,……, 7, 8, 9 – Base 8(Octal):
Principles & Applications
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 230 Information Representation: Positive Integers Dale Roberts,
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
ENCODER, DECODER dan SEVEN SEGMEN YUSRON SUGIARTO.
Code Converters, Multiplexers and Demultiplexers
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
CHAPTER 3 BINARY NUMBER SYSTEM. Computers are electronic machines which operate using binary logic. These devices use two different values to represent.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
Decoder Chapter 12 Subject: Digital System Year: 2009.
Dr. Nermin Hamza 1. Materials Book: Digital Design 4 th M. Morris Mano and Michael D. Ciletti 2.
Programmable Logic Controller
Number Systems and Codes
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Using the Windows Calculator for quick decimal to binary conversions
Principles & Applications
Number System conversions
Principles & Applications Seven-Segment Displays
Principles & Applications
Fundamentals & Ethics of Information Systems IS 201
Principles & Applications
Digital Electronics Ms. Deepa Mehta.
Digital Electronics and Microprocessors
There are 10 types of people of people in this world…
Chapter 1 Number System RGGP, Narwana.
Chapter 2 Number Systems.
Numeral systems (radix)
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Remember the 10 types of people of people in this world…
Computer Science 1 Review and finish Number base conversion
Information Representation
Chapter 2 Number Systems.
Presentation transcript:

Digital Electronics Principles & Applications Fifth Edition Chapter 2 Numbers We Use in Digital Electronics ©1999 Glencoe/McGraw-Hill Roger L. Tokheim

CHAPTER 2 PREVIEW Counting in Decimal and Binary Place Value Binary to Decimal Conversion Decimal to Binary Conversion Electronic Translators Hexadecimal Numbers Octal Numbers

COUNTING IN DECIMAL AND BINARY Number System - Code using symbols that refer to a number of items. Decimal Number System - Uses ten symbols (base 10 system) Binary System - Uses two symbols (base 2 system)

PLACE VALUE Numeric value of symbols in different positions. Example - Place value in binary system: Binary 8s4s 2s 1s Number Place Value Yes No 1001 RESULT: Binary 1100 = decimal = decimal 12

BINARY TO DECIMAL CONVERSION Convert Binary Number to a Decimal Number: = Decimal Binary

TEST Convert the following binary numbers into decimal numbers: Binary 1001 = 9 Binary 1111 = Binary 0010 = 15 2

DECIMAL TO BINARY CONVERSION Divide by 2 Process Decimal # 13 ÷ 2 = 6 remainder 1 6 ÷ 2 = ÷ 2 = ÷ 2 =

TEST Convert the following decimal numbers into binary: Decimal 11 = Decimal 4 = Decimal 17 =

ELECTRONIC TRANSLATORS Devices that convert from decimal to binary numbers and from binary to decimal numbers. Encoders - translates from decimal to binary Decoders - translates from binary to decimal

ELECTRONIC ENCODER - DECIMAL TO BINARY 0 Decimal to Binary Encoder Binary output Decimal input Encoders are available in IC form. This encoder translates from decimal input to binary (BCD) output.

Binary-to- 7-Segment Decoder/ Driver ELECTRONIC DECODING: BINARY TO DECIMAL Binary input 0 0 Decimal output Electronic decoders are available in IC form. This decoder translates from binary to decimal. Decimals are shown on an 7-segment LED display. This decoder also drives the 7-segment display.

Uses 16 symbols -Base 16 System 0-9, A, B, C, D, E, F Decimal Binary Hexadecimal 1 9 A F 10 HEXADECIMAL NUMBER SYSTEM

Hexadecimal to Binary Conversion HexadecimalC 3 Binary Binary Hexadecimal E A Binary to Hexadecimal Conversion HEXADECIMAL AND BINARY CONVERSIONS

DECIMAL TO HEXADECIMAL CONVERSION Divide by 16 Process Decimal #47 ÷ 16 = 2 remainder 15 2 ÷ 16 = 0 remainder 2 F2

HEXADECIMAL TO DECIMAL CONVERSION Convert hexadecimal number 2DB to a decimal number = D B Hexadecimal Decimal Place Value 256s16s1s (256 x 2)(16 x 13)(1 x 11)

TEST Convert Hexadecimal number A6 to Binary Convert Hexadecimal number 16 to Decimal Convert Decimal 63 to Hexadecimal 63 = 16 = A6 = (Binary) 22 (Decimal) 3F (Hexadecimal)

OCTAL NUMBERS Uses 8 symbols -Base 8 System 0, 1, 2, 3, 4, 5, 6, 7 Decimal Octal Binary

PRACTICAL SUGGESTION ON NUMBER SYSTEM CONVERSIONS Use a scientific calculator Most scientific calculators have DEC, BIN, OCT, and HEX modes and can either convert between codes or perform arithmetic in different number systems. Most scientific calculators also have other functions that are valuable in digital electronics such as AND, OR, NOT, XOR, and XNOR logic functions.