Bits, Bytes, Words. Digital signal

Similar documents
2011, The McGraw-Hill Companies, Inc. Chapter 3

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

The string of digits in the binary number system represents the quantity

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

Number Systems. Introduction / Number Systems

Digital codes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Decimal Number (base 10) Binary Number (base 2)

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

Serial Communications

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Part Number Description Packages available

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

PHY-2464 Physical Basis of Music

Technical Support Bulletin Nr.18 Modbus Tips

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Binary Representation

MICROPROCESSOR AND MICROCOMPUTER BASICS

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Number Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi)

Interfacing To Alphanumeric Displays

Measurement and Analysis Introduction of ISO7816 (Smart Card)

Chapter 6: From Digital-to-Analog and Back Again

Software User Guide UG-461

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Systems I: Computer Organization and Architecture

DATA COMMUNICATION (Basics of data communication, OSI layers.)

3. Convert a number from one number system to another

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

ADS9850 Signal Generator Module

Number and codes in digital systems

Sheet 7 (Chapter 10)

Chapter 1: Digital Systems and Binary Numbers

Section 1.4 Place Value Systems of Numeration in Other Bases

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

Encoding Text with a Small Alphabet

Software Manual RS232 Laser Merge Module. Document # SU Rev A

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

Single channel data transceiver module WIZ2-434

The use of binary codes to represent characters

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction

BINARY CODED DECIMAL: B.C.D.

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

The Central Processing Unit:

Base Conversion written by Cathy Saxton

Digital Design. Assoc. Prof. Dr. Berna Örs Yalçın

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

2. Terminal arrangement. Default (PV display) (SV display) Communication protocol selection Selects the Communication protocol. Modbus ASCII mode:

Number Representation

Microprocessor & Assembly Language

DS1621 Digital Thermometer and Thermostat

Process Control and Automation using Modbus Protocol

Goals. Unary Numbers. Decimal Numbers. 3,148 is s 100 s 10 s 1 s. Number Bases 1/12/2009. COMP370 Intro to Computer Architecture 1

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Counters. Present State Next State A B A B

How To Send A Message From A Computer To A Computer (Iwea) On A Microsoft Macbook 2.5 (Isoa) To A Microsatellite 2.4 (Ios) On An Unix (Ise

ASCII Code. Numerous codes were invented, including Émile Baudot's code (known as Baudot

Lecture 11: Number Systems

How To Design A Layered Network In A Computer Network

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

MSR605. Programmer s Manual. Magnetic Stripe Card Reader/Writer (High & Low Coercivity) Revision B

CENTRONICS interface and Parallel Printer Port LPT

Type 2 Tag Operation Specification. Technical Specification T2TOP 1.1 NFC Forum TM NFCForum-TS-Type-2-Tag_

DS1621 Digital Thermometer and Thermostat

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

ARINC 429 Protocol Tutorial

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Memory is implemented as an array of electronic switches

CPEN Digital Logic Design Binary Systems

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Binary, Hexadecimal, Octal, and BCD Numbers

Solution for Homework 2

Binary Numbers. Binary Octal Hexadecimal

Cyber Security Workshop Encryption Reference Manual

Chapter 4: Computer Codes

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

Protocol Analysis at Digital Interfaces using the Audio Analyzers UPL and UPD

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Third Southern African Regional ACM Collegiate Programming Competition. Sponsored by IBM. Problem Set

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Modbus Protocol. PDF format version of the MODBUS Protocol. The original was found at:

The Answer to the 14 Most Frequently Asked Modbus Questions

INTERNATIONAL TELECOMMUNICATION UNION

INTERNATIONAL TELECOMMUNICATION UNION

Technical Data Sheet UM-005. UM005-doc In reference to UM005-c-01.04

Content Map For Career & Technology

Digital Electronics Detailed Outline

HOMEWORKS. RS-232 Protocol. Data Protocol for Communicating with Lutron's HOMEWORKS System

Asynchronous counters, except for the first block, work independently from a system clock.

Lecture N -1- PHYS Microcontrollers

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

Transcription:

Bits, Bytes, Words Digital signal

Digital Signals The amplitude of a digital signal varies between a logical 0 and logical 1. The information in the signal is encoded in the combination: of the length of time that the signal is held at each logical state and frequency of the clock (or clock speed), which is the frequency of the fastest oscillation between logical levels that is allowed by the digital system.

A bit A single piece of digital information Either a logical 0 or a logical 1 1101 is a 4 bit number Since digital electronic circuits output voltages not bits, we assign a voltage range to be equal to a logical 0 and a different voltage range to be a logical 1 Different logic families assign a different range of voltages to be equal to a logical 0 and a logical 1. For example:» TTL 0 0 0.7V; 1 2 5V» CMOS 0 0 1.5V; 1 3.5 5V

Is the data the same or different? Whether the lower digital signal is 11001100 or 1010 or some other variation on this pattern depends on the clock speed the minimum length of time that the system can output a logical state as it switches from one state to another.

Base 2 As there are only two types of bits, 0 and 1, the number system commonly used in digital electronics is base 2. Task: Convert the following base 10 numbers into the equivalent number in base 2. Base 10 4 11 25 64 257 515 1024 Base 2 Observations: Numbers that are odd end with a 1. Numbers that are divisible by 2 n with no remainder are written with a 1 followed by n zeros.

Grouping of Bits Byte: Composed of 8 bits String: Sequential set of bits of arbitrary length Nibble: Composed of 4 bits or half a byte Nibbles are occasionally written as hexadecimals to make the data more readable Hexadecimals are the numbers in base 16 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F Word: The standard memory bus width in the microprocessor or computer architecture 16-bit, 32-bit, or 64-bit architecture

ASCII American Standard Code for Information Interchange Encodes each of the 26 characters from the English alphabet, numbers between 0-9, a space, symbols (! for example), and other actions that are necessary when typing (e.g., a horizontal) into a 7 bit string ASCII code has 128 different 7-bit strings (2 7 )

Parity bit An extra bit at the beginning or end of a string of bits that is used to check if the data received is reasonably correct 8-bit ASCII has an extra bit added at the beginning of each 7-bit string. In even parity checking, the sum of all bits in the byte will be even and the value chosen for the eighth bit is selected based upon the sum of the other 7 bits. In odd parity checking, the sum of all bits in the byte will be odd and the value chosen for the eighth bit is selected based upon the sum of the other 7 bits.

Parity checking Choose 0 or 1 for the parity bit for even or odd parity checking. Parity Check Parity bit MSB LSB ACSII Even 1 1 0 0 1 0 1 e Odd 1 1 0 0 1 0 1 e Even 0 0 0 1 0 1 0 Line feed Odd 0 0 0 1 0 1 0 Line feed Even 1 1 1 1 1 1 1 Delete Odd 1 1 1 1 1 1 1 Delete MSB: Most significant bit LSB: Least significant bit

Chinese Binary Chinese binary for transmission of text is based on Chinese Telex It is composed of two bytes where each byte has a parity bit followed by a 7-bit string

Standards Committees Standards committees are established to document a system that will be used by all manufacturers so that products can work together. The Institute of Electrical and Electronics Engineers (IEEE), your professional society, organizes standards committees with engineers from various manufacturers providing input on the pros and cons of their protocols. For example: There was a standards committee to determine the voltage levels, data transmission speed, maximum current on the bus, and shape of the connectors for products with USB outputs.

Flag A flag is a single bit whose state indicates the status of the digital system A state can be: High: the value of the bit is a logical 1 Low: the value of the bit is a logical 0 Sometimes there is an output pin for the flag that is tied (or connected) to an LED. The state of the flag can easily be determined by looking to see if the LED is turned on or off LED: Light-emitting diode