Module 12: Elementary Input/Output
|
|
- Lesley Simmons
- 5 years ago
- Views:
Transcription
1 Module 12: Elementary Input/Output I/O Concepts Typical Organization of an I/O Device Memory-mapped vs Isolated I/O Elementary output with latch and LED Elementary input with buffer and switch 7-segment interfacing Keypad interfacing (extra)
2 Input and Output (I/O) One of the basic and essential features designed in a computer system is its ability to exchange data with other external devices, and to allow the user to interact with the system: Input Devices include: Switches, Keyboards, Mice, Scanners, Cameras, etc. Output devices include: Lamp/LED/LCD displays, Video monitors, Speakers, Printers, etc. One or more interface circuits usually are used between I/O devices and the CPU to: Handle transfer of data between CPU and I/O interface. Handle transfer of data between I/O device and interface. Enable the CPU to request the status of data sent/received by the interface. Common I/O interfaces: Elementary I/O: Simple two-state devices such as LED and switches Peripheral I/O: Non-trivial interaction with complex I/O devices such as printers and keyboards mzabidi@ieee.org 11-2
3 Elementary I/O Two-state peripheral devices May involve more than one bit - e.g., BCD Requirements Bit signals can be written to output devices under program control Bit signals can be read from input devices under program control Devices required Latches such as 74LS374 for output Tri-state buffers such as 74LS244 for input Example Output devices LED, bulbs Relay coils 7-segment display Example Input devices Push button Proximity switch Rotary BCD coder mzabidi@ieee.org 11-3
4 I/O Schemes Memory-mapped I/O The I/O devices and memory components are resident in the same memory space The microprocessor uses the same instruction set for I/O operations CPU Address Data Read Write Memory I/O Device Isolated I/O The microprocessor has a separate address space for I/O devices The microprocessor has dedicated instructions for I/O operations Special bus lines Traditionally, Intel microprocessors use the isolated I/O method, whereas Motorola microprocessors use the memory-mapped I/O method. CPU Address Data Memory I/O Read Write Memory I/O Port I/O Device mzabidi@ieee.org 11-4
5 Memory Mapped I/O Part of the CPU's normal memory space is dedicated to I/O operations and all I/O ports look exactly like normal memory locations. Pros Rich set of addressing modes for I/O operation (e.g. bit manipulation) No overhead on special instructions Cons Processor s address space is allocated to I/O devices Risk of errors due to spurious accesses (elaborated address decoding) Lack of special purpose I/O signals to control the I/O operation Program Data I/O mzabidi@ieee.org 11-5
6 Peripheral I/O Concepts I/O devices (peripheral devices) Equipment that exchange data with a computer. May itself contain a microprocessor! Examples include printers, modems, keyboards, and disk drives. Interface (peripheral) chip A chip whose function is to synchronize data transfer between the CPU and I/O devices. An interface may consist of control registers, status registers, data registers, and control circuitry. An interface chip has data pins that are connected to the CPU and I/O port pins that are connected to the I/O devices. Data transfer between an I/O device and the CPU can be proceeded bit-by-bit (serial) or in multiple bits (parallel) mzabidi@ieee.org
7 I/O Transfer Synchronization The role of an interface chip Synchronizing data transfer between the CPU and the interface chip. Synchronizing data transfer between the interface chip and the I/O device
8 Synchronizing µp and the Interface Chip The polling method Repeatedly checks the status of an I/O device (through a status register of the associated I/O controller) until the desired condition is met This process is called polling Polling involves overhead Repeated testing of condition Can be used to handle only anticipated event The interrupt-driven method Processor gets interrupted when a specified event occurs Very efficient Can be used to handle unanticipated events mzabidi@ieee.org
9 Polled I/O Usually in the interface chip we have Control register a register where the processor is placing commands Data register input and output data registers where the data is made available to/from the processor Status register a register that shows the status of the peripheral device For input -- the microprocessor checks a status bit of the interface chip to find out if new data has been received from the input device. For output -- the microprocessor checks a status bit of the interface chip to find out if it can send new data to the interface chip mzabidi@ieee.org
10 A Generic Interface Chip CPU Chip select Register select Register select R/W Bidirectional data bus CS RS1 RS0 R/W Bus buffers Timing and Control Port A register Port B register Control register Status register I/O data I/O data Control Status I/O Device Inputs E RS1 RS0 Register Selected 1 X X None Port A Register Port B Register Control Register Status Register mzabidi@ieee.org
11 Communicating with External Devices : Parallel Interface Several ports each 1-byte wide A full byte of data or more is transferred on data cycle. Example devices: MC6821 PIA for 6800 CPU MC68230 PIT for CPU They are general purpose devices Direction of data flow is programmable, unlike in elementary I/O Strobe and handshaking lines for more efficient data transfers. May interrupt the CPU if peripheral is ready for data These devices are often quite complex and can operate in one of several modes mzabidi@ieee.org
12 Communicating with External Devices : Serial Interface Serial data transmission One bit is transferred for each clock cycle. cheap, simple, easy to use Connects the µp to another µp or peripheral such as modem Example devices: MC6850 ACIA for 6800 CPU MC68681 DUART for CPU They are programmable devices To use, the designer must program number of bits per character (not necessarily 8 bit/char), parity etc Can interrupt µp when peripheral is ready Possible to connect many device to single serial line (multidrop) mzabidi@ieee.org
13 LEDs Simples Elementary Output An LED is a semiconductor device that converts electrical energy directly into a discrete color of light Can be visible or IR White LEDs are blue LEDs plus phosphor V voltage drop Typically draws ma Semiconductor Diode Wire Bond Epoxy Lens Epoxy Case Reflective Cup Anode Lead Cathode Lead mzabidi@ieee.org 11-13
14 Turning on an LED Note: A zero turns on the LED +5V no light LED No current R +5V 1 output pin +5V LED light +3.2V Current R +0.4V 0 output pin R = voltage current = x 10-3 ~ 220 ohms mzabidi@ieee.org 11-14
15 Interfacing LED with Latch Unlike diodes, Light-emitting diodes have a forward voltage drop from 1.7 to 2.5 volts and most of them flow a forward current 10-20mA. Poor circuit TTL outputs can't source above 1mA so the LED will be very dim. Fair circuit The LED will conduct heavily at about 2V and the extra 3V has to be dropped in the TTL circuitry. This causes high power dissipation in the TTL or the LED fails. Good circuit The resistor limits the current. The resistance can be calculated by assuming its voltage is about 2V and the TTL output is 0.4V. See previous page. The resistor should not less than 100ohm or the LED would fail mzabidi@ieee.org 11-15
16 Simple Interfacing CPU to LED LED EQU $E00010 START ORG $1000 MOVEQ #1,D0 LOOP MOVE.B D0,LED MOVE.L #200000,D1 DELAY SUBQ.L #1,D1 BNE DELAY ROR.B #1,D0 Dari bas data D7 D6 D5 D4 D3 D2 D1 D0 Dari penyahkod alamat D7 D6 D5 D4 D3 D2 D1 D0 LE OE 74LS374 Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 220ž 220ž 220ž 220ž 220ž 220ž 220ž 220ž +5V BRA LOOP END START
17 7-Segment Display There are applications where you need to display a decimal digit using a seven segment LED display. The display could represent e.g. the number of times a switch was pressed. Digits 0-9 and hex A-F can be displayed by giving the proper 7-segment codes q g f e d c b a q g f e d c b a A b C d E F mzabidi@ieee.org
18 Types of 7 Segment Displays Common-anode (CA): LED ON when Output is LOW. 8 cathode legs, 1 anode Common-cathode (CC): LED ON when Output is HIGH. 8 anode legs, 1 cathode TTL and CMOS devices are normally not used to drive the common-cathode display directly because of current (ma) requirement. A buffer circuit is used between the decoder chips and common-cathode display mzabidi@ieee.org 11-18
19 Using Lookup Tables Using lookup table to drive the 7-segment displays will result in efficient programs. ; Driver subroutine to display digits ; Digit to be displayed in D0 ; Address of interface is "DISP" ; Table of segments is "DIGTAB" DSPLAY: MOVEM.L A0/DO,-(A7) MOVE.L #DIGTAB,A0 EXT.W D0 EXT.L D0 ADD.L D0,A0 MOVE.B (A0),DISP ;OUTPUT MOVEM.L (A7)+,A0/D0 RTS ; Format of 7-segment: 0gfedcba Common-anode DIGTAB: DC.B % , % DC.B % , % DC.B % , % DC.B % , % DC.B % , % mzabidi@ieee.org 11-19
20 Elementary Input with Simplest input device is the three-state buffer. Buffer is very fast (around 20 ns), so DTACK* does not need to be delayed. Needs only 1 memory address Penimbal D0-D7 atau D8-D15 D0-D7 A1-A23 AS Penyahkod alamat OE V cc DTACK Punca DTACK daripada peranti lain mzabidi@ieee.org 11-20
21 Interfacing Switch with Poor circuit Logic 1 is stable when the switch is closed. But when the switch is open, the input floats to a noise-sensitive high rather than a low. An open TTL pin is usually read as logic 1 but the pin may picks up noise like an antenna. Impossible to get a stable low input. Fair circuit Requires a very small the pull-down resistor. Otherwise, the pin will rise above 0.9V when the resistor passes the 1.6mA sinking current. When the switch is closed, the circuit waste a large current since virtually no current flows into the pin. The only advantage is that a switch closure gives logic mzabidi@ieee.org 11-21
22 Interfacing Switch with Good Circuit When the switch is open, the 10k resistor supplies very small current needed for logic 1. When it is closed, the port pin is short to ground. The voltage is 0V and all the sinking current requirement is met, so it is logic 0. The 10k resistor will pass 0.5 ma (5 Volt/10k ohm). Thus the circuits waste very little current in either state. The drawback is that the closure of switch gives logic 0 and people like to think of a switch closure gives logic 1. But this is not a matter because it is easy to handle in software. To conclude, driving a TTL input should always consider current sinking (pulling input to 0V) mzabidi@ieee.org 11-22
23 Interfacing Switch with ; ; ATURCARA UNTUK MENGUJI SUIS ; SUIS EQU $ LED EQU $A00001 ORG $1000 START MOVE.B SUIS,LED BRA START END ;ALAMAT SEBENAR BERGANTUNG SISTEM Ke bas data D7 D6 D5 D4 D3 D2 D1 D0 Dari penyahkod alamat Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 74LS244 OE1 OE2 D7 D6 D5 D4 D3 D2 D1 D0 +5V 1kž 1kž 1kž 1kž 1kž 1kž 1kž 1kž mzabidi@ieee.org 11-23
24 Switch Debouncing When mechanical switches are opened or closed there are brief oscillations due to mechanical bouncing (switch bounce). key bounce, t BOUNCE V DD R R Set Q Reset (a) Set-reset latch Q Reset Set V DD R 3 basic hardware debouncing methods SR latches Non-inverting CMOS gates Integrating debouncer The most popular and simple one has been the wait and see method. The program simply waits for about 10 ms and reexamines the same key again to see if it is still pressed. V DD R C 4050 V out (b) CMOS gate debouncer V out H Threshold level L Switch closed (c) Integrating RC circuit debouncer Figure 7.42 Hardware debouncing techniques mzabidi@ieee.org 11-24
25 One Hardware Debounce Method
26 BCD-to-7-Segment Decoder/Driver (a) BCD-to-7- segment decoder/driv er driving a commonanode 7- segment LED display; (b) segment patterns for all possible input codes mzabidi@ieee.org 11-26
27 Keypad Decoding: 4x4 or 4x3 keypad CPU checks these lines CPU sends low signal to these lines
28 Decoding the Keyboard Matrix Example: press 5 and E Pressing A B C D E F Col 0 Col 2 Col 1 Col 3 Row 0 Row 1 Row 2 Row 3 Row 1 Col Pressing E (=14) Row 3 Col mzabidi@ieee.org 11-28
29 74C922 Keypad Encoder Performs the decoding and debouncing in hardware Connect to column pins Connect to row pins Connect to oscillator Low to enable output Y1 Y2 Y3 Y4 X1 X2 X3 X4 OSC KBM OE DOA DOB DOC DOD DA 74C Row & col position DA means Data Available High when a key is pressed mzabidi@ieee.org 11-29
30 74C922 Keypad Encoder 74LS244 C1 C1 L C922 Y1 Y2 Y3 Y4 X1 X2 X3 X4 OSC KBM DOA DOB DOC DOD OE DA H D0 D1 D2 D3 D4 D5 D6 D7 To Data Bus 0.068µF 0.68µF U9C LS14 Wait until DA pin high before accepting the 4-bit data mzabidi@ieee.org 11-30
31 Interfacing Other Devices with Latches Buzzers: Most latches do not have the current capacity to drive a buzzer directly so a transistor is added. Diode protects coil transient voltages. Relays: A relay is an excellent way of isolating the latch & CPU from high voltage circuits. Use a relay to control motors, solenoids, lamps etc. 2N3904 D 1 +5V + Piezo Buzzer D 1 +5V Relay N.S. To Indicating Light - N.O. 12 VDC From latch 2N3904 NPN 2.2KΩ B E C Q1 From latch 2N3904 NPN 2.2KΩ B E C Q1 DC Motor mzabidi@ieee.org 11-31
32 Example: System Having Only Elementary I/O
33 Liquid Crystal Displays: HD44780 The HD44780 is an industry standard LCD controller. An I/O port can easily be used to interface with the HD By controlling the value of RS and R/W the MCU can easily either sends instructions or data to the controller. Most operations require 40 micro seconds to complete
34 Multiplexing
Chapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12
Chapter 9 Input/Output (I/O) Ports and Interfacing Updated: 3/13/12 Basic Concepts in I/O Interfacing and PIC18 I/O Ports (1 of 2) I/O devices (or peripherals) such as LEDs and keyboards are essential
More informationBasic I/O Interface
Basic I/O Interface - 8255 11 3 THE PROGRAMMABLE PERIPHERAL 82C55 programmable peripheral interface (PPI) is a popular, low-cost interface component found in many applications. The PPI has 24 pins for
More informationInput/Output Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning Basic I/O Concepts Peripherals such as LEDs and keypads are essential
More informationINTRO TO I/O INTERFACE
Basic I/O Interface Introduction This chapter outlines some of the basic methods of communications, both serial and parallel, between humans or machines and the microprocessor. We first introduce the basic
More informationMemory & Simple I/O Interfacing
Chapter 10 Memory & Simple I/O Interfacing Expected Outcomes Explain the importance of tri-state devices in microprocessor system Distinguish basic type of semiconductor memory and their applications Relate
More informationUNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.
UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip
More informationECE 372 Microcontroller Design
!! "! E.g. Port A, Port B "! Used to interface with many devices!! Switches!! LEDs!! LCD!! Keypads!! Relays!! Stepper Motors "! Interface with digital IO requires us to connect the devices correctly and
More informationHome Security System with Remote Home Automation Control
Home Security System with Remote Home Automation Control Justin Klumpp Senior Project Hardware Description Western Washington University April 24 2005 Professor Todd Morton Introduction: This document
More informationI/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li
Engineering 4862 Microprocessors Lecture 23 Cheng Li EN-4012 licheng@engr.mun.ca I/O Design When designing an I/O port, ensure that the port is only active when selected by the microprocessor Use latches
More information±15kV ESD-Protected, Single/Dual/Octal, CMOS Switch Debouncers
19-477; Rev 1; 1/99 ±15k ESD-Protected, Single/Dual/Octal, General Description The are single, dual, and octal switch debouncers that provide clean interfacing of mechanical switches to digital systems.
More informationDEV-1 HamStack Development Board
Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,
More informationTOPIC 6 LATCH. FIGURE 1 INTERFACING OF ROM/EPROM TO µc 8051.
TOPIC 6 MEMORY AND I/O INTERFACING MEMORY INTERFACING i. External ROM (program memory) Interfacing P1 P0 D 0-D 7 P3 EA clock LATCH A 0 ROM/ A 7 EPROM A 8 Address lines A 15 PSEN OE FIGURE 1 INTERFACING
More informationEEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 9 Simple I/O Interfacing
Department of Electrical Engineering Lecture 9 Simple I/O Interfacing Week 10 1 In this Lecture. Interface 8051 with the following Input/Output Devices Switches Solenoid and relays LEDs Seven Segment Display
More informationSANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1
SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC
More informationParallel-to-Serial and Serial-to-Parallel Converters
Session 1532 Parallel-to-Serial and Serial-to-Parallel Converters Max Rabiee, Ph.D., P.E. University of Cincinnati Abstract: Microprocessors (MPUs) on a computer motherboard communicate in a parallel format
More informationPROGRAMMING AND CUSTOMIZING
PROGRAMMING AND CUSTOMIZING THE PICAXE MICROCONTROLLER SECOND EDITION DAVID LINCOLN Mc Grauu Hill New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore
More informationMechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6
Mechatronics and Measurement Lecturer:Dung-An Wang Lecture 6 Lecture outline Reading:Ch7 of text Today s lecture: Microcontroller 2 7.1 MICROPROCESSORS Hardware solution: consists of a selection of specific
More informationUNIT 3 THE 8051-REAL WORLD INTERFACING
UNIT 3 THE 8051-REAL WORLD INTERFACING 8031/51 INTERFACING TO EXTERNAL MEMORY The number of bits that a semiconductor memory chip can store is called chip capacity It can be in units of Kbits (kilobits),
More informationBMS: Installation Manual v2.x - Documentation
Page 1 of 7 BMS: Installation Manual v2.x From Documentation This section describes how external peripheral devices are connected and additional functions of the BMS are used. I you have not done so already,
More informationmm Monochrome Display and Printer Adapter
--- ---- - --_. - - - --- ---- ----- Personal Computer Hardware Reference Library mm Monochrome Display and Printer Adapter 6361511 ii Contents Introduction... 1 Monochrome Display Adapter Function...
More informationRTC Interface 89C51 DS M. Krishna Kumar MAM/M7/LU17/V1/ Vcc VCC 5 SDA P1.0 6 SCL P KHz 3 BAT 3.
RTC Interface 89C51 Vcc P1.0 10k 10k 5 SDA DS 1307 8 VCC P1.1 6 SCL X1 1 + 3 BAT X2 2 32.768KHz - 3.6V 4 GND INTB\SQW 7 M. Krishna Kumar MAM/M7/LU17/V1/2004 1 RTC Interface contd. DS 1307 is a real time
More informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT IV I/O INTERFACING PART A (2 Marks)
MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. UNIT IV I/O INTERFACING PART A (2 Marks) 1. Name the three modes used by the DMA processor to transfer data? [NOV/DEC 2006] Signal transfer mode (cycling
More informationMicrocomputer Architecture and Programming
IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller
More informationEE251: Thursday September 20
EE251: Thursday September 20 Parallel I/O aka General Purpose I/O aka GPIO Common Devices: Switches, LEDs, Keypads Read Lab 4 carefully, and Chapter 14 in text Think about what you would like to review
More information3. The MC6802 MICROPROCESSOR
3. The MC6802 MICROPROCESSOR This chapter provides hardware detail on the Motorola MC6802 microprocessor to enable the reader to use of this microprocessor. It is important to learn the operation and interfacing
More informationZ8 Pod Adapter. for the. Fluke 9000-Series Troubleshooter
Z8 Pod Adapter for the Fluke 9000-Series Troubleshooter May 23, 1984 Table of Contents 1. Conventions Used in This Document... 1 2. Overview... 2 3. Pod Adapter Setup... 3 3.1. Drivability Checking Control
More informationINTRODUCTION. Mechanical Considerations APPLICATION NOTE Z86E21 THERMAL PRINTER CONTROLLER ZILOG
ZILOG DESIGNING A LOW-COST THERMAL PRINTER USING THE Z86E21 TO CONTROL THE OPERATING CURRENT ON LOW-COST THERMAL PRINTERS PROVIDES DESIGN FLEXIBILITY AND HELPS SAFEGUARD PERFORMANCE. INTRODUCTION Compact
More informationZ Z-280 MT8930, MT8992/3/4/5 MT8880 MT8888 MT8889 MT8980/1 MT8985, MT8986 (DIP-40) MT8986 (PLCC-44) MT8920B MT8952B
MSAN-145 How to Interface Mitel Components to Parallel Bus CPUs TABL OF CONTNTS Introduction ISSU 1 August 1993 1.0 Group 1 Components 1.1 Interfacing to the 6802 1.2 Interfacing to the 6809 1.3 Interfacing
More informationPK2200 Series. Features. C-Programmable Controller. Specifications Board Size Enclosure Size Operating Temp.
C-Programmable Controller P00 Series The P00 Series of C-programmable controllers is based on the Zilog Z80 microprocessor. The P00 includes digital, serial, and high-current switching interfaces. The
More informationKeywords Digital IC tester, Microcontroller AT89S52
Volume 6, Issue 1, January 2016 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Digital Integrated
More informationDigital Input and Output
Digital Input and Output Topics: Parallel Digital I/O Simple Input (example) Parallel I/O I/O Scheduling Techniques Programmed Interrupt Driven Direct Memory Access Serial I/O Asynchronous Synchronous
More informationWhat are output transducers An output transducer will convert electrical signals passed to it by the process into another form of energy.
What are output transducers An output transducer will convert electrical signals passed to it by the process into another form of energy. ACTIVITY Can you find the symbols of the output components listed
More informationEmbedded Systems and Software
Embedded Systems and Software Lecture 12 Some Hardware Considerations Hardware Considerations Slide 1 Logic States Digital signals may be in one of three states State 1: High, or 1. Using positive logic
More informationChapter 1: Basics of Microprocessor [08 M]
Microprocessor: Chapter 1: Basics of Microprocessor [08 M] It is a semiconductor device consisting of electronic logic circuits manufactured by using either a Large scale (LSI) or Very Large Scale (VLSI)
More informationUNIT - II PERIPHERAL INTERFACING WITH 8085
UNIT - II PERIPHERAL INTERFACING WITH 8085 Peripheral Interfacing is considered to be a main part of Microprocessor, as it is the only way to interact with the external world. The interfacing happens with
More informationDescription INPUT INTERFACING
SEMICONDUCTOR ICM711, ICM71 December 1993 Features ICM711 (LCD) Description -Digit ICM711 (LCD) and ICM71 (LED) Display Drivers Four Digit Non-Multiplexed 7 Segment LCD Display Outputs With Backplane Driver
More informationS.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING
S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK Subject Code : EC307 Subject Name : Microprocessor and Interfacing Year & Sem : III Year, V Sem
More informationWith a digital input we can read two states, a high or low. A switch can be open or closed.
Page 1 of 6 PRODUCT INFORMATION B&B ELECTRONICS Data Acquisition Basics Data Acquisition hardware devices provide an interface between electrical signals a computer can read or can output to control things
More informationFIGURE 1. ADC0808/ADC0809
Using the ADC0808/ADC0809 8-Bit µp Compatible A/D Converters with 8-Channel Analog Multiplexer Introduction The ADC0808/ADC0809 Data Acquisition Devices (DAD) implement on a single chip most the elements
More informationSLCD1-IC Serial LCD Processor
SLCD1-IC Serial LCD Processor Diagram 1: LCD Pin 13 LCD Pin 14 1 2 18 17 LCD Pin 12 LCD Pin 11 N/C 3 16 8 MHz Osc DC 4 15 8 MHz Osc Ground 5 14 DC Serial Input True/Inverted 6 7 13 12 LCD Pin 6 LCD Pin
More informationDigital I/O Survival Kit
The Digital I/O Survival Kit by Dwight Spreng Keithley Instruments, Inc. Introduction In the world of computerized Data Acquisition (DAQ), few would dispute that analog measurements, with gigasample rates
More informationDTMF BASED HOME AUTOMATION
DTMF BASED HOME AUTOMATION Vimlesh Kumar Agrahari 1, Md Arzoo 2, Harish Kumar 3 1, 2 Students, Electrical Engineering Department Greater Noida Institutes of Technology, Gr.Noida, (India) 3 Assistant Professor,
More informationVMIVME bit High-Voltage Digital Input and/or Output Board with P2 I/O and Built-in-Test FUNCTIONAL CHARACTERISTICS
32-bit High-oltage Digital Input and/or Output Board with P2 I/O and Built-in-Test 32 bits of high-voltage outputs High-voltage outputs High-current sink (600 ma) High breakdown voltage (60 minimum) Output
More informationand 8 Open-Drain I/Os
EVALUATION KIT AVAILABLE MAX7325 General Description The MAX7325 2-wire serial-interfaced peripheral features 16 I/O ports. Ports are divided into eight push-pull outputs and eight I/Os with selectable
More informationONYX-MM-XT PC/104 Format Counter/Timer & Digital I/O Module
ONYX-MM-XT PC/104 Format Counter/Timer & Digital I/O Module User Manual V1.4 Copyright 2009 Diamond Systems Corporation 1255 Terra Bella Avenue Mountain View, CA 94043 USA Tel (650) 810-2500 Fax (650)
More informationParallel Interfacing
Chapter 12 Parallel Interfacing Expected Outcomes Identify the internal registers of MC6821 Design the hardware interface for various I/O devices using MC6821 Develop and write codes using MC6821 Parallel
More informationPIN DIAGRAM. Richa Upadhyay Prabhu. NMIMS s MPSTME January 19, 2016
PIN DIAGRAM Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu January 19, 2016 Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 1 / 51 Pin Diagram of 8086 Richa Upadhyay
More information8051 I/O and Class 6 EE4380 Spring 03. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas
8051 I/O and 8255 Class 6 EE4380 Spring 03 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Why I/O Ports Controllers need to get external inputs and produce
More informationComputer Architecture 5.1. Computer Architecture. 5.2 Vector Address: Interrupt sources (IS) such as I/O, Timer 5.3. Computer Architecture
License: http://creativecommons.org/licenses/by-nc-nd/3./ Hardware interrupt: 5. If in an eternal device (for eample I/O interface) a predefined event occurs this device issues an interrupt request to
More informationHello, and welcome to this presentation of the STM32 Touch Sensing Controller (TSC) which enables the designer to simply add touch sensing
Hello, and welcome to this presentation of the STM32 Touch Sensing Controller (TSC) which enables the designer to simply add touch sensing functionality to any application. 1 Over recent years, Touch Sensing
More informationC and Embedded Systems. So Why Learn Assembly Language? C Compilation. PICC Lite C Compiler. PICC Lite C Optimization Results (Lab #13)
C and Embedded Systems A µp-based system used in a device (i.e, a car engine) performing control and monitoring functions is referred to as an embedded system. The embedded system is invisible to the user
More informationCourse Introduction. Content: 21 pages 4 questions. Learning Time: 35 minutes
Course Introduction Purpose: The intent of this course is to provide embedded control engineers with valuable implementation instructions on HCS08 port pins and the Keyboard Interrupt (KBI) module. Objectives:
More information12 Push-Pull Outputs and 4 Inputs
EVALUATION KIT AVAILABLE MAX7326 General Description The MAX7326 2-wire serial-interfaced peripheral features 16 I/O ports. The ports are divided into 12 push-pull outputs and four input ports with selectable
More informationBasic Interface Techniques for the CRD155B
Basic Interface Techniques for the CRD155B April 2001, ver. 1.10 Application Note 101 Introduction This application note contains basic information about interfacing external circuitry to computer I/O
More informationAddress connections Data connections Selection connections
Interface (cont..) We have four common types of memory: Read only memory ( ROM ) Flash memory ( EEPROM ) Static Random access memory ( SARAM ) Dynamic Random access memory ( DRAM ). Pin connections common
More informationDS1306. Serial Alarm Real Time Clock (RTC)
www.dalsemi.com FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 96-byte nonvolatile RAM for data
More information4I39 RS-422 ANYTHING I/O MANUAL
4I39 RS-422 ANYTHING I/O MANUAL V1.0 Table of Contents GENERAL.......................................................... 1 DESCRIPTION................................................. 1 HARDWARE CONFIGURATION........................................
More informationWeek 7. Input/Output Interface Circuits and LSI Peripheral Devices
Week 7 Input/Output Interface Circuits and LSI Peripheral Devices Core and Special Purpose I/O Interfaces Special purpose I/O interfaces display parallel printer interface serial communication interface
More informationMicrocontroller Based Code Locking System with Alarm
IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-issn: 2278-1676,p-ISSN: 2320-3331, Volume 9, Issue 1 Ver. II (Jan. 2014), PP 09-17 Microcontroller Based Code Locking System with Alarm
More informationNTE1731 Integrated Circuit CMOS 10 Number Pulse Dialer
NTE1731 Integrated Circuit CMOS 10 Number Pulse Dialer Description: The NTE1731 is a CMOS LSI repertory dialer with ten 16 digit number memory storage in a 16 Lead DIP type package. The pulse and mute
More informationSummer 2003 Lecture 21 07/15/03
Summer 2003 Lecture 21 07/15/03 Simple I/O Devices Simple i/o hardware generally refers to simple input or output ports. These devices generally accept external logic signals as input and allow the CPU
More informationMICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output
8085 SATISH CHANDRA What is a Microprocessor? The word comes from the combination micro and processor. Processor means a device that processes whatever. In this context, processor means a device that processes
More information8255 Programmable Peripheral Interface Architecture MCT/UNIT III/NARASIMHARAJ/LECTURE NOTES /IV MECH A
8255 Programmable Peripheral Interface Architecture 8255 PPI Architecture The parallel input-output port chip 8255 is also called as programmable peripheral input- output port. The Intel s 8255 is designed
More informationLab #2: Building the System
Lab #: Building the System Goal: In this second lab exercise, you will design and build a minimal microprocessor system, consisting of the processor, an EPROM chip for the program, necessary logic chips
More informationDebounced 8 8 Key-Scan Controller
Debounced 8 8 Key-Scan Controller Description The SN7326 is a 64 key, key-scan controller. It offloads the burden of keyboard scanning from the host processor. The SN7326 supports keypad matrix of up to
More information4 Multiplexer. Y Fig Keyboard Scan Matrix
- 4 Multiplexer Microcontroller 3 Decoder X Y Fig. - Keyboard Scan Matrix 2 Prentice Hall, Inc. -2 Track Sector Head positioning Fig. -2 Hard Disk Format 2 Prentice Hall, Inc. -3 RGB electron guns R G
More informationAPPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment
Maxim > Design Support > Technical Documents > Application Notes > Automotive > APP 655 Maxim > Design Support > Technical Documents > Application Notes > Microprocessor Supervisor Circuits > APP 655 Keywords:
More informationFeatures. Ordering Information. Selector Guide. Applications. Pin Configurations. I 2 C Port Expander with 8 Open-Drain I/Os
General Description The MAX7321 2-wire serial-interfaced peripheral features eight open-drain I/O ports with selectable internal pullups and transition detection. Any port may be used as a logic input
More informationPIC DESIGN (version 1) 2/11/2009
PIC DESIGN (version 1) 2/11/2009 The decision to design and construct a custom microcontroller was dictated by both practical and educational reasons. Although microcontroller development boards are readily
More informationoutput devices. connected to the controller. data communications link. relay systems. user program. MECH1500Quiz1ReviewVersion2 Name: Class: Date:
Class: Date: MECH1500Quiz1ReviewVersion2 True/False Indicate whether the statement is true or false. 1. The number and type of I/Os cannot be changed in a fixed PLC. 2. In a PLC system, there is a physical
More informationOutline Description Sheets for G900x Series
Outline Description Sheets for G900x Series Nippon Pulse Motor Co.,Ltd. Table of contents (1) Difference in communication methods between the G80xx (current models) and the G900x series. 1 (2) CPU emulation
More informationAMD actual programming and testing on a system board. We will take a simple design example and go through the various stages of this design process.
actual programming and testing on a system board. We will take a simple design example and go through the various stages of this design process. Conceptualize A Design Problem Select Device Implement Design
More informationTopics. Interfacing chips
8086 Interfacing ICs 2 Topics Interfacing chips Programmable Communication Interface PCI (8251) Programmable Interval Timer (8253) Programmable Peripheral Interfacing - PPI (8255) Programmable DMA controller
More informationReview for Exam III. Analog/Digital Converters. The MC9S12 has two 10-bit successive approximation A/D converters - can be used in 8-bit mode
Methods used for A/D converters Flash (Parallel) Successive Approximation Review for Exam III Analog/Digital Converters A/D converters are classified according to: Resolution (number of bits) Speed (number
More informatione-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text
e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text In this lecture the detailed architecture of 8051 controller, register bank,
More informationLecture-65 SERIAL DATA COMMMUNICATION The data bus of a microcomputer system is designed to transfer data to and from I/O device in parallel - all
Lecture-65 SERIAL DATA COMMMUNICATION The data bus of a microcomputer system is designed to transfer data to and from I/O device in parallel - all bits of a data word are transformed simultaneously. This
More informationProgrammable Peripheral Interface (PPI) 8255A. CEN433 King Saud University Dr. Mohammed Amer Arafah
Programmable Peripheral Interface (PPI) 8255A CEN433 King Saud University Dr. 1 Functional Diagram 2 Pin Description 3 8255A Basic Operation A 1 A 0 Port 0 0 Port A 0 1 Port B 1 0 Port C 1 1 Control Word
More informationHistory and Basic Processor Architecture
History and Basic Processor Architecture History of Computers Module 1 Section 1 What Is a Computer? An electronic machine, operating under the control of instructions stored in its own memory, that can
More informationDS1302. Trickle Charge Timekeeping Chip FEATURES PIN ASSIGNMENT PIN DESCRIPTION
DS132 Trickle Charge Timekeeping Chip FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 21 31 x 8 RAM
More informationEmbedded Systems and Software
Embedded Systems and Software Some Hardware Considerations Embedded Systems in Vehicles Hardware, Slide 1 Logic States Digital signals may be in one of three states State 1: High, or 1. Using positive
More informationGL116 ENCODER/DECODER MANUAL GLOLAB CORPORATION
GL ENCODER/DECODER MANUAL GLOLAB CORPORATION Thank you for buying our GL Encoder / Decoder Module. This device was developed in response to many requests for an encoder and decoder that would serialize
More informationVALLIAMMAI ENGINEERING COLLEGE S.R.M. NAGAR, KATTANKULATHUR-603203. DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING VII-EEE EE6502- MICROPROCESSORS AND MICROCONTROLLERS QUESTION BANK UNIT I 1. What
More informationECE 4510/5530 Microcontroller Applications Chapter 7
ECE 450/5530 Microcontroller Applications Chapter 7 Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences Chapter 7: Parallel
More informationPOWER SAVER METER USING MICROCONTROLLER TO SAVE ELECTRICITY UPTO 30-40%
POWER SAVER METER USING MICROCONTROLLER TO SAVE ELECTRICITY UPTO 30-40% Prof. Dipesh. M.Patel 1 Kandarp mehta 2 Himanshu amrutiya 3 Ravi bhalodia 4 Chirag amrutiya 5 1. Head, Electrical Engg. Department,
More informationExperiment No. 7 PARALLEL INTERFACING USING THE PERIPHERAL INTERFACE ADAPTER (PIA) ECE 441
Experiment No. 7 PARALLEL INTERFACING USING THE PERIPHERAL INTERFACE ADAPTER (PIA) ECE 441 Peter Chinetti November 21, 2013 1 Introduction 1.1 Purpose Date Performed: November 14, 2013 Partners: Zelin
More informationEMBEDDED SYSTEMS COURSE CURRICULUM
On a Mission to Transform Talent EMBEDDED SYSTEMS COURSE CURRICULUM Table of Contents Module 1: Basic Electronics and PCB Software Overview (Duration: 1 Week)...2 Module 2: Embedded C Programming (Duration:
More informationProfessional Radio GM Series. Controlhead Service Information
Professional Radio GM Series Controlhead Service Information Issue: September 2000 ii Computer Software Copyrights The Motorola products described in this manual may include copyrighted Motorola computer
More informationChapter Operation Pinout Operation 35
68000 Operation 35 Chapter 6 68000 Operation 6-1. 68000 Pinout We will do no construction in this chapter; instead, we will take a detailed look at the individual pins of the 68000 and what they do. Fig.
More informationUSB-4303 Specifications
Specifications Document Revision 1.0, February, 2010 Copyright 2010, Measurement Computing Corporation Typical for 25 C unless otherwise specified. Specifications in italic text are guaranteed by design.
More informationLab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman
Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman Exercise 4-1: Familiarization with Lab Box Contents & Reference Books 4-1-1 CMOS Cookbook (In the
More informationLABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580
LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F458 1. OBJECTIVES: 1.1 To learn how to interface LCD 16x2, Keypad 4x4 and 7Segment Display to the microcontroller. 1.2 To
More informationWTDIO-M. eeder. Digital I/O Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies
eeder Technologies 90-A Beal Pkwy NW, Fort Walton Beach, FL 32548 www.weedtech.com 850-863-5723 Digital I/O Module FEATURES 14 I/O channels; individually configured for input or output. All inputs incorporate
More informationCREATED BY M BILAL & Arslan Ahmad Shaad Visit:
CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor
More informationThis set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port).
This set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port). 1. Programmable peripheral input-output port is other name for a) serial input-output
More informationElectronFlux USB Module
ElectronFlux USB Module Product ID. : 800 Board Rev. : 1.00 Date : Mar 28, 2008 Firmware Rev. : 1.10 Node Firmware Rev. : 1.30 Beta Innovations Inc. (c) 2006-2008 http://www.betainnovations.com Table of
More informationEEM336 Microprocessors I. I/O Interface
EEM336 Microprocessors I I/O Interface Introduction Basic I/O interface Handshaking process Serial and Parallel communication I/O interface examples 2 Chapter Objectives Upon completion of this chapter,
More informationWTDIO-M. e e d e r. Digital I/O Module. Technologies FEATURES. Price $59 SPECIFICATIONS DESCRIPTION. Weeder Technologies
e e d e r Technologies 90-A Beal Pkwy NW, Fort Walton Beach, FL 32548 www.weedtech.com Voice/Fax 850-863-5723 Digital I/O Module FEATURES 14 I/O channels; individually configured for input or output. All
More informationSYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET
1 SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET Intel 8086/8088 Architecture Segmented Memory, Minimum and Maximum Modes of Operation, Timing Diagram, Addressing Modes, Instruction Set,
More informationPin diagram Common SignalS Architecture: Sub: 8086 HARDWARE
1 CHAPTER 6 HARDWARE ARCHITECTURE OF 8086 8086 Architecture: 6.1 8086 Pin diagram 8086 is a 40 pin DIP using CHMOS technology. It has 2 GND s as circuit complexity demands a large amount of current flowing
More information1 Overview. Standard Products Application Note 8-bit MSI & 16-bit Logic Products with Unused or Floating Logic Inputs
Standard Products Application Note 8-bit MSI & 16-bit Logic Products with Unused or Floating Logic Inputs The most important thing we build is trust 1 Overview To avoid system-level problems in designs
More information