Low End Mac
Search LEM 
Donate · Amazon.com · MacResQ · Advertise
Other Cobweb sites: Low End Living · Reformed.net
Quicklinks: · Power Macs · 'Books · Early Macs · Week's Best Deals · Best Buys · OS Downloads

Mac Lab Report

Using Logger Pro for Experiments

2000.12.21 -

Low End Mac Reader Specials

Memory To Go Special: MacPro 8 Core Memory 4GB kit $154 / 2GB kit $94, New 2008 iMac 2GB $46. MacBook Pro / MacMini / iMac Intel Core2 DUO 2GB $44 / 1GB $23--Free shipping available.

Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com

LA Computer Company: Specials on AppleCare, iMac's, Apple Batteries and Apple A/C Adapters. Also Great prices on Used Apple Computers. Call 1-800-941-7654 Click Here.

OWC: Juice up your iPod w/NewerTech High Capacity Battery from $19.99 Free Installation Videos for most models. Pro Installation Service w/FedEx Shipping From $57.95 (Battery Included). - www.MacSales.com

Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.

Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.

Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.

New MacPro Memory 800Mhz With Apple Spec Heat Sink 2GB $88 / 4GB $138 / 8GB $274 - Click to Maximize your Macs...

Today's Agenda

  1. Built In Experiment Files
  2. Calibration
  3. Designing Your Own Experiment
  4. Copying data and graphs from Logger Pro
  5. Experiment Examples
  6. Appendix 03. Formatting data and graphs in ClarisWorks and AppleWorks

This is the second in a series of articles I am writing in support of some staff development meetings I am conducting in the Spring of 2001 for the Antioch Unified School District in California.

In this article, I am going to show how to use the software package Logger Pro to conduct computer-based lab experiments in your classroom, using either the software's built-in experiment files or by designing your own experiment from scratch. I will conclude with a tutorial (Appendix 3) on how to insert and modify graphs and data from Logger Pro into AppleWorks.

Built-In Experiment Files

Logger Pro is a program by Vernier Software to take measurements via electronic probes connected to an analog-to-digital interface box, described in last week's column. Logger Pro requires a Power Macintosh, but simpler versions of its software are available for 68K Macs and even for Apple II series computers. Vernier is a very low end Mac friendly company, unlike their competitors in the computer sensor software arena.

When you install Logger Pro, a series of setup files are installed. Setup files are instructions to the program telling which probe is connected to what port, using which scale and units of measurement, and so on. Once an experiment is designed, the setup files recall the setup so you do not have to reset the probe configurations in the future.

Vernier has designed a series of experiments ready to use (assuming you have the proper probes and other devices, such as air tracks or chemicals needed). These experiments are organized in two different ways.

The first batch is organized according to a series of manuals called Physics with Computers, Biology with Computers, Physical Science with Computers, and Chemistry with Computers. Each book has roughly 30 experiments in the approximate order you might expect to do them in a standard science curriculum. These experiments build on each other, and if you don't do the entire sequence you might find them diverging from your curriculum or methods as time goes by. One advantage they do have is they include detailed, step-by-step procedures for students to use regarding how to connect the sensors, launch the software, click the various buttons, and so on.

I find the other set of experiment files more useful in my classroom. These files are organized by sensor, and in each sensor's folder are several experiments you can do with that sensor. For example, the motion detector, an ultrasonic sonar device used to measure distance, has the following dialog when you select Open from Logger Pro's file menu. Each one of these files represents a different function or activity.

Distance Match, for example, displays a pre-drawn graph which your students must attempt to duplicate while walking in front of the motion detector.

If you've never used a motion sensor in a math or science class, there is no better tool for having students learn the relationship between a physical measurement and the plotting of a point on a graph. Many math teachers do a sort of "human graphing" activity where students must walk x feet and then walk y feet, plotting themselves on a grid in the school yard. The motion sensor activity yields real-time data, and students can get a feel for the fact that walking faster increases the slope of the line - thus learning what slope really means rather than just memorizing a definition.

There are ready-to-use settings files for every sensor Vernier makes - and there are a lot of them.

Calibration

Most electronic sensors are excellent at sensing changes in the environment, but like all measuring devices, at some point they need to be calibrated. This means that not only does the device measure changes faithfully, it also records accurate values that would agree with another measuring device. For example, the ultrasonic motion sensor uses sound to measure distance. If the room is hot, sound will travel faster, and the device will consistently underestimate the distances it measures. Therefore, Logger Pro allows you to calibrate or align each sensor with an external standard such as a ruler, thermometer, clock, or whatever the sensor needs. The calibration function walks you through the steps necessary to calibrate each sensor, in a clear, step-by-step fashion.

If all you're interested in is showing the relative change in a measurement, then the built-in default calibration files should work just fine.

Designing Your Own Experiment

More often than not, Logger Pro's built-in experiments will require some piece of hardware that you don't happen to have, or it will require you to spend an inordinate amount of time setting up the equipment. I tend to want to get the experiment done as quickly as possible, so sometimes I set everything up in advance and load the settings file into a public folder on my classroom server. Making the settings file Stationery with the Finder's Get Info window allows everyone to open it without changing it. I don't use the books that accompany Logger Pro too much, but that's mainly a teaching style thing.

When you are ready to design your own experiment, you will be working mainly with the Setup Menu. Selecting Setup Sensors gives you a simplified picture of the ports on the sensor device. This example is for Vernier's Universal Lab Interface, but there are several interface configurations available.

In this illustration, the selected Port DIN-1 has no sensor attached. Unless otherwise instructed, the software defaults to simple raw voltage as the input. Selecting a sensor from the list automatically selects its default calibration file.

If you were going to do an experiment about the brightness of light, for example, you would select Light Sensor from the list.

The Setup Data Collection function lets you control whether or not you are making real-time measurements, measures requiring typed input, the rate of data collection, and the duration of the experiment, if it is timed. This takes a little playing with to understand, and the tutorial files in the Experiment folder can help.

Once the sensor is setup properly and tested, you can save the settings file so that the computer automatically expects that particular sensor and configuration.

The most common mistake made by users of the software is that when the interface box is turned off, the sensors will not respond to the software. The software is ready when a button labeled "Collect" appears. If there is no Collect button, then turning the interface box on does not solve the problem. You must go to the Setup Menu, select Set Up Interface, and ask it to seek the interface box again.

I have recurring, unpredictable success with this fix. Sometimes, the Mac detects the box immediately. Other times, I cannot get it to detect the interface box unless I quit the software and start again with the interface box already turned on.

As mentioned in an earlier column, you should always use the modem port, because any network failure will cause the Mac to revert AppleTalk on the printer port, causing a conflict requiring you to turn off AppleTalk.

If you have used Logger Pro and designed experiments you would like to share, send them along and I'll post them.

Inserting data and graphs into AppleWorks.

Once an experiment is successfully completed, typically you will either print out the data and attach it to a report, or, as my students are required to do, insert the graph and data into a word processor document as part of a single file.

The main difficulty students have with this step is that they do not understand that the copy function only works for the active window, and either the graph or the data table is active at any one time - not both at the same time. Clicking on the window's title bar makes the window active, as usual, and you simply copy and paste the graph into AppleWorks.

Pasting the data is more problematic. The data comes across as tab-delimited text without headings, and the default tab stops do not always align the columns properly in AppleWorks. Sometimes there are hundreds of data points, since the computer collects data so quickly, so if left unformatted there may be tens of pages of data displayed in a narrow column on the left side of the page.

Appendix 3 shows how to properly paste these graphs and tables into AppleWorks and control the format.

Experiment Examples

In my 9th grade Physical Science class, I do the following experiments using Logger Pro and Vernier sensor probes:

  1. Motion Detector: used to teach students how distance and velocity graphs work. Students must move in front of a sonar to make a graph display different types of motion. They learn that slope is speed and that curved graphs imply acceleration on a distance vs. time graph.
  2. Force sensor/accelerometer: when these probes are attached to a cart, shaking the cart with the force sensor causes an acceleration. Graphing force and acceleration yields a nice straight line graph in support of F=ma: Newton's Second Law.
  3. Brightness vs. distance: students use a light sensor to measure the brightness of a small light bulb as a function of distance to discover the inverse-square law for light and also apply this relationship to gravity.
  4. Voltage and current: students use a variable-voltage power supply to change the voltage on a fixed resistor. The sensors detect voltage and current, and are used to discover Ohm's law, V=IR.
  5. Picket fence: When a transparent object with a series of regularly spaced black bars (the pickets) falls through a photogate, the computer can detect how far and how fast it falls to measure the motion of a falling object.
  6. Temperature vs. time for melting ice: a nice standard chemistry activity shows how temperature changes occur during the phase change of solid to liquid to gas.

There are other experiments, but only so much time. Each year I try to add another sensor to my repertoire.

That's it for this week. Next week we will change gears, and I will discuss some of the uses of a webcam in the classroom.  LEM

Jeff Adkins is a science teacher who isn't afraid to state his preferences in computing platforms. In his classroom he has everything from a beige All-in-One to a a G4 XServe, and they all work together nicely. He calls himself the "poster child for technology integration" in the classroom. He was the 2006 Outstanding Educator of the Year for the California Computer Using Educators (CUE) organization. He also maintains a site for astronomy teachers at www.AstronomyTeacher.com.

Recent Mac Lab Reports

Links for the Day

  • Mac of the Day: PowerBook 170, Oct. 1991 - At 25 MHz, the PB 170 was at the top of the original PowerBook line.
  • List of the Day: The iPhone List Low End Mac's forum for discussing and supporting Apple's iPhone.
  • August 30 in LEM history: 99: The truth about USB speed - 00: Could Eazel kill the Mac? - Mac OS 8.1 on a IIci and LC III - 01: Beyond MHz and GHz - Getting a handle on email - Thanks for the IBM PC, Dad - Apple's anniversaries - 02: Mac OS X v10.2 - iBook video out - 04: Things that freak out my students - 06: Nvu and SeaMonkey can't replace Home Page - 07: DVD-RAM support

Recent Content on Low End Mac

  • Mac of the Day: PowerBook 170, Oct. 1991 - At 25 MHz, the PB 170 was at the top of the original PowerBook line.
  • List of the Day: The iPhone List Low End Mac's forum for discussing and supporting Apple's iPhone.
  • Channels
     Power Macs
     iMac Channel
     iBook/PowerBook
     MacInSchool
    Computer Profiles
     iMac
     Power Mac
     PowerBook/iBook
     Performas
     Mac Clones
     Older Macs
     LisaNeXT
    Editorial Archive
    Mac Daniel's Advice
    Email Lists
    LEMchat (uses AIM)
    Online Tech Journal
    Consumer
     advice, reviews
     guides, deals
    Software
    Apple History
    Best of the Web
     Best of the Mac Web surveys
    Miscellaneous Links
     Best Used Mac Buys
     Used Mac Dealers
     Video Cards
     Mac OS X
     Mac Linux
     Macspeak
     RAM Upgrades
    About Low End Mac
    Site Contacts

    Open Link

    Support LEM

    Affiliates

    The Apple Store
    .mac
    iTunes Store
    Club Mac
    MacMall
    MacResQ
    ExperCom
    eBay
    Amazon.com
    PayPal
    PCMall
    PC Zone
    Crucial Memory

    Our advertising is handled by BackBeat Media. For detailed price quotes and advertising information, please contactat BackBeat Media (646-546-5194). This number is for advertising only.