Examples and exercises for LEGO® Mindstorms NXT and EV3 mobile robots.
The code consists of Jupyter notebooks running in a laptop or desktop computer, which communicates with the robots via Bluetooth (NXT), or WiFi (EV3).
The NXT runs its standard firmware, but the EV3 should run the ev3dev operating system.
- NXT
- EV3
- Computer
- Python 3.x
- Jupyter notebook
Activate Bluetooth and pair your robot and computer.
-
Connect the robot to the same WiFi that your computer.
We recommend using Miniconda and creating an environment:
- Conda quick install
conda create --name py34 python=3.4.2source activate py34conda install jupyter matplotlib
- If using a NXT:
pip install pybluez- Install NXT-python
- If using an EV3:
pip install rpyc
Switch it on, that's all!
- Switch it on.
- Run the script
rpyc_classic.pyas explained here.
Download, run jupyter notebook index.ipynb in the root folder, and enjoy!
Sponsored by:
![]() |
![]() |
![]() |
Follow us:
![]() |
![]() |





