Basic Control Programs

for the LabPro

The programs on this page will not work correctly with the Original CBL.

They will nomally function correctly with the CBL2, except when signals are directed to the LabPro's Dig/Sonic port 2.


 

Description

TI-83, TI-83 plus (including the "Silver Edition") and TI-84

BASICLP.zip -- All of the programs below grouped into one file.

RC83LP.zip -- Signal, control and other programs used by the RC Controller. These programs are also included in the zip set above.

SIGNAL -- A stand-alone program that allows the calculator to activate the digital output lines. Applications include turning carts and other equipment on for a time specified from the calculator.
CONTROL -- A stand-alone program that reads the value on the sensor in Analog Channel 1 and activates the output lines in accordance with the logic stored as a function Y9 in the calculator.
SERVO -- A stand-alone program that allows the calculator to control a hobby servo motor, available in many hobby stores. The user specifies an angular position, and the motor moves to that position.
SERVOA -- An interactive program modified from SERVO. It is not yet calibrated.
MCPUT -- The program module version of SERVO, this program uses the value of S to select one or more servos then moves them to angular position, A.
DCUINIT -- A utility program developed by Vernier Software (and distributed with their permission) which verifies correct communications between the calculator and the CBL.
SIGNALF (Signal For) -- This modified version of Signal is designed to be used as a building block for other programs. Rather that asking the user to input values of S (the signal) and T (time) while the program is running, the values are normally set in advance by a higher level program.
SIGNALS (Signal Sequence) -- Another modified version of Signal that can be used as a building block for other programs. The user or the calling program must create a list, LS, of integer signals. The list can be from 1 to 31 elements long. Optionally, the user or program may set the time, T, in seconds. (The single value of T applies to all elements; however, elements can be repreated in the list to achieve longer times. The default value for T is 1 second.)
SIGNALW (Signal While) -- This program combines features of Signal and Control in a program suitable for use as a building block for higher-level programs. It continuously monitors probes in analog channels 1 and 2, assigning the results to variables "E" and "F" respectively. It also records the elapsed time in seconds as "T." The program continues to monitor the inputs until the value of calculator function Y9 becomes zero. (The program "times out" if the condition in Y9 does not become zero within 20 minutes.)

SignalEX (Signal Extra) -- This extra powerful version of SignalW again reads the value of sensors in analog channels 1 and 2 and controls the outputs on all four digital lines, including a servo motor on output 4. Functions Y1, Y2 and Y3 control the outputs on lines 1, 2 and 3 respectively, with 0 = off and 1 = on. Y4 controls the position of the servo motor, where outputs ranging from -1 to 1 correspond to the position of the servo motor in radians. The channel 1 sensor value is designated as "T" and channel 2 is designated as "L."

STEPPER– An interactive program that controls a unipolar stepper motor, allowing the user to specify the step size, angular speed and angular displacement.
MCSTEP -- The program module version of STEPPER, this program moves a stepper motor through an angular displacement, A, at angular speed U. The motor’s step size must also be stored as variable Q. A must be in degrees and can be either positive (for counterclockwise rotations) or negative (for clockwise). The angular speed, U, must be in deg/sec and must be positive. The motor’s step size, Q, must be specified in degrees.
MCSTEP2 -- The same as MCSTEP, but for a controller in DIG/SONIC port 2.
READ1 – A program modules that activates Channel 1, autoidentifies the sensor and take a series of 5 readings at 0.05 s intervals. The average reading is stored as variable E.
READ2– A program modules that activates Channel 1, autoidentifies the sensor and take a series of 5 readings at 0.05 s intervals. The average reading is stored as variable E.
READ3– A program modules that activates Channel 1, autoidentifies the sensor and take a series of 5 readings at 0.05 s intervals. The average reading is stored as variable E.
READ4– A program modules that activates Channel 1, autoidentifies the sensor and take a series of 5 readings at 0.05 s intervals. The average reading is stored as variable E.
PROG01 -- A sample program to illustrate how SIGNALF and SIGNALW can be used by students or teachers to construct their own programs.