ECE 445: Senior Design Laboratory Lectures and Training in Electrical Hardware and Associated Skills 6/15/2002 ECE 345 Goals • Tools/Resources available from the Senior Design Laboratory – – – – Instruments Modules: XSA-100, DSP, PICS, BASIC-STAMPS Software: Simulators and Graphics Control. Special Electronic Parts • Methods/Skills 6/15/2002 ECE 345 Overview 1. Instruments Waveform Generator Oscilloscope Spectrum Analyzer 3. Simulators ADS Pspice/Orcad 4 .Graphics Control Software Labview (National Boards) HPVee 2. Computers and Gate Arrays DSP FPGA Microcontrollers PIC Basic Stamp 5. Special Parts (Available and promoted) GPS Linx Chips (RF communications) I) Tools 6/15/2002 ECE 345 6 .Sensors Ultrasonic Accelerometers Pressure Temperature Laser 6/15/2002 II) Methods/Skills 1. Troubleshooting 2. Soldering and surface mounts 3. Hardware protection guidelines ECE 345 1.1 Waveform Generator • Produces an electrical voltage that varies with time. • Periodic Signals: signal whose pattern is repetitive. For instance a sinusoid waveform. See data sheet for details 6/15/2002 PM 5139 - 20 MHz Frequency from 0.1 mHz to 20 MHz (20 Vpp). 24 Arbitrary waveformmemories ECE 345 1.2 Digital Oscilloscopes • Oscilloscopes are typically used to measure the characteristics (such as amplitude, rise and fall times, etc) of a voltage signal with respect to time. • Specifications: – – – – – 1 GSample/sec simultaneously on 2 channels 500 MHz analog bandwidth 1 ns peak detect Optional expansion modules for FFT, waveform storage, and remote control Sweep speeds from 1 ns/div to 5 s/div Manual 6/15/2002 HP 54616B HP 54616C ECE 345 Scope Notes SIGNAL CONDITIONING AC COUPLING DC COUPLING EXERCISES LF REJECT 6/15/2002 ECE 345 SCOPE PROBES Oscilloscope Probes An oscilloscope probe measures the electric signal at the source and transport them to the input channel of the scope. An IDEAL PROBE would execute this task without causing any perturbation on the circuit under test (or without LOADING it). Exercises 6/15/2002 ECE 345 1.3 Spectrum Analyzer DESCRIPTION AND LAB EXERCISES HP 8568A 6/15/2002 ECE 345 2.1 TI DSP Modules • • • • Resources from ece320 Introduction to TI DSP Assembly Addressing Modes and Examples Core File Documentation Debugging and Troubleshooting Exercise Additional Resources: ECE 320 DSP Lab DSP Store Papers, tutorials, FAQs, and links on audio DSP 6/15/2002 ECE 345 2.2 FPGA: Field Programmable Gate Array What is it? How to run Xilinx WebPACK 4.1 for FPGAs (from ECE 249 web page) 6/15/2002 ECE 345 2.3 MICROCONTROLLER WE CURRENTLY SUPPORT: Motorola 68HC912B32 Microcontroller Download: Simulator for Motorola 68HC12 6/15/2002 (Download) ECE 345 2.4 PIC Microcontroller Programmer What is it? How to use it? 6/15/2002 ECE 345 2.5 Basic Stamp 2 • PIC16C57 Microcontroller • 20 MHz/4000 instructions per second • EEPROM 2 k bytes (program and data) • Program length: 500 lines in BASIC • 16 I/Os • Very easy to use • Getting Started (from Parallax) • Basicx Microcontrollers(from BasicX) • BASIC Stamp 2 and BasicX modules available in the lab 6/15/2002 ECE 345 SIMULATORS 3.1 ADS (Agilent Advance Design System) A powerful electronic design software system. It offers complete design integration to designers of products such as cellular and portable phones, pagers, wireless networks, radar and satellite communication systems . • 3.2 Pspice/Orcad OrCAD is a useful development package that includes programs for making schematics of digital or analog circuits (Capture), simulating those circuits (PSPICE), and laying out printed circuit boards (Layout Plus). PSPICE Tutorial (from ECE343) ADS Tutorial (from ECE 351) 6/15/2002 ECE 345 4. GRAPHICS CONTROL SOFTWARE 4.1 HPVEE The VEE programming environment is a tool for integrating test and measurement equipment in a computer. It allows for control and display of any HPIB devices on the bench (oscilloscopes, multimeters, spectrum analyzers, etc.). If you need to capture and print something off a scope, this is the software to use. HP VEE Tutorial 6/15/2002 ECE 345 4.2 Labview (National Instrument Boards) What is Labview? Exercises 6/15/2002 ECE 345 5. SPECIAL PARTS 5.1 GPS, WHAT IS IT? WE CURRENTLSUPPORT: GARMIN 12 XL 6/15/2002 GARMIN V ECE 345 5.2 LINX CHIPS (Wireless RF) DIGITAL ANALOG/DIGITAL LC SERIES HP-II SERIES HOW TO USE THE LINX MODULES 6/15/2002 ECE 345 6. SENSORS Examples of sensors used in previous ece445 projects: • Ultrasonic: Intelligent Autonomous Vehicle with Ultrasound Remote Sensing • Accelerometer: Electronic Fight Judge • Pressure: Home Area Network • Temperature, EKG: Telemonitoring Unit • Laser: GPS range Finder 6/15/2002 ECE 345 TROUBLESHOOTING Troubleshooting 101 (prepared by Jon Wheeler) A GOOD BOOK: Troubleshooting Analog Circuit 6/15/2002 ECE 345 2.2 Soldering Safety • Always solder in a well ventilated area! • Never eat, drink or smoke while soldering. Wash your hands thoroughly with soap and water before doing anything else! • Never leave your soldering iron plugged in when not in use or unattended! • Never override the grounding system on your soldering iron (or any other tool)! • Legs and arms should be covered to avoid burns from splashed hot solder. How to solder recommendations 6/15/2002 ECE 345 2.3 HARDWARE PROTECTION GUIDELINES • Protecting a microprocessor and using it to drive loads • Driving large loads with TTL logic 6/15/2002 ECE 345