SlideShare a Scribd company logo
1 of 18
KARPAGAM INSTITUTE OF TECHNOLOGY,
COIMBATORE-105
Digital electronics
Presented b y
Dr.S.SYED JAMAESHA
AP/ECE
Karpagam insttute of technology
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
8s 4s 2s 1s
Number
Place Value
Yes Yes No No
1 0 01
RESULT: Binary 1100 = decimal 8 + 4 + 0 + 0 = decimal 12
BINARY TO DECIMAL
CONVERSION
Convert Binary Number 110011
to a Decimal Number:
32 + 16 + 0 + 0 + 2 + 1 = 51
1 1 0 0 1 1
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 = 3 remainder 0
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1
1 101
TEST
Convert the following decimal
numbers into binary:
Decimal 11 =
Decimal 4 =
Decimal 17 =
1011
0100
10001
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
0 0 0 0
5
0 1 0 1
7
0 1 1 1
3
0 0 1 1
• 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 0 0
Decimal output
0 0 0 10 0 1 00 0 1 10 1 0 0
• 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
1
9
10
15
16
Binary
0001
1001
1010
1111
10000
Hexadecimal
1
9
A
F
10
HEXADECIMAL NUMBER SYSTEM
•Hexadecimal to Binary Conversion
Hexadecimal C 3
Binary 1100 0011
Binary 1110 1010
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
512 + 208 + 11 = 731
2 D BHexadecimal
Decimal
Place Value 256s 16s 1s
(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 = 1010 0110 (Binary)
22 (Decimal)
3F (Hexadecimal)
OCTAL NUMBERS
Uses 8 symbols -Base 8 System
0, 1, 2, 3, 4, 5, 6, 7
Decimal
1
6
7
8
9
Octal
1
6
7
10
11
Binary
001
110
111
001 000
001 001
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.

More Related Content

What's hot

IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9wajanga
 
Digital Comprator
Digital CompratorDigital Comprator
Digital Compratorsuraj829
 
Digital Electronics Notes
Digital Electronics NotesDigital Electronics Notes
Digital Electronics NotesMathankumar S
 
Combinational Logic Unit 2
Combinational Logic Unit 2Combinational Logic Unit 2
Combinational Logic Unit 2Asif Iqbal
 
Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process riley Mcclaflin
 
Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system CT Sabariah Salihin
 
Error detection and correction codes r006
Error detection and correction codes   r006Error detection and correction codes   r006
Error detection and correction codes r006arunachalamr16
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital ElectronicsPaurav Shah
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeBala Ganesh
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation Adeel Rasheed
 
Decoders and encoders
Decoders and encodersDecoders and encoders
Decoders and encoderssanket1996
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decodersGaditek
 
Dee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aDee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aSITI SABARIAH SALIHIN
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadavAnil Yadav
 
IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1wajanga
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8wajanga
 

What's hot (20)

IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
 
Digital Comprator
Digital CompratorDigital Comprator
Digital Comprator
 
Digital Electronics Notes
Digital Electronics NotesDigital Electronics Notes
Digital Electronics Notes
 
Combinational Logic Unit 2
Combinational Logic Unit 2Combinational Logic Unit 2
Combinational Logic Unit 2
 
Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process
 
Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system
 
Digital design chap 3
Digital design   chap 3Digital design   chap 3
Digital design chap 3
 
Error detection and correction codes r006
Error detection and correction codes   r006Error detection and correction codes   r006
Error detection and correction codes r006
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
Number system
Number system Number system
Number system
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
Decoders and encoders
Decoders and encodersDecoders and encoders
Decoders and encoders
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Dee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aDee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part a
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadav
 
IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 
Lect 1
Lect 1Lect 1
Lect 1
 

Similar to DIGITAL ELECTRONICS

digital%20electronics.pptx
digital%20electronics.pptxdigital%20electronics.pptx
digital%20electronics.pptxansariparveen06
 
Digital basics
Digital basicsDigital basics
Digital basicsimran khan
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...JatinJatin30
 
Conclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptConclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptKelvinSerimwe
 
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
 
Digital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdfDigital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdfKannan Kanagaraj
 
chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transferrashidxasan369
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02muhammadsarab
 

Similar to DIGITAL ELECTRONICS (20)

digital%20electronics.pptx
digital%20electronics.pptxdigital%20electronics.pptx
digital%20electronics.pptx
 
Number system
Number systemNumber system
Number system
 
Digital basics
Digital basicsDigital basics
Digital basics
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
Conclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptConclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.ppt
 
Code conversion r006
Code conversion r006Code conversion r006
Code conversion r006
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
Number system
Number systemNumber system
Number system
 
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
 
Digital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdfDigital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdf
 
number system 1.pptx
number system 1.pptxnumber system 1.pptx
number system 1.pptx
 
Chapter1b
Chapter1bChapter1b
Chapter1b
 
chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transfer
 
Number system
Number systemNumber system
Number system
 
Alu1
Alu1Alu1
Alu1
 
Numbersystemsppt 181023140730
Numbersystemsppt 181023140730Numbersystemsppt 181023140730
Numbersystemsppt 181023140730
 
Number systems ppt
Number systems pptNumber systems ppt
Number systems ppt
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
 

Recently uploaded

Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 

Recently uploaded (20)

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 

DIGITAL ELECTRONICS

  • 1. KARPAGAM INSTITUTE OF TECHNOLOGY, COIMBATORE-105 Digital electronics Presented b y Dr.S.SYED JAMAESHA AP/ECE Karpagam insttute of technology
  • 2. CHAPTER 2 PREVIEW • Counting in Decimal and Binary • Place Value • Binary to Decimal Conversion • Decimal to Binary Conversion • Electronic Translators • Hexadecimal Numbers • Octal Numbers
  • 3. 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)
  • 4. PLACE VALUE • Numeric value of symbols in different positions. • Example - Place value in binary system: Binary 8s 4s 2s 1s Number Place Value Yes Yes No No 1 0 01 RESULT: Binary 1100 = decimal 8 + 4 + 0 + 0 = decimal 12
  • 5. BINARY TO DECIMAL CONVERSION Convert Binary Number 110011 to a Decimal Number: 32 + 16 + 0 + 0 + 2 + 1 = 51 1 1 0 0 1 1 Decimal Binary
  • 6. TEST Convert the following binary numbers into decimal numbers: Binary 1001 = 9 Binary 1111 = Binary 0010 = 15 2
  • 7. 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 101
  • 8. TEST Convert the following decimal numbers into binary: Decimal 11 = Decimal 4 = Decimal 17 = 1011 0100 10001
  • 9. 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
  • 10. ELECTRONIC ENCODER - DECIMAL TO BINARY 0 Decimal to Binary Encoder Binary output Decimal input 0 0 0 0 5 0 1 0 1 7 0 1 1 1 3 0 0 1 1 • Encoders are available in IC form. • This encoder translates from decimal input to binary (BCD) output.
  • 11. Binary-to- 7-Segment Decoder/ Driver ELECTRONIC DECODING: BINARY TO DECIMAL Binary input 0 0 0 0 Decimal output 0 0 0 10 0 1 00 0 1 10 1 0 0 • 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.
  • 12. 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 NUMBER SYSTEM
  • 13. •Hexadecimal to Binary Conversion Hexadecimal C 3 Binary 1100 0011 Binary 1110 1010 Hexadecimal E A •Binary to Hexadecimal Conversion HEXADECIMAL AND BINARY CONVERSIONS
  • 14. DECIMAL TO HEXADECIMAL CONVERSION Divide by 16 Process Decimal # 47 ÷ 16 = 2 remainder 15 2 ÷ 16 = 0 remainder 2 F2
  • 15. HEXADECIMAL TO DECIMAL CONVERSION Convert hexadecimal number 2DB to a decimal number 512 + 208 + 11 = 731 2 D BHexadecimal Decimal Place Value 256s 16s 1s (256 x 2) (16 x 13) (1 x 11)
  • 16. TEST Convert Hexadecimal number A6 to Binary Convert Hexadecimal number 16 to Decimal Convert Decimal 63 to Hexadecimal 63 = 16 = A6 = 1010 0110 (Binary) 22 (Decimal) 3F (Hexadecimal)
  • 17. OCTAL NUMBERS Uses 8 symbols -Base 8 System 0, 1, 2, 3, 4, 5, 6, 7 Decimal 1 6 7 8 9 Octal 1 6 7 10 11 Binary 001 110 111 001 000 001 001
  • 18. 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.