SAM Robot Driver Programs

for the EDE1200 board and the LabPro

Except as noted below, these programs also work with the CBL2. They do not work with the original CBL.

Programs updated July 8, 2005


 

Description

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

SAMEDLP8-- All 23 of the programs below zipped into one file. (11 kBytes)

SAMEDLP8.ZIP

LSAM-- A list of values generated by SAMSETUP, which specifies the SAM robot characteristics. THIS LIST MUST BE ON YOUR CALCULATOR TO RUN THE OTHER PROGRAMS.
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 moves SAM forward or back at velocity V, 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 velocity U, while calculator function Y7 is not zero
SAMPIVST -- Pivots SAM S steps at angular speed, U
SAMARC -- Moves SAM in an arc of length D and radius R
SAMPUT -- Rotates up to 4 servo motors in accordance with list LA
SAMPUT0 -- Zero all servos
SAMPUT1 -- Rotates servo 1 to position, A
SAMPUT2 -- Rotates servo 2 to position, A
SAMPUT3 -- Rotates servo 3 to position, A
SAMPUT4 -- Rotates servo 4 to position, A
SAMPUTR -- Uncalibrated version of SAMPUT, intended for use in activities where students calibrate SAM's servo motors.
SAMSW1F -- Turns on board 1's 12-V output for time, T.
SAMSW2F -- Turns on board 2's 12-V output for time, T.
SAMSETUP -- Tests SAM and records step size, robot dimensions and default speed and maximum speeds.
SAMGOFST -- Tests the internal speeds of the EDE1200 chip.
DCUINIT -- A utility program developed by Vernier Software (and distributed with their permission) which verifies correct communications between the calculator and the CBL or LabPro.
READ1 -- Reads the sensor in analog Channel 1, and stores the result as "E"
READ2 -- Reads the sensor in analog Channel 2, and stores the result as "F"
READ3 -- Reads the sensor in analog Channel 3, and stores the result as "G"
READ4 -- Reads the sensor in analog Channel 4, and stores the result as "H" (LabPro only)