SAM Robot Driver Programs

for the SVP-A board and the LabPro

The driver programs here are unique to the LabPro, since it is the only interface with 2 digital output ports.

Programs updated July 18, 2004

 

Description

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

SAM-LPA-- All 19 of the programs below grouped into one file.

SAM-LPA.8XG

SAMGO -- Moves SAM a distance, D, at speed, V
SAMGOF -- Moves SAM for time, T, at speed, V
SAMGOST -- Moves SAM S steps at speed, V
SAMGOW -- Continuously monitors input channel 1 and pivots SAM at angular speed, U, while calculator function Y8 is not zero
SAMPIV -- Pivots SAM by an angle, A, at angular speed, U
SAMPIVF -- Pivots SAM for time, T, at angular speed, U
SAMPIVW -- Continuously monitors input channel 1 and pivots SAM at angular speed, U, while calculator function Y7 is not zero
SAMPUT -- Rotates supplementary servo motors in accordance with list , LA
SAMPUT1 -- Rotates the supplementary servo motor on board 1 to position, A
SAMPUT2 -- Rotates the supplementary servo motor on board 2 to position, A
SAMSW1F -- Turns on board 1's 12-V output for time, T. (DO NOT USE WHEN THERE IS A SERVO MOTOR ATTACHED TO BOARD 1.)
SAMSW2F -- Turns on board 2's 12-V output for time, T. (DO NOT USE WHEN THERE IS A SERVO MOTOR ATTACHED TO BOARD 2.)
SAMSETUP -- Tests SAM and records step size, robot dimensions and default speed and maximum speeds.
LSAM-- A list of values generated by SAMSETUP, which specifies the SAM robot characteristics
DCUINIT -- A utility program developed by Vernier Software (and distributed with their permission) which verifies correct communications between the calculator and the CBL.
READ1 -- Measures the sensor value at analog Channel 1, and stores the result as "E"
READ2 -- Measures and records the sensor value at analog Channel 2, and stores the result as "F"
READ3 -- Measures and records the sensor value at analog Channel 3, and stores the result as "G"
READ4 -- Measures and records the sensor value at analog Channel 4, and stores the result as "H"