# Connecting a LEGO NXT Controller to TRIK Studio

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

The LEGO NXT controller can be connected to the TRIK Studio using:

1. [USB](#usb).
2. [Bluetooth](#bluetooth).

In each of the two options, you must first select the LEGO NXT platform in the TRIK Studio settings under "Robots".

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnHbkItzwrhiZt2wnc%2F98%20En%201%20NXT-connect%20usb%203.png?alt=media\&token=8630f09d-2e1d-4479-b219-7fb03c30f001)

## USB connection

[Download](https://le-www-live-s.legocdn.com/downloads/NXT/NXT_Installer_2.1.0_Global_WIN.zip) drivers from the manufacturer's official website: [education.lego.com](https://education.lego.com/en-us/downloads/retiredproducts/nxt/software) and install it to you system. Only drivers is necessary to work with TRIK Studio.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVuAMHYtz7m6otX0PBe%2F-MVuIwzxE-i6tSGUOw_8%2FNXT%20Drivers%204.png?alt=media\&token=3650df59-186b-4f7f-8d2d-d82536f6dae5)

1\. In the TRIK Studio settings under "Robots" select "Interpretation (USB)" in the "Robot Model" window.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnHgMX9MS4hQ1n6lWV%2F98%20En%202%20NXT-connect%20usb%203.png?alt=media\&token=784fef56-5195-4db2-814d-40a9cda8ce3d)

2\. Connect the LEGO NXT controller to your computer via USB.\
3\. Click the Connect button on the toolbar.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnHkE6KIRM_VJBuEO7%2F98%20En%203%20NXT-connect%20usb-connect%202.png?alt=media\&token=7e149833-dcff-406c-8907-12879d876239)

4\. A message should appear in the output window indicating a successful connection. After that, the robot is ready to work.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnHnjhgQOvJIbWDpHR%2F98%20En%204%20NXT-connect%20usb-connect%203.png?alt=media\&token=5111c148-0827-4dd6-9a1e-7a6f456e01eb)

## Bluetooth connection

The robot connects to your computer via Bluetooth as a normal Bluetooth device. No special robot drivers are required for connection.&#x20;

{% hint style="warning" %}
**Warning!** The connection process depends on the operating system and the drivers of the specific Bluetooth adapter.
{% endhint %}

Below are instructions on how to set up a connection for Windows 10 using the drivers built into the OS.

1\. Open "Start" → "Settings" → "Devices".&#x20;

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnHtc9NhFbyZ6_vmBw%2F98%20En%207%20NXT-connect%20BT-parameters%203.png?alt=media\&token=1572f51b-b21b-47cd-87fe-f61b143f321a)

2\. In the window that appears, select "Add Bluetooth or other devices".

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnI2UhkRdaXdyZf358%2F98%20En%208%20NXT-connect%20BT-add_dev%203.png?alt=media\&token=f9a14a90-3ade-451c-b197-ada80c9b5616)

3\. Select "Bluetooth".

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnIdQz7C-4VSWTTb1b%2F98%20En%209%20NXT-connect%20BT-add_dev2.png?alt=media\&token=6b3b5537-20ca-40b0-9710-13e4a2ebb538)

4\. In the window that appears, select the "NXT" device.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnI7Pf0G5f8iKbLTRF%2F98%20En%20A%20NXT-connect%20BT-add_dev3.png?alt=media\&token=41b9548a-8fef-4df6-80ea-f17af1ddf1b6)

5\. The robot should display the Bluetooth connection password at this time. You can leave the default password and press the orange button.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVphcOJTxBPIpm4_kVV%2F-MVpiERZj-8Cc8SoGHLV%2FDSCN3135%205.png?alt=media\&token=66fc7045-6249-4570-b807-c0fea2234e45)

{% hint style="info" %}
The default password is 1234.
{% endhint %}

6\. After you press the orange button on the robot, a password window should appear on your computer. Enter the password and click "Connect".

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnIkuvp0ugKZqCzL2T%2F98%20En%20D%20NXT-connect%20BT-add_dev6.png?alt=media\&token=1defe8bc-45e1-40e3-b263-58e67680bb04)

7\. Click "Done".

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnKJKgi2ouOPl77TYW%2F98%20En%20E%20NXT-connect%20BT-add_dev7.png?alt=media\&token=1c0759c3-372c-46b3-859e-842dc2c5b680)

8\. From the "Bluetooth or other devices" menu, open "Devices and Printers".

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnKPC2sRldMY1hfsVN%2F98%20En%20H%20NXT-connect%20BT-dev%26prn%203.png?alt=media\&token=ddb7c4e3-847e-4805-b471-599d667ce676)

9\. In the list that opens, find the "NXT" device and double-click the icon.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnKTHCoUCdYdRh3aC2%2F98%20En%20I%20NXT-connect%20BT-dev%26prn2%202.png?alt=media\&token=1b9471f9-85fc-4d9f-b8c1-196bf40f4163)

10\. In the window that appears, go to the "Services" tab and remember the number of the COM port.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnKZKY0B4Wy6Dao-vj%2F98%20En%20K%20NXT-connect%20BT-dev%26prn4%203.png?alt=media\&token=5b57bdba-9700-4de0-a788-a6d562ae09e3)

11\. In TRIK Studio in the settings on the "Robots" tab, put a marker next to the LEGO NXT platform and the "Interpret (Bluetooth)" robot model.

In the Bluetooth settings, specify the port from the previous step.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MVmsTchwCkZgtNEz3PS%2F-MVnKdRKU9L6L-aFQSnk%2F98%20En%20L%20NXT-connect%20BT-TS-COM%202.png?alt=media\&token=3fa75513-4371-46fc-a1f1-e0e27582fb4e)

12\. Click OK.
