Colab notebooks for programming LEGO Mindstorms NXT in Python 3.
The code consists of Jupyter notebooks hosted in Google Colaboratory but running locally in a laptop or desktop computer with Ubuntu Linux 20.04 that communicates with the robots via Bluetooth.
The NXT is running its standard firmware.
- Python 3.x
- Jupyter notebook
- PyBluez
- NXT-Python
Run the install script:
./script/install.bash
Activate Bluetooth and pair your robot and computer:
./script/pair.bash
The script launches bluetoothctl
.
Use the command scan on
for finding your device, then use pair <mac_address>
for pairing it.
Switch it on, that's all!
Run the script ./script/run.bash
in the root folder, and enjoy!