Take the 2-minute tour ×
LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
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 Nov 8 '12 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 Nov 8 '12 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 Nov 9 '12 at 7:48
add comment

1 Answer

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.

share|improve this answer
    
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 Nov 9 '12 at 7:46
1  
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 Nov 9 '12 at 12:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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