Skip to content


Subversion checkout URL

You can clone with
Download ZIP
C++ Objective-C Arduino
Branch: master

Developed by Kristian Lauszus, TKJ Electronics March 2012.

The code is released under the GNU General Public License.

This is the official library for the NXT Shield for Arduino. This enables one to control two NXT motors and use one NXT ultrasonic sensor easily.

The NXT Shield can be bought at our website: or you can make one yourself. The design files can be found in the PCB folder.

See Appendix 7-LEGO MINDSTORMS NXT Ultrasonic Sensor I2C communication protocol.pdf for all the available commands for the Ultrasonic sensor.

For more information see my blog posts:, and or send me an email at

Something went wrong with that request. Please try again.