Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman

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

Finite State Machine Lab

Introduction to Electronics Workbench

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

ECE 270 Lab Verification / Evaluation Form. Experiment 1

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

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

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

Lab #2: Building the System

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Infrared Add-On Module for Line Following Robot

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

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

Discharge by touching: BNC coax shield, outlet metal cover plate, wire connected to GND

Introduction to NI Multisim & Ultiboard

ENEE245 Digital Circuits and Systems Lab Manual

Programmable Logic Design I

Table of Contents. Introductory Material

Programmable Logic Design Techniques I

Lab 16: Tri-State Busses and Memory U.C. Davis Physics 116B Note: We may use a more modern RAM chip. Pinouts, etc. will be provided.

10-MINUTE TUTORIAL DIGITAL LOGIC CIRCUIT MODELING AND SIMULATION WITH MULTISIM

ENEE245 Digital Circuits and Systems Lab Manual

Lab 0: Wire Wrapping Project: Counter Board

Introduction to LogicWorks (Version 5) by: Kevin Su

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module

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

Exercise 1. Section 2. Working in Capture

Copyright 2008, 2009 Grandad s Electronics Seattle, Washington, USA. INSTRUCTION MANUAL Model XTAL1. XTAL1 (assembled)

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

EE 210 Lab Assignment #2: Intro to PSPICE

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

Introduction to Multisim Schematic Capture and SPICE Simulation

ARM: Microcontroller Touch-switch Design & Test (Part 1)

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

Lab 9 Introduction to Multisim & Ultiboard

This section contains a tutorial that introduces you to Multisim and its many functions.

Lesson 9: Advanced Placement Techniques

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

Programmable Logic Design I

- create new schematic to the new project, PCB design begins with a schematic diagram, which present how components are connected

ES 210 Lab. Jack Ou, Ph.D.

LDR_Light_Switch1 -- Overview

LDR_Light_Switch5 -- Overview

ECEN 1400, Introduction to Analog and Digital Electronics

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

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Breakout Card For Z50Bus User Guide

Intro to Multisim & Ultiboard

Major Components Parts Power System Power supplies Ground Reset System Clocks and Timing Inputs and Outputs

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

1. Working with PSpice:

OrCad & Spice Tutorial By, Ronak Gandhi Syracuse University

Tutorial 3: Using the Waveform Viewer Introduces the basics of using the waveform viewer. Read Tutorial SIMPLIS Tutorials SIMPLIS provide a range of t

Extreme makeover for the Nucleus Model 500 Geiger Counter by Mark McLaughlin

2008 년안산일대디지털정보통신학과 CAD 강의용자료 PADS 2007

A B A+B

Application Note AN232-10

HW #5: Digital Logic and Flip Flops

EE 330 Spring 2018 Laboratory 2: Basic Boolean Circuits

Physics 120/220 Lab Equipment, Hints & Tips

SCHEMATIC1 SCHEMATIC2 SCHEMATIC1 SCHEMATIC2 SCHEMATIC3 PAGE1 PAGE2 PAGE3 PAGE1 PAGE1 PAGE2 PAGE1 PAGE1 PAGE2

The PUMPKIN LIGHT LED

Electronics & Control

Freeze the Dizz Jameco Part No

Good Evening! Welcome!

Tektronix DPO Demo 1 Board Instruction Manual

Using solderless breadboards

Logic Chip Tester User Manual SW Version /8/2012. Chapter 1 Introduction/Background

CD4010C Hex Buffers (Non-Inverting)

EECS 140 Laboratory Exercise 5 Prime Number Recognition

PART 1. Simplification Using Boolean Algebra

ESE 570 Cadence Lab Assignment 2: Introduction to Spectre, Manual Layout Drawing and Post Layout Simulation (PLS)

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

EXPERIMENT 6. CMOS INVERTERS AND CMOS LOGIC CIRCUITS

Anadigm FPAA Solutions Training Class III

Complete Tutorial (Includes Schematic & Layout)

This presentation will..

ENG-7680: SCADA Laboratory Experiments

Assembly Instructions CT-E Screen Read Board

Physics 430 Laboratory Manual Rev.: 2004 Sept. 29

SW860 FlukeView Software

SOUTHERN POLYTECHNIC S. U.

NI Circuit Design Suite

Obsolete. LX1800 SMBus TO ANALOG INTERFACE

EET 1131 Lab #7 Arithmetic Circuits

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

PC Based Logic Analyzer. Project Proposal

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

EMBEDDED SYSTEMS COURSE CURRICULUM

Rensselaer Polytechnic Institute Computer Hardware Design ECSE 4770

ONYX-MM-XT PC/104 Format Counter/Timer & Digital I/O Module

Input/Output Ports and Interfacing

ELECTRONIC INSTRUMENTATION AND SYSTEMS LABORATORY

ericssonz LBI-38616B MAINTENANCE MANUAL FOR MTD TM SERIES AND DATA RADIO LOGIC BOARD 19D902151G3 DESCRIPTION CIRCUIT ANALYSIS TABLE OF CONTENTS

DEV-1 HamStack Development Board

Logic Analyzers by Link Instruments, Inc Logic Analyzers

3. Implementing Logic in CMOS

Building and using JasperMIDI

TEXAS INSTRUMENTS ANALOG UNIVERSITY PROGRAM DESIGN CONTEST MIXED SIGNAL TEST INTERFACE CHRISTOPHER EDMONDS, DANIEL KEESE, RICHARD PRZYBYLA SCHOOL OF

University of Kansas EECS Circuit Board Fabrication Tutorial for 212 Lab

Transcription:

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 bookcase in the Brainstorming Room) An excellent resource for looking up the function and pinout of CMOS 74HC00 and 4000B series logic integrated circuits (and others). Many project examples are shown that may be interest to you. 4-1-2 Integrated circuit removal tool. Remember to use this tool when attempting to remove an IC from a breadboard. 4-1-3 IC Pin Straightening Tool When inserting an IC into a breadboard, it is necessary to slightly squeeze the leads first so that the IC can be pushed in with minimal force and without crimping. Eyeball the chip from one end and be sure the leads are perpendicular. Use the IC Pin Straightening tool to make the pins perpendicular: 3/22/2018

Page 2 Exercise 4-2: The 74HC00 NAND Gate & 2N3904 for LED Driving Objective: Demonstrate the logic table of a CMOS 74HC00 NAND logic gate and drive an LED using a 2N3904 NPN transistor. 4-2-1 Breadboard the following circuit and test all possible switch states. For switches, use two positions of the DIP quad SPST switch. You may probe with your multimeter the various points noted in the diagram. You must also provide 5 VDC (pin 14) and ground (pin 7) to the 74HC00N chip, as well as the rest of the circuit as shown. (X2, X3 & X4 below are simply Multisim test points - ignore.) C The LED anode is the longer lead. B E Truth table above confirmed: (yes or no) The CMOS output can drive other CMOS chip inputs directly, but generally requires the use a transistor to handle the higher current requirement of the LED. Image courtesy of Fairchild Semiconductor

Page 3 Exercise 4-3: Four Bit Binary Counter with Buffer Drivers Objective: To demonstrate asynchronous counting with CMOS flip flops, and driving LEDS with a CMOS hex buffer, the 4049. Breadboard the following circuit and observe the LED binary counter. Set the function generator for a 5 volt square wave and amplitude offset of 2.5 volts (so that the voltage swing is 0 to 5 volts and not -2.5 to 2.5 volts). Set the frequency to 20 hertz. (See the photos below.) Remember to also power the ICs. V CC and V DD (diagrams below) go to the plus 5 volt rail, and GND and V SS to the ground rail. 2 3 2 2 2 1 2 0 Does the circuit count the pulses correctly? (yes or no) Images courtesy of Fairchild Semiconductor

Page 4

Page 5 Exercise 4-4: One-and-only One Synchronized Pulse Objective: This exercise introduces the concept of synchronized or clock driven circuitry. Using a clock allows multiple chips to carry out their operation in tandem, independent of the time it might take for information to propagate along a chain of integrated circuits. This eliminates settling time and improves the chances of relevant data being present at the input of a chip when called for. This exercise also demonstrates a method for debouncing a pushbutton, eliminating noise generated by its mechanical contacts. 4-4-1 Study the circuit below closely. A logic analyzer has been incorporated so that the timing of the clock, debounced pushbutton and synchronized pulse (the one and only one ) can be visualized. This timing relationship is shown in the display that follows the circuit. This circuit uses a 74HC14 Schmitt trigger for debouncing a push button and 74HC74 flip flops. When the button is pressed, you not only get a single pulse, but the pulse is synchronized to the clock, and lasts only one clock cycle. Breadboard the following circuit except for the logic analyzer. We will instead use two channels of the oscilloscope and use the clock signal as our reference. First, connect the channel 2 probe to U1B pin 11 (the clock). Connect the channel 1 probe to U2A pin 2 (debounced pushbutton pulse). Remember to connect the function generator ground and power the ICs. Manually adjust the voltage per division and horizontal timing so that your display looks like the ones below. Momentarily press the pushbutton and you should see a pulse similar to the left-hand oscilloscope display below. Repeat this a few times. Next connect the channel 1 probe to the final output U1B pin 9. Press the button, and you see a pulse similar to the right-hand oscilloscope display below.

Page 6 Clock Button Synchronized pulse T74HC14 Hex Schmitt Trigger Connect pin 14 to plus 5 volts, and pin 7 to ground. Lancaster, CMOS Cookbook.

Page 7 Function generator set to 5 volts at 100 hertz. You must offset the voltage by 2.5 volts so that the actual output is 0 to 5 volts, and not -2.5 to +2.5 volts The debounced pushbutton pulse is on top. The duration is determined by how long the button is pressed. The clock is shown below. While the pulse is a clean square wave, it is not synchronized with the clock. Notice that oscilloscope triggering is set on the clock. Here is the synchronized one and only one pulse. Its duration is one cycle, and it is a useful input to other circuitry. This is an example of real world interfacing. 4-4-2 Were you able to obtain the debounced pulse seen on the left-hand display above? (Yes or No) 4-4-3 Were you able to obtain the one and only one pulse seen on the right-hand display above? (Yes or No)

Page 8 Exercise 4-5: Tri-State Logic and the Data Bus Objective: To familiarize you with National Instruments Multisim and the use of tri-state logic. Rather than breadboarding this circuit, you will study it with Multisim. For this exercise you will need to have Multisim running on your Windows computer (not Apple). This can be downloaded and run on a trial bases, and purchased for under $40 (as of this writing). Recall that ordinarily logic gate outputs are not combined, but may drive the input of several other logic gates. With tri-state logic we may combine multiple outputs to a single line ( bus ), and electronically decide which device is presently active on the bus by enabling the device. While only one device can be enabled at a time on a single line, the bus may consist of several lines. For example, if a memory chip requires an 8-bit address input and has an 8-bit output of its memory contents, we might refer to them as the address and data bus (each with 8 lines). In a schematic, rather than drawing all 8 lines of the bus, we might simply draw a bold line and label it as address bus. In the following circuit we see three signals of different frequency. We would like to pick one at a time electronically to send to the frequency counter. To do this we can use a 74HC126 quad state buffer, a tri-state logic device. Bus The rotary switch selects individual C inputs of the 74HC126 buffers to enable only one buffer at a time on the bus.

Page 9 The following is a diagram and truth table for the tri-state quad buffer 74HC126. This device requires the tri-state control input C to be taken high to put the output into the high impedance condition. There are three possible output states. The buffer can be high, low or high impedance (z). In the latter state it can co-exist with other tri-state devices with combined outputs. The caveat is that only one device can be enabled ( C high) on the bus at a time. 4-5-1 Run the simulation above, and using your keyboard space bar, move the rotary switch around to different positions. Do you see the different frequencies on the meter? (yes or no)

Page 10 4-6: Design a Circuit Board Objective: Convert a circuit drawn in Multisim into a circuit board using the Ultiboard software. Open the Multisim file titled Exercise 4-6: A 4-Bit Binary Counter Circuit Board. (If this has not been previously distributed to you, request the file by email. You can purchase Multisim online from National Instruments for your personal computer at a low cost. The left-hand computer in the Electronic Prototyping Lab has Multisim on it.) The circuit is similar to the one you worked with earlier, but has been redrawn slightly to include a connector for inputting power and the frequency generator (below). You can accept the circuit as is, or edit it to your own wishes. For example, you could replace the function generator input with a debounced pushbutton. The resistors initially had no manufacture s footprint for placement on a circuit board. Double clicking on the part opened its feature dialog. Under the Value tab at the bottom, Edit footprint was selected, and a suitable footprint was chosen from the list available. If you were producing this board, you would want to be sure that each footprint matched the actual part you plan to use. Take a moment to inspect a part s features.

Next select Transfer to Ultiboard from the Transfer menu. A net list will appear as shown below: Page 11

Page 12 Select OK and the circuit board layout workspace will appear. You may need to select 3D View and Spreadsheet under View menu (and slide the window to the right).. All of the parts are first seen on the top. Inside the workspace (right-hand side) drag each part into position as shown (there is no special layout).

Page 13 Select Start autorouter from the Autorouter menu. The software will automatically route each of the copper traces from pin to pin based on the netlist. The board has now been populated and pins routed as specified in the netlist. You can use your mouse to rotate the board and visualize the traces underneath. Save your work and quit Ultiboard and Multisim.

Page 14 To have this board manufactured you must export the file with relevant information concerning the physical properties of the copper clad board, silk screen layer, and even the holes through the board (vias). The export dialog is as follows: End of Digital Electronics Exercises