Skip to content

Various example and testing programs for experimenting with the TI-RSLK.

License

Notifications You must be signed in to change notification settings

Andy4495/TI-RSLK-Example-Sketches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TI-RSLK Example Sketches

Arduino Compile Sketches Check Markdown Links

The Texas Instruments Robotics System Learning Kit (TI-RSLK) had an online embedded programming course based on it. As of November 2023, it appears that Texas Instruments is no longer supporting the programming course, and all references to it appear to have been deleted from the ti.com website.

An alternate development environment is available by using Arduino and Franklin Cooper's Energia-RSLK-Library which provides easy to use functions to access the various peripherals that are part of the robot chassis. Combined with the multitasking capabilities ("Energia-MT", based on TI-RTOS) and available on the MSP432 processor, a sophisticated robot control sketch can be created.

This repo contains various example and testing programs that I have created while experimenting with the TI-RSLK.

Sketch Descriptions

All sketches include code to display messages and status information to an external NewHaven 2x16 OLED. The MSP432 controller used by the robot has 256KB flash memory and 64KB RAM, which is more than adequate to support the OLED library and text string storage, whether or not an actual display is used.

01_Bump_Switch_with_OLED

This example has the TI RSLK driving forward until it hits an object (i.e. a bump switch is triggered), then it stops.

02_Simple_Line_Follower

The TI-RSLK follows a line on the floor using a simple (non-PID) algorithm.

Display Connection

The RSLK main board has connections to attach an LCD or OLED display to the robot chassis. The pins directly support SparkFun 10168, Adafruit 338, or Adafruit 938 displays. I don't have any of those displays, so I connected a NewHaven 2x16 OLED. Since the pin placement does not match, I created an adapter board that made use of the AF938 connector (which I use because it has a 5V supply pin). The pins are numbered 8 to 1 (left to right) when looking at the chassis from the top:

                   Display
SF 10168 LCD
AF 338   LCD
AF 938  OLED  8  7  6  5  4  3  2  1

            AF938  MSP432  J5   Energia
Signal       Pin    Pin    Pin    Pin    Comment
------      -----  ------  ---  -------  ---------------------------------
LCD-MOSI      8     P9.7    21     67    Called "SI" on NewHaven OLED
LCD-SCLK      7     P9.5    19     66    Called "CLK" on NewHaven OLED
LCD-DC        6     P9.6    20     NC    Not used with NewHaven OLED
LCD-RST       5     P9.3    11     62
LCD-CS        4     P9.4    18     49
NC            3      -       -      -    Pin is not connected
5V            2      -       -      -    Note that NewHaven OLED needs 5V, not 3.3V
GND           1      -       -      -   

References

License

The software and other files in this repository are released under what is commonly called the MIT License. See the file LICENSE in this repository.

About

Various example and testing programs for experimenting with the TI-RSLK.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages