Module 2 – Digital I/O Output: Use the digital port to provide signals to display a number on a seven segment light emitting display (LED) display by wiring.

Slides:



Advertisements
Similar presentations
5.4 Decoders A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Advertisements

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.
7-Segment Displays Lecture L6.1 Section 6.3. Turning on an LED.
Seven Segment Display. What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful.
LED Display. LED Typical LED forward bias voltage: 1.5 to 2.0 V Typical currents needed to light LED range from 2 to 15 mA.
Bits and Bytes + Controlling 8 LED with 3 Pins Binary Counting and Shift Registers.
Design a Logic Probe Experiment 20. Design Specifications Design a logic probe as shown in the block diagram of Figure 1 of Experiment 20 with a signal.
LOGIC DESIGN AND CIRCUITS SEVEN SEGMENT LED DISPLAY Res. Assist. Hale İnan 1.
Electricity and Circuits
Blogics! It’s a logic circuit simulator aimed at beginners. It introduces simple concepts in the design of interactive physical computing systems such.
Physics 4341 Some lessons from Module 1. A control usually needs a default –It is not the equivalent to a constant, unless you make “current value default”
Laboratory 5: Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report / Presentation Closing.
Handheld Mastermind Senior Design Projects II Carl Kelso, Mike Ellis, Ryan Shon.
ECE 265 – LECTURE 13 Interface to switches and LEDs 7/3/ ECE265.
Electrical Engineering 1 WISE Investments Electrical Engineering Lab Digital Logic Laboratory Dr. Keith Holbert.
TK I/O Peripherals Interface DR MASRI AYOB.
BCD to 7-Segment Display
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 Outputs 7-Segment Display
Dewan Tanvir Ahmed SITE, UofO
Design a Voltmeter Experiment 19. Goal Design a circuit that displays the value of unknown voltage between certain voltage ranges. – The unknown voltage.
ASPPRATECH.
Lecture – 7 Basic input and output
ECE 447 Fall 2009 Lecture 6: TI MSP430 IO Interfacing.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 2P. 1Winter Quarter Digital Electronics Lab 2.
BASIC Stamp Editor Once installed, the Stamp Editor will be available on your desktop, and as a menu option under Start  Program Files  Parallax Inc.
Lab 3 page 1 ENT-DIGI-210 Lab 3 Notes ©Paul Godin Updated September 2007.
A key element of electrical engineering
1 Survey of Computer Science CSCI 110, Spring 2011 Lecture 16 Digital Circuits, binary Numbers.
ENGR 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program Solar Energy Meter.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Practice Problems to become familiar with circuits and circuit diagrams.
The miniDragon+ Board and CodeWarrior Lecture L2.1.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
CSIS CSIS Input AND from Transistors Illustrates basic use of IDL-800 Illustrates construction of gates Illustrates the “transistor bleed-through”
First, let’s review the structure and use of a breadboard.
Fall 2004EE 3563 Digital Systems Design EE 3563 Combinational Design Practices  Change in reading assignment: 5.3.1,  SSI – Small Scale Integration.
Microcontrollers Module 3: Digital Display. 7 – Segment Display A seven-segment display (SSD), or seven- segment indicator, is a form of electronic display.
Projects 8051.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Magnitude Comparator Dr. Ahmed Telba.
8421 Binary Hexadecimal Seven segment display 8421 Welcome to the Binary Hex Clock 1.The Display shows the Hexadecimal Values going up from 0 to F 2.Unfortunately.
8421 Binary Hexadecimal Seven segment display 8421 Binary Hexadecimal Seven segment display 0000.
ABE425 Engineering Measurement Systems Electronic Parts Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering University of Illinois.
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
Department of Electronic & Electrical Engineering Lecture 2 ● Introduction to IO ● Using a subroutine ● Driving a 7seg display.
Introduction to LabVIEW
Physics 4341 Some lessons from Module 1. A control usually needs a default –It is not the equivalent to a constant, unless you make “current value default”
Department of Electronic & Electrical Engineering Lecture 3. ● Template program. ● Introduction to IO ● PORTA PORTB TRISA TRISB ● Using a subroutine ●
Tutorial 9 Module 8 – 8.1,8.2,8.3. Question 1 Distinguish between vectored and non-vectored interrupts with an example Build a hardware circuit that can.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
LED AND KEYBOARD INTERFACING PREPARED BY :- PREPARED BY :- RAVAL AKASH ( ) RAVAL AKASH ( ) PATEL HARDIK ( ) PATEL HARDIK.
7 SEGMENT INTERFACE WITH AVR MICROCONTROLLER A. D. Patel Institute Of Technology EC :- Sem VPresent By :- Pratik Makadia ( ) 23 June
Binary Representation in Text
Binary Representation in Text
Logic Gates Binary Day 3 PEOPLE 2016.
Lecture 6: TI MSP430 IO Interfacing
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 7) Hasib Hasan
Internet-of-Things (IoT)
Doing some Boolean: On/Off
How Boolean logic is implemented
Chapter 4 Number Systems.
Digital Electronics Lab 2 Instructor:
EET 2261 Unit 8 Seven-Segment Displays
Electricity and Circuits
Digital System Design Combinational Logic
2019 Investing Now Summer Program
Presentation transcript:

Module 2 – Digital I/O Output: Use the digital port to provide signals to display a number on a seven segment light emitting display (LED) display by wiring up the breadboard to connect it to the 8 port0 digital lines. Test this interface with a VI that lets you enter a number on the front panel and then displays the number on the seven- segment LED. The VI should turn the LED’s off when it quits. Input: Use the same portm in input mode, to read a binary pattern created by setting the switches on a dual in-line package (DIP) switch module, and mount the device on the breadboard and connect it to the same 8 digital lines.. Test this interface with another (or part of the previous) VI. Physics 4341

2 Notes on Module 2 Two VI’s, due next week. –(Note that you can combine them into one, using a listbox or ring ) –TTL output logic levels: 4.35 V on. –Input: open means off, closed (connected to 5 V) on. Use  current-limiting resistors. Note that same 8 lines are output (part I) and input (part II). –You can set up your breadboard to do both You have to deal with binary numbers (table II is a worksheet) –Note the Format & Precision menu item for a numeric constant, which can be used to set binary (or octal or hexadecimal). Note the requirement: your VI should turn the LED’s off when it stops. (think about how to do it.)

Physics 4343 Seven segment wiring (common cathode) A14 B13 C8 D7 E6 F1 G2 dp9 Cath4,12 DIPs (Dual-Inline-Packages) have an orientation notch in one end. If the chip is held so that the long axis is horizontal and the notch is at the left end, pin #1 is the leftmost pin in the bottom row. Pins are numbered counter-clockwise from there, i.e. left to right across the bottom row, then right to left across the top row. This allows automated chip-insertion machinery to ensure correct orientation of the chip by mechanical sensing. The picture is for a 8-pin DIP. In this case the “notch” is the top.

Wiring of the CAT5 pairs and 7-seg. Physics 4344 DataColorDAQhea der 7-seg pin 7-seg name P0.0brown65114A P0.1“/white66213B P0.2orange6738C P0.3“/white6847D P0.4green6956E P0.5“/white7061F P0.6blue7172G P0.7“/white7289dec.pt Gnd4 or 12Cath.

Physics 4345 Notes on mapping How do you convert the numbers 1-9 to a different sequence? In most languages, two choices: –case or if-elseif (adds code, complexity) –Table lookup (adds to memory) How does this map into G? See the Demo VI.Demo VI