I am trying to find out if you can upload LEGO NXT byte-code to any other hardware, so I am just checking to see if anyone has ever written the LEGO firmware for any other hardware. Maybe hardware like an Arduino, Raspberry Pi, etc.

  • 1
    I doubt that, and to be honest I'm not sure it has any interest - the NXT firmware is tailor-made for the NXT, and there are enough people replacing it with something else to show that they don't even consider it very good to start with - so why would anyone to port it to something else is a mistery to me.
    – Joubarc
    Commented Nov 8, 2012 at 12:41
  • 1
    There is a huge community built around the NXT-programming software. Now imagine if I could code for the NXT using any of the many (robotics oriented) programming tools for the NXT then upload it to cheaper and more extensible hardware? Wouldn't that be a great idea?
    – frazras
    Commented Nov 8, 2012 at 17:04
  • The huge community may not be as huge as the programming communities for Arduino/Pi/etc. That said, most of the NXT programming community uses other firmwares to start with. I'll grant you that the idea is intruiging, but I honestly doubt anyone has considered going in that direction yet (feel free to do so, I'm curious ;-)
    – Joubarc
    Commented Nov 9, 2012 at 7:48

1 Answer 1


LEGO itself does not make specific firmware/software to support other devices other than the official NXT brick but...

...you can still use Arduino and Raspberry Pi (and more) with the NXT components including the NXT brick. Personally, I mix LEGO and electronics all the time.

Arduino & Raspberry Pi are flexible development platforms and they can easily be interfaced with other devices. Also, the NXT devices (i.e. The Brick or peripherals) can be interfaced by something else than the official LEGO hardware & software. On the other hand, the effort needed to run the LEGO firmware (probably through an emulator...) on a new device is way harder than to interface the systems. Remember that this is a firmware and it expect to run on the exact device it was built for.

Arduino & NXT: There is a lot of Arduino-NXT hardware components that you can buy or even make yourself. For example you could use this Arduino shield called NXShield-D and it's software.

RaspberryPi & NXT: Pi is still relatively new but, since it's a full computer, it is very easy to use. To interface with NXT you can use the GPIO pins but thanks to the USB port, somebody already made the NXT-python to control the NXT brick.

  • But in none of these cases has anyone made an Arduino/Pi firmware which would be compatible with the one on the NXT, right?
    – Joubarc
    Commented Nov 9, 2012 at 7:46
  • 2
    Exactly right. There is no LEGO NXT firmware that works on other devices than the original LEGO NXT brick. Since @frazras was also interested in accessing the wealth of hardware available in the generic electronic community, I've added a couple of alternatives.
    – pcantin
    Commented Nov 9, 2012 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.