Using MonoBrick Communication Library On Linux

This guide describe how to get the LEGO Mindstorms NXT brick to work with the MonoBrick communication library and its related software under Linux. This guide is done using Ubuntu 12.10 – other flavors of Linux may differ slightly but the genneral approach described here should be the same. Also this guide is written for the NXT but also applies for the EV3

Installing Mono and MonoDevelop

First you need to install the Mono Runtime. With Ubuntu this is done with :

sudo apt-get install mono-complete

If you are using the MonoBrick communication library for writing your own programs you need to install MonoDevelop. With Ubuntu this is done with :

sudo apt-get install monodevelop

Once this is done you should be able to execute and compile C# programs.

USB Communication

Before establishing a USB connection to the Mindstorms Brick you need to install development files for libusb 1.0.0. On Ubuntu this is done with: