1 of 20

Penn State

Robotics Club

TI-RSLK Energia/Arduino Installation Guide

Using Arduino programming on TI-RSLK Max

by Huy Le

2 of 20

Context

  • Arduino programming is used commonly for people who are beginners in robotics.

  • Energia uses Arduino-style programming on TI MSP432 LaunchPad.

  • This guide will give instructions to install Energia and necessary setups for programming the TI-RSLK Max.

3 of 20

Instructions

4 of 20

Step 1: Download and Install Arduino

  • Download the latest version of Arduino IDE from https://www.arduino.cc/en/software/

  • Once finish downloading, double-click on the .exe file to install it.

  • Follow on screen instructions to finish installing.

5 of 20

Step 2: Add the Energia package

  • Open Arduino

  • File > Preferences > Additional Board Manager URLs

(Illustration on next slide)

6 of 20

Step 2: Add the Energia package

7 of 20

Step 3: Install Board Manager

  • On Arduino, go to Tools > Boards > Boards Manager
  • Scroll down to the bottom and Install Energia MSP432

8 of 20

Step 3: Install Board Manager

  • This will take a while…

Let’s leave it be for a bit while doing something else

9 of 20

Step 3.5: Check your TI-RSLK hardware

1. Go to https://dev.ti.com/ and download TI Cloud Agent extension (for Chrome).

2. Plug your TI-RSLK Max to your computer, refresh the page.

3. Go to https://dev.ti.com/gallery/view/1766484/RSLK_Debug/ver/2.0.1/ to start testing the GUI.

Note: make sure to turn the chassis board power ON to test IR sensors array and the motors.

10 of 20

Step 3.99: Install Board Manager

  • Once the board installation is done, click Close.

11 of 20

Step 4: Select Board and COM port

  • Go to Tool > Boards > "Energia MSP432 Red Boards" and select "Red LaunchPad MSP432P401R EMT"

12 of 20

Step 4: Select Board and COM port

  • Next, go to Tools > COM port to choose from available options. (You should have your LaunchPad connected to your computer at this point to see the options)

13 of 20

Step 4: Select Board and COM port

Note: The LaunchPad populates two COM ports.

  • MacOS users will see Port 001 and 004 populated, please use Port 1.
  • Windows users can verify their COM port by going to Device Manager and finding the XDS110 UART.

14 of 20

Step 5: Add the RSLK Library

  • Go here and download the ZIP file by clicking the download button on the top right corner of your browser

  • Store it wherever necessary but remember the file path

  • Back on Arduino, go to Sketch > Include Library > add.ZIP library

  • Follow the file path where you store the zip file and select it

15 of 20

Your robot is ready for coding!

16 of 20

Try the example codes

Bump switch to LEDs

  • Go to File > Examples > Custom Robot Libraries > TI-Robot-Lib > 03_Bump_Switch_LED_Bare

  • Click Upload

17 of 20

Try the example codes

Dance Move (Spin)

  • Go to File > Examples > Custom Robot Libraries > TI-Robot-Lib > 06_Dancing_Robot_2_Simplified

  • Click Upload

  • Press a side button until the green LED stop blinking to start.

18 of 20

Thank you! Enjoy!

19 of 20

Questions?

  • Ask an officer
    • In meetings or
    • via GroupMe direct message

  • Send an email to psuroboticsclub@gmail.com

  • Ask fellow enthusiasts
    • via club GroupMe

20 of 20