PLC Relay Ladder Logic, Intel 8051 Assembly Language, Raspberry Pi ARM Assembly Language

Size: px
Start display at page:

Download "PLC Relay Ladder Logic, Intel 8051 Assembly Language, Raspberry Pi ARM Assembly Language"

Transcription

1 Assignment: LAB #7 and #8 PLC Relay Ladder Logic, Intel 8051 Assembly Language, Raspberry Pi ARM Assembly Language COURSE: EGR/CS333 DIGITAL DESIGN & INTERFACING (Digital Design II, Assembly Language, and Interfacing) SYLLABUS: INSTRUCTOR: J. Wunderlich PhD LATE PENALTY: Minus 33.3% per class period for each late item LAST REVISED: - PRE-LAB: 1. Read our Etown NanoLC PLC customized Simulator and Real-Time Device Control Manual: including video on how to program NanoLC with Relay Ladder Logic: 2. Read our Etown Intel 80x51 customized Simulator and Real-Time Device Control Manual(s): a Intel Microcontroller Development Board & Software, plus simulator (8051 Jumps & Calls) b. OPTIONAL: Microcontroller Simulator and intro to Development Board and Software c. OPTIONAL: Pre-2013 Intel Microcontroller Board and Software (80251 Jumps & Calls) 3. Read our Etown Raspberry Pi customized Real-Time Device Control Manual(s): DURING LAB: 1. AS A GROUP, convert your most complex working NanoLC program to-date into Relay Ladder Logic, and in your report compare and contrast it to your original program; along with demonstrating it fully functioning 2. AS A GROUP, simulate the two Intel 8051 Microcontroller Assembly Language programs shown in Dr Wunderlich s publication below. Take screen shots of the memory map to show memory, registers, the stack, and PSW contents changing and put these in your report along with narrative explaining what s happening, and arrows pointing to changing parts of the memory map. You don t need a screen shot for every step above, but several screen shots at select steps should suffice. 3. AS A GROUP, do Raspberry Pi Lab 3 ARM Microcontroller programming as shown below 4. AS A GROUP, after demonstrating all the above, demonstrate for the class TA all functioning and non-functioning parts of all equipment and all parts used in all class Lab Projects. Create a spreadsheet inventory of everything, and list whether or not it is functioning. Make two copies of the list; one for the TA and one for your report. GRADING: For both demonstrations and reports, a 92 is for everything done very well and professional. To get up to 100 or more, enhance things in creative ways GRADE PERCENTAGES and DUE DATES: Demonstrate PAD-234 Circuit Trainer circuits [primarily for 5 volt TTL chips] Demonstrate Old Circuit Trainer circuits [primarily for 5 volt TTL chips]: Demonstrate RadioShack Circuit Trainer circuits [primarily for ~3 volt CMOS chips]: Demonstrate Logisim Circuit simulations Demonstrate Phoenix Contact NanoLC PLC simulations (10%) FRIDAY 5/5/17 AT 3:30PM Demonstrate Phoenix Contact NanoLC PLC real-time systems (10%) FRIDAY 5/5/17 AT 3:30PM Demonstrate Phoenix Contact IEC PLC simulations: Demonstrate Phoenix Contact IEC PLC real-time systems: Demonstrate Field Programmable Gate Array (FPGA) simulations: Demonstrate Field Programmable Gate Array (FPGA) real-time systems: Demonstrate INTEL 8051/80251 microcontroller simulations: (20%) FRIDAY 5/5/17 AT 3:30PM Demonstrate INTEL 8051/80251 microcontroller real-time systems: Demonstrate Raspberry Pi real-time systems (ARM Assembly Language) (20%) FRIDAY 5/5/17 AT 3:30PM Demonstrate Arduino real-time systems: Demonstrate Basic-Stamp real-time systems: Demonstrate Direct PC-port real-time systems: Demonstrate Remote mobile-device real-time systems: Demonstrate LabView real-time systems: Demonstrate Isolated high-voltage bench-test (with low Voltage electronics disconnected) Written Group Report (including all individual Raspberry Pi work): (20%) FRIDAY 5/5/17 AT 3:30PM PowerPoint, Video, or Poster Demonstrate for the class TA all functioning and non-functioning parts (20%) FRIDAY 5/5/17 AT 3:30PM of all equipment and all parts used in all class Lab Projects.

2

3

4

5

6

7

8

9

10 Elizabethtown College CS333 Spring 2017 Raspberry Pi Lab #3 ARM Assembly Code By Daniel Esteves & Joseph Wunderlich PhD 1- Introduction This lab is intended to introduce you to the ARM Architecture/Assembly Code. ARM has become the main processor for gadgets like Smart Phones, Tablets and the best one: Raspberry Pi. Lets go over some examples. 2- Examples This is the code for the Hello World file.data string:.asciz "\nhello World!\n".text.global main.extern printf main: push {ip, lr} ldr r0, =string bl printf pop {ip, pc} To assemble, link and run files on ARM assembly code we need Terminal. 3- Terminal Lets start typing the traditional sudo apt-get update sudo apt-get upgrade OBS:You can use your favorite text editor in Terminal, but for this tutorial I will use nano. Create the assembly1.s file by typing sudo nano assembly1.s With nano opened you can type the Hello World example from above. Close the file by Pressing Control+X and when prompted if you would like to save the changes, press Y and save the file with the same name (assembly1.s). Now that we have the file done, lets assemble it.

11 as g o assembly1.o assembly1.s Now, link it. gcc o assembly1 assembly1.o The file is now assembled and linked. You can now run it by entering./assembly1 Your screen should look like this. 5- Now you! 1- By doing the example you now know how to assemble an ARM assembly code program. Write a program that does the following: 1. Move the integer 13 to the Register R1 2. Move the integer 25 to the Register R2 3. Put the sum of Register R1 and R2 to Register R3 4. Move the value of R3 to R0 ATTENTION!! You will need to add the lines in the end of the file. This is called a system call and is needed to return the right value. MOV R7, #1 SVC 0 If you did everything right, in terminal you can enter echo $?

12 Giving the answer to the sum. RULES FOR ALL LABS (always include this too in each lab report) IF LABS ARE BUILT (AND POSSIBLY REBUILT), BUT DON'T FULLY FUNCTION: For demonstrations and reports, deduct depends on how adequately you identify problems. For example, make test set-ups to verify functionality of isolated chips, circuit trainer elements, software, relays, other electronics, motors or other higher-voltage circuits and devices. PROVE THAT NO EASY FIX OR SUBSTITUTION WAS POSSIBLE or EASILY IDENTIFIABLE AT THE TIME. Discuss (1) How you identified problems, and (2) How you tried to fix them. Include evidence that you fully understand and have properly connected all pins on a given chip (including considering floating-pins, powering the chip, needed pull-up resistors, proper voltage levels, etc.), and that you have exhausted much time attempted to solve all problems). INCLUDE PHOTO S OF ALL CIRCUITS (AND TEST-SET-UP S) BUILT REPORTS must include: Title Page with lab number, name of lab, your names, Majors, Year (e.g., Junior), who is demonstrating, and who is the designated TEAM LEADER Sections numbered and tilted as follows (always list all of these, and simply put NA if not applicable): 1. Assignment (An exact copy of everything in this document -- exactly how it looks here) 2. Equipment Used (A list of hardware and software) INCLUDE PHOTO S OF ALL EQUIPMENT 3. Methodology (including all design steps, analysis, DECISIONS MADE, etc.) INCLUDE PHOTO S OF ALL CIRCUITS BUILT 4. Options (if applicable, a comparison of each method used) 5. Problems Encountered (including any debugging methodology) INCLUDE PHOTO S OF ANY TEST-CIRCUITS BUILT 6. Testing Methodology (including timing traces, test-vectors, and RATIONALE FOR HOW YOUR METHODOLOGY ASSURES QUALITY COVERAGE including estimated probability of satisfactory coverage by chosen test vectors 7. References (in standard IEEE format) 8. Appendices (for spec sheets, etc.) ALL DESIGN PROCESS STEPS MUST BE INCLUDED for Digital Logic designs (NUMBERED as in EGR/CS 332). If design step not done, list as N.A. For Combinational Digital Logic Design: Step 1: Define problem, Step 2: Encode variables, Step 3: Create truth table, Step 4: Find simplified function(s), Step 5: Draw logic circuit, Step 6: Convert to NAND s, Step 7: Check assumptions, Step 8: Chip circuit diagram For Sequential Digital Logic Design::Step 1: Define problem, Step 2: Create state diagram, Step 3: Encode variables, Step 4: Minimize machine, Step 5: Create state table, Step 6: Append flip-flop inputs, Step 7: Find simplified function(s), Step 8: Draw logic circuit, Step 9: Convert to NAND s Step 10: Analyze any unused states, Step 11: Revise state diagram, Step 12: Check Assumptions, Step 13: Chip circuit diagram COLOR-CODED LOGIC DIAGRAMS are required for any digital circuit (Breadboard, FPGA, etc.) COLOR-CODED CIRCUIT SCHEMATICS are required for any circuit implemented (Breadboard, PLC, ladder logic, etc.), color is a must, hand-colored is ok FLOW CHART is required for any program COMMENT EVERY LINE OF CODE TEAM LEADER has responsibility of coordinating all equipment problems with the Teaching Assistant. Try to stick with same person for this role. TEACHING ASSISTANT will guarantee all working hardware and software when needed and will facilitate acquisition of needed parts.

6 GPIO 84. Date: 29/09/2016 Name: ID: This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi.

6 GPIO 84. Date: 29/09/2016 Name: ID: This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi. 6 GPIO 84 Date: 29/09/2016 Name: ID: Name: ID: 6 GPIO This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi. GPIO programming with Assembly Code:block installation

More information

COS 116 The Computational Universe Laboratory 7: Digital Logic I

COS 116 The Computational Universe Laboratory 7: Digital Logic I COS 116 The Computational Universe Laboratory 7: Digital Logic I In this lab you ll construct simple combinational circuits in software, using a simulator, and also in hardware, with a breadboard and silicon

More information

Lab #2: Building the System

Lab #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 information

A B A+B

A B A+B ECE 25 Lab 2 One-bit adder Design Introduction The goal of this lab is to design a one-bit adder using programmable logic on the BASYS board. Due to the limitations of the chips we have in stock, we need

More information

Lab 16: Data Busses, Tri-State Outputs and Memory

Lab 16: Data Busses, Tri-State Outputs and Memory Lab 16: Data Busses, Tri-State Outputs and Memory UC Davis Physics 116B Rev. 0.9, Feb. 2006 1 Introduction 1.1 Data busses Data busses are ubiquitous in systems which must communicate digital data. Examples

More information

discrete logic do not

discrete logic do not Welcome to my second year course on Digital Electronics. You will find that the slides are supported by notes embedded with the Powerpoint presentations. All my teaching materials are also available on

More information

EECE 2411/2211-Introduction to Electrical and Computer Engineering Lab. Lab 3

EECE 2411/2211-Introduction to Electrical and Computer Engineering Lab. Lab 3 EECE 2411/2211-Introduction to Electrical and Computer Engineering Lab Lab 3 Building Multi-Gate Logic Circuits Introduction: In this lab we will look at combining the simple logic gates we used in the

More information

EE 1315: DIGITAL LOGIC LAB EE Dept, UMD

EE 1315: DIGITAL LOGIC LAB EE Dept, UMD EXPERIMENT # 7: Basic Latches EE 1315: DIGITAL LOGIC LAB EE Dept, UMD Latches are primitive memory elements of sequential circuits that are used in building simple noise filtering circuits and flip-flops.

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science. EECS 150 Spring 2000

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science. EECS 150 Spring 2000 University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Spring 2000 Lab 1 Introduction to Xilinx Design Software 1 Objectives In this

More information

Finite State Machine Lab

Finite State Machine Lab Finite State Machine Module: Lab Procedures Goal: The goal of this experiment is to reinforce state machine concepts by having students design and implement a state machine using simple chips and a protoboard.

More information

CSCE 312 Lab 3: Sequential Logic Design ([Vahid] Ch. 3) Instructor: Dr. Hyunyoung Lee Spring 2013

CSCE 312 Lab 3: Sequential Logic Design ([Vahid] Ch. 3) Instructor: Dr. Hyunyoung Lee Spring 2013 CSCE 312 Lab 3: Sequential Logic Design ([Vahid] Ch. 3) Instructor: Dr. Hyunyoung Lee Spring 2013 In this chapter, we focus on the design of sequential digital circuits for real-life applications. Sequential

More information

Scheme I. Sample Question Paper

Scheme I. Sample Question Paper Sample Question Paper Marks : 70 Time:3 Hrs. Q.1) Attempt any FIVE of the following :- 10 Marks (5X2) (a) Draw the symbol and write the truth table of Universal Gates. (b) In a 3 variable K Map if there

More information

CSCE 312 Lab manual. Lab 4 - Computer Organization and Data Path Design. Instructor: Dr. Yum. Fall 2016

CSCE 312 Lab manual. Lab 4 - Computer Organization and Data Path Design. Instructor: Dr. Yum. Fall 2016 CSCE 312 Lab manual Lab 4 - Computer Organization and Data Path Design Instructor: Dr. Yum Fall 2016 Department of Computer Science & Engineering Texas A&M University Chapter 5: Computer Organization and

More information

Standard Logic Chips and National Instruments ELVIS Breadboarding for Combinational Logic Circuits

Standard Logic Chips and National Instruments ELVIS Breadboarding for Combinational Logic Circuits ECE380 Digital Logic: Design Activity #4 Standard Logic Chips and National Instruments ELVIS Breadboarding for Combinational Logic Circuits INTRODUCTION In Design Activity #4 you will use the National

More information

Problem Score 1 / 27 2 / 19 3 / 16 4 / 14 code check off 5 / 22 /2 Total /100

Problem Score 1 / 27 2 / 19 3 / 16 4 / 14 code check off 5 / 22 /2 Total /100 ME430 Mechatronics Examination I Page 1 Name CM Section You may use only: ME430 Mechatronics Examination I Sept 22nd, 2016 Problem Score 1 / 27 2 / 19 3 / 16 4 / 14 code check off 5 / 22 /2 Total /100

More information

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function.

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function. 1.b. Show that a 2-to-1 MUX is universal (i.e. that any Boolean expression can be implemented with

More information

ARDUINO MINI 05 Code: A000087

ARDUINO MINI 05 Code: A000087 ARDUINO MINI 05 Code: A000087 The Arduino Mini is a very compact version of the Arduino Nano without an on board USB to Serial connection The Arduino Mini 05 is a small microcontroller board originally

More information

CS2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2011

CS2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2011 CS2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2011 GENERAL DEVELOPMENT CYCLE WITH FPGAS FOR A NEW CHIP 1. Introduction A digital product is developed as a new (digital) chip or as a new printed circuit

More information

NAND/NOR Logic Gate Equivalent Training Tool Design Document. Team 34 TA: Xinrui Zhu ECE Fall Jeremy Diamond and Matthew LaGreca

NAND/NOR Logic Gate Equivalent Training Tool Design Document. Team 34 TA: Xinrui Zhu ECE Fall Jeremy Diamond and Matthew LaGreca NAND/NOR Logic Gate Equivalent Training Tool Design Document Team 34 TA: Xinrui Zhu ECE 445 - Fall 2017 Jeremy Diamond and Matthew LaGreca Table of Contents 1.0 INTRODUCTION 1.1 Objective 1.2 Background

More information

Measuring Light with a BeagleBone Black

Measuring Light with a BeagleBone Black Measuring Light with a BeagleBone Black Created by Simon Monk Last updated on 2013-07-18 12:30:48 PM EDT Guide Contents Guide Contents Overview You Will Need Installing the Python Library Wiring Photoresistors

More information

Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points)

Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points) ELEC 2010 Laboratory Manual Experiment 9 In-Lab Procedure Page 1 of 7 Experiment 9: Binary Arithmetic Circuits In-Lab Procedure and Report (30 points) Before starting the procedure, record the table number

More information

Course Syllabus of Microprocessor I (Fall 2006)

Course Syllabus of Microprocessor I (Fall 2006) Course Syllabus of 16.317 Microprocessor I (Fall 2006) Table of contents 1 Basic Information...2 2 Course structure... 2 3 Service Learning... 3 4 Textbook... 3 5 Course Objectives... 3 6 Labs...5 7 Homeworks...

More information

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials I. Before coming to lab Read this handout and the supplemental. Also read the handout on Digital Electronics found on the course website. II. Learning Objectives Using transistors and resistors, you'll

More information

VLSI Test Technology and Reliability (ET4076)

VLSI Test Technology and Reliability (ET4076) VLSI Test Technology and Reliability (ET4076) Lecture 4(part 2) Testability Measurements (Chapter 6) Said Hamdioui Computer Engineering Lab Delft University of Technology 2009-2010 1 Previous lecture What

More information

TECH 3821 Lab #2 Relay Driver with Computer Control

TECH 3821 Lab #2 Relay Driver with Computer Control TECH 3821 Lab #2 Relay Driver with Computer Control Name: Background: One of the most basic controls in industry is the ability to turn things on and off. As we saw in Lab #1, a relay is often used to

More information

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16 Page 1/14 Quartus Tutorial with Basic Graphical Gate Entry and Simulation Example Problem Given the logic equation Y = A*/B + /C, implement this equation using a two input AND gate, a two input OR gate

More information

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio ECE2049 Embedded Computing in Engineering Design Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab, you will be introduced to the Code Composer Studio

More information

Drexel University Electrical and Computer Engineering Department ECE 200 Intelligent Systems Spring Lab 1. Pencilbox Logic Designer

Drexel University Electrical and Computer Engineering Department ECE 200 Intelligent Systems Spring Lab 1. Pencilbox Logic Designer Lab 1. Pencilbox Logic Designer Introduction: In this lab, you will get acquainted with the Pencilbox Logic Designer. You will also use some of the basic hardware with which digital computers are constructed

More information

Lab 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 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 information

Contents. Please read and remember the following warnings before using the RELAYplate:

Contents. Please read and remember the following warnings before using the RELAYplate: Contents 1 Warnings o 1.1 What is a Relay? o 1.2 Basic Features of the RELAYplate o 1.3 Attaching a Load to the RELAYplate o 1.4 The RELAYplate Command Set 1.4.1 RELAY Control Functions 1.4.2 LED Control

More information

Lab 4: Digital Electronics Innovation Fellows Program Boot Camp Prof. Steven S. Saliterman

Lab 4: Digital Electronics Innovation Fellows Program Boot Camp Prof. Steven S. Saliterman Lab 4: Digital Electronics Innovation Fellows Program Boot Camp Prof. Steven S. Saliterman Exercise 4-1: Familiarization with Lab Box Contents & Reference Books 4-1-1 CMOS Cookbook (In the bookcase in

More information

CSE 141L Computer Architecture Lab Fall Lecture 3

CSE 141L Computer Architecture Lab Fall Lecture 3 CSE 141L Computer Architecture Lab Fall 2005 Lecture 3 Pramod V. Argade November 1, 2005 Fall 2005 CSE 141L Course Schedule Lecture # Date Day Lecture Topic Lab Due 1 9/27 Tuesday No Class 2 10/4 Tuesday

More information

Homework 5: Theory of Operation and Hardware Design Narrative

Homework 5: Theory of Operation and Hardware Design Narrative ECE 477 Digital Systems Senior Design Project Rev 9/12 Homework 5: Theory of Operation and Hardware Design Narrative Team Code Name: Hackers of Catron Group No. 03 Team Member Completing This Homework:

More information

CMPSCI 201 Fall 2006 Midterm #2 November 20, 2006 SOLUTION KEY

CMPSCI 201 Fall 2006 Midterm #2 November 20, 2006 SOLUTION KEY CMPSCI 201 Fall 2006 Midterm #2 November 20, 2006 SOLUTION KEY Professor William T. Verts 10 Points Trace the following circuit, called a demultiplexer, and show its outputs for all possible inputs.

More information

Physics E-1bxl and PS3 Lab 4: Neuron Model 2016

Physics E-1bxl and PS3 Lab 4: Neuron Model 2016 I. Before coming to lab Read this handout. Also review the background supplemental for Lab 3:Digital Circuits especially the sections on breadboard layout, transistors, and LEDs. Carefully study the circuit

More information

ECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

ECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio ECE2049 Embedded Computing in Engineering Design Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab you will be introduced to the Code Composer Studio

More information

CSC 101: Lab #5 Boolean Logic Practice Due Date: 5:00pm, day after lab session

CSC 101: Lab #5 Boolean Logic Practice Due Date: 5:00pm, day after lab session Name: Email Username: Lab Date and Time: CSC 101: Lab #5 Boolean Logic Practice Due Date: 5:00pm, day after lab session Lab Report: Answer the questions within this document as you encounter them. Also,

More information

To practice combinational logic on Logisim and Xilinx ISE tools. ...

To practice combinational logic on Logisim and Xilinx ISE tools. ... ENGG1203: Introduction to Electrical and Electronic Engineering Second Semester, 2017 18 Lab 1 Objective: To practice combinational logic on Logisim and Xilinx ISE tools. 1 Find your lab partner You will

More information

12v Power Controller Project Board

12v Power Controller Project Board 12v Power Controller Project Board 12 Volt Power Controller Introduction This board provides three functions... DC power gate Low voltage disconnect Voltage / current display The typical usage for this

More information

Lecture 1: Introduction Course arrangements Recap of basic digital design concepts EDA tool demonstration

Lecture 1: Introduction Course arrangements Recap of basic digital design concepts EDA tool demonstration TKT-1426 Digital design for FPGA, 6cp Fall 2011 http://www.tkt.cs.tut.fi/kurssit/1426/ Tampere University of Technology Department of Computer Systems Waqar Hussain Lecture Contents Lecture 1: Introduction

More information

Boise State University Digital Systems Laboratory

Boise State University Digital Systems Laboratory by S. M. Loo, Arlen Planting Department of Electrical and Computer Engineering Boise State University First Released: Spring 2005 with ISE 6.3i Updated: Fall 2006 with ISE 8.1i Updated: Spring 2009 with

More information

ECE251: Thursday September 13

ECE251: Thursday September 13 ECE251: Thursday September 13 Lab 9: Some Details Stack and Subroutines, continued--chapter 8 Stack Example SUBROUTINES More Details Initializing the Stack/Pointer Passing Parameters to Subroutines via

More information

Digital Electronics & Computer Engineering (E85)

Digital Electronics & Computer Engineering (E85) Digital Electronics & Computer Engineering (E85) Lab 4: Thunderbird Turn Signal Introduction In this lab, you will design a finite state machine to control the taillights of a 1965 Ford Thunderbird 1 and

More information

LDR_Light_Switch5 -- Overview

LDR_Light_Switch5 -- Overview LDR_Light_Switch5 -- Overview OBJECTIVES After performing this lab exercise, learner will be able to: Interface LDR and pushbutton with Arduino to make light controlled switch Program Arduino board to:

More information

Laboratory Learning Objectives

Laboratory Learning Objectives EET 438B Sequential Control and Data Acquisition Laboratory 8 IEC 1131-3 PLC Programming Languages: Introduction to Function Block and Structured Text Programming of a PLC Laboratory Learning Objectives

More information

Outline for Today. Lab Equipment & Procedures. Teaching Assistants. Announcements

Outline for Today. Lab Equipment & Procedures. Teaching Assistants. Announcements Announcements Homework #2 (due before class) submit file on LMS. Submit a soft copy using LMS, everybody individually. Log onto the course LMS site Online Assignments Homework 2 Upload your corrected HW2-vn.c

More information

09/05/2014. Engaging electronics for the new D&T curriculum. Geoff Hampson Managing Director of Kitronik. Presentation overview

09/05/2014. Engaging electronics for the new D&T curriculum. Geoff Hampson Managing Director of Kitronik. Presentation overview Presentation overview Engaging electronics for the new D&T curriculum Geoff Hampson Managing Director of Kitronik What to include Free web resources Electronic project ideas Using programmable components

More information

If I wanted to connect an LED and little light bulb and have them switch on and off with one switch, my schematic would look like the one below.

If I wanted to connect an LED and little light bulb and have them switch on and off with one switch, my schematic would look like the one below. Relays Relays are great tools for turning on and off entire circuits, either with a small control switch, or with a microcontroller like the Arduino. To understand how relays are useful and how to control

More information

ECE 270 Lab Verification / Evaluation Form. Experiment 1

ECE 270 Lab Verification / Evaluation Form. Experiment 1 ECE 70 Lab Verification / Evaluation Form Experiment Evaluation: IMPORTANT! You must complete this experiment during your scheduled lab period. All work for this experiment must be demonstrated to and

More information

Addendum # 2 Guidelines to the Design Project

Addendum # 2 Guidelines to the Design Project 1. Motivation: Addendum # 2 Guidelines to the Design Project Throughout the semester, you have done various lab exercises and built simple circuits. In the process, you have learnt many different techniques

More information

Programmable Logic Design I

Programmable Logic Design I Programmable Logic Design I Introduction In labs 11 and 12 you built simple logic circuits on breadboards using TTL logic circuits on 7400 series chips. This process is simple and easy for small circuits.

More information

ECE2029: Introduction to Digital Circuit Design. Lab 2 Implementing Combinational Functional Blocks

ECE2029: Introduction to Digital Circuit Design. Lab 2 Implementing Combinational Functional Blocks ECE2029: Introduction to Digital Circuit Design Lab 2 Implementing Combinational Functional Blocks Objective: In this lab exercise you will simulate, test, and download various digital circuits which implement

More information

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT I Contents Overview TA0139... 1 Getting started: Arduino 2 Wheel Drive Wireless Bluetooth Robot Kit using Arduino UNO... 1 2.1. What

More information

Raspberry Pi RTC Expansion Module User Manual

Raspberry Pi RTC Expansion Module User Manual Raspberry Pi RTC Expansion Module User Manual 52PI-RPI-RTC Maximum Power at Minimum Size Raspberry Pi RTC Module User Manual 1 Contact Us Raspberry Pi Geek Forum kd@52pi.com Version:1.0 Data:2015.6 2 Directory

More information

LAB1. Get familiar with Tools and Environment

LAB1. Get familiar with Tools and Environment LAB1 Get familiar with Tools and Environment Outline Intro to ARMmite Pro development board Intro to LPC2103 microcontroller Cross development environment and tools Program the broad in C: light the LED

More information

Touch Control Switch + - R6 R4 R8 R7 CAT# Grading. Assembly Instructions by Earl D. Gates SUNY Oswego Fall Conference 2007.

Touch Control Switch + - R6 R4 R8 R7 CAT# Grading. Assembly Instructions by Earl D. Gates SUNY Oswego Fall Conference 2007. Grading Name: Class: Shade the number in column A that reflects your ability. In column B, have your instructor do the same. 6. Ability to identify and use basic electronic assembly tools. 8. Ability to

More information

The Microprocessor as a Microcosm:

The Microprocessor as a Microcosm: The Microprocessor as a Microcosm: A Hands-On Approach to VLSI Design Education David Harris David_Harris@hmc.edu November 2002 Harvey Mudd College Claremont, CA Outline Introduction Course Organization

More information

CSCE 312 Lab manual. Instructor: Dr. Rabi Mahapatra TA: Ying Fung Yiu. Prepared by. Dr. Rabi N Mahapatra. Suneil Mohan & Amitava Biswas.

CSCE 312 Lab manual. Instructor: Dr. Rabi Mahapatra TA: Ying Fung Yiu. Prepared by. Dr. Rabi N Mahapatra. Suneil Mohan & Amitava Biswas. CSCE 312 Lab manual Lab-2 - Combinational logic design Instructor: Dr. Rabi Mahapatra TA: Ying Fung Yiu Prepared by Dr. Rabi N Mahapatra. Suneil Mohan & Amitava Biswas Fall 2014 Department of Computer

More information

Programmable Logic Design I

Programmable Logic Design I Programmable Logic Design I Read through each section completely before starting so that you have the benefit of all the directions. Put on a grounded wrist strap (cf. Getting Started) before touching

More information

Final Examination (Open Katz, asynchronous & test notes only, Calculators OK, 3 hours)

Final Examination (Open Katz, asynchronous & test notes only, Calculators OK, 3 hours) Your Name: UNIVERSITY OF CALIFORNIA AT BERKELEY BERKELEY DAVIS IRVINE LOS ANGELES RIVERSIDE SAN DIEGO SAN FRANCISCO Department of Electrical Engineering and Computer Sciences SANTA BARBARA SANTA CRUZ CS

More information

Addition of Unsigned Binary Numbers Using FPGA

Addition of Unsigned Binary Numbers Using FPGA Addition of Unsigned Binary Numbers Using FPGA Author: Justin Hodnett Instructor: Dr. Janusz Zalewski CEN 3213 Embedded Systems Programming Florida Gulf Coast University Ft. Myers, Fl Friday, October 02,

More information

Programmable Logic Design Techniques I

Programmable Logic Design Techniques I PHY 440 Lab14: Programmable Logic Design Techniques I The design of digital circuits is a multi-step process. It starts with specifications describing what the circuit must do. Defining what a circuit

More information

Touch Sense Controller

Touch Sense Controller Touch Sense Controller Paul Boston May 11, 2011 (Modified May 22, 2014) (Modified Dec 28, 2015) The Touch Sense Controller is a microprocessor-controlled circuit designed to provide a switch closure when

More information

Electronic Engineering Part 1 Laboratory Experiment. Digital Circuit Design 1 Combinational Logic. (3 hours)

Electronic Engineering Part 1 Laboratory Experiment. Digital Circuit Design 1 Combinational Logic. (3 hours) Electronic Engineering Part 1 Laboratory Experiment Digital Circuit Design 1 Combinational Logic (3 hours) 1. Introduction These days most signal processing is done digitally. Electronic signals (representing

More information

Bilkent University. CS 319 Object-Oriented Software Engineering. Fall Logic Design and Breadboard Simulator. Final Report 21 November 2009

Bilkent University. CS 319 Object-Oriented Software Engineering. Fall Logic Design and Breadboard Simulator. Final Report 21 November 2009 Bilkent University CS 319 Object-Oriented Software Engineering Fall 2009 Logic Design and Breadboard Simulator Final Report 21 November 2009 Group #2 20602112 korpeoglu@ug.bilkent.edu.tr Erdinç Körpeoğlu

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Fall 2000 Original Lab By: J.Wawrzynek and N. Weaver Edited by B. Choi, R.

More information

CS-3410 Systems Programming Spring 2013

CS-3410 Systems Programming Spring 2013 CS-3410 Systems Programming Spring 2013 Course Description http://atomicrhubarb.com/systems This course introduces students to many concepts underlying all computer systems and ties together the basic

More information

Breadboard Voltage. Convenient 5V Supply for Breadboard

Breadboard Voltage. Convenient 5V Supply for Breadboard Breadboard Voltage Regulator v2.1 Convenient 5V Supply for Breadboard Turn your 6~18VDC Wall Wart adapter into a regulated 5VDC @ 0.5 Ampere supply for your breadboard experiments! Build Time: 20mins Skill

More information

Final Exam Solution Sunday, December 15, 10:05-12:05 PM

Final Exam Solution Sunday, December 15, 10:05-12:05 PM Last (family) name: First (given) name: Student I.D. #: Circle section: Kim Hu Department of Electrical and Computer Engineering University of Wisconsin - Madison ECE/CS 352 Digital System Fundamentals

More information

CMPSCI 201 Fall 2004 Midterm #1 Answers

CMPSCI 201 Fall 2004 Midterm #1 Answers CMPSCI 201 Fall 2004 Midterm #1 Answers 10 Points Short Essay Answer The 8088 is primarily a CISC processor design, and the ARM is primarily RISC. The 6502 is such an early design that it is difficult

More information

TWO PLAYER REACTION GAME

TWO PLAYER REACTION GAME LESSON 18 TWO PLAYER REACTION GAME OBJECTIVE For your final project for this level for the course, create a game in Python that will test your reaction time versus another player. MATERIALS This lesson

More information

Introduction to Computer Systems

Introduction to Computer Systems Introduction to Computer Systems Today: Welcome to EECS 213 Lecture topics and assignments Next time: Bits & bytes and some Boolean algebra Fabián E. Bustamante, Spring 2010 Welcome to Intro. to Computer

More information

The Alarm System: The alarm system to be designed has the following inputs.

The Alarm System: The alarm system to be designed has the following inputs. 1 Introduction In this lab you will use the Xilinx CAD tools to complete the design of a simple home alarm system containing sensors for that indicate whether the Windows, Door, and Garage are secure.

More information

CSCE 312 Lab manual. Instructor: Dr. Ki HwanYum. Prepared by. Dr. Rabi Mahapatra. Suneil Mohan & Amitava Biswas. Fall 2016

CSCE 312 Lab manual. Instructor: Dr. Ki HwanYum. Prepared by. Dr. Rabi Mahapatra. Suneil Mohan & Amitava Biswas. Fall 2016 CSCE 312 Lab manual Lab-3 - Sequential logic design Instructor: Dr. Ki HwanYum Prepared by Dr. Rabi Mahapatra. Suneil Mohan & Amitava Biswas Fall 2016 Department of Computer Science & Engineering Texas

More information

EEC 116 Fall 2011 Lab #3: Digital Simulation Tutorial

EEC 116 Fall 2011 Lab #3: Digital Simulation Tutorial EEC 116 Fall 2011 Lab #3: Digital Simulation Tutorial Dept. of Electrical and Computer Engineering University of California, Davis Issued: October 10, 2011 Due: October 19, 2011, 4PM Reading: Rabaey Insert

More information

Cpr E 281 FINAL PROJECT ELECTRICAL AND COMPUTER ENGINEERING IOWA STATE UNIVERSITY. FINAL Project. Objectives. Project Selection

Cpr E 281 FINAL PROJECT ELECTRICAL AND COMPUTER ENGINEERING IOWA STATE UNIVERSITY. FINAL Project. Objectives. Project Selection Objectives The main objective of the final project is to teach you how to put together all of the class material that you have learned so far in order to program the Altera DE2 board to carry out an independent

More information

HW #5: Digital Logic and Flip Flops

HW #5: Digital Logic and Flip Flops HW #5: Digital Logic and Flip Flops This homework will walk through a specific digital design problem in all its glory that you will then implement in this weeks lab. 1 Write the Truth Table (10 pts) Consider

More information

Cambridge TECHNICALS CAMBRIDGE TECHNICALS IN ENGINEERING LEVEL 3 UNIT 5 ELECTRICAL AND ELECTRONIC DESIGN. RESOURCES LINK April 2015

Cambridge TECHNICALS CAMBRIDGE TECHNICALS IN ENGINEERING LEVEL 3 UNIT 5 ELECTRICAL AND ELECTRONIC DESIGN. RESOURCES LINK April 2015 CAMBRIDGE IN ENGINEERING LEVEL 3 UNIT 5 ELECTRICAL AND ELECTRONIC DESIGN RESOURCES LINK April 2015 Introduction is an e-resource, provided by OCR, for teachers of OCR qualifications. It provides descriptions

More information

ECE 3210 Lab 4: Calculator

ECE 3210 Lab 4: Calculator ECE 3210 Lab 4: Calculator Fall 2017 1 Objective In this lab, you will develop an complete assembly program that takes an user input, performs data operations, and produces the expected output. After finishing

More information

E85: Digital Design and Computer Engineering Lab 1: Electrical Characteristics of Logic Gates

E85: Digital Design and Computer Engineering Lab 1: Electrical Characteristics of Logic Gates E85: Digital Design and Computer Engineering Lab 1: Electrical Characteristics of Logic Gates Objective The purpose of this lab is to become comfortable with logic gates as physical objects, to interpret

More information

Module 3B: Arduino as Power Supply

Module 3B: Arduino as Power Supply Name/NetID: Teammate/NetID: Module 3B: Laboratory Outline As you work on through the labs during the semester and some of the modules you may want to continue experimenting at home. Luckily the microprocessor

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. Spring 2010 May 10, 2010

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. Spring 2010 May 10, 2010 University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS150 J. Wawrzynek Spring 2010 May 10, 2010 Final Exam Name: ID number: This is

More information

problem maximum score 1 8pts 2 6pts 3 10pts 4 15pts 5 12pts 6 10pts 7 24pts 8 16pts 9 19pts Total 120pts

problem maximum score 1 8pts 2 6pts 3 10pts 4 15pts 5 12pts 6 10pts 7 24pts 8 16pts 9 19pts Total 120pts University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS150 J. Wawrzynek Spring 2010 3/31/09 Name: ID number: Midterm Exam This is a closed-book,

More information

ELEC 204 Digital System Design LABORATORY MANUAL

ELEC 204 Digital System Design LABORATORY MANUAL ELEC 204 Digital System Design LABORATORY MANUAL : Introductory Tutorial For Xilinx ISE Foundation v10.1 & Implementing XOR Gate College of Engineering Koç University Important Note: In order to effectively

More information

ECE 3210 Laboratory 1: Develop an Assembly Program

ECE 3210 Laboratory 1: Develop an Assembly Program ECE 3210 Laboratory 1: Develop an Assembly Program Spring 2018 1 Objective To become familiar with the development system s software: screen editor, assembler, linker, and debugger. After finishing this

More information

Digital Design and Computer Architecture

Digital Design and Computer Architecture Digital Design and Computer Architecture Lab 6: C Programming Introduction In this lab, you will learn to program an ARM processor on the Raspberry Pi in C by following a tutorial and then writing several

More information

E40M. An Introduction to Making: What is EE?

E40M. An Introduction to Making: What is EE? E40M An Introduction to Making: What is EE? Jim Plummer Stanford University plummer@stanford.edu Chuan-Zheng Lee Stanford University czlee@stanford.edu Roger Howe Stanford University rthowe@stanford.edu

More information

Tutorial for Altera DE1 and Quartus II

Tutorial for Altera DE1 and Quartus II Tutorial for Altera DE1 and Quartus II Qin-Zhong Ye December, 2013 This tutorial teaches you the basic steps to use Quartus II version 13.0 to program Altera s FPGA, Cyclone II EP2C20 on the Development

More information

EMBEDDED SYSTEMS COURSE CURRICULUM

EMBEDDED 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 information

ESET 369 Embedded Systems Software, Spring 2018

ESET 369 Embedded Systems Software, Spring 2018 ESET 369 Embedded Systems Software, Spring 2018 Syllabus Contact Information: Professor: Dr. Byul Hur Office: Fermier 008A Telephone: (979) 845-5195 FAX: E-mail: byulmail@tamu.edu Web: rftestgroup.tamu.edu

More information

Step 1: Downloading the source files

Step 1: Downloading the source files Introduction: In this lab and in the remainder of the ELEC 2607 labs, you will be using the Xilinx ISE to enter and simulate the designs for your circuits. In labs 3 and 4, you will use ISE to compile

More information

Scheme G. Sample Test Paper-I

Scheme G. Sample Test Paper-I Sample Test Paper-I Marks : 25 Times:1 Hour 1. All questions are compulsory. 2. Illustrate your answers with neat sketches wherever necessary. 3. Figures to the right indicate full marks. 4. Assume suitable

More information

Educational Smart Breadboard

Educational Smart Breadboard Educational Smart Breadboard Team 68 - Chinemelum Chibuko, Minseong Kim and Mostafa Elkabir ECE 445 Project Proposal - Spring 2018 TA: Kexin Hui 1. Introduction 1.1. Objective The first time any kid or

More information

PART 1. Simplification Using Boolean Algebra

PART 1. Simplification Using Boolean Algebra Name EET 1131 Lab #5 Logic Simplification Techniques OBJECTIVES: Upon completing this lab, you ll be able to: 1) Obtain the experimental truth table of a logic circuit. 2) Use Boolean algebra to simplify

More information

!There are two kit models. The ZCTK-120 is designed to operate with.!the pulse output is isolated from the mains line voltage. A pull-up resistor

!There are two kit models. The ZCTK-120 is designed to operate with.!the pulse output is isolated from the mains line voltage. A pull-up resistor CAUTION: Please make sure you have or have access to the skills necessary to assemble and use this product. Always secure the case with the included screws before applying electrical power to the power

More information

Experiment Fall Experiment 1: PLD ALU R&D and V&V

Experiment Fall Experiment 1: PLD ALU R&D and V&V Experiment 1 1-1 Fall 2003 Experiment 1: PLD R&D and V&V Objectives: To gain experience with programmable logic devices and the tools available in the lab to program them. To refresh your memory on Boolean

More information

Project Planning. Module 4: Practice Exercises. Academic Services Unit PREPARED BY. August 2012

Project Planning. Module 4: Practice Exercises. Academic Services Unit PREPARED BY. August 2012 Project Planning PREPARED BY Academic Services Unit August 2012 Applied Technology High Schools, 2012 Module Objectives Upon successful completion of this module, students should be able to: 1. Select

More information

Digital Systems Design with PLDs and FPGAs Kuruvilla Varghese Department of Electronic Systems Engineering Indian Institute of Science Bangalore

Digital Systems Design with PLDs and FPGAs Kuruvilla Varghese Department of Electronic Systems Engineering Indian Institute of Science Bangalore Digital Systems Design with PLDs and FPGAs Kuruvilla Varghese Department of Electronic Systems Engineering Indian Institute of Science Bangalore Lecture-31 Evolution of PLDs So welcome to this lecture

More information

Microprocessor Systems

Microprocessor Systems Microprocessor Systems Welcome! Instructor: Clint Cole Office: EME59 ccole@eecs.wsu.edu Office hours: M, W, Fr 10-12 TA(s): Greidi Ajalik Lab: EME56 Times: Thursday 8AM 1:30PM. I didn t pick them. Lab

More information

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder Overview The objective of this lab is to understand two basic combinational circuits the multiplexor and

More information