Collection of python scripts providing cross-platform access to a NXT running pbLua
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a collection of simple python scripts to provide easy cross-platform access to a Lego Mindstorms NXT robot running the modified firmware pbLua.


  1. Make sure to have a flashed NXT brick running pbLua connected to your computer via USB (at the moment Bluetooth is not supported). Therefore follow the instructions provided in the pbLua repository.

  2. In order to communicate with the brick make sure to have the respective drivers installed.

sudo apt-get install libusb
  1. The provided scripts were written in Python 3. So please check if python already lives on your system.
python3 --version

If the output looks something like Python 3.x.x, you're good to go. Otherwise you'll need to install Python. There are official downloads with setup instructions available on their website.

Users on Unix-like systems are lucky, as they can use a package-manager instead to install Python.

sudo apt-get install python3


/usr/bin/ruby -e "$(curl -fsSL"
brew install python3


The main script is a wrapper for all other scripts and functions in this repository. It can be used to establish a connection with your brick, transmit a lua script, run it and show you any results.

There is an easy shorthand command that takes care of everything.

./ your_cool_script.lua
./ -r