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

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

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

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

COS 116 The Computational Universe Laboratory 7: Digital Logic I

A B A+B

Physics 120/220 Lab Equipment, Hints & Tips

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

Arduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut

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

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

Finite State Machine Lab

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

ECE 270 Lab Verification / Evaluation Form. Experiment 1

CURIE Academy, Summer 2014 Lab 1: Computer Engineering Hardware Perspective Sign-Off Sheet

9 Output Devices: Buzzers

1/Build a Mintronics: MintDuino

Connecting LEDs to the ADB I/O

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

UF-3701 Power Board Construction Guide

The GENIE Light Kit is ideal for introducing simple lighting projects, such as an electronic die, a wearable badge or a night-time warning system.

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

Are All Batteries the Same?

Board Of Education USB (#28850)

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

MP3 audio amplifier. Build Instructions. Issue 2.0

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Lab 2.2 Ohm s Law and Introduction to Arduinos

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 09 MULTIPLEXERS

LAB #1 BASIC DIGITAL CIRCUIT

Thursday, September 15, electronic components

Look closely at this schematic diagram, in thid class you will be asked to construct this circuit WITHOUT using the textbook!

CSC 258 lab notes, Fall 2003

Chapter 2 Working Inside Desktop Computers and Laptops

LAB #3: ADDERS and COMPARATORS using 3 types of Verilog Modeling

DELUXE STEREO AMPLIFIER KIT

ENEE245 Digital Circuits and Systems Lab Manual

revolution How does the ibutton work? Full kit including PCB, PICAXE-08M chip and ibutton key. Spare ibutton Key

Mark Schutzer December 9, 2007 (updated fix for older rev B and C ProCabs)

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

EXPERIMENT #8: BINARY ARITHMETIC OPERATIONS

ENEE245 Digital Circuits and Systems Lab Manual

Introduction 1. Liquid crystal display (16 characters by 2 rows) Contrast dial: turn the dial to adjust the contrast of the display (see page 5)

COMP combinational logic 1 Jan. 18, 2016

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

Electronics & Control

This Presentation Will

Infrared Add-On Module for Line Following Robot

Physical Computing Self-Quiz

SRI-02 Speech Recognition Interface

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

RC Tractor Guy Controller V2.1 Assembly Guide

3 pyro output datalogger altimeter with an ATmega 328 microcontroller Kit assembly instructions

Using solderless breadboards

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

A3 A2 A1 A0 Sum4 Sum3 Sum2 Sum1 Sum

Lab 0: Wire Wrapping Project: Counter Board

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Appendix D: Equipment

CS101 Lecture 25: The Machinery of Computation: Computer Architecture. John Magee 29 July 2013 Some material copyright Jones and Bartlett

Physical Computing Self-Quiz

CHAPTER 5. Voltage Regulator

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

Ca Bling! Pacificon 2011 Norcal Buildathon Project

LCD Prototype Circuit on Solderless Breadboard. 840 Pin Solderless Breadboard ( # ND)

Objectives: 1. Design procedure. 2. Fundamental circuits. 1. Design procedure

Schematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)

Many ways to build logic out of MOSFETs

CS140 Lecture 03: The Machinery of Computation: Combinational Logic

CV Arpeggiator Rev 2 Build Documentation.

TECH 3821 Lab #2 Relay Driver with Computer Control

Test Procedure: Fault Finding Circuits

Learning to Use a Voltage Probe

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

DEV-1 HamStack Development Board

CS12020 (Computer Graphics, Vision and Games) Worksheet 1

TLC5947 and TLC59711 PWM LED Driver Breakouts

Introduction to Computer Engineering (E114)

In this activity you will create a tool to allow you to play games such as Red Light/Green Light. To create the game, follow the steps below.

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

The Basic Counter. Hobby Electronics Soldering Kit. Instruction Guide

Techgirlz Workshop Scratch and Raspberry Pi

B.Y.O.C. MK2 Kit Instructions

LED Knight Rider. Yanbu College of Applied Technology. Project Description

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement.

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

Programmable Logic Design Techniques I

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C)

Electronic Coin Toss

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

Light Dependent Resistor Circuit by VK4ION

Eureka!Factory Atari Punk Console v2

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.

ZX81 ULA Replacement. Installing the ULA

Transcendent Frequency Counter

Brought to you by Jestine Yong

Adafruit PowerBoost Charger

Logic, Words, and Integers

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

TMP36 Temperature Sensor

Transcription:

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 build some simple logic circuits and then test your work. You'll also demonstrate the ability to perform binary addition using the circuits you've constructed. III. Materials Breadboard Instead of using lots of alligator clips to connect circuit elements together, you'll be building your circuits on a breadboard. A breadboard is a piece of plastic with lots of little holes. If you stick a wire into one of the holes, it "grabs" the wire and makes an electrical contact with it. More information on the breadboard and how it works can be found in the supplemental. Power supply This DC power supply maintains a 5-volt difference across its leads. The black terminal is ground, and the red terminal is +5.0 V. You'll need to connect the power supply to whichever breadboard you are working with. The top rail of the breadboard is usually at +5 V and the bottom rail is at ground. Transitors The type of transistor we will be using in this lab is known as the fieldeffect transistor, or FET. It is an electronic component with three terminals: the gate (G), source (S), and drain (D). The transistor casing is flat on one side and rounded on the other, so that the three terminals can be distinguished. The gate is always the middle pin, but you'll need to know how the drain and source are oriented in order to put the transistor into your circuit correctly. Resistors You will have a selection of resistors that are needed for the different components to work properly, like the pull-up resistor used with transistors, for example. Loose wires You'll have a selection of short wires that are stripped at both ends, which you can use to make extra connections on your breadboard. Page 1 of 5

Digital logic probe This is a device consisting of two LEDs (light-emitting diodes) in a single plastic dome on a long wire. It is used to probe the digital voltage in a circuit. The long leg should be plugged into the far right of your breadboard between two resistors. The other end (the leg of the LED itself) is the terminal you'll use to probe your circuit. If you plug the LED end into a place on your breadboard that is at high voltage (+5 V), the LED lights up red. If you plug it into a place that is at ground, the LED lights up green. Mnemonic: red is generally used to refer to the high voltage in a circuit. Vernier Voltage probe This is just a pair of clip leads that can be used to measure the voltage in the circuit. The black lead must always remain clipped to ground; the voltage at the red lead is then monitored by Logger Pro. You can use the voltage probe instead of the digital logic probe to test your circuits, or you can use both in conjunction. XOR gate On a breadboard you'll be given an XOR gate which is actually made out of an integrated circuit, or IC (the black chip in the middle of the breadboard). It would require quite a few transistors to make an XOR yourself, but the chip actually contains four separate implementations of XOR inside it. You'll only need to use one. The leads connected to the two leftmost pins on the bottom row are the inputs; the next pin over (3rd one on the bottom) is the output. There are two other pins that are already connected; they are the power supply and ground for the chip. Don't alter these connections. IV. Warm-up (10-15 minutes) Do the warm-up! V. Procedure Tell us who you are! (Picture, names, and emails please) In part 1, you will test how the probes and the XOR gate work. In part 2, you will build basic logic gates Page 2 of 5

using transistors and in part 3 you will build a half-adder. Part 1a: Get to know your probes Start by opening Digital_Logic.cmbl. Now, connect both inputs of the XOR gate to ground. Connect the red probe of the voltage probe to the output of the XOR (the 3rd pin on the bottom). What voltage do you read on your Logger Pro screen for the XOR output when both inputs are connected to ground? Is this "high" or "low"? Locate your LED logic probe and test it by plugging the LED end directly into the +5 V supply and then directly into ground. BE SURE THE LONG LEG OF THE PROBE IS BETWEEN THE TWO RESISTORS! What color lights up when connected to the +5 V supply? Connected to ground? Now take the LED probe and connect it to the output of the XOR gate. Which color lights up? Does this agree with your voltage measurement (high or low)? Choose a set of inputs that makes the output high. Connect the voltmeter but not the LED to the output and click the Collect button. Notice what happens to the voltage reading when you plug in the LED probe at the output. How much does it change? Does this affect whether it is considered high or low? Why do you think the voltage changes when you use the LED probe? (Hint: an ideal logic probe would draw almost zero current when making a measurement.) Part 1b: Verify the truth table of an XOR gate Connect the voltage probe to the output of the XOR gate. While collecting data on Logger Pro, see what happens when you change the inputs from low to high, one at a time. Fill in the truth table for the XOR gate. When you are done, paste a copy of the truth table below: Part 2a: Build a NOT gate out of a transistor Connect a transistor with a 100 Ω resistor to make a NOT gate. (NB: This resistor is referred to as a "pullup" resistor.) When you think you have wired up the circuit correctly, try testing the output (X) for the two different values of the input (A). You can use either the voltmeter or the LED probe for this testing. Fill in the NOT truth table in the Logger Pro file and paste it below: When everything is working, talk to your TF and show him/her your circuit and how it responds to the two different inputs. Don't take out the NOT circuit you've built; you'll use it again later in the lab. Part 2b: Build a NAND gate out of several transistors Now, on another section of the breadboard, combine transistors and pull-up resistors to implement a NAND gate. The circuit diagram is to the right. Test Page 3 of 5

it for all 4 possible input combinations, using either the logic probe or the voltmeter. Don't forget to show your TF how your NAND gate works. Fill in the NAND truth table in the Logger Pro file and paste it below: Part 2c: Combine NAND with NOT to form AND Using the circuits you've already built, make an AND circuit and test it in the same way. Draw a circuit diagram for the AND circuit; take a picture and paste it here: Fill in the truth table for AND in the Logger Pro file and paste it below: Talk to your TF and show him/her your AND gate. Clearly indicate where the inputs are and where the output is measured. Part 3: Do Binary Addition (build a half-adder) Recall that a half-adder has two inputs (A and B) and two outputs (S and C, for sum and carry). Build a half adder from what you already have on the breadboard and verify it works as expected. Show your TF. Draw out a truth table for 4 columns (A, B, Sum, Cary) and fill it out, then take a picture and paste it below. Clean up Before leaving, please disconnect everything on your original breadboard except: the short orange and gray jumper wires that connect the rails together across the gap in the middle of the board the resistors forming a voltage divider at the far right of the board the end of LED probe which is plugged into that voltage divider (you can leave the probe end dangling) Return the XOR board to its original state (with the IC chip and all connections to it still there and the LED probe circuit on the right side of the board). If you can't remember what it was like at the start of the lab period, there is a picture of it on the Materials section for this lab. Page 4 of 5

VI. Conclusion What is the most important thing you learned in lab today? Page 5 of 5