Installing NXT Python

Before creating the NXT RTC, PyBluez (a module for using Bluetooh from Python) and NXT Python (a module for controlling a NXT) must be installed.

Installing PyBlues

Download the Windows installer from the above link and run it.

Installing NXT Python

Download the zip file from the above link. NXT Python uses a script to install. If you have associated .py files with the Python interpreter, execute the script as follows from a command prompt: install
Otherwise, execute it similar to the line below:
 c:\Python24\python install

 Microsoft Windows XP [Version 5.1.2600]
 (C) Copyright 1985-2001 Microsoft Corp.
 C:\tmp\nxt_python-0.7> install
 running install
 running build
 running build_py
 copying build\scripts-2.4\nxt_filer -> c:\python24\Scripts
 copying build\scripts-2.4\nxt_push -> c:\python24\Scripts
 copying build\scripts-2.4\nxt_test -> c:\python24\Scripts

Test NXT Python

Turn on the NXT and connect it to the PC. Using the samples under example/, confirm that the NXT can be controlled from the PC.

The example/ directory contains the following samples:

  • Measures the latency in reading the sensors.
  • Plays "Mary Had a Little Lamb."
  • Displays a message on the NXT's screen.
  • Spins motors connected to ports B and C.
  • Displays all sensor values.

Motors and sensors must be connected appropriately for each test.


latest Releases

For Begginers

Windows msi(installer) package (only trying samples)


Development environment is required for RT-Component development. See download page for details.

Number of Projects


Motion editor/Dynamics simulator


Dynamics simulator


Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST


Tokyo Opensource Robotics Association


Middleware for DAQ (Data Aquisition) by KEK