Lab%202%20ME104%202008

# Lab%202%20ME104%202008 - ME 104 Sensors Actuators and...

This preview shows pages 1–4. Sign up to view the full content.

ME 104 Sensors, Actuators and Computer Interfacing Laboratory 2 Hall-Effect Sensors Department of Mechanical Engineering University of California, Santa Barbara Fall 2008 Revision

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Introduction In this laboratory, you will learn how to use a Hall-Effect sensor to detect the presence of a magnetic field due to a permanent magnet. You will then write a LabVIEW program to count the number of times that a magnet is moved past the Hall sensor, in a simulation of an attendance counter at a turnstile. Finally, you will write a program to compute and display the total (cumulative) duration of low pulses. As an extra credit exercise, you will write a program to count and display the number of long low pulses, that is, low pulses that are at least 200 ms in duration. Background Reading Please read the following material prior to this lab: 1. Hall IC’s Data Sheet, DN6848/SE/S , pages 1-4, Panasonic. Available online at http://rocky.digikey.com/WebLib/Panasonic/Web%20data/DN6848,SE,S.pdf. 2. LabVIEW User Manual , April 2003 Edition, Shift Registers , pages 8-6 to 8-7 . Available online at www.ni.com. Experiment #1: Lab Equipment BREADBOARD and WIRE BASICS : Listen to your TA as s/he reviews the anatomy of the breadboard and discusses the various wires you will use for lab instrumentation. This will be important for the rest of the lab. OSCILLOSCOPE: Listen first to the TA discuss probe theory. Then build a voltage divider as shown in Figure 1. V S = 30 V R 2 = 1M R 1 = 1M - + V O + - Figure 1. Voltage divider. 2
Compare measurements between using a Scope probe and BNC cable. Record the values and answer the questions at the end of the report. It may help to test a variety of resistors for the questions later. DC POWER Supply: Generate the following DC Voltages on the oscilloscope 1. 0 to +15 V 2. 0 to –15 V 3. –15 V to +15 V 4. 5V fixed Record results by drawing how you made connections for each. This will be turned in with the lab report. FUNCTION GENERATOR: Generate the following waves (specify your own Amplitude and Frequency ) on the oscilloscope: 1. Sine Wave, DC Offset 1 V 2. Square Wave, DC Offset 0 V 3. Triangle Wave, DC Offset –1 V Capture the oscilloscope screen with the waveforms (refer to instruction sheet at each station). What amplitude and frequency did you use? This will be handed in with the lab report. Use a BNC Cable and a Scope Probe

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 01/04/2011 for the course ME 104 taught by Professor Staff during the Spring '08 term at UCSB.

### Page1 / 8

Lab%202%20ME104%202008 - ME 104 Sensors Actuators and...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online