Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 2.5 KB

File metadata and controls

85 lines (60 loc) · 2.5 KB

Mindstorms Notebooks

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.

Prerequisites

Setup

NXT

Activate Bluetooth and pair your robot and computer.

EV3

  1. Connect the robot to the same WiFi that your computer.

  2. Install RPyC

Computer

We recommend using Miniconda and creating an environment:

  • Conda quick install
    • conda create --name py34 python=3.4.2
    • source activate py34
    • conda install jupyter matplotlib
  • If using a NXT:
  • If using an EV3:
    • pip install rpyc

Usage

NXT

Switch it on, that's all!

EV3

  • Switch it on.
  • Run the script rpyc_classic.py as explained here.

Computer

Download, run jupyter notebook index.ipynb in the root folder, and enjoy!

Try-a-Bot: an open source guide for robot programming

Developed by: Robotic Intelligence Lab @ UJI

Sponsored by:

Follow us: