Free Lego Mindstorms NXT Compilers and Programming Languages
C, C++, Java, etc, for the Lego NXT Robot Brick
Free Lego Mindstorms NXT Compilers and Programming Languages
The Lego Mindstorms NXT is a robotics set from Lego that comes with a programmable 32-bit RISC ARM CPU, Lego blocks that you can use to build a robot, servo motors and sensors (sound sensor, ultrasonic sensor, light sensor, touch sensor), and a visual programming environment called the NXT-G. The NXT-G graphical programming environment provided with the robotics kit is usable and even child-friendly in that it uses pictorial blocks and controls which you can adjust visually to control the robot. However, it does have its limitations, among which is its cumbersome interface for using variables. For those who want something more powerful or versatile to program the robot, or who prefer to use a more traditional programming language or environment, this page of free Lego Mindstorms NXT programming languages, compilers and development environments is for you.
Note: some of the programming languages may require that you upload a different firmware (than that provided by Lego with your NXT brick) to provide the necessary facilities, while others will work with the default NXT firmware. You may want to read the warranty that comes with your robotics set carefully before you upload a different firmware because it's possible that uploading third party firmware to the brick invalidates your warranty. (It's probably not going to stop you anyway, but it's good to know before you do it.)
Related Pages
- Free Educational Programming Languages - Teach Kids Programming
- Free Logo Compilers and Interpreters
- Free Pascal Compilers, Free Delphi Compilers
- Free BASIC Compilers and Interpreters
- Free Source Code Version Control Software
- Free Programmer's Editors, Integrated Development Environment (IDE), ASCII Text Editors
- Free 3D Software Box Image Makers - create a 3D box image for your software
- Free Autorun/Autoplay DVD and CD Menu Creation Software
- How Much Does It Cost to Set Up a Website?
Disclaimer
The information provided on this page comes without any warranty whatsoever. Use it at your own risk. Just because a program, book, document or service is listed here or has a good review does not mean that I endorse or approve of the program or of any of its contents. All the other standard disclaimers also apply.
Free Lego Mindstorms NXT Compilers and Programming Languages
- Next Byte Codes (NBC) and Not eXactly C (NXC) [Assembler and C] (Windows, Mac OS X, Linux, FreeBSD)
Next Byte Codes, or NBC, is a pseudo assembly language for the NXT robotics computer. Not eXactly C, or NXC, has similarities with the C programming language and is built on top of NBC. You do not have to install a new firmware in your NXT brick to use the language. Compiled programs using either of these languages will work with the existing Lego firmware. They however have an (optional) "enhanced firmware" that provides additional facilities (like multi-dimensional arrays and native shift and wait operations) to your programs over and above what is available from the Lego firmware. NBC and NXC are open source. Also available is the Bricx Command Center (BricxCC), an integrated programming environment for use with NBC, NXC and others. Platforms supported include Windows, Mac OS X, Linux and FreeBSD.
- nxtOSEK (formerly LeJOS OSEK) [Ansi C/C++] (Windows)
This is an open source firmware for the Lego Mindstorms NXT brick that provides a real-time operating system. You can write ANSI C/C++ programs that access the NXT hardware (sensors, servo motors, etc) with the C and C++ API, compile it with the GNU C/C++ Compiler (GCC) (ARM version) to native binary code (yes, native ARM7 code, not interpreted code like many/most of the others), and transfer it to your NXT brick. It requires the standard Lego NXT firmware as well as an enhanced NXT standard firmware. It does not come with any IDE (only command line tools), but you can use any Java IDE, such as Eclipse, with it. At present, only Windows XP is officially supported.
- LeJOS: Java for Lego Mindstorms [Java] (Windows, Linux, Mac OS X)
LeJOS, probably a play of words on "Lego" (with the "g" replaced by "J" for "Java"), provides a Java virtual machine for the NXT brick as well as the older Lego RCX brick, allowing you to use the Java programming language for your NXT programs. It even has an Eclipse plugin so that you can work on your programs from within the Eclipse IDE. From there, you can upload the LeJOS firmware as well as write, compile and upload your NXJ (or Java for NXT) programs. LeJOS NXJ is open source and is licensed under the Mozilla Public License (MPL).
Related Pages
- Free Games Programming Libraries and Source Code
- Free Text Search and Replace Utilities
- Free Installers and Setup Utilities
- Free Hard Disk Backup and Restore, Hard Disk Image and Cloning Utilities
- Dreamweaver Tutorial: How to Create a Website with Dreamweaver
- The Beginner's A-Z Guide to Starting/Creating Your Own Website
- How to Register Your Own Domain Name
- The Fine Print in Web Hosting: Resource Usage Limits
Can't Find What You're Looking For?
Newest Pages
- How to Create Bulleted Lists (Unordered Lists) for Your Web Page with KompoZer
- Free Royalty Free Music and Sounds
- How to Point Multiple Domain Names to One Website: And How to Avoid Search Engine Problems When Doing So
- Free Programmer's Fonts
- The Decline and Fall of Internet Explorer 6: Implications for Webmasters
- How to Point a Domain Name to Your Website (Or What to Do After Buying Your Domain Name)
- Should You Choose a Linux or a Windows Web Hosting Package? Is There Such a Thing as a Mac Web Host?
- How to Create a Bulleted List (Unordered List) for Your Website in Dreamweaver
- Free Font Manager Software
- What Does It Mean to Park a Domain Name? Domain Name Parking Explained
- How to Add a CAPTCHA Test to Your Feedback Form Script: Reducing Spam in Your Contact Form
Popular Pages
- How to Create/Start Your Own Website: The Beginner's A-Z Guide
- How to Register Your Own Domain Name - how to get your own domain name
- How to Create a Website with Dreamweaver CS4 (Dreamweaver Tutorial)
- How to Create a Bootable Windows XP Setup CD/DVD on a Preinstalled Windows System
- Free Partitioning Software - Copy, Create, Move, Resize, Convert, Undelete Partitions
- Free Data Recovery, File and Partition Recovery, Undelete and Unformat Software
- How to Create an Emergency Windows Rescue CD
- Free DVD Authoring and Creation Software
- Free CD and DVD Burners and Copying Software
- Free Hard Disk Backup and Restore, Hard Disk Image and Cloning Utilities
How to Link to This Page
It will appear on your page as:
Free Lego Mindstorms NXT Compilers and Programming Languages
