me104_lab2

me104_lab2 - ME 104 Sensors and Actuators Fall 2002...

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

View Full Document Right Arrow Icon
ME 104 Sensors and Actuators Fall 2002 Laboratory #2 Hall-Effect Sensors Department of Mechanical and Environmental Engineering, University of California, Santa Barbara October 8, 2002 Revision By Aruna Ranaweera 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
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 , January 1998 Edition, Shift Registers , pages 3-13 and 3-14 . Available online at www.ni.com/pdf/manuals/320999b.pdf. Experiment #1: Build an Analog Circuit for a Hall-Effect Sensor In this experiment, you will build a simple analog circuit for using the Panasonic DN6848 Hall-effect sensor as a magnetic field detector. You will then test the performance of your sensor circuit using an oscilloscope. 2 Figure 1: Hall-effect sensor system Permanent Magnet Oscilloscope Sensor Circuit Hall-effect Sensor
Background image of page 2
Build the analog circuit shown in Figure 2 on an electronic breadboard. Remember to use red wire for positive power connections and black wire for ground connections. Provide power (V CC = 5 volts) and ground (GND) to your circuit board using the “5 V FIXED 3 A” output from your Tektronix PS280 DC Power Supply. (Use the provided banana connectors.) 2. Turn on your oscilloscope and set its vertical scale to 5 volts/division and its horizontal scale to 1 second/division. Connect the voltage output (Hall sensor pin 3) and ground (GND) from your circuit to the oscilloscope. (Use wires with stripped ends). 3. Verify that, in the absence of a magnetic field, the voltage output from the Hall sensor circuit is of the same magnitude as the supply voltage (V CC ) to your circuit. Move a magnet near the Hall sensor and observe the resulting low-voltage pulses on your oscilloscope. As indicated on page 3 of the Hall sensor data sheet, the magnetic flux should be applied from the unmarked side of the Hall sensor. Figure 2: Hall-effect sensor circuit diagram Experiment #2: View Hall-Effect Sensor Output on Computer Screen In this experiment, you will build a LabVIEW VI to sample and display the output from the Hall sensor circuit you built in Experiment #1. 3
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2011 for the course ME 104 taught by Professor Staff during the Fall '08 term at UCSB.

Page1 / 12

me104_lab2 - ME 104 Sensors and Actuators Fall 2002...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online