EE 314 Spring 2003 Microprocessor Systems. Parallel Printer Port Use and Digital-to-Analog Conversion

Size: px
Start display at page:

Download "EE 314 Spring 2003 Microprocessor Systems. Parallel Printer Port Use and Digital-to-Analog Conversion"

Transcription

1 EE 314 Spring 2003 Microprocessor Systems Laboratory Project #6 Parallel Printer Port Use and Digital-to-Analog Conversion Important Note Concerning Equipment. This is the first lab that has required the use of hardware external to the PC. The external hardware to be used will be provided. Each group will use a Digilab XLA board and two R2R Resistor Ladder boards. Each workstation in the lab also is provided with a Tektronix TDS3014 Digital Oscilloscope. This equipment is not to be removed from the lab under any circumstances. The Digilab board is shown in appendix A, with all of the features required in this lab highlighted. (The boards in the lab will look slightly different than this drawing as they are a newer version of the board) Note the large chip (U3) at the top-center of the board. This chip, called a Field-Programmable Gate Array (or FPGA), is a programmable logic device, and can be programmed to contain a digital circuit to implement any digital design. For this lab, it is programmed with the circuit shown in appendix B. The process of programming the gate array to contain a particular circuit design is called configuration. For this lab, a DOS program, called CDALAB.EXE will be provided which will configure the board with the appropriate circuit design for this lab. For the Digilab board to work properly, a 6VDC wall-plug power supply must be attached to the power supply connector (J12); a parallel cable connected to a printer port on the PC and attached to the 25 pin connector on the Digilab board. Switch SW9 on the Digilab board is used to switch the parallel port on the board between configuration mode (PROG position) and parallel port access mode (PORT position). When using the CDALAB.EXE program to configure the board, SW9 must be in the PROG position. After the board has been configured, SW9 must be placed in the PORT position. If SW9 is not placed in the PORT position before use, the configuration in the gate array will be erased as soon as your software tries to write to the parallel port and nothing will work properly. This won t damage the board, it simply won t work properly. If you forget to set the switch to the PORT position, simply run the CDALAB.EXE program again to re-configure the gate array. IBM PC type parallel printer ports can appear at one of several I/O addresses. All of the machines in the lab have their printer ports at address 0x278 or 0x378. The CDALAB.EXE program allows specification of the parallel port to use via the p option: cdalab p278 configure board at port address 0x278 cdalab p378 configure board at port address 0x378 If you try to configure the board at one port address and the program tells you that it can t find the board, try the other port address. If you are interested in seeing how the CDALAB.EXE program works, the source code is included on the class web site in the DOSCFG.ZIP file. The program is written in 8086 assembly language. For this lab, each team will also be provided with two R2R resistor ladder boards. As described later in this document, an R2R ladder is a way of constructing a digital to analog converter. Each R2R ladder board is a single, 8 bit, D/A converter. In this lab the two R2R boards will be used to create two analog output channels which will be used to draw pictures on an oscilloscope. The R2R ladder boards are to be plugged 1

2 into the 72 pin connector, labeled J1, on the Digilab board. The boards must be plugged into the correct locations and with the correct orientation for the lab to work. The X channel board is to be plugged into the LD1 LD8 outputs with the most significant bit position (D7 on the R2R board) connected to LD1. The Y channel R2R board is the be connected to signals DP and CA-CG with the most significant bit (D7 on the R2R board) connected to CG on the Digilab board. If the Digilab board is positioned so that the switches and buttons are near you, the LD1 LD7 signals are just to left of center on the top row of J1 and the X channel R2R board will be positioned so that the yellow resistor networks on the board face you. The Y channel R2R board will be just to the left of the X channel board on the bottom row of contacts and facing away from you. Use of Oscilloscope The oscilloscopes in the lab are Tektronix TDS 3014, four channel Digital Phosphor Oscilloscopes. These are very high quality and expensive oscilloscopes that were recently donated by Tektronix. Please don t mistreat them. For this lab, only two of the four channels (channel 1 and channel 2) will be used. The X channel D/A converter should be connected to scope channel 1, and the Y channel D/A converter should be connected to scope channel 2. Select Vertical Scale: The output of the D/A converters will range from 0 to about 4 volts, so 1 volt per division should be selected for the vertical scale for each channel. Select channel 1 (the yellow channel button) and adjust the Vertical Scale knob until the CH1 value in the lower left corner of the display indicates 1V. Similarly, adjust channel 2, by pressing the blue channel button and adjust the Vertical Scale knob until CH2 indicates 1V. Set up the triggering: Press the Trigger Menu button. A menu will appear on the bottom and right of the display. Select channel 1 as the trigger channel by pressing the menu button for Source and then press the right side menu button to select channel 1. Select DC Coupling, rising edge Slope, and set the Level at about 2V by adjusting the Trigger Level knob. After the triggering is set up, the menu can be removed from the display by pressing the Menu Off button at the lower right corner of the display. Set display to normal mode: For checking the linearity of the D/A converters, the oscilloscope needs to be in the normal display mode. To set the oscilloscope into the normal display mode, press the Display button (in the lower middle of the group of six buttons at the top right of the control panel) to bring up the Display Menu. Select XY display from the lower menu buttons, and then Off (YT) from the right set of menu buttons. In the normal display mode, the oscilloscope plots channel voltage on the Y axis vs. time on the X axis. The time scale is controlled by the Horizontal Scale knob. Set display to XY mode: For the main part of this lab, the oscilloscope should be placed into XY mode. This is done by pressing the Display button (in the lower middle of the group of six buttons at the top right of the control panel), which brings up the Display menu. Select XY display on the bottom row of menu buttons and then Triggered XY from the right set of menu buttons. Overview and Introduction To the Lab Procedure In this laboratory you will be using a 2 channel digital to analog converter to draw images on the display of an oscilloscope operating in XY mode. The digital to analog converters are attached to a logic circuit implemented in the gate array on a Digilab board and accessed through the parallel printer port interface on an IBM PC type computer. Objectives Goals for this lab are: (1) Understand how to use the printer port hardware interface. (2) Understand how an R-2R ladder works for D/A conversion. (3) Write a program which uses both C/C++ and Assembly language to interface to external hardware through the parallel port. 2

3 Pre - Lab (Due at the beginning of the lab period.) 1. Review the detailed schematic for a simple two-channel D/A converter (attached, appendix B). Note how the D/A converter is controlled by the standard printer port. Also review the given printer port organization. What values need to be output to the printer port registers to load data into each set of registers (the X and Y channels)? You will need to find more information on parallel port usage. One good source the web site You can find many more such documents by searching the web. 2. Write a program in Turbo C++ (provided on all the lab machines in EEME 136) that uses the provided pputils.cpp and pputils.h to: Determine the location of the parallel port registers. Print the location of these registers to the screen (Base Address, Control Address, and Data Address) Drive all Data pins low (Verify this with a multimeter or an oscilloscope). Use the zipped project posted to the web-site to get started. 3. Determine what the output voltage is on the R2R ladder in Figure 1 if the value of the inputs is: D7 D6 D5 D4 D3 D2 D1 D Assume Vdd = 5volts (Hint: use superposition) D7 D6 D5 D4 D3 Figure 1 Output D2 D1 D0 Lab Procedure 1. Set up your hardware. Unplug the Digilab power supply, and install the R2R ladder boards. Attach the oscilloscope probes for the two channels to the outputs of the R2R ladder boards. Attach the ground leads on the scope probes (the alligator clip) to the pads on the R2R boards. Connect the parallel port cable between the computer and the Digilab board. Check the setup carefully before applying power to the Digilab board. 3

4 2. Test both channels of the D/A converter using an oscilloscope. Plot the linearity of the converters. In connecting the R/2R ladders to the Digilab board FPGA outputs, note that the X Channel outputs are LD1 LD8, which should be connected to one R/2R ladder. The Y channel outputs are DP, CA - CG, these should be connected to another R/2R ladder. To test the linearity of the D/A converters, write a program that loops, writing the values out to the two D/A channels. If this is viewed on the oscilloscope (with X on channel 1, and Y on channel 2). The display should show a sawtooth wave. You will need to adjust the Horizontal Scale until a display showing one or two cycles of the wave is visible. It may be necessary to adjust the triggering level, using the Trigger Level knob as well. In a D/A converter with good linearity, the output should rise in a straight, diagonal line to the peak value and then fall off with a straight vertical line. If the slope up is a curved line or shows glitches, then the linearity of the converter is poor. 3. Derive a way to drive the binary D/A converter with 2 s complement numbers. This should be done totally in software. The input values to the D/A converters are 8 bit unsigned numbers. The value 0 corresponds to an output of 0 volts and the value 255 corresponds to an output of approximately 3.8 to 4.0 volts. A signed integer variable in C has a range of to How can the range of the signed integer be mapped to an output that can be fed the D/A converter? 4. Write a program to drive the two channels simultaneously, drawing various geometric figures. The program should present a menu to the user showing the various figures that can be drawn. The user should be able to make s selection from the menu and have the program continuously draw that figure on the oscilloscope display until stopped by the user striking anykey. The menu should then be presented and the user allowed to make another choice. One of the choices on the menu should be to quit the program. The menu should list at least all of the following choices: 1) Horizontal line 2) Vertical line 3) Diagonal line 4) Circle 5) Ellipse 6) Lissajous Figure. The mathematical details of a Lissajous figure will be discussed during lecture. 5. Extend your program from the previous problem to allow the Lissajous figures to "rotate" at varying rates in space. Extra Credit Extend the program to draw some more complicated figures. For exmple: draw an arbitrary figure on the oscilloscope. Demonstrate it using a figure of your choice, for example, your initials or a favorite cartoon character. In one previous semester, another group developed a complete, working Asteroids game with the game graphics displayed on the oscilloscope and the input coming from the keyboard. Another possibility would be a simple CAD program allowing the user to draws figures composed of lines on the display with the user command interface on the PC monitor, the user input coming from the keyboard and mouse, and the graphics display on the Oscilloscope. Lab report The report is due at the start of the following lab period. Include all programs in the report and observe the required format. 4

5 Appendix A. Parallel port connector FPGA programming ROM Breadboard area where R2R ladder can be constructed Power supply connector Switch must be on PORT FPGA Parallel port signals are available on J2 connector J12 J9 J10 U10 PWE PD0 PD1 PD2 PD4 PD4 PD5 PD6 PD7 PAS PINT PRS PWT PDS PROG 8dip PORT J11 SW9 R11 CLK C26 C27 DONE DIN PRG INT U6 LD9 RP11 R9 R10 C25 20 dip U8 U7 14 dip C21 R8 R7 R6 8dip U4 C22 C24 RP10 U3 C17 C18 C23 J8 C20 C16 C19 (c) CSCOLE 2000 J7 C15 J6 C14 C13 D3 R4 R5 8dip O1 O2 O3 D2 R3 D1 U5 C12 16 dip CLK2 O1 O2 O3 O4 O5 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PAS PDS PWE PINT BN1S BN1P BN2S BN2P HS VS RXD TXD PS2C PS2D R G B R2 C9 C10 C11 J5 U9 C8 C7 J4 J3 J2 J1 DSP1 RP1 RP2 RP3 RP4 DSP2 RP5 RP6 CA CB CC CD CE CF CG DP A1 A2 A3 A4 SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 BTN1 BTN2 BTN3 BTN4 LDG LD1 LD2 LD3 LD4 LD5 LD6 LD7 LD8 AUDC AUD1 AUD2 C1 C2 C3 C4 20 dip RP7 C5 U1 RP8 R1 20 dip C6 U2 RP9 BN2 BN1 SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 BTN1 BTN2 BTN3 BTN4 LD1 LD2 LD3 LD4 LD5 LD6 LD7 LD8 NOTE: This drawing represents a Digilab board. The board currently being used is a Digilab XLA, which is very similar but looks slightly different. The main difference is the placement of the switches, buttons, LED s and the interface connector (labeled J1 on the XLA boards). 5

6 Appendix B. High Level Diagram of Data Flow D7 D6 D5 D4 D3 X Channel Output D2 Parallel Port D1 D0 FPGA on Digilab Board Y Channel D7 D6 D5 D4 Output D3 D2 D1 D0 6

7 FPGA Configuration The control signals used from the parallel port are summarized in the table below: Data7 - Data0 Autofd Init Strobe Data for both X and Y channel Clocks the X channel Clear for both channels Clocks the Y Channel Note: The X and Y channel outputs on this diagram are labeled incorrectly. LD8 is the least significant bit of the X channel and the Y channel outputs are DP and CA-CG. 7

8 Register Macro (from previous diagram) The truth table for the component FDC can be found at It has also been reproduced here: Inputs Output CLR D C Q 1 X X

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

Digilab XL Users Manual 1/14

Digilab XL Users Manual 1/14 Digilab XL Users Manual 1/14 Overview This document presents all circuits on the Digilab XL board, and discusses how to use and program the on-board FPGA. Further pertinent information can be found in

More information

Digilab XLA Reference Manual

Digilab XLA Reference Manual Digilent, Inc. 125 SE High Street Pullman, WA 99163 (509) 334 6306 (Voice and Fax) www.digilentinc.com PRELIMINARY Digilab XLA Reference Manual Revision: April 15, 2002 Overview The Digilab XLA circuit

More information

Physics 120/220 Lab Equipment, Hints & Tips

Physics 120/220 Lab Equipment, Hints & Tips Physics 120/220 Lab Equipment, Hints & Tips Solderless Breadboard... 2 Power supply... 4 Multimeters... 5 Function generator... 5 Oscilloscope... 6 10X probe... 7 Resistor color code... 7 Components...

More information

Revision: 5/7/ E Main Suite D Pullman, WA (509) Voice and Fax. Power jack 5-9VDC. Serial Port. Parallel Port

Revision: 5/7/ E Main Suite D Pullman, WA (509) Voice and Fax. Power jack 5-9VDC. Serial Port. Parallel Port Digilent Digilab 2 Reference Manual www.digilentinc.com Revision: 5/7/02 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilab 2 development board (the D2) features the

More information

Digilab 2E Reference Manual

Digilab 2E Reference Manual Digilent 2E System Board Reference Manual www.digilentinc.com Revision: February 8, 2005 246 East Main Pullman, WA 99163 (509) 334 6306 Voice and Fax Digilab 2E Reference Manual Overview The Digilab 2E

More information

EE 210 Lab Assignment #2: Intro to PSPICE

EE 210 Lab Assignment #2: Intro to PSPICE EE 210 Lab Assignment #2: Intro to PSPICE ITEMS REQUIRED None Non-formal Report due at the ASSIGNMENT beginning of the next lab no conclusion required Answers and results from all of the numbered, bolded

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

Digilab 2 Reference Manual

Digilab 2 Reference Manual 125 SE High Street Pullman, WA 99163 (509) 334 6306 (Voice and Fax) www.digilentinc.com PRELIMINARY Digilab 2 Reference Manual Revision: November 19, 2001 Overview The Digilab 2 (D2) development board

More information

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,

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

PAD ANALOG / DIGITAL TRAINER OPERATOR S MANUAL

PAD ANALOG / DIGITAL TRAINER OPERATOR S MANUAL PAD - 234 ANALOG / DIGITAL TRAINER OPERATOR S MANUAL Rev. 7/94 GENERAL OPERATING PROCEDURES 1. This manual should be read thoroughly before engaging in any experimentation. 2. As a general rule, NEVER

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

Digilab 2 XL Reference Manual

Digilab 2 XL Reference Manual 125 SE High Street Pullman, WA 99163 (509) 334 6306 (Voice and Fax) www.digilentinc.com PRELIMINARY Digilab 2 XL Reference Manual Revision: May 7, 2002 Overview The Digilab 2 XL (D2XL) development board

More information

Agilent 3630A Triple DC Power Supply. Agilent 34401A Digital Multimeter (DMM)

Agilent 3630A Triple DC Power Supply. Agilent 34401A Digital Multimeter (DMM) Agilent E3630A Triple DC Power Supply and Agilent 34401A Digital Multimeter (DMM) Agilent 3630A Triple DC Power Supply The DC power supply used in this lab is the Agilent E3630A Triple DC power supply.

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

Digilab 2E FPGA Development Board

Digilab 2E FPGA Development Board Digilab 2E FPGA Development Board Design Resources for Digital Engineers digilent, inc. www.digilentinc.com The Digilab 2E (D2E) FPGA-based development board makes an excellent prototyping platform for

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

ENGR 40M Project 3c: Switch debouncing

ENGR 40M Project 3c: Switch debouncing ENGR 40M Project 3c: Switch debouncing For due dates, see the overview handout 1 Introduction This week, you will build on the previous two labs and program the Arduino to respond to an input from the

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

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

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

COE 200 LABORATORY MANUAL

COE 200 LABORATORY MANUAL KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COLLAGE OF COMPUTER SCIENCES & ENGINEERING COMPUTER ENGINEERING DEPARTMENT FUNDAMENTALS OF COMPUTER ENGINEERING COE 200 LABORATORY MANUAL February 2004 TABLE

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

How Computers Work. Processor and Main Memory. Roger Young

How Computers Work. Processor and Main Memory. Roger Young How Computers Work Processor and Main Memory Roger Young Copyright 2001, Roger Stephen Young All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted by

More information

Revision: February 19, E Main Suite D Pullman, WA (509) Voice and Fax. Switching Power Supplies 3V3 1V2 2V5 1V8

Revision: February 19, E Main Suite D Pullman, WA (509) Voice and Fax. Switching Power Supplies 3V3 1V2 2V5 1V8 Nexys Board Reference Manual Revision: February 19, 2007 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview s Nexys circuit board is an integrated circuit development platform based

More information

Copyright 2011 R.S.R. Electronics, Inc. All rights reserved. 04/11. Ver. 1.0web

Copyright 2011 R.S.R. Electronics, Inc. All rights reserved. 04/11. Ver. 1.0web For XILINX WebPack Copyright 2011 R.S.R. Electronics, Inc. All rights reserved. 04/11 Ver. 1.0web 1 Table of Contents 1.0 INTRODUCTION...3 2.0 GENERAL DESCRIPTION...5 3.0 BRIEF DESCRIPTION Of PLDT-3 BOARD...6

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

Physics 101, Lab 1: LINEAR KINEMATICS PREDICTION SHEET

Physics 101, Lab 1: LINEAR KINEMATICS PREDICTION SHEET Physics 101, Lab 1: LINEAR KINEMATICS PREDICTION SHEET After reading through the Introduction, Purpose and Principles sections of the lab manual (and skimming through the procedures), answer the following

More information

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers This week we will start to learn the software that we will use through the course, MATLAB s Data Acquisition Toolbox. This

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

ENEE245 Digital Circuits and Systems Lab Manual

ENEE245 Digital Circuits and Systems Lab Manual ENEE245 Digital Circuits and Systems Lab Manual Department of Engineering, Physical & Computer Sciences Montgomery College Modified Fall 2017 Copyright Prof. Lan Xiang (Do not distribute without permission)

More information

EECS 211 CAD Tutorial. 1. Introduction

EECS 211 CAD Tutorial. 1. Introduction EECS 211 CAD Tutorial 1. Introduction This tutorial has been devised to run through all the steps involved in the design and simulation of an audio tone control amplifier using the Mentor Graphics CAD

More information

Using PSpice to Simulate Transmission Lines K. A. Connor Summer 2000 Fields and Waves I

Using PSpice to Simulate Transmission Lines K. A. Connor Summer 2000 Fields and Waves I Using PSpice to Simulate Transmission Lines K. A. Connor Summer 2000 Fields and Waves I We want to produce the image shown above as a screen capture or below as the schematic of this circuit. R1 V1 25

More information

ENEE245 Digital Circuits and Systems Lab Manual

ENEE245 Digital Circuits and Systems Lab Manual ENEE245 Digital Circuits and Systems Lab Manual Department of Engineering, Physical & Computer Sciences Montgomery College Version 1.1 Copyright Prof. Lan Xiang (Do not distribute without permission) 1

More information

PSpice Tutorial. Physics 160 Spring 2006

PSpice Tutorial. Physics 160 Spring 2006 PSpice Tutorial This is a tutorial designed to guide you through the simulation assignment included in the first homework set. You may either use the program as installed in the lab, or you may install

More information

Introduction to Electronics Workbench

Introduction to Electronics Workbench Introduction to Electronics Workbench Electronics Workbench (EWB) is a design tool that provides you with all the components and instruments to create board-level designs on your PC. The user interface

More information

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract Sundance Multiprocessor Technology Limited EVP6472 Intech Demo Unit / Module Description: Capture Demo For Intech Unit / Module Number: EVP6472-SMT939 Document Issue Number 1.1 Issue Data: 1th March 2012

More information

Experiment 1 Electrical Circuits Simulation using Multisim Electronics Workbench: An Introduction

Experiment 1 Electrical Circuits Simulation using Multisim Electronics Workbench: An Introduction Experiment 1 Electrical Circuits Simulation using Multisim Electronics Workbench: An Introduction Simulation is a mathematical way of emulating the behavior of a circuit. With simulation, you can determine

More information

Pre-Lab Excel Problem

Pre-Lab Excel Problem Pre-Lab Excel Problem Read and follow the instructions carefully! Below you are given a problem which you are to solve using Excel. If you have not used the Excel spreadsheet a limited tutorial is given

More information

Quick Start Guide. January EAZ0081L02A Rev. A

Quick Start Guide. January EAZ0081L02A Rev. A Quick Start Guide January 2014 EAZ0081L02A Rev. A Trademarks Snap-on and Vantage Ultra are trademarks of Snap-on Incorporated. All other marks are trademarks or registered trademarks of their respective

More information

EET 1131 Lab #7 Arithmetic Circuits

EET 1131 Lab #7 Arithmetic Circuits Name Equipment and Components Safety glasses ETS-7000 Digital-Analog Training System Integrated Circuits: 7483, 74181 Quartus II software and Altera DE2-115 board Multisim simulation software EET 1131

More information

Cmod Board Reference Manual. Overview. 1 Functional Description. Revised October 26, 2012 This manual applies to the Cmod rev. D

Cmod Board Reference Manual. Overview. 1 Functional Description. Revised October 26, 2012 This manual applies to the Cmod rev. D 1300 Henley Court Pullman, WA 99163 509.334.6306 www.digilentinc.com Cmod Board Reference Manual Revised October 26, 2012 This manual applies to the Cmod rev. D Overview Cmod boards combine a Xilinx CPLD,

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

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

Introduction. Chapter 2

Introduction. Chapter 2 The Vantage PRO unit (Figure 2-1) combines a digital and graphing multimeter, lab scope and ignition scope with a powerful diagnostic database. Figure 2-1 Vantage PRO This diagnostic database gives you

More information

Summer 2003 Lecture 21 07/15/03

Summer 2003 Lecture 21 07/15/03 Summer 2003 Lecture 21 07/15/03 Simple I/O Devices Simple i/o hardware generally refers to simple input or output ports. These devices generally accept external logic signals as input and allow the CPU

More information

Peregrine Technology CO.,LTD. DSO Oscilloscope. User Menu. V1.1 Date: 2014/07/11

Peregrine Technology CO.,LTD. DSO Oscilloscope. User Menu. V1.1 Date: 2014/07/11 Peregrine Technology CO.,LTD. DSO Oscilloscope User Menu V1.1 Date: 2014/07/11 Index Safety Regulation...2 1. Project Spec...3 2. System Requirements...4 3. Contents...5 4. Exterior Appearance of DSO Host...6

More information

I also provide a purpose-built ADC/DAC board to support the lab experiment. This analogue I/O board in only needed for Part 3 and 4 of VERI.

I also provide a purpose-built ADC/DAC board to support the lab experiment. This analogue I/O board in only needed for Part 3 and 4 of VERI. 1 2 I also provide a purpose-built ADC/DAC board to support the lab experiment. This analogue I/O board in only needed for Part 3 and 4 of VERI. However I will now be examining the digital serial interface

More information

KiCad Example Schematic ( ) Wien Bridge Oscillator

KiCad Example Schematic ( ) Wien Bridge Oscillator KiCad Example Schematic (2010-05-05) Wien Bridge Oscillator University of Hartford College of Engineering, Technology, and Architecture The following tutorial in that it walks you through steps to use

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

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1 Name Lab Day Lab Time PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1 Introduction: The Pic Dev 14 SMD is a simple 8-bit Microchip Pic microcontroller breakout board for learning and experimenting

More information

Distributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. 16,384-BIT EPROM WITH I/O! 2048 Words x 8 Bits! Single + 5V Power Supply

More information

CARLETON UNIVERSITY. Laboratory 2.0

CARLETON UNIVERSITY. Laboratory 2.0 CARLETON UNIVERSITY Department of Electronics ELEC 267 Switching Circuits Jan 3, 28 Overview Laboratory 2. A 3-Bit Binary Sign-Extended Adder/Subtracter A binary adder sums two binary numbers for example

More information

CMPSCI 145 MIDTERM #1 Solution Key. SPRING 2017 March 3, 2017 Professor William T. Verts

CMPSCI 145 MIDTERM #1 Solution Key. SPRING 2017 March 3, 2017 Professor William T. Verts CMPSCI 145 MIDTERM #1 Solution Key NAME SPRING 2017 March 3, 2017 PROBLEM SCORE POINTS 1 10 2 10 3 15 4 15 5 20 6 12 7 8 8 10 TOTAL 100 10 Points Examine the following diagram of two systems, one involving

More information

Lab 5: LCD and A/D: Digital Voltmeter

Lab 5: LCD and A/D: Digital Voltmeter Page 1/5 OBJECTIVES Learn how to use C (as an alternative to Assembly) in your programs. Learn how to control and interface an LCD panel to a microprocessor. Learn how to use analog-to-digital conversion

More information

Maxim Integrated Products 1

Maxim Integrated Products 1 19-3717; Rev 1; 11/05 MAX1179 Evaluation Kit General Description The MAX1179 evaluation kit (EV kit) is an assembled and tested circuit board that demonstrates the MAX1179 analog-to-digital converter.

More information

Training Kit for HP 1660/70 Series Logic Analyzers

Training Kit for HP 1660/70 Series Logic Analyzers Training Guide Publication Number E2433-97034 First Edition, November 1997 For Safety information, Warranties, and Regulatory information, see the pages behind the Index. Copyright Hewlett-Packard Company

More information

melabs Serial LCD Firmware Version 1.0 2/7/07

melabs Serial LCD Firmware Version 1.0 2/7/07 melabs Serial LCD Firmware Version 1.0 2/7/07 The melabs Serial LCD (SLCD) can display serial data from either asynchronous RS232-style or synchronous I 2 C input. A range of baud rates from 2400 to 57,600

More information

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet Example Application...

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet Example Application... Overview of the PIC 16F648A Processor: Part 1 EE 361L Lab 2.1 Last update: August 19, 2011 Abstract: This report is the first of a three part series that discusses the features of the PIC 16F684A processor,

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

Lab 3: Building a Power Supply and a Stereo Amplifier

Lab 3: Building a Power Supply and a Stereo Amplifier ECE 212 Spring 2010 Circuit Analysis II Names: Objectives Lab 3: Building a Power Supply and a Stereo Amplifier In this lab exercise you will build a regulated variable-voltage power supply and a 10-watt

More information

EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation

EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation 1. Objectives A. To apply knowledge of combinatorial design. B. Gain expertise in designing and building a simple combinatorial circuit This

More information

Small rectangles (and sometimes squares like this

Small rectangles (and sometimes squares like this Lab exercise 1: Introduction to LabView LabView is software for the real time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because it,

More information

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

PIC Dev 14 Through hole PCB Assembly and Test Lab 1 Name Lab Day Lab Time PIC Dev 14 Through hole PCB Assembly and Test Lab 1 Introduction: The Pic Dev 14 is a simple 8-bit Microchip Pic microcontroller breakout board for learning and experimenting with

More information

CSC 258 lab notes, Fall 2003

CSC 258 lab notes, Fall 2003 CSC 258 lab notes, Fall 2003 Instructor: E. R. C. Hehner Lab demonstrators: Nicolas Kokkalis, Andrés Lagar Cavilla Successful completion of the three graded labs in this course involves a significant amount

More information

EE 330 Spring 2018 Laboratory 2: Basic Boolean Circuits

EE 330 Spring 2018 Laboratory 2: Basic Boolean Circuits EE 330 Spring 2018 Laboratory 2: Basic Boolean Circuits Contents Objective:... 2 Part 1: Introduction... 2 Part 2 Simulation of a CMOS Inverter... 3 Part 2.1 Attaching technology information... 3 Part

More information

The Atmel ATmega328P Microcontroller

The Atmel ATmega328P Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction

More information

DS2200C User Manual Copyright (c) EasySync Ltd. 2003

DS2200C User Manual Copyright (c) EasySync Ltd. 2003 DS2200C User Manual Copyright (c) EasySync Ltd. 2003 EasyScope User Manual All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical,

More information

Spiral 2-8. Cell Layout

Spiral 2-8. Cell Layout 2-8.1 Spiral 2-8 Cell Layout 2-8.2 Learning Outcomes I understand how a digital circuit is composed of layers of materials forming transistors and wires I understand how each layer is expressed as geometric

More information

Lab Manual for COE 203: Digital Design Lab

Lab Manual for COE 203: Digital Design Lab Lab Manual for COE 203: Digital Design Lab 1 Table of Contents 1. Prototyping of Logic Circuits using Discrete Components...3 2. Prototyping of Logic Circuits using EEPROMs...9 3. Introduction to FPGA

More information

UsbScope.eu Manual. UsbScope.eu Manual. Version channel version

UsbScope.eu Manual. UsbScope.eu Manual. Version channel version Version 3.1 4 channel version Version 3.1 1 Sept-2011 Table of contents 1 Introduction...3 2 Hardware description...3 2.1 Specifications...3 2.2 PCB layout...4 2.3 Status LED s on 4 channel board...4 3

More information

INTRODUCTION TO LABVIEW

INTRODUCTION TO LABVIEW INTRODUCTION TO LABVIEW 2nd Year Microprocessors Laboratory 2012-2013 INTRODUCTION For the first afternoon in the lab you will learn to program using LabVIEW. This handout is designed to give you an introduction

More information

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

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. EECS 150 Spring 2000 University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS 150 Spring 2000 Lab #8: EPROMs This lab is to be completed with a project partner.

More information

256 channel readout board for 10x10 GEM detector. User s manual

256 channel readout board for 10x10 GEM detector. User s manual 256 channel readout board for 10x10 GEM detector User s manual This user's guide describes principles of operation, construction and use of 256 channel readout board for 10x10 cm GEM detectors. This manual

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

Basic Concepts. Task One: The Basic Latch. Laboratory Nine Latches, RAM & Android Architecture

Basic Concepts. Task One: The Basic Latch. Laboratory Nine Latches, RAM & Android Architecture Laboratory Nine Latches, RAM & Android Architecture Basic Concepts 1. The most basic element of binary storage is the latch, consisting of 2 cross-coupled NAND (or NOR) gates. 2. The D-latch with Enable

More information

EECS 373 Midterm 2 Fall 2018

EECS 373 Midterm 2 Fall 2018 EECS 373 Midterm 2 Fall 2018 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Nor did I discuss this exam with anyone after

More information

PC Based Logic Analyzer. Project Proposal

PC Based Logic Analyzer. Project Proposal PC Based Logic Analyzer Project Proposal Advisors: Dr. James H. Irwin, Mr. José Sánchez Team Members: Jeffery Earleson, Jason Nielsen November 30, 2004 EE 451 Bradley University Electrical and Computer

More information

EXPERIMENT 6. CMOS INVERTERS AND CMOS LOGIC CIRCUITS

EXPERIMENT 6. CMOS INVERTERS AND CMOS LOGIC CIRCUITS EXPERIMENT 6. CMOS INVERTERS AND CMOS LOGIC CIRCUITS I. Introduction I.I Objectives In this experiment, you will analyze the voltage transfer characteristics (VTC) and the dynamic response of the CMOS

More information

CS4141 IDL Notes. I. Quick Overview of IDL Prototyping Unit

CS4141 IDL Notes. I. Quick Overview of IDL Prototyping Unit CS4141 IDL Notes IDL-800 Prototyping System The IDL-800 logic panels are powerful tools for any logic designer. They enable a wide range of IC s to be used in a breadboard experiment. I. Quick Overview

More information

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet... 4

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet... 4 Overview of the PIC 16F648A Processor: Part 1 EE 361L Lab 2.1 Last update: August 1, 2016 Abstract: This report is the first of a three part series that discusses the features of the PIC 16F648A processor,

More information

Xilinx Spartan3E-100 CP132

Xilinx Spartan3E-100 CP132 Basys2 Board Reference Manual Revision: May 25, 2009 215 E Main Suite D Pullman, WA 99163 (509) 33 6306 Voice and Fax Introduction The Basys2 board is a circuit design and implementation platform that

More information

2015 SIMMCONN LABS, LLC. All rights reserved. NewScope-T1 Operation Manual

2015 SIMMCONN LABS, LLC. All rights reserved. NewScope-T1 Operation Manual 2015 SIMMCONN LABS, LLC. All rights reserved NewScope-T1 Operation Manual April 12, 2017 NewScope-T1 Operation Manual 1 Introduction... 3 2 Installation... 4 2.1 Initial Inspection... 4 2.2 Installation

More information

PhlatLight LED Development Kit Manual

PhlatLight LED Development Kit Manual PhlatLight LED Development Kit Manual DK-105T-1 Introduction: PhlatLight LEDs, from Luminus Devices, have been designed from the ground up to enable a new class of illumination and projection systems.

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

NAME EET 2259 Lab 3 The Boolean Data Type

NAME EET 2259 Lab 3 The Boolean Data Type NAME EET 2259 Lab 3 The Boolean Data Type OBJECTIVES - Understand the differences between numeric data and Boolean data. -Write programs using LabVIEW s Boolean controls and indicators, Boolean constants,

More information

SUPERSCAN II. Always a step ahead.

SUPERSCAN II. Always a step ahead. SUPERSCAN II Always a step ahead. Operations Manual DEC Automotive Pedro Lozano 4453 Capital Federal C 1417 EEY Argentina Telephone +54 11 4567 1188 / 3994 Fax +54 11 4639 8643 http://www.decautomotive.net/

More information

MANUAL FOR THE UNIVERSAL MANUAL CONTROLLER UMC - 31

MANUAL FOR THE UNIVERSAL MANUAL CONTROLLER UMC - 31 MANUAL FOR THE UNIVERSAL MANUAL CONTROLLER UMC - 31 PPS PART NO. 133550 DRAWING NO. 133550-10 THIS MANUAL ASSIGNED TO THE S/N: THE INFORMATION CONTAINED IN THIS MANUAL IS PROPRIETARY TO PACIFIC POWER SOURCE,

More information

CISC 1600, Lab 2.1: Processing

CISC 1600, Lab 2.1: Processing CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc

More information

1 Digital tools. 1.1 Introduction

1 Digital tools. 1.1 Introduction 1 Digital tools 1.1 Introduction In the past few years, enormous advances have been made in the cost, power, and ease of use of microcomputers and associated analog and digital circuits. It is now possible,

More information

University of Hawaii EE 361L MPLab Quick Tutorial and Project 2.1 Last updated September 1, 2011

University of Hawaii EE 361L MPLab Quick Tutorial and Project 2.1 Last updated September 1, 2011 University of Hawaii EE 361L MPLab Quick Tutorial and Project 2.1 Last updated September 1, 2011 This is a quick tutorial of programming the PIC 16F684A processor using the MPLab Integrated Development

More information

CS755 CAD TOOL TUTORIAL

CS755 CAD TOOL TUTORIAL CS755 CAD TOOL TUTORIAL CREATING SCHEMATIC IN CADENCE Shi-Ting Zhou shi-ting@cs.wisc.edu After you have figured out what you want to design, and drafted some pictures and diagrams, it s time to input schematics

More information

Experiment # 4 Introduction to FPGAs - Detour Signal Lab

Experiment # 4 Introduction to FPGAs - Detour Signal Lab 1. Synopsis: Experiment # 4 Introduction to FPGAs - Detour Signal Lab This lab introduces the use of Field Programmable Gate Arrays (or FPGAs, for short) for prototyping of digital circuits. Through the

More information

EE 330 Laboratory 3 Layout, DRC, and LVS Fall 2015

EE 330 Laboratory 3 Layout, DRC, and LVS Fall 2015 EE 330 Laboratory 3 Layout, DRC, and LVS Fall 2015 Contents Objective:... 2 Part 1 Creating a layout... 2 1.1 Run DRC Early and Often... 2 1.2 Create N active and connect the transistors... 3 1.3 Vias...

More information

Lab 0: Wire Wrapping Project: Counter Board

Lab 0: Wire Wrapping Project: Counter Board Lab 0: Wire Wrapping Project: Counter Board September 3, 2008 In this experiment, you will build a simple counter circuit that can be plugged into your breadboard. It will provide a set of TTL output signals

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

melabs Serial LCD Firmware Version 1.1 3/5/07

melabs Serial LCD Firmware Version 1.1 3/5/07 melabs Serial LCD Firmware Version 1.1 3/5/07 The melabs Serial LCD (SLCD) can display serial data from either asynchronous RS232-style or synchronous I 2 C input. A range of baud rates from 2400 to 57,600

More information

Development Kit Manual DK-114N-1 and DK-114N-3

Development Kit Manual DK-114N-1 and DK-114N-3 Development Kit Manual DK-114N-1 and DK-114N-3 Overview Big Chip LEDs from Luminus Devices have been designed from the ground up to enable a new class of illumination and projection systems. Benefiting

More information

Introduction to Computer Engineering (E114)

Introduction to Computer Engineering (E114) Introduction to Computer Engineering (E114) Lab 1: Full Adder Introduction In this lab you will design a simple digital circuit called a full adder. You will then use logic gates to draw a schematic for

More information