# Launching and uploading programs to the LEGO NXT

{% hint style="info" %}
This article is automatically translated from Russian by Google Translator.
{% endhint %}

To work with the LEGO NXT controller, in the TRIK Studio settings, go to "Robots" and select the LEGO NXT platform.

![](/files/-MUYiqX1h8w9p4Q7NcAD)

There are several options for running programs for the LEGO NXT controller:

* Step-by-step interpretation of the diagram with a simulation of the robot's behavior on a 2D model.
* Step-by-step interpretation of the diagram with sending commands to the robot via Bluetooth or USB.
* Download the program to the robot and then execute it autonomously without communication with a computer.

## **Interpretation with a simulation of robot behavior**

{% hint style="info" %}
.In 2D robot model mode, commands are not sent to the robot but are executed step by step for the virtual model displayed on the screen. See the article "[2D Model](/en/studio/2d-model.md)" for details.
{% endhint %}

&#x20;1\. Turn on the two-dimensional model mode.

![](/files/-MUYj8z51R_XxvKLmsOn)

2\. Click the "Execute" button.

![](/files/-MUYivDWW9IeVRDW5vDB)

3\. The 2D model window will open and the program will start.

![](/files/-MUYjEdr4ojij-ZQK0tV)

4\. When you switch to edit mode, you can track the steps of the program's execution.

![](/files/-MUYjKmCO4doHAU0qBdP)

## **Interpretation with commands sent to the robot via Bluetooth or USB**

1\. Enable "Interpret (USB)" or "Interpret (Bluetooth)" mode.

![](/files/-MUYjSG1GVaL9qu8C41H)

2\. Click the "Execute" button.

![](/files/-MUYjVi5GbhHLwUQUvbQ)

## **Loading on the controller**

From TRIK Studio you can download a ready-made program to the robot to execute it autonomously in the future without communication with a computer.

{% hint style="info" %}
The section is being supplemented.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.trikset.com/en/nxt/run-upload-programs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
