Embedded Systems. Interfacing PIC with external devices 7-Segment display. Eng. Anis Nazer Second Semester
|
|
- Darcy Black
- 5 years ago
- Views:
Transcription
1 Embedded Systems Interfacing PIC with external devices 7-Segment display Eng. Anis Nazer Second Semester
2 PIC interfacing In any embedded system, the microcontroller should be connected to other devices such as: LEDs Switches Keypad 7-Segment displays LCD Motor etc...
3 7-segment display
4 7-Segment display A device that has 7 LEDs used to display a single decimal digit Each LED has two pins Two types of 7-Segment displays: Common Anode: all anode pins are connected Common Cathode: all cathode pins are connected
5 7-Segment display
6 Example Assume you want to display a 3 on a common cathode 7- segment display: GND
7 7-Segment display Assume you connected a common cathode display as shown in the figure, what should be stored in PORTB to show the number 3 PIC RB0 RB1 a b RB6 g common
8 Example Write a program that will count through the numbers from 0 to 9, and display the numbers on a common cathode 7-segment display that is connected to PORTB PIC RB0 RB1 a b RB6 g common
9 7-Segment display Write a table showing the required inputs to display all digits from 0 to 9, assuming you are using a common cathode display
10 7-Segment display Basic structure of the program: #include "p16f84a.inc" ; variable definition ORG 0x000 ; main program ; initailization (input/output) ; lookup table ; delay subroutine END
11 7-Segment display To store the table you can use a lookup table table MOVF X, 0 ADDWF PCL, 1 RETLW B' ' RETLW B' ' RETLW B' ' RETLW B' ' RETLW B' ' RETLW B' ' RETLW B' ' RETLW B' ' RETLW B' ' RETLW B' '
12 7-Segment display To count through the numbers, you use a loop CLRF X loop CALL table MOVWF PORTB CALL delay INCF X, 1 MOVLW D'10' ; make sure that x is less than 10 XORWF X, 0 ; if X == 10, then X = 0 BTFSC STATUS, Z CLRF X GOTO loop
13 7 Segment display Instead of a lookup table, you can use an external decoder (BCD to 7-segment) instead of using a lookup table PIC RB0 RB1 RB2 RB3 BCD to 7 segment decoder a b g
14 7 Segment display Program to count through the numbers 0 9 Much easier program, but you need to add a decoder CLRF X loop MOVF X, 0 MOVWF PORTB CALL delay INCF X, 1 MOVLW D'10' ; make sure that x is less than 10 XORWF X, 0 ; if X == 10, set X = 0 BTFSC STATUS, Z CLRF X GOTO loop
15 Exercise Assume that you have a push button and a common anode 7 segment display. The display starts at 0 and is incremented each time the button is pushed. Draw the circuit diagram in detail Write the flow chart of the program Write the program in assembly
16 Exercise Circuit diagram Circuit diagram:
17 Exercise Flow chart Start x=0 false true x = x+1 true x = 0 false display x
18 Exercise - Table Table: ; look up table for a common anode 7 segment display table ADDWF PCL, 1 RETLW 0x40 RETLW 0x79 RETLW 0x24 RETLW 0x30 RETLW 0x19 RETLW 0x12 RETLW 0x02 RETLW 0x78 RETLW 0x00 RETLW 0x10
19 Exercise - Code ; Include register definition file #include "p16f84a.inc" ; VARIABLES x EQU 0x0C ; input/output selection BSF STATUS, RP0 CLRF TRISB BSF TRISA, 0 BCF STATUS, RP0 CLRF x ; check if button is pushed loop BTFSS PORTA,0 CALL next_x ; put the value of x on ; the 7 segment display MOVF x, 0 CALL table MOVWF PORTB next_x INCF x, 1 ; increment x L1 ; if x == 10, then x = 0 MOVLW D'10' XORWF x, 0 BTFSC STATUS, Z CLRF x ; wait until RA0 = 1 BTFSS PORTA,0 GOTO L1 RETURN GOTO loop
20 Problem What if you need to connect 4 digits? directly, you need 4*7 = 28 pins using a decoder 4*4= 16 pins The number of pins is large Solutions: PIC with more outputs Use a Latch/register to store an output Use persistence of vision (POV)
21 Multiple 7-Segment displays Latch is a register that stores a value, when enabled, the input is transferred to the output when disabled, the output does not change, and stays as the previous output Input Latch Output Enable
22 Multiple 7-Segment displays PIC PORTB 8 Latch 8 RA1 RA0 Enable 8 Latch 8 Enable
23 Multiple 7-Segment displays How many outputs are used? 8 for a digit (PORTB) 2 for control (PORTA) Total: 10 outputs How many outputs if you want to connect 4 digits 8 for digit 4 for control Total: 12 outputs
24 Multiple 7-Segment displays Algorithm: Disable all latches Display digit 1 Enable latch 1 Disable latch 1 Display digit 2 Enable latch 2... repeat for remaining digits
25 Multiple 7-Segment displays Another method: Persistence of vision If an LED is turned on and off more than 25 times in a second, your eye will see it as always on. Same idea as the television: A frame is drawn 25 times per second, so you see the TV images as a moving picture (video)
26 Multiple 7-Segment displays Using the concept of Persistence of vision, circuit diagram: PIC PORTB 8 common
27 Multiple 7-Segment displays Algorithm to display a 4 digit number: Start: disable all digits (CLRF PORTA) put digit 1 on PORTB enable digit 1 (BSF PORTA, 0) call delay disable digit 1 (BCF PORTA, 0) put digit 2 on PORTB enable digit 2 (BSF PORTA, 1) call delay disable digit 2 (BCF PORTA, 1) repeat for digits 3 and 4... goto start
28 Problem Assembly programs: hard to write hard to debug user must be an expert in Assembly Most of you are not computer engineering students and don't need to be an expert in Assembly... So, Why use assembly?? efficient programs smaller program size complete control of the MCU
29 High level language A simpler option for non-computer engineers: write your program in a high level language C, Basic, Java, etc use a compiler to translate from C to PIC machine language some available compilers: mikroc, microchip C compiler,
30 Example Build a circuit that counts through the numbers from 0 to 9 and display the result on a 7 segment display, use a BCD to 7-segment decoder to connect the display BCD to 7-Segment decoder is connected to RB0, RB1, RB2, RB3 decoder output is connected to the 7-segment display
31 Example circuit diagram:
32 Example Program: void main() { int i = 0; // counter TRISB = 0; // set PORTB as output PORTB = 0; // output a zero while ( 1 ) { // loop to display numbers from 0 to 9 for ( i = 0; i <= 9; i++) { PORTB = i; // display the number Delay_ms(1000); // delay for 1 second } } }
Embedded Systems. Interfacing PIC with external devices 7-Segment display. Eng. Anis Nazer Second Semester
Embedded Systems Interfacing PIC with external devices 7-Segment display Eng. Anis Nazer Second Semester 2016-2017 PIC interfacing The PIC needs to be connected to other devices such as: LEDs Switches
More informationExperiment 3: Basic Embedded System Analysis and Design
University of Jordan Faculty of Engineering and Technology Department of Computer Engineering Embedded Systems Laboratory 0907334 3 Experiment 3: Basic Embedded System Analysis and Design Objectives Empowering
More informationEXPERIMENT 2: Elementary Input Output Programming
EXPERIMENT 2: Elementary Input Output Programming Objectives Introduction to the Parallel Input/Output (I/O) Familiarization to Interfacing with digital inputs and outputs such as switches, LEDs and 7-segment.
More informationModel Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations
Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations Design questions like A1 below are extremely difficult to mark, not least because there
More informationMECE336 Microprocessors I
MECE336 Microprocessors I Lecture 9 Subtraction and Lookup Tables Associate Prof. Dr. Klaus Werner Schmidt of Mechatronics Engineering Çankaya University Compulsory Course in Mechatronics Engineering Credits
More informationDistance, Velocity and Acceleration Detection
Distance, Velocity and Acceleration Detection Andrew Walma and Scott Duong Abstract For this project we constructed a device that will measure the distance of an object using a high frequency transmitter
More informationAn Enhanced MM MHz Generator
An Enhanced MM5369-60 MHz Generator Author: OVERVIEW Jim Nagy London Ontario email: nagy@wwdc.com I call my idea an 'MM5369E' as it represents the equivalent of a 5369 IC plus all the 'glue' necessary
More informationIntroduction to PIC Programming
Introduction to PIC Programming Baseline Architecture and Assembly Language by David Meiklejohn, Gooligum Electronics Lesson 10: Analog-to-Digital Conversion We saw in the last lesson how a comparator
More informationFour Channel Digital Voltmeter with Display and Keyboard. Hardware RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RA0 RA1 RA2 RA3 PIC16C71
M AN557 Four Channel Digital Voltmeter with Display and Keyboard Author: INTRODUCTION Stan D Souza Microchip Technology Inc. The PIC16C71 is a member of the mid-range family of 8-bit, high-speed microcontrollers,
More informationChapter 11 Sections 1 3 Dr. Iyad Jafar
Data Acquisition and Manipulation Chapter 11 Sections 1 3 Dr. Iyad Jafar Outline Analog and Digital Quantities The Analog to Digital Converter Features of Analog to Digital Converter The Data Acquisition
More informationDiscrete Logic Replacement Melody Player
Melody Player Author: Slav Slavov Sliven email: ell@sliven.osf.acad.bg Flow Chart: begin APPLICATION OPERATION : This application generates a melody. It was a little bit difficult to place the tables because
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 write code to interface
More informationRadio Clock with DCF77
Radio Clock with DCF77 by Nicolas L. F. September 2011 Abstract Since the 1980s radio clocks have been popular, and in this article Nicolas guides us through the creation of his own radio clock using the
More informationLaboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)
Laboratory 11 Digital Displays and Logic (modified from lab text by Alciatore) Required Components: 2x lk resistors 1x 10M resistor 3x 0.1 F capacitor 1x 555 timer 1x 7490 decade counter 1x 7447 BCD to
More informationVikiLABS. a g. c dp. Working with 7-segment displays. 1 Single digit displays. July 14, 2017
VikiLABS Working with 7-segment displays www.vikipedialabs.com July 14, 2017 Seven segment displays are made up of LEDs combined such that they can be used to display numbers and letters. As their name
More informationDigital Clock. Perry Andrews. A Project By. Based on the PIC16F84A Micro controller. Revision C
Digital Clock A Project By Perry Andrews Based on the PIC16F84A Micro controller. Revision C 23 rd January 2011 Contents Contents... 2 Introduction... 2 Design and Development... 3 Construction... 7 Conclusion...
More informationEKT 222 MICROPRESSOR SYSTEM. LAB 4 Extra : INTERFACING WITH OTHER I/O DEVICES
EKT 222 MICROPRESSOR SYSTEM LAB 4 Extra : INTERFACING WITH OTHER I/O DEVICES LAB 4 Extra: Interfacing with Other IO devices Objectives: 1) Ability to create advance program instructions 2) Ability to use
More informationCombo Board.
Combo Board www.matrixtsl.com EB083 Contents About This Document 2 General Information 3 Board Layout 4 Testing This Product 5 Circuit Diagram 6 Liquid Crystal Display 7 Sensors 9 Circuit Diagram 10 About
More informationModule 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8
Name: Class: Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8 Background Traffic signals are used to control traffic that flows in opposing
More informationInternational Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE)
International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE) Course Code: EEE 3518 Course Title: Embedded System Sessional EXPERIMENT NO. 8 Name of the Experiment:
More informationI/O Interfacing. What we are going to learn in this session:
I/O Interfacing ECE 5: Digital System & Microprocessor What we are going to learn in this session: M6823 Parallel Interface Timer. egisters in the M6823. Port initialization method. How M6823 interfaces
More informationPart (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC
Name Name ME430 Mechatronic Systems: Lab 6: Preparing for the Line Following Robot The lab team has demonstrated the following tasks: Part (A) Controlling 7-Segment Displays with Pushbuttons Part (B) Controlling
More informationKeyboard Controlled Scoreboard
Universities Research Journal 2011, Vol. 4, No. 4 Keyboard Controlled Scoreboard Kyaw Hlaing 1 and Win Swe 2 Abstract The objective of this research work is to design a keyboard controlled scoreboard that
More informationDesign and Implementation of Timer, GPIO, and 7-segment Peripherals
Design and Implementation of Timer, GPIO, and 7-segment Peripherals 1 Module Overview Learn about timers, GPIO and 7-segment display; Design and implement an AHB timer, a GPIO peripheral, and a 7-segment
More informationPRACTICAL WORK BOOK For Academic Session Semester. DIGITAL LOGIC DESIGN (TC-203) For SE (TC)
PRACTICAL WORK BOOK For Academic Session Semester DIGITAL LOGIC DESIGN (TC-203) For SE (TC) Name: Roll Number: Batch: Department: Year: Department of Electronic Engineering NED University of Engineering
More informationCPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH
CPE 200L LABORATORY 3: SEUENTIAL LOGIC CIRCUITS DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOALS: Learn to use Function Generator and Oscilloscope on the breadboard.
More informationLaboratory 8. Digital Circuits - Counter and LED Display
Laboratory 8 Digital Circuits - Counter and Display Required Components: 2 1k resistors 1 10M resistor 3 0.1 F capacitor 1 555 timer 1 7490 decade counter 1 7447 BCD to decoder 1 MAN 6910 or LTD-482EC
More informationEmbedded System Training Module ABLab Solutions
Embedded System Training Module ABLab Solutions www.ablab.in Table of Contents Course Outline... 4 1. Introduction to Embedded Systems... 4 2. Overview of Basic Electronics... 4 3. Overview of Digital
More informationLab #11: Register Files
Lab #11: Register Files ECE/COE 0501 Date of Experiment: 3/20/2017 Report Written: 3/22/2017 Submission Date: 3/27/2017 Nicholas Haver nicholas.haver@pitt.edu 1 H a v e r PURPOSE The purpose of this lab
More informationPut Your Data Up in Lights Using an LED Display Chip
Stamp Applications no. 10 (December 95): Put Your Data Up in Lights Using an LED Display Chip Interfacing the MAX7219 LED Driver And Part 1 of an Introduction to BASIC, by Scott Edwards ALTHOUGH most consumer-electronic
More informationECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER
ECB2212 - DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER SUBMITTED BY ASHRAF HUSSAIN (160051601105) S SAMIULLAH (160051601059) CONTENTS >AIM >INTRODUCTION
More informationINTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) APPLIANCE SWITCHING USING EYE MOVEMENT FOR PARALYZED PEOPLE
INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 ISSN 0976 6464(Print)
More informationELCT706 MicroLab Session #3 7-segment LEDs and Analog to Digital Conversion. Eng. Salma Hesham
ELCT706 MicroLab Session #3 7-segment LEDs and Analog to Digital Conversion 7-Segment LED Display g f com a b e d com c P 7-Segment LED Display Common Cathode - Com Pin = Gnd - Active high inputs - Example
More informationDigital (5hz to 500 Khz) Frequency-Meter
Digital (5hz to 500 Khz) Frequency-Meter Posted on April 4, 2008, by Ibrahim KAMAL, in Sensor & Measurement, tagged Based on the famous AT89C52 microcontroller, this 500 Khz frequency-meter will be enough
More informationExperiment 7 Fall 2012
10/30/12 Experiment 7 Fall 2012 Experiment 7 Fall 2012 Count UP/DOWN Timer Using The SPI Subsystem Due: Week 9 lab Sessions (10/23/2012) Design and implement a one second interval (and high speed 0.05
More informationTechnology Control Technology
L e a v i n g C e r t i f i c a t e Technology Control Technology P I C A X E 1 8 X Prog. 1.SOUND Output Prog. 3 OUTPUT & WAIT Prog. 6 LOOP Prog. 7...Seven Segment Display Prog. 8...Single Traffic Light
More informationNAND/NOR Implementation of Logic Functions
NAND/NOR Implementation of Logic Functions By: Dr. A. D. Johnson Lab Assignment #6 EECS: 1100 Digital Logic Design The University of Toledo 1. Objectives - implementing logic functions expressed in nonstandard
More informationChapter 3: Sequential Logic Systems
Chapter 3: Sequential Logic Systems 1. The S-R Latch Learning Objectives: At the end of this topic you should be able to: design a Set-Reset latch based on NAND gates; complete a sequential truth table
More informationCSE221- Logic Design, Spring 2003
EE207: Digital Systems I, Semester I 2003/2004 CHAPTER 3 -ii: Combinational Logic Design Design Procedure, Encoders/Decoders (Sections 3.4 3.6) Overview Design Procedure Code Converters Binary Decoders
More informationLesson 12. Advanced Digital Integrated Circuits Flip-Flops, Counters, Decoders, Displays
Lesson 12 Sierra College CIE-01 Jim Weir 530.272.2203 jweir43@gmail.com www.rstengineering.com/sierra Advanced Digital Integrated Circuits Flip-Flops, Counters, Decoders, Displays Flip-Flops: True name
More informationTheory Lecture Day Topic Practical Day. Week. number systems and their inter-conversion Decimal, Binary. 3rd. 1st. 1st
Lesson Plan Name of the Faculty : Priyanka Nain Discipline: Electronics & Communication Engg. Semester:5th Subject:DEMP Lesson Plan Duration: 15 Weeks Work Load(Lecture/Practical) per week (In Hours):
More informationUNIT V 8051 Microcontroller based Systems Design
UNIT V 8051 Microcontroller based Systems Design INTERFACING TO ALPHANUMERIC DISPLAYS Many microprocessor-controlled instruments and machines need to display letters of the alphabet and numbers. Light
More informationPhysics 217A LAB 4 Spring 2016 Shift Registers Tri-State Bus. Part I
Physics 217A LAB 4 Spring 2016 Shift Registers Tri-State Bus Part I 0. In this part of the lab you investigate the 164 a serial-in, 8-bit-parallel-out, shift register. 1. Press in (near the LEDs) a 164.
More informationSWITCH: Microcontroller Touch-switch Design & Test (Part 2)
SWITCH: Microcontroller Touch-switch Design & Test (Part 2) 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON v2.09 Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Timetable... 2
More informationSeven Segment Board. User Manual. 1.0, Oct 2011
Seven Segment Board User Manual 1.0, Oct 2011 This work is licensed under the Creative Commons Attribution-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/in/
More information4.3 8 bit TFT Digital Driver Board Specification
OZDISAN ELECTRONIC A.S. 4.3 8 bit TFT Digital Driver Board Specification TDDB-SSD-4.3-40P-8B-V4 Doc.Version : 1.0 OLAB Ozdisan Electronic R&D and Technical Support Department Email: ts@ozdisan.com Tel:
More informationAll rights reserved. We advise readers to check that all parts are still available before commencing any project.
Copyright 2008, Wimborne Publishing Ltd (Sequoia House, 398a Ringwood Road, Ferndown, Dorset BH22 9AU, UK) and TechBites Interactive Inc., (PO Box 857, Madison, Alabama 35758, USA) All rights reserved.
More informationLab #10: Building Output Ports with the 6811
1 Tiffany Q. Liu April 11, 2011 CSC 270 Lab #10 Lab #10: Building Output Ports with the 6811 Introduction The purpose of this lab was to build a 1-bit as well as a 2-bit output port with the 6811 training
More informationReaction Game Kit MitchElectronics 2019
Reaction Game Kit MitchElectronics 2019 www.mitchelectronics.co.uk CONTENTS Schematic 3 How It Works 4 Materials 6 Construction 8 Important Information 9 Page 2 SCHEMATIC Page 3 SCHEMATIC EXPLANATION The
More informationbit TFT Digital Driver Board Specification
OZDISAN ELECTRONIC A.S. 3.5 16 bit TFT Digital Driver Board Specification TDDB-SSD-3.5-54P-16B-V2 Doc.Version : 1.0 OLAB Ozdisan Electronic R&D and Technical Support Department Email: ts@ozdisan.com Tel:
More informationECE Lab 5. MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output
ECE 201 - Lab 5 MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output PURPOSE To familiarize students with Medium Scale Integration (MSI) technology, specifically adders. The student should also
More informationHalf-Adders. Ch.5 Summary. Chapter 5. Thomas L. Floyd
Digital Fundamentals: A Systems Approach Functions of Combinational Logic Chapter 5 Half-Adders Basic rules of binary addition are performed by a half adder, which accepts two binary inputs (A and B) and
More informationExperiment 8 Fall 2012
10/30/12 Experiment 8 Fall 2012 Experiment 8 Fall 2012 Count UP/DOWN Timer Using The SPI Subsystem and LCD Display NOTE: Late work will be severely penalized - (-7 points per day starting directly at the
More informationMICROCHIP. STEMSEL LCD Project 6 : Clock. Problem Design a program that displays a clock on the LCD.
STEMSEL LCD Project 6 : Clock Problem Design a program that displays a clock on the LCD. Background Modern society already knows that it is surrounded by hundreds of microchips, doing all sorts of tasks
More informationChristmas LED Snowflake Project
Christmas LED Snowflake Project Version 1.1 (01/12/2008) The snowflake is a follow-on from my Christmas star project from a few years ago. This year I decided to make a display using only white LEDs, shaped
More information8 X 8 KEYBOARD INTERFACE (WITHOUT INTERRUPT SIGNAL)
UNIT 4 REFERENCE 1 8 X 8 KEYBOARD INTERFACE (WITHOUT INTERRUPT SIGNAL) Statement: Interface an 8 x 8 matrix keyboard to 8085 through 8279 in 2-key lockout mode and write an assembly language program to
More informationUniversity of Illinois at Urbana-Champaign
University of Illinois at Urbana-Champaign Digital Electronics Laboratory Physics Department Physics 40 Laboratory Experiment 3: CMOS Digital Logic. Introduction The purpose of this lab is to continue
More informationUNIVERSITI TEKNOLOGI MALAYSIA
SULIT Faculty of Computing UNIVERSITI TEKNOLOGI MALAYSIA FINAL EXAMINATION SEMESTER I, 2016 / 2017 SUBJECT CODE : SUBJECT NAME : SECTION : TIME : DATE/DAY : VENUES : INSTRUCTIONS : Answer all questions
More informationExperiment (6) 2- to 4 Decoder. Figure 8.1 Block Diagram of 2-to-4 Decoder 0 X X
8. Objectives : Experiment (6) Decoders / Encoders To study the basic operation and design of both decoder and encoder circuits. To describe the concept of active low and active-high logic signals. To
More informationData Sheet. Electronic displays
Data Pack F Issued November 0 029629 Data Sheet Electronic displays Three types of display are available; each has differences as far as the display appearance, operation and electrical characteristics
More informationLecture (04) Arduino Microcontroller Programming and interfacing. By: Dr. Ahmed ElShafee
Lecture (04) Arduino Microcontroller Programming and interfacing By: Dr. Ahmed ElShafee 1 Dr. Ahmed ElShafee, ACU : Spring 2019 EEP02 Practical Applications in Electrical Arduino Board Strong Friend Created
More informationDigital IC Tester by Using PIC18F4550
Digital IC Tester by Using PIC18F4550 Mrs. Amruta S. Dixit 1, Mrs. Aditi A. Prabhune 2 Department of Electronics & Telecommunication Pune Institute of Computer Technology, Pune, Maharashtra, India Corresponding
More informationPHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops
PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops Objective Construct a two-bit binary decoder. Study multiplexers (MUX) and demultiplexers (DEMUX). Construct an RS flip-flop from discrete gates.
More informationSTEMSEL LCD Project 8 : Vending Machine MICROCHIP. Figure 1: Inputs and Outputs
STEMSEL LCD Project 8 : Vending Machine Problem How does a ending machine work? How can we use a POT to adjust the amount of money that a customer wants to insert? How can we use a LCD to display more
More informationEE 367 Lab Part 1: Sequential Logic
EE367: Introduction to Microprocessors Section 1.0 EE 367 Lab Part 1: Sequential Logic Contents 1 Preface 1 1.1 Things you need to do before arriving in the Laboratory............... 2 1.2 Summary of material
More informationDM Segment Decoder/Driver/Latch with Constant Current Source Outputs
7-Segment Decoder/Driver/Latch with Constant Current Source Outputs General Description The DM9368 is a 7-segment decoder driver incorporating input latches and constant current output circuits to drive
More information7 SEGMENT LED DISPLAY KIT
ESSENTIAL INFORMATION BUILD INSTRUCTIONS CHECKING YOUR PCB & FAULT-FINDING MECHANICAL DETAILS HOW THE KIT WORKS CREATE YOUR OWN SCORE BOARD WITH THIS 7 SEGMENT LED DISPLAY KIT Version 2.0 Which pages of
More informationCombinational / Sequential Logic
Digital Circuit Design and Language Combinational / Sequential Logic Chang, Ik Joon Kyunghee University Combinational Logic + The outputs are determined by the present inputs + Consist of input/output
More informationMarks and Grades Project
Marks and Grades Project This project uses the HCS12 to allow for user input of class grades to determine the letter grade and overall GPA for all classes. Interface: The left-most DIP switch (SW1) is
More informationCPSC 121: Models of Computation. Module 1: Propositional Logic
CPSC 121: Models of Computation Module 1: Propositional Logic Module 1: Propositional Logic By the start of the class, you should be able to: Translate back and forth between simple natural language statements
More informationET-REMOTE DISTANCE. Manual of ET-REMOTE DISTANCE
ET-REMOTE DISTANCE ET-REMOTE DISTANCE is Distance Measurement Module by Ultrasonic Waves; it consists of 2 important parts. Firstly, it is the part of Board Ultrasonic (HC-SR04) that includes sender and
More informationOne Shot, Two Shot, Red Shot, Blue Shot. Build Instructions
One Shot, Two Shot, Red Shot, Blue Shot Build Instructions Target Console 1) Construct the target console from ½ thick plywood and ¾ thick select trim pieces. Use 1/8 plywood or hardboard for the 15 angled
More informationChapter 3. Boolean Algebra and Digital Logic
Chapter 3 Boolean Algebra and Digital Logic Chapter 3 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple logic circuits. Understand how
More information8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD)
ESSENTIAL INFORMATION BUILD INSTRUCTIONS CHECKING YOUR PCB & FAULT-FINDING MECHANICAL DETAILS HOW THE KIT WORKS LEARN ABOUT PROGRAMMING WITH THIS 8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT
More informationLCD Direct Drive Using HPC
LCD Direct Drive Using HPC INTRODUCTION Liquid Crystal Displays (LCD) are used in a wide variety of applications They are extremely popular because of their low power consumption Manufacturers of Automobiles
More informationChapter 4: Table of Contents. Decoders
0/26/20 OF 7 Chapter 4: Table of Contents Decoders Table of Contents Modular Combinational Logic - Decoders... 2 The generic decoder... 2 The 7439 decoder... 3 The decoder specification sheet... 4 decoder
More informationLab #12: 4-Bit Arithmetic Logic Unit (ALU)
Lab #12: 4-Bit Arithmetic Logic Unit (ALU) ECE/COE 0501 Date of Experiment: 4/3/2017 Report Written: 4/5/2017 Submission Date: 4/10/2017 Nicholas Haver nicholas.haver@pitt.edu 1 H a v e r PURPOSE The purpose
More informationVtronix Incorporated. Simon Fraser University Burnaby, BC V5A 1S6 April 19, 1999
Vtronix Incorporated Simon Fraser University Burnaby, BC V5A 1S6 vtronix-inc@sfu.ca April 19, 1999 Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, BC V5A 1S6 Re: ENSC 370
More informationAdvanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20
Advanced Devices Using a combination of gates and flip-flops, we can construct more sophisticated logical devices. These devices, while more complex, are still considered fundamental to basic logic design.
More informationThe basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of
1 The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of the AND gate, you get the NAND gate etc. 2 One of the
More informationDynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li
Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li Sponsored by: Department of Electrical Engineering & Computer Science at UCF What is the DAC? The DAC is an array of
More informationDigital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill
Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.
More informationLab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)
Nate Pihlstrom, npihlstr@uccs.edu Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts) Objective The objective of lab assignments 5 through 9 are to systematically design and implement
More informationQuad 7-segment display board
Quad 7-segment display board www.matrixtsl.com EB008 Contents About this document 3 Board layout 3 General information 4 Circuit description 4 Protective cover 5 Circuit diagram 6 2 Copyright About this
More informationDIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS
COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS One common requirement in digital circuits is counting, both forward and backward. Digital clocks and
More informationDigital Electronics II 2016 Imperial College London Page 1 of 8
Information for Candidates: The following notation is used in this paper: 1. Unless explicitly indicated otherwise, digital circuits are drawn with their inputs on the left and their outputs on the right.
More informationLesson Sequence: S4A (Scratch for Arduino)
Lesson Sequence: S4A (Scratch for Arduino) Rationale: STE(A)M education (STEM with the added Arts element) brings together strands of curriculum with a logical integration. The inclusion of CODING in STE(A)M
More informationChapter 9 MSI Logic Circuits
Chapter 9 MSI Logic Circuits Chapter 9 Objectives Selected areas covered in this chapter: Analyzing/using decoders & encoders in circuits. Advantages and disadvantages of LEDs and LCDs. Observation/analysis
More informationTutorial Introduction
Tutorial Introduction PURPOSE - To explain how to configure and use the in common applications OBJECTIVES: - Identify the steps to set up and configure the. - Identify techniques for maximizing the accuracy
More informationLogic Design. Flip Flops, Registers and Counters
Logic Design Flip Flops, Registers and Counters Introduction Combinational circuits: value of each output depends only on the values of inputs Sequential Circuits: values of outputs depend on inputs and
More informationThe Micropython Microcontroller
Please do not remove this manual from the lab. It is available via Canvas Electronics Aims of this experiment Explore the capabilities of a modern microcontroller and some peripheral devices. Understand
More informationRensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory
RPI Rensselaer Polytechnic Institute Computer Hardware Design ECSE 4770 Report Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory Name: Walter Dearing Group: Brad Stephenson David Bang
More informationCOMPUTER ENGINEERING PROGRAM
COMPUTER ENGINEERING PROGRAM California Polytechnic State University CPE 169 Experiment 6 Introduction to Digital System Design: Combinational Building Blocks Learning Objectives 1. Digital Design To understand
More informationEmbedded Systems Lab. Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection
UNIVERSITY OF JORDAN Embedded Systems Lab Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection Preferred Group Size Grading Project Due Date (2) Two is the allowed group size.
More informationCHAPTER 16 UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL
CHAPTER 16 UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL Department of Biomedical Engineering Room 152 Macnider Hall, CB #7575 Chapel Hill, NC 27599 Principal Investigator: Richard Goldberg (919) 966-5768
More informationIntroduction to Digital Electronics
Introduction to Digital Electronics by Agner Fog, 2018-10-15. Contents 1. Number systems... 3 1.1. Decimal, binary, and hexadecimal numbers... 3 1.2. Conversion from another number system to decimal...
More informationExperiment: FPGA Design with Verilog (Part 4)
Department of Electrical & Electronic Engineering 2 nd Year Laboratory Experiment: FPGA Design with Verilog (Part 4) 1.0 Putting everything together PART 4 Real-time Audio Signal Processing In this part
More informationME 515 Mechatronics. Introduction to Digital Electronics
ME 55 Mechatronics /5/26 ME 55 Mechatronics Digital Electronics Asanga Ratnaweera Department of Faculty of Engineering University of Peradeniya Tel: 8239 (3627) Email: asangar@pdn.ac.lk Introduction to
More informationEE 357 Lab 4 Stopwatch
EE 357 Lab 4 Stopwatch 1 Introduction You will work in teams of one or two to write C code for your Coldfire board to implement the functionality of a stopwatch. You will plug your microcontroller board
More informationDM Segment Decoder/Driver/Latch with Constant Current Source Outputs
DM9368 7-Segment Decoder/Driver/Latch with Constant Current Source Outputs General Description The DM9368 is a 7-segment decoder driver incorporating input latches and constant current output circuits
More information