Digital Electronics Ms. Deepa Mehta.

Slides:



Advertisements
Similar presentations
Principles & Applications
Advertisements

Elektronika dan Instrumentasi: Elektronika Digital 3 – Enkoder, Dekoder, 7 segment Dari Dimas Firmanda Al Riza.
System Digital Encoder, Decoder, and Contoh Penerapanya.
NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
Code Converters, Multiplexers and Demultiplexers
Number System Conversions Lecture L2.2 Section 2.3.
Electronics Technology Seven-Segment Displays
BCD to 7-Segment Display
 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.
Number Systems.
COMPUTER NUMBER SYSTEMS & DIGITAL DEVICES By: Sohaib Rehman.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
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 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 System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Number Base Conversions
Converting From decimal to Binary & Hexadecimal to Binary
Digital Electronics Octal & Hexadecimal Number Systems.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
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,
ENCODER, DECODER dan SEVEN SEGMEN YUSRON SUGIARTO.
Digital Electronics Principles & Applications Fifth Edition Chapter 2 Numbers We Use in Digital Electronics ©1999 Glencoe/McGraw-Hill Roger L. Tokheim.
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.
DIGITAL ELECTRONICS THEME 2: Combinational Logic Circuits. Decoders, Multiplexers, De-multiplexers, Code converters. For combinational logic the values.
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
Octal to Decimal Decimal Octal Binary Hexadecimal.
Using the Windows Calculator for quick decimal to binary conversions
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
Location in course textbook
Number System conversions
Principles & Applications Seven-Segment Displays
Principles & Applications
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Chapter 4 Number Systems.
There are 10 types of people of people in this world…
Digital Logic Design (CSNB163)
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…
Number Systems.
Computer Science 1 Review and finish Number base conversion
Information Representation
Counter Fundamentals Presented by :
Chapter 2 Number Systems.
Presentation transcript:

Digital Electronics Ms. Deepa Mehta

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: Place Value 8s 4s 2s 1s Binary Yes Yes No No Number 1 1 RESULT: Binary 1100 = decimal 8 + 4 + 0 + 0 = decimal 12

BINARY TO DECIMAL CONVERSION Convert Binary Number 110011 to a Decimal Number: Binary 1 1 0 0 1 1 Decimal 32 + 16 + 0 + 0 + 2 + 1 = 51

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

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

Convert the following decimal numbers into binary: TEST Convert the following decimal numbers into binary: 1011 Decimal 11 = 0100 Decimal 4 = 10001 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 Binary output Decimal input 0 1 1 1 0 1 0 1 0 0 1 1 0 0 0 0 Decimal to Binary Encoder 3 7 5 Encoders are available in IC form. This encoder translates from decimal input to binary (BCD) output.

ELECTRONIC DECODING: BINARY TO DECIMAL Binary input Decimal output 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 Binary-to- 7-Segment Decoder/ Driver 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.

HEXADECIMAL NUMBER SYSTEM Uses 16 symbols -Base 16 System 0-9, A, B, C, D, E, F Decimal 1 9 10 15 16 Binary 0001 1001 1010 1111 10000 Hexadecimal 1 9 A F 10

HEXADECIMAL AND BINARY CONVERSIONS Hexadecimal to Binary Conversion Hexadecimal C 3 Binary 1100 0011 Binary to Hexadecimal Conversion Binary 1110 1010 Hexadecimal E A

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

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

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

Uses 8 symbols -Base 8 System OCTAL NUMBERS Uses 8 symbols -Base 8 System 0, 1, 2, 3, 4, 5, 6, 7 Decimal 1 6 7 8 9 Binary 001 110 111 001 000 001 001 Octal 1 6 7 10 11

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.