TETRIX Samantha Module
From ROBOTC API Guide
TETRIX → TETRIX Samantha Module
Contents |
Gather the Required Information
| Before you can use your Samantha Module with ROBOTC, you must install the Windows drivers and set the device up for use.
Note: There are many different router configurations, and many different combinations of network type, encryption type, etc. We are using a commonly used network setup (with the router in between the computer and modem, standard encryption, etc). Your particular setup may be different, and may require additional steps to set up properly. |
| 1. The first thing we will want to do is download and install FTC's Field Control Software package. This can be found on FIRST's site (usfirst.org). |
| 2. Next, we will need the SSID, encyption type, and password for the network we wish to connect to. For testing purposes, we named our router "SamoTest1" with an encryption type of WPA (TKIP). |
| 3. You will also need a 4GB or smaller USB flash drive, formatted to FAT32 file format. To format the flash drive, navigate to the Start menu, select Computer, right click on the flash drive's name, then click Format. In the drop down box, select 'FAT32' as the file format, and check the 'Quick Format' box (for a faster format). |
| 4. Navigate to the Start menu, All Programs, Samantha Field Control System, and start the program called "Samantha Network Config". |
| 5. Close the program and navigate to your ROBOTC installation folder (default location of C:\Program Files(x86)\Robomatter Inc\ROBOTC Developement Environment). Navigate to the Firmware folder and copy the Samantha.hex file into your flash drive. You should also see a folder named "SMRTNTKY"; this is where the Network Config tool saved the config file for your network. |
Flash the Samantha Module
| You must update the Samantha Module's firmware and install the config file you created using the Network Config tool before it will work properly on your network. |
| 1. Unplug the USB flash drive from your computer and (making sure the battery is unplugged) plug it into the Samantha Module. Plug in the battery while holding down the red/black button on top of the module. Release the button approximately 3 seconds after the red light appears on the module. |
| 2. The Samantha Module will flash the red light twice in rapid succession and then flash the white repeatedly. You may also see the flash drive's LED flickering (if applicable). This means the Samantha Module is installing the firmware. When it's done, it will flash the red, white, and blue lights in sequence, then repeat the process. Be patient; this process normally takes 20-30 seconds and as long as 2-3 minutes. When it is done it should have a solid red light and a blinking white light (meaning it is connected to the network). |
Installing and Updating the NXT
Connecting the NXT and Samantha Module






