Signals, Circuits, and Computers Part A Winncy Du Fall Based on Dr

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

Number Systems and Codes
Bits and Bytes + Controlling 8 LED with 3 Pins Binary Counting and Shift Registers.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Digital Systems: Introductory Concepts Wen-Hung Liao, Ph.D.
1 Sensors, Actuators, Signals, and Computers Part D Ping Hsu, Winncy Du, Ken Youssefi.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Chapter 0 Introduction to Computing
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
Digital Circuit Why Digital Circuit? – Digital signals ( 0 and 1) are very easy to handle with electronic circuits only 2 states needed: Switch ON or OFF,
66 CHAPTER SYSTEM UNIT. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 1-2 Announcement: Major Exam 01 Thursday, 17th March, 2005 Building.
Module 2: Hardware and Terminology
Chapter 8 CPU Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
Programmable Logic Controllers
Lesson 3 — How a Computer Processes Data
Copyright Jim Martin Computers Inside and Out Dr Jim Martin
CSC212 – Computer Organization and Design
Description of an “Embedded System” An embedded system is typically a design making use of the power of a small microcontroller. These microcontrollers.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Engineering Lecture1: Logic Circuits & Concepts about basic Electrical Engineering Devices by Christin Sander.
Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
created by :Gaurav Shrivastava
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
How a Computer Processes Data Computer Fundamentals.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Lesson 2 — How Does A Computer Process Data?
Data Acquisition Systems
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Bits, Bytes, Words Digital signal. Digital Signals The amplitude of a digital signal varies between a logical “0” and logical “1”. – The information in.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
CSNB374: Microprocessor Systems Chapter 1: Introduction to Microprocessor.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
Data Representation Conversion 24/04/2017.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
MECH1500 Chapter 3.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
Computer operation is of how the different parts of a computer system work together to perform a task.
Embedded Systems Introduction. Microprocessor building blocks 1. ALU (Arithmetic Logic Unit): The ALU is a sequential logic circuitry that is intended.
Digital Systems and Information Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
Mechatronics – a design process that includes
Computer Architecture and Number Systems
Unit Microprocessor.
Michael Rahaim, PhD Candidate Multimedia Communications Lab
Computers Are Your Future Tenth Edition
Number Systems and Codes
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Chapter 7.2 Computer Architecture
Chapter 2 – Computer hardware
Digital Systems: Introductory Concepts
Number Systems and Codes
Data Representation Conversion 05/12/2018.
Introduction to Basic Digital Logic
Computers Inside and Out
Arithmetic Circuits.
Presentation transcript:

Signals, Circuits, and Computers Part A Winncy Du Fall 2012 Based on Dr. Ping Hsu’s original lecture notes

Types of Signals Analog: An analog signal is a continuous signal and is often represented by a V(t). E.g., a dimmer light switch continuously increases/decreases the current. Digital : A digital signal is a binary signal. E.g., an On/Off light switch applies a fixed, predetermined voltage.

Analog Signal Digital Signal

Voltage Level vs. Logic State Digital Signal has a high noise immunity level – the level of noise that can be added to the signal without affecting its state.

Analog Signal vs. Digital Signal 1. Analog signals Pros: high resolution, efficient transmission (1 wire, 1 signal), no delay, ‘real world’ signals. Cons: Difficult to process (perform operations, storage), susceptible to noise. 2. Digital Signals Pros: high immunity to noise, easy to process Cons: needs a lot of ‘bits’ and circuits, data processing delay

Analog – Digital Conversion Bit 0 Digital input DAC Analog output Bit 9 Bit 0 Digital output ADC Analog input Bit 9

Q3. Which of the following is NOT an advantage of a digital signal: A: Easy to perform math operation B: Easy to store C: High noise immunity D: Need less circuitry. E: All the above

Bits, Bytes and Words Bits: (20) Bytes. (23) Words: (24 or 25) One ‘bit’ can only represent a binary state: 0 or 1, on or off, stop or go. Bytes. (23) One byte consists of 8 bits. Words: (24 or 25) One word consists of 16 bits (or 32 bits, depending on the computer).

Number of bits Number of different values that can be represented 4-bit (1 nibble) 24 =16 8-bit (1 byte) 28 = 256 10-bit 210 = 1024 16-bit (1 word) 216=65536 32-bit 232=4294967296

A 4-bit binary number 23 (b3) 22 (b2) 21 (b1) 20 (b0) 8 4 2 1 MSB LSB Most Significant Bit Least Significant Bit Binary number: 0110 = (0x8)+(1x4)+(1x2)+(0x1)=6 Binary number: 1101 = 8+4+1=13

Q1: What is the decimal value of the 4-bit binary number 0101? 3 4 5 6 7

Q2. What do we call the bit that is in the leftmost position in a binary number? A: SNB B: LMB C: MSB D: LSB E: USB

Binary Code In a computer, a binary number is used to represent: Numerical values Characters and symbols (A, a, ¥,+, ﮗ, @, ….) Picture, sound, video, etc. Machine language (for math operations, etc.) others …

Numerical value represented Machine language represented An example of a binary coding 4-bit Binary Code Short hand Notation-HEX Numerical value represented Machine language represented 0000 NOOP 0001 1 ADD 0010 2 SUB 0011 3 MUL : 1001 9 DIV 1010 A 10 COPY 1011 B 11 MOV 1100 C 12 AND 1101 D 13 OR 1110 E 14 SHIFT 1111 F 15 XOR

Digital Communication Parallel connection: a dedicated wire for each bit (needs a lot of wires).

Digital Communication Serial connection: bits are sent sequentially (takes long time ).

Sending a byte or a word in parallel, sequentially (commonly used between circuits within a computer) (c) P. Hsu 2007

VEX Microcontroller CPU: Executing instructions, performing arithmetic and logic operations. It is the ‘brain’ of the computer. Memory: Memory is for keeping program and data. IO Port: Gateway to and from the external devices.

Q4: What is the abbreviated name of the circuit in a computer that performs arithmetic operation? A: USB B: AOU C: CPU D: AIO E: MOU

VEX controller IO Ports Analog/Digital Port (16 ports) Interrupt Ports Motor Ports (8 ports)

Infrared Receiver Board Tune to 1kHz or 10kHz For each active exposure control, counter increases by 1. For selecting one of the 8 infrared detectors