Revision for A level year 2. * TTL stands for Transistor Transistor Logic * TTL operates on a power supply of 5 volts * The power supply tolerance for.

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Digital Electronics Dr. Bahawodin Baha, University of Brighton, UK.
Chapter 1 Digital Systems and Numbers System
Computer Structures Lecture 2: Working with 0’s and 1’s.
Level ISA3: Information Representation
Chapter 1 Number Systems and Codes William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle.
Number Systems and Arithmetic
Number Systems and Codes In PLC
ENEL 111 Digital Electronics Richard Nelson G.1.29
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
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.
Real Numbers and the Decimal Number System
Number Systems.
1 Survey of Computer Science CSCI 110, Spring 2011 Lecture 16 Digital Circuits, binary Numbers.
Programmable Logic Controllers
Digital Electronics. Digital circuits work on the basis of a transistor being used as a switch. Consider a light switch, a transistor can be considered.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Number Systems What is the Standard Base we
Number systems & Binary codes MODULE 1 Digital Logic Design Ch1-2 Outline of Chapter 1  1.1 Digital Systems  1.2 Binary Numbers  1.3 Number-base Conversions.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Dr. Ahmed Telba EE208: Logic Design Lecture# 1 Introduction & Number Systems.
Number Systems and Codes
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
Number Base Conversions
1 Dr. Mohamed Abdur Rahman Office hours Sunday: 10:00- 12:00 & Tuesday: 3:00 - 3:50 Course website: Has been created
Digital Systems and Binary Numbers
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
MECH1500 Chapter 3.
Computer Number System
Chapter 1 Number Systems Digital Electronics. Topics discussed in last lecture Digital systems Advantages of using digital signals over analog. Disadvantages.
CPEN Digital Logic Design Binary Systems Spring 2004 C. Gerousis © Digital Design 3 rd Ed., Mano Prentice Hall.
CSC 331: DIGITAL LOGIC DESIGN COURSE LECTURER: E. Y. BAAGYERE. CONTACT: LECTURE TIME: 15:40 – 17:45 hrs. VENUE: SP-LAB.
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
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.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Binary numbers. Primary memory Memory = where programs and data are stored – Unit = bit “BIT” is a contraction for what two words? Either a 1 or a 0 (because.
Fall’ 2014 Lesson - 1 Number System & Program Design CSE 101.
Digital System Design. Objective Distinguish between Two worlds Understand the Properties digital system.
Fall’ 2014 Number System CSE Number System How Computers Represent Data Binary Numbers The Binary Number System Bits and Bytes Text Codes Binary.
EEE 301 : Digital ELECTRONICS Amina Hasan Abedin Senior lecturer, Dept of EEE, BRAC University.
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Chapter 1 Digital Systems and Binary Numbers
Digital Design Chapter One Digital Systems and Binary Numbers
Number Systems and Codes
By: Jonathan O. Cabriana
ENEL 111 Digital Electronics
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
Digital Systems and Binary Numbers
CHAPTER 1 : INTRODUCTION
Introduction Molecules: made up of atoms of individual elements.
Digital Electronics Jess 2008.
Digital Systems and Binary Numbers
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Number System conversions
2 Number Systems and Codes Edited by Jerry Bernardini.
INTRODUCTION TO LOGIC DESIGN Chapter 1 Digital Systems and Binary Numbers gürtaçyemişçioğlu.
Number Systems and Binary Arithmetic
Analogue to Digital Conversion
Decimal System The radix or base of a number system determines
Hexadecimal Conversions
AWIM Series Lawndale High School Experiment 6 Dec, 2017
Numeral systems (radix)
Hexadecimal.
Number Systems.
ENEL 111 Digital Electronics
Course Code 114 Introduction to Computer Science
Presentation transcript:

Revision for A level year 2

* TTL stands for Transistor Transistor Logic * TTL operates on a power supply of 5 volts * The power supply tolerance for TTL logic is less than 10% ideally. * TTL is used in digital electronics

* Digital systems are different from analogue systems in the following ways * Analog = Continuously variable voltage * Digital = Discrete steps of voltage * Think about climbing a hill * A hill with no steps is analogous to analog * A hill with steps cut out is analogous to digital

* Further differences between analog and digital * Analog = amplification * Digital = switching * Analog = voltages * Digital = numbers

* So digital systems sample analog voltages * The value of each sample is stored as a number * The sampling is carried out by an analog to digital converter (ADC) * The digital number can be stored in computer memory either RAM or ROM

* Each digital number is stored in binary code * Binary code is a system of representing numbers using 1’s and 0’s * In TTL systems a 1 = 2-5 volts = High = True * In TTL systems a 0 = volts = Low = False

* Each 1 or 0 which makes up a digital number is known as a bit * There are 8 bits in each byte * There are 4 bits in each nibble * The more bits that are used to take a sample of an analog voltage the greater the accuracy of the sample

* This diagram shows how a 4 bit system could reproduce (a very rough version) of a sine wave

* Note the 4 bit system has 16 possible values * You can find the maximum amount of values any digital system can represent with the equation: * Maximum possible values = 2 nbits

* So if the maximum amount of values available is equal to 2 to the power of the number of bits. * Determine the maximum number of values that can be represented by: * An 8 bit system * A 16 bit system

* So to summarize * Any decimal number can be represented by a binary code * The more bits a system has the more numbers that can be represented * In electronic systems the bits are stored as voltages

* Binary code can be read in series, where each bit follows one by one. This is known as serial transmission

* Parallel transmission * This is where each bit of the code is represented and transmitted at the same time, not bit by bit as in serial * Potentially it could be far quicker than serial transmission but does suffer from one major drawback. What do you think it could be?

* Repeated division by 2 * Convert to binary * Procedure * 46/2 = 23 remainder 0 therefore LSB = 0 * 23/2 = 11 remainder 1 … second LSB = 1 * 11/2 = 5 remainder 1 …………………….= 1 * 5/2 = 2 remainder 1 …………………….= 1 * 2/2 = 1 remainder 0…………………….= 0 * 1/2 = 0 remainder 1…………… MSB = 1 Therefore =

* Convert the following decimal values to binary using repeated division by 2 * 255 * 124 * 39

* Hexadecimal is a very convenient way of representing binary numbers in base 16 Because it is base 16, letters are used to represent the numbers in the upper register

* Convert to hexadecimal * From the table 0001 = 1, 1111 = F * Therefore = 1F in hexadecimal * Convert to hex

* Convert 7EF8 to binary * From the table * 7 = 0111 * E = 1110 * F = 1111 * 8 = 1000 * Therefore 7EF8 = * Convert 8FAC to binary

* The most useful properties of the hexadecimal system are the ability to store more digital information in fewer digits and also as a shorthand way of representing very large binary numbers. * Once you have done a few conversions you will see how easy it is * Being comfortable with hexadecimal representation will help greatly when you begin to work with programming microcontrollers