I/O Ports.

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

Week10 Boolean Instructions on the Boolean Instructions  Boolean (or Bit) addressable capability is unique to the 8051  Enables efficient handling.
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Mark Neil - Microprocessor Course 1 Decoding and Using a 4x4 Keyboard.
03/11/03Nate Lamie Power Drivers. 03/11/03Nate Lamie Background Used to provide interface between low-level logic and power loads.
EET Advanced Digital Parallel Ports. n In contrast to serial ports, parallel ports ‘present’ all bits at one time. n ‘The parallel port reflects.
Grading Lab reports: 10pts each. Demo required Homeworks: 3 points each (will be scaled by difficulty) Ratios –Lab: 25% –Homework 25% –Quizzes total 25%
Lab 6 :Digital Display Decoder: 7 Segment LED display Slide #2 Slide #3 Slide #4 Slide #5 Slide #6 Slide #7 Display Decoder Fundamentals LT Control Input.
Digital I/O Connecting to the Outside World
MICRO SD CARD INTERFACING WITH MSP430
ECE 447 Fall 2009 Lecture 6: TI MSP430 IO Interfacing.
ECE 447: Lecture 6 Input/Output Interfacing LEDs, Button Switches & Port Multiplexing.
UNIVERSAL COLLEGE OF ENGINEERING &TECHNOLOGY DIGITAL ELECTRONICS SUBJECT - DIGITAL ELECTRONICS.
Overview What kind of LCD Interfacing the LCD Displaying Text and Numbers Common Issues.
Input/Output Ports and Interfacing
CprE 211 Break-out Board Layout
1 ARM University Program Copyright © ARM Ltd 2013 General Purpose I/O.
FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc.
1 General Purpose and Alternate Function I/O (GPIO and AFIO)
PCA9557: REMOTE 8-BIT I 2 C AND SMBus LOW- POWER I/O EXPANDER.
Appendix A Example of a Testability Design Checklist Route test/control points edge connector to enable monitoring and driving of internal board functions.
Appendix A Example of a Testability Design Checklist  Route test/control points edge connector to enable monitoring and driving of internal board functions.
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Port architecture.
AVR Programming: Digital I/O September 10, What is Digital I/O? Digital – A 1 or 0 Input – Data (a voltage) that the microcontroller is reading.
Printer Port * 0= * 1= * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Light Sensors ECE 4437 Dr. J. Glover Team 9: Jitin George Zachary Freeman.
CSE Fall Introduction - 1 What’s Inside the Buffer? IhIh IlIl Write Reg This device always “drives” either high or low. Current is a function.
ECE Lecture 1 1 L15 –I/O Part II Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
KyungHee Univ. 1-0 Parallel Input/Output Controller (PIO)
Alpha/Numeric Keypad Functions using AVR Preliminary Design Review Luke R. Morgan ECE /17/2008.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Chapter 3 Parallel Ports, Power Supply and the Clock Oscillator The aims of this chapter are to introduce: Why we need parallel input/output; How simple.
Mark Neil - Microprocessor Course 1 Decoding and Using a 4x4 Keyboard.
GROUP MEMBERS: SUMEET HOODA. RAJDEEP PATRE. DHIRAJ GAONKAR. LIVE HUMAN DETECTION USING WIRELESS REMOTE CONTROLLED ROBOT.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University Dr. Jia Uddin, CSE, BRAC University.
STM32F107VC Datablad Reference manual Schematics.pdf.
Application Case Study Christmas Lights Controller
Embedded Systems Programming (What they do and when / how to use them)
AVR I/O Port Programming
CS4101 嵌入式系統概論 General Purpose IO
Peripherals – Keypad The Keypad provides a simple means of numerical data or control input. The keys can be attributed whatever data or control values.
8051 Pin - out PORT 0 PORT 1 PORT 2 PORT 3.
Segment Identification
Input/Output Ports and Interfacing
connect a DC-Motor with an arduino
LAPTOP THEFT IDENTIFIER.
For further information
What’s Inside the Buffer?
GPIO General Purpose Input/output Tiva C TM4C123GH6PM
Refer to Chapter 10 in the reference book
Each I/O pin may be configured as either input or output.
Lecture 6: TI MSP430 IO Interfacing
COMP2121: Microprocessors and Interfacing
90-30 DeviceNet configuration
Atmel ARM I/O Programming
Project: security lock system
The Arduino Microcontroller: Atmel AVR Atmega 328
STM Arm I/O Programming
Architectural Features
It has 12 inputs and a dedicated clock input.
Decoding and Using a 4x4 Keyboard
8051 Micro Controller.
XC9500 Architectural Features
UNIT 9 Relays.
UNIT 9 Relays.
Decoding and Using a 4x4 Keyboard
Presentation transcript:

I/O Ports

I/O Ports Specs Atmeg16 has 32 I/O ports (Ports A, B, C, D 8 lines each). Each output buffer has symmetrical drive characteristics with both high sink and source capability. The pin driver is strong enough to drive LED displays directly. All port pins have individually selectable pull-up resistors. All I/O pins have protection diodes to both VCC and Ground.

Port Registers 3 registers are dedicated to each port. So for example Port A has the following 3 bytes (control I/O registers) controlling its operation: DATA Reg.  Direction Reg. Pin Reg. 0->input pin 1->output pin

Ports’ Ssetting by CodeVision Wizard

I/O port and alternate functions

I/O port and alternate functions Pullup is enabled lf: Pullup-override w. value 1 OR write port a 1 and write direction 0 (input) together w. PUD (pullup disable in I/O Register SFIOR=0)

Most port pins have alternate functions in addition to being General Digital I/Os (see pin assignment). PVOExn: Pxn PORT VALUE OVERRIDE ENABLE PVOVxn: Pxn PORT VALUE OVERRIDE VALUE

? Assignment: Design an Electronic Lock with arbitrary specs e.g.: 3 digits Alarm after 3 trials Master key