GRAPHING LIGHT MEASUREMENTS WITH STAMPPLOT LITE



Similar documents
Kurz MODBUS Client User s Guide

etape Continuous Fluid Level Sensor Operating Instructions and Application Notes

AXIS 205 Network Camera Quick Installation Guide

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)

Merging Labels, Letters, and Envelopes Word 2013

Universal Simple Control, USC-1

An Introduction to the Moodle Online Learning Platform

Creating a Test in Blackboard

Using SPSS, Chapter 2: Descriptive Statistics

Crystal Print Control Installation Instructions for PCs running Microsoft Windows XP and using the Internet Explorer browser

1 Intel Smart Connect Technology Installation Guide:

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

Outlook Plugin. What is MangoApps for Outlook?

XCM Internet Explorer Settings

Welcome to GIFTS Online Mobile... 3

UCO_SECURE Wireless Connection Guide: Windows 8

PROMPT Birthing Simulator Force Monitoring Software User Guide

Downloading Driver Files

CONFIGURING VIRTUAL TERMINAL: This is the screen you will see when you first open Virtual Terminal

Transitioning from TurningPoint 5 to TurningPoint Cloud - LMS 1

ABOUT THIS DOCUMENT ABOUT CHARTS/COMMON TERMINOLOGY

Software for Agilent Technologies Vector Series Network Analyzers

Installation and initial configuration of UI View32, with PMap Server 7 and Precision Mapping Streets and Traveler 8.0 on Microsoft Vista

Internet Explorer 7 and Internet Explorer 8 Browser Security Settings

Allworx Installation Course

NDA ISSUE 1 STOCK # CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, NEC America, Inc.

ETHERNET IRRIGATION CONTROLLER. Irrigation Caddy Model: ICEthS1. User Manual and Installation Instructions

ELECTRONIC DATA PROCESSOR (EDP) QUICKSTART FOR DATA PROVIDERS

Aerie Help Desk App. User Guide. Aerie Consulting, LLC 110 West Canal Street Winooski, VT September 14, 2015 Version 1.0.1

Configuring an A Series LED Sign Controller for your Network

Win 7 - STIMA CLS / CMP Driver Installation Quick Guide

SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9

Windows Live Mail Setup Guide

TimeValue Software Due Date Tracking and Task Management Software

Data-Tracker PLUS and Data-Viewer PLUS Software User s Guide

Cognos 10 Getting Started with Internet Explorer and Windows 7

Smart Connection 9 Element Labels

Web Site: Forums: forums.parallax.com Sales: Technical:

FrontDesk Installation And Configuration

Empowered by Innovation. Setting Up and Using Fax Mail. P/N July 2006 Printed in U.S.A.

PART 1 CONFIGURATION 1.1 Installing Dashboard Software Dashboardxxx.exe Administration Rights Prerequisite Wizard

Web Site: Forums: forums.parallax.com Sales: Technical:

ProperSync 1.3 User Manual. Rev 1.2

Configuring Your Network s Security

BCD TC-100 Table of Contents

CNCTRAIN OVERVIEW CNC Simulation Systems

MICROSOFT OFFICE 365 EXCHANGE ONLINE CLOUD

Centurion C4 Transfer Guide using C4 File Transfer Utility

Animated Lighting Software Overview

PCSpim Tutorial. Nathan Goulding-Hotta v0.1

Changing printer settings 1

Table of Contents. Part I Welcome. Part II Introduction. Part III Getting Started. Part IV The User Interface. Part V Quick Start Tutorials

Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand)

Event Record Monitoring and Analysis Software. Software Rev. 3.0 and Up. User s Guide

Chapter 2 Printing Printing Procedure...2-1

BASIC PC MAINTENANCE AND BACKUP Lesson 1

Field Manager Mobile Worker User Guide for RIM BlackBerry 1

Model 288B Charge Plate Graphing Software Operators Guide

Using Windows Task Scheduler instead of the Backup Express Scheduler

RFID Logger Software User Manual Rev 1.0

Digital To Analog Converter with Sine Wave Output

Years after US Student to Teacher Ratio

Navigator Software. Contents 1. NAVIGATOR SOFTWARE 2. INSTALLATION 3. USING NAVIGATOR SOFTWARE 3.1 STARTING THE PROGRAM 3.

Firmware & Software update procedures Amicroe TouchTAB IV.

KeepVault Online Backup Quick Start Guide & User Manual

How to downgrade Samsung Galaxy Tab 2 back to original V4.1.1 Android OS

Downloading the Setup Program

Customizing Confirmation Text and s for Donation Forms

Installation Guide for Crossroads Software s Traffic Collision Database

523 Non-ThinManager Components

Section 5: Installing the Print Driver

Document authored by: Native Instruments GmbH Hardware version: Traktor Kontrol X1 MK2 (01/2013)

PIGCHAMP MOBILE. PigCHAMP Knowledge Software. Installation Guide for Mobile Units

MS Data Analysis I: Importing Data into Genespring and Initial Quality Control

Producing Standards Based Content with ToolBook

How To Use Senior Systems Cloud Services

Getting Started. Getting Started with Time Warner Cable Business Class. Voice Manager. A Guide for Administrators and Users

Aladin. There are currently two recommended links for Aladin. Suitable for most users, the default Aladin link is:

User Manual. DG LINK Application Program This document applies to firmware version 2.00 and above.

Company Set Up. Company Settings

M100 System File Manager Help

PM1122 INT DIGITAL INTERFACE REMOTE

PC Troubleshooting Steps

TECHNICAL BULLETIN. Configuring Wireless Settings in an i-stat 1 Wireless Analyzer

5nine Hyper-V Commander

The Coast to Coast AM Podcast for itunes 11

Getting Started Guide

HYDROSOFT Version INSTALLATION AND OPERATING

Send Individually User s Manual

Basic Operation and Function of the MSD Pro Data Plus. Best viewed in printed form. Click on File>Print.

Funeral Home Software Instruction Manual

Windows XP Pro: Basics 1

Instrument Software Update Instructions. Keysight X-Series Signal Analyzers (PXA/MXA/EXA/CXA) Upgrading an older version to A.12.

Frequently Asked Questions

PROMPT Birthing Trainer Force Monitoring Software User Guide

Chapter 6 - Software Update

Scientific Graphing in Excel 2010

Transcription:

What s a Microcontroller v3.0 Suppliment to Chapter 7, Activity #3 GRAPHING LIGHT MEASUREMENTS WITH STAMPPLOT LITE Factories often have to monitor many sensor inputs to make sure the products they make turn out right. From light levels in a greenhouse to fluid levels in an oil refinery to temperature levels in a nuclear reactor, the people responsible for controlling these levels often rely on graphs of the sensor measurements to get the information they need. Introducing Stamp Plot Lite Figure 1 shows Stamp Plot Lite software graphing RC-time measurements sent by the BASIC Stamp. The line shown in Figure 1 is much easier to understand than the 250 RC-time measurements that were used to plot that line. Viewing the graph from left to right, the RC-time measurements gradually get larger and then suddenly drop off. Since RC-time measurements get larger when the light levels decrease and smaller when they increase, the graph tells a story. It looks like the light level being measured declined gradually, and then it suddenly increased again. Figure 1 Stamp Plot Lite Graphing Measured Light Levels This graph could depict any number of scenarios to the technician reading it. Perhaps a microcontroller in a greenhouse switched on the artificial lights after the sunlight dropped below a certain level. Perhaps a system of motors and gears that maintains a solar panel s position for maximum sunlight exposure just readjusted the panel s position after detecting a decrease in light exposure. Regardless of the scenario, if you are familiar with the measurement being graphed, tools like Stamp Plot Lite can really help make sense out of data. It does this by converting lists of measurements into a graph. Copyright Parallax Incorporated, What s a Microcontroller v3.0 Page 2 for details www.parallax.com Page 1

Page 2 Graph BASIC Stamp Light Measurements with StampPlot LITE Stamp Plot Lite is free for educational use courtesy of SelmaWare Solutions and can be downloaded from the Parallax web site or directly from http://www.selmaware.com/. Downloading and Installing Stamp Plot Lite Below are instructions for downloading and installing Stamp Plot Lite from the Parallax web site: Go to the Downloads area at www.parallax.com. Select BASIC Stamp Software. Download the file labeled Stamp Plot Lite graphing utility Save SPL.zip to your disk. Unzip SPL.zip and run setup.exe. Follow the Stamp Plot Lite installation program s prompts to install the software. Programming to Send Measurements to Stamp Plot Lite Sending values you want to graph in Stamp Plot Lite is almost the same as sending numbers to the Debug Terminal, but there are a few rules. First, values are sent using only the DEC formatter and the CR control character. We want to plot the value of the time variable, so all that should be sent to the Debug Terminal is the decimal value followed by a carriage return. DEBUG DEC time, CR You can also send display settings to Stamp Plot Lite by sending special messages in quotes. These messages are called control codes. Control codes are sent to Stamp Plot Lite at the beginning of a PBASIC program. Although you can click and adjust all the settings on the software itself, it is usually easier to program the BASIC Stamp to tell Stamp Plot Lite those settings for you. Here is an example of some configuration settings from the next example program that will make your RC-time measurements easier to read without any adjustments to Stamp Plot Lite s display settings. DEBUG "!AMAX 1250", CR, "!TMAX 25", CR, "!TMIN 0", CR, "!SHFT ON", CR, "!RSET",CR

What s a Microcontroller Chapter 7, Activity #3 Suppliment Page 3 For more information on how to send values and control codes to Stamp Plot Lite, run Stamp Pot Lite s Help file. Click Start, select programs, select Stamp Plot, then click Stamp Plot Help. Example Program: PlotPhotoresistor.bs2 Follow these steps to plot the phototransistor data: Use the BASIC Stamp Editor to enter and run PlotPhotoresistor.bs2. Verify that there is a single column of values scrolling down the Debug Terminal. Figure 2 shows an example. Figure 2 Example of Scrolling Values in the Debug Terminal. Make a note of the COM number in the COM Port field in the upper left hand corner of the Debug Terminal. Use the Windows Start Menu to run Stamp Plot Lite. Click Start, then select Programs Stamp Plot Stamp Plot Lite. Set the COM Port field in Stamp Plot Lite to that same value. Figure 3 shows an example where the value is COM1 in the Debug Terminal, so Stamp Plot is also set to COM1. Your COM port value may be a different number. Just check to see what the number is in the Debug Terminal, then set Stamp Plot Lite to that number. Close the Debug Terminal (click the X button on the top-right or click the Close button near the bottom of the window). In the Stamp Plot Lite window, click Connect, then click Plot Data. Checkmarks should appear in each box after you click it.

Page 4 Graph BASIC Stamp Light Measurements with StampPlot LITE Figure 3 COM Port Settings Debug Terminal (left) and Stamp Plot Lite (right). Press and release the Reset button on your Board of Education or HomeWork Board. This starts the BASIC Stamp program over from the beginning, which sends the DEBUG commands that configure Stamp Plot Lite. The data will start graphing as soon as you click Plot Data. Hold you hand over the photoresistor at different distances to simulate different lighting conditions. Remember, the darker the shadow you cast, the higher the value in the graph; the brighter the light, the smaller the value. IMPORTANT: Only one program can use a COM port at one time. Before attempting to run a different program using the BASIC Stamp Editor, you must uncheck the Connect and Plot Data checkboxes in Stamp Plot Lite. Also, before reconnecting Stamp Plot Lite (by clicking the Connect and Plot Data checkboxes), you must close the Debug Terminal. ' What's a Microcontroller - PlotPhototransistor.bs2 ' Graph light levels using Stamp Plot Lite. ' {$STAMP BS2} ' {$PBASIC 2.5} time VAR Word PAUSE 1000 DEBUG "!AMAX 1250", CR, "!TMAX 25", CR, "!TMIN 0", CR, "!SHFT ON", CR, "!RSET",CR DO HIGH 2 PAUSE 100 RCTIME 2, 1, time DEBUG DEC5 time, CR LOOP

What s a Microcontroller Chapter 7, Activity #3 Suppliment Page 5 Your Turn Adjusting the Display Span and Time Span have + and buttons that you can click to increase or decrease the vertical and horizontal scales. Span is to the left of the area that displays the graph, and you can use it to adjust the maximum and minimum values displayed on the graph. Time Span is below the graph, and you can use it to change how many seconds worth of values plotted in the window. Experiment with increasing and decreasing these values and note their effects on the how the graph appears. If you have difficulty finding your plot, you can always press and release the Reset button on your Board of Education or BASIC Stamp HomeWork Board to restore the default settings.