TETRIX Samantha Module
(→Installing and Updating the NXT) |
|||
| Line 48: | Line 48: | ||
|- | |- | ||
|'''2.''' Next, download ROBOTC's firmware to the NXT. To do this, connect the NXT to the computer and turn it on. Navigate to the Robot menu in ROBOTC and make sure that "LEGO MINDSTORMS NXT+TETRIX" is chosen as the 'Platform Type' and that 'Physical Robot' is chosen in 'Compiler Target'. Then, click Download Firmware->Standard File to download the ROBOTC firmware to the NXT (this should take anywhere from 10 seconds up to a minute). | |'''2.''' Next, download ROBOTC's firmware to the NXT. To do this, connect the NXT to the computer and turn it on. Navigate to the Robot menu in ROBOTC and make sure that "LEGO MINDSTORMS NXT+TETRIX" is chosen as the 'Platform Type' and that 'Physical Robot' is chosen in 'Compiler Target'. Then, click Download Firmware->Standard File to download the ROBOTC firmware to the NXT (this should take anywhere from 10 seconds up to a minute). | ||
| + | |- | ||
| + | |[[File:Download Firmware.jpg]] | ||
|- | |- | ||
|'''3.''' Navigate to File->Open Sample Program->NXT->Samantha Module->samostat.c. Compile and download this program onto the NXT brick. | |'''3.''' Navigate to File->Open Sample Program->NXT->Samantha Module->samostat.c. Compile and download this program onto the NXT brick. | ||
Revision as of 06:33, 27 July 2012
TETRIX → TETRIX Samantha Module
Contents |
Gather the Required Information
Flash the Samantha Module
| You must now update the Samantha Module's firmware and install the config file you created using the Network Config tool; otherwise the Samantha Module will not recognize 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
| 1. Keeping the USB-B end connected to the NXT, disconnect the USB flash drive from the Samantha Module and the USB-A connector from the computer. Connect the USB cable to the Samantha Module instead. |
| 2. Turn on the NXT and th Samantha Module if you have not done so already. The NXT will show that it is connected via USB and the Samantha Module's 'NXT' LED should turn a solid blue (it may flicker from time to time; this means that it is transferring data to the NXT). |
| 3. If the blue NXT does not light up, press the red/black button on top of the Samantha module. |
| 4. Run the "samostat" program on the NXT. After a few seconds, it should connect to the wireless network through the Samantha Module and display information such as the SSID, IP address, etc. You can then type in the IP address displayed into a web browser to pull up the Samantha Module's NXT Status Page. |
| 5. Open a program in ROBOTC, compile it, and download it to the NXT. If everything is setup correctly, the program should download and compile with no issues. Congratulations! You've successfully set up and connected your Samantha Module through ROBOTC. |


