Slashdot Mirror


Lego to Open Mindstorms NXT Firmware

ajdlinux writes "LEGO has officially announced that the firmware for the Mindstorms NXT will be open source. They will be releasing several developer kits and the firmware source during August, the kits containing the NXT driver specs, the schematics for the hardware connection and the Bluetooth protocol used by the NXT. The NXT will be only US$250, which is only slightly more expensive than the Mindstorms RIS2 kit. I certainly can't wait. " We had covered the earlier announcement of this kit.

34 of 138 comments (clear)

  1. Mail to daddypants sent 5 minutes ago.... by LiquidCoooled · · Score: 5, Informative

    The link is incorrect.

    You have trimmed the spaces from the name.

    correct one is: http://mindstorms.lego.com/press/2057/Open%20Sourc e%20Announcement.aspx

    liquidcoooled

    --
    liqbase :: faster than paper
  2. Kids today I tell ya... by DaHat · · Score: 3, Interesting

    Getting to play with all of these these new fangled toys at such a young age... robotic lego sets, the internet, cell phones, instant messaging... boy am I feeling old... and yet I'm only 25!

    1. Re:Kids today I tell ya... by Pad-Lok · · Score: 2, Funny

      Interesting. All my daughters think Lego Mindstorms are pretty to eat.

      --

      -- Sauer
  3. Bluetooth? by TubeSteak · · Score: 4, Interesting
    The Bluetooth Developer Kit will detail the Bluetooth protocol embedded in the NXT microprocessor, allowing users to create applications for any Bluetooth device that [????] them to communicate with MINDSTORMS robots.
    So does this mean LEGO is or isn't using 'normal' Bluetooth commands?

    By default, would I be able to control the sucker from my cellphone? Or is that something they have to specifically program into the control software?
    --
    [Fuck Beta]
    o0t!
    1. Re:Bluetooth? by Ohreally_factor · · Score: 2, Insightful

      That's so pedestrian. Better to get a bluetooth dongle for your computer, and then control it from anywhere the world.

      --
      It's not offtopic, dumbass. It's orthogonal.
    2. Re:Bluetooth? by Trejkaz · · Score: 2, Informative

      The grandparent poster was probably talking about standard Bluetooth HID. HID should be more than enough to control a robot (since you can basically represent any given joystick as a human interface device.) However, I doubt most phones' limited HID interface would offer nearly enough control for anything serious.

      Then again, I thought most of the point of robotics was to make the things able to control themselves with a minimal amount of wetware.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    3. Re:Bluetooth? by Rob+the+Bold · · Score: 2, Insightful
      Obviously there is a copy-editing problem with that press release.

      I think that the Bluetooth HID profile would be a good choice. It is intended for:

      Computer keyboards and keypads

      Trackballs, mice, and other pointing devices

      Game controllers (gamepads, joysticks, steering wheels, etc.)

      Battery operated sensors (temperature, pressure, security, etc.)

      Simple alphanumeric remote displays

      Universal remote controls

      Bar code scanners

      (From Bluetooth.org)

      Unfortunately, most cellphones aren't gonna support that profile. They usually use Headset and/or Handsfree, and maybe Object Push for phonebook syncing and Serial Port Profile because it's already in the chipset firmware.

      If they use SPP (the lowest level useful profile), all PC Bluetooth adapters have that profile, so you could control it from a custom app on your computer or PDA. Or a terminal program for true masochists.

      --
      I am not a crackpot.
    4. Re:Bluetooth? by MeBadMagic · · Score: 3, Informative

      There are several ways you can use
      Bluetooth with the NXT. It can be used to send commands the NXT directly. It functions as a Bluetooth Serial port. The commands are well documented. One of the MDP's has already started / developed a java app for cell phones that can function like a remote control for the robot. The NXT programming software can use the Bluetooth to communcicate with the NXT(s) so you don't have to have a USB cable attached to it the whole time. So far, the Bluetooth stack that is supported is the Widcomm and MS stacks. There is a growing list of confirmed adapters from all over the world that work with the NXT. I myself am a MDP, and can attest to the ease of use for Bluetooth. Each NXT can have 2 connections. One in, and one out. You can chain these things together to have a series of NXT's all controlling each other if you wished.

      B-)

      --
      A friend will come and bail you out of jail, a true friend will be sitting next to you saying, "damn that was fun!"
  4. What license? by Whiney+Mac+Fanboy · · Score: 4, Interesting

    I can see no mention of the actual license in the press release (or anywhere on the mindstorm site for that matter).

    Lego saying its Open Source is all well & good, but that means nothing. It may not be an OSI approved license - but even if it is, the differences between BSD - style "open source" licenses and gpl style "open source" licenses is huge.

    Anyone know what the license actually is?

    --
    There are shills on slashdot. Apparently, I'm one of them.
    1. Re:What license? by FrankDrebin · · Score: 4, Insightful

      saying its Open Source ... means nothing

      I take your point about reserving opinion until we see the actual license. But so long as hobbyists get sources, who much cares? Lego is at least appears to be learning from the previous Mindstorms go-around and the Sony Aibo debacle. Vast majority of us just want to play with Mindstorms, so opening up the sources in any planned sense cannot be a bad thing, can it? What am I missing?

      --
      Anybody want a peanut?
    2. Re:What license? by IpalindromeI · · Score: 2, Informative

      Here's the short version.

      BSD License: You can do basically anything.

      GPL License: You can do basically anything, but you must make your modifications available.

      --

      --
      Promoting critical thinking since 1994.
    3. Re:What license? by richlv · · Score: 2, Insightful

      GPL License: You can do basically anything, but you must make your modifications available. ...if you distribute them.
      which can be pretty important for companies who see a value in keeping the changes in-house.

      --
      Rich
    4. Re:What license? by Schraegstrichpunkt · · Score: 2, Funny
      Here's the accurate version:

      BSD License: RTFL

      GNU GPL: RTFL

  5. If only... by VorpalRodent · · Score: 5, Interesting
    I haven't played with legos for years, but I've heard of these things.

    Just look at that robot on that homepage. Imagine all the things that it can do. Why, if Lego scaled up all its parts, I bet it could take on ASIMO easily.

    But seriously, if more work were put into developing things like this - toys such that everyday people with some ingenuity and some creativity could program their own robots, I believe that we would have a lot more ideas as far as where to take robots.

    Right now, major robotic undertakings seem to be limited to those with the research capital and funding to make them happen. If this were the thing that was researched, I would think that we would be seeing a lot more cool stuff developed as a result.

    Especially with the release of the firmware as open source. Lego is just inviting people of all capabilities to work with it.

    --
    Take it to the limit, everybody to the limit, come on, everybody fhqwhgads.
  6. lets see the benchmarks by psbrogna · · Score: 2, Funny

    Ok, who'll be the first to construct a Lego Beowulf? And I'm sure NTX overclockers have already started!

  7. Perfect! by suv4x4 · · Score: 3, Funny

    All these years wondering where those robot armies to enslave the human race will come from, and now we know they started as a bunch of LEGO models.

  8. Does Nintendos new controller use bluetooth by majortom1981 · · Score: 2, Interesting

    Does Nintendos new controller use bluetooth. Imagine getting that to work to controll your robot.

    1. Re:Does Nintendos new controller use bluetooth by Trejkaz · · Score: 3, Interesting

      Strictly speaking the limitation is 8 devices per network, so it doesn't matter what kind of devices they are. The limit is 8 for a net, and one of those is the master. Of course, nothing stops you having five Bluetooth devices in a single device, for a total of 28 peripherals.

      That being said, I have a hard enough time finding three players to play a four player game. Can you really imagine trying to find seven players for an eight player game? Not to mention some sucker with a lounge room spacious enough to seat them all.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
  9. Great news by LarsWestergren · · Score: 4, Informative

    I think I'm going to have to get one of these soon. I haven't seen any of these nifty Lego toys for adults in any shops in Sweden (for instance) but there are many shops in Europe you can order from online.

    If you are heading for Java One this year, there is this interesting seminar:

    BOF-0503: Java(TM) Technology in an Intelligent Swarm of Heterogeneous Lego Robots :This session reports on continuing work on developing Java(TM) technology for use in university-level robotics. It focuses on the issue of creating cost-effective and easily programmed intelligent robot swarms (n>10). Interesting swarms are composed of heterogeneous robots, but this quickly complicates programming. The presenters previously simplified the heterogeneous programming problem by using I/O tagging and reported on this at the 2005 JavaOneSM conference, in TS-1464. This presentation describes how they have successfully created a swarm of heterogeneous robots, based on Lego mechanical components, sharing a common code base, with a variety of non-Lego sensors.

    --

    Being bitter is drinking poison and hoping someone else will die

  10. Re:why just lego in this space? by Lumpy · · Score: 4, Informative

    They are not the only one. Radio Shack is one of the current vendors of the VEX product line of robotics and beginning robotics.

    I find the VEX line a bit more fun as it's easier to toss the controller after you get to the more advanced stages and use a 68hc11 or other processor on a dev board for more fun and real brobot action... but then that is a small step away from building one from scratch which makes the VEX a really nice way to ease a child into the world of real robotics wher you fabricate and build most of the machine from parts.

    Because the VEX uses standard aircraft servo connectors it's easy to get their sensors and parts to a homebrew processor.

    --
    Do not look at laser with remaining good eye.
  11. Visual Studio Express by adolfojp · · Score: 5, Informative

    You can already program these toys with the free editions of the Visual Studio software.
    http://www.windowsfordevices.com/news/NS4127455334 .html

    Why, oh why didn't we get to have toys like these in out childhood. :-(

    1. Re:Visual Studio Express by drinkypoo · · Score: 2, Insightful

      One of the advantages of having a kid... you have an excuse to buy them now. My son will be getting one of these. :)

      One of the advantages of not much caring what people think of me is that I don't need excuses to buy myself toys. I'm 29 and I still buy the occasional action figure, although what I consider to be worth buying is definitely much different than what it was when I was a kid (the bar has been raised, but then, I have more money and even less space available now.)

      Don't shortchange your inner child. Buy yourself your own set, too.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  12. Is it just me? by thebdj · · Score: 2, Interesting

    Or does the "Head" of the NXT remind others of Johnny 5 from Short Circuit?

    In any event, this sort of toy just makes me warm and fuzzy inside. Nothing like some Legos and a microcontroller to make the electrical engineer in me happy.

    --
    "Some days you just can't get rid of a bomb."
  13. You are correct sir by technoextreme · · Score: 4, Informative
    They're either trying to win over the geek population or maybe hope their LEGO models will help the progress of human kind.

    Actually, this was Lego's plan all along. They obtained the help of the most crazed Mindstorms hobbyists to help them design the product line. This wired article is probably the best one that involved the process behind creating the line.
    http://www.wired.com/news/culture/0,69946-0.html
    --
    Ooo man the floppy drive is broken. No wait. The computer is just upside down.
    1. Re:You are correct sir by pimpimpim · · Score: 2, Interesting
      I really like how LEGO changed its strategy a few years ago and moved from making a lot of crappy stuff noone was waiting for (harry potter lego, huge single parts that have few connectability options, etc), to making things that their fans are really into: more use of versatile, standard, blocks, and bringing new life to the mindstorms project. I don't know the exact figures but I read somewhere (very vague, I know) that they're actually doing financially better now!

      I hope they go on with this, and be an example of how a company that lives of IP can respect the wishes of their buyers and still thrive. That would be nice contrast to other companies that just seem to lock their IP as much as possible and just annoy their clientele (e.g. unplayable CD's due to copy protection etc)

      --
      molmod.com - computing tips from a molecular modeling
  14. Re:why just lego in this space? by hunte · · Score: 3, Informative

    http://www.vexrobotics.com/ this is the url of VEX product line.

    --
    about me A - B
  15. AI research? by bcmm · · Score: 2, Interesting

    Cheap, remotely controllable, and now programmable in real languages. Could these be used for cheap research into AI navigation?

    --
    # cat /dev/mem | strings | grep -i llama
    Damn, my RAM is full of llamas.
  16. Re:why just lego in this space? Are you kidding? by MeBadMagic · · Score: 2, Interesting

    >i guess because the mindstorms wasn't super successful we have this lack of players
    >in the amateur robotics market.

    Your kidding right? Mindstorms !IS! SUPER successful! It was so successfull that it created a hacking community that also was so successful that LEGO involved them in the development of updates, as well as this NXT kit. To give the OP some credit, I too had no idea of the success of this kit until I got involved. I hadn't heard about FLL. I didn't know that there are 2 versions of the NXT kit. One for retail, the other for education. I was blown away by all the brainpower LEGO involved from the community to help with this project. From educators, to engineers and everyone in between. There are 3rd party projects that mix this. I believe the success of this kit was inevitable, regarless of the communities participation. Then to embrace the hacker community as well as professional (educators, FLL clubs, competitions, etc.) just made it happen even sooner. There have been development projects to enable the use of other parts and robitic kits. There have been developments for using 3rd party robotic sensors and motors. I for one worship my new robotic overlords!

    B-)

    --
    A friend will come and bail you out of jail, a true friend will be sitting next to you saying, "damn that was fun!"
  17. The new wave of engineers... by Kaptain_Korolev · · Score: 2, Insightful

    When i was younger I grew up programming my Sinclair ZX81 and playing with Lego Technic. This sort of stuff set me on the path to a degree in EEE at university and now a job as an Electronics Engineer.

    What do kids have today, the XBox 360 and Playstation, where are the engineers of the future going to come from? But wait there's hope, thank you Lego, thank you for still having the guts to create a great educational 'toy'* that will not only entertain the masses but also teach them as well.

    * a 'toy' I might add, that I will be buying for me... a 25 year old big kid.

  18. It's cool and all, but.... by mark-t · · Score: 3, Interesting
    I think that LEGO going with USB instead of IR or some other wireless technique for programming was a mistake.

    I've seen I don't know how many USB ports get broken, the plastic bit that guides the connector breaking off, simply by repetitive plugging and unplugging of the connector from the port on the computer. USB drives, digital cameras, and other devices that are generally intended for being plugged in only temporarily... all of them break the port you plug them into eventually. I've seen it happen with many different USB ports on different computers too, so I don't think it's the manufacturer. It seems to me that the port is simply not designed for frequent hardware changes, which of course would happen with this sort of device. (Not to mention that in general it would be handled by kids, which I'm thinking makes it only that much more likely things will break).

    For devices who are frequently connecting and disconnecting, wireless is the only way to go. It's a pity that LEGO didn't realize this.

    1. Re:It's cool and all, but.... by MJapata · · Score: 2, Informative

      NXT has USB vs RCX with IR and the IR is better?

      One of the major hurdles on the RCX was running it the first time. The firmware had to be downloaded. All downloads went from PC/Mac across a cable (USB/Serial) to an IR Tower and then from that IR Tower to the RCX -- the yellow brick that was the brains of the old Lego robot.

      The number of ways to goof up that linkage was too much for a lot of kids. Not to mention that it took 5 minutes to download the firmware when it did work.

      With the new NXT system, most kids will open the box to find the firmware already in place -- it's stored in the flash memory. If not, a USB cable is required to download the firmware. The USB link is quick, something like 30 seconds to download the firmware. With firmware in place, you have the option of downloading/uploading by USB or Bluetooth. Bluetooth is so much easier than plugging and unplugging a cable that those that have the choice will choose Bluetooth.

      One of the lucky 100.

  19. Re:It's cool and all, but.... ( I wasn't informed) by MeBadMagic · · Score: 3, Interesting

    The Bluetooth functionality of the NXT I think falls under wireless connectivity, doesn't it?

    As a MDP'er, who didn't play with the previous IR RCX version, I can only tell you that the other MDP'ers who have, have said the BT in the NXT by comparison is a dream. From first hand experience, I only use the BT because your right, I'd hate to actually use a cable. The NXT connects with anything BT that I have. Laptop, phone, PDA, etc. There has also been development of java BT remote control for cell phones. I mean, come on! You can take the box home from the store. Spend 1/2 hour building, installing software, and programming, and have a moving robot working without ever plugging in a cord. The BT stack currently is limited to widcomm and M$, but the list of adapters for those stacks is huge and growing. I already had the cheapest Kensinton I could find for my laptop to talk with my phone, and it just worked with the NXT (which is the norm).

    No worries mate!

    B-)

    --
    A friend will come and bail you out of jail, a true friend will be sitting next to you saying, "damn that was fun!"
  20. Re:Labview is an abomination by MicroBerto · · Score: 3, Interesting

    Whoa there, cowboys. Before anyone starts trashing LabVIEW or defending it too harshly, I'd highly recommend doing things the right way.

    First off, you can demo LabVIEW online at this link or download an evaluation version at this link (pretty big download).

    Next, check out the LabVIEW Introduction Course - 3 Hours Long or preferably the LabVIEW Introduction course - 6 Hours Long. I believe these were written for LabVIEW 7 (latest version is 8.0.1), but you can still get the idea.

    Graphical and dataflow-based programming is much different, and it's not going to be a seamless transition. However, after working with it heavily for as little as 4 months, I am HOOKED. If you sent me your C code, I'd be lost and frustrated. Now, if someone sends me their LabVIEW code, I can "just see it" -- like Neo at the end of the Matrix. It's hard to explain, but it just makes sense at a glance now.

    Another cool thing that Slashdotters would like is that there is a LabVIEW forum that is supported by both National Instruments employees and LabVIEW enthusiasts. Some guys in there just love helping you out, just as you've seen in the Linux community. forums.ni.com. Very friendly community (although if you are a flamer, NI employees won't say anything, but other customers sure will!)

    So try to understand it before bashing it, or just ignore it. But LabVIEW *IS* a programming language -- just something much different than anything you're used to.

    PS: No, LabVIEW is not open source. But it's "open enough" for most people.

    Oh, and if you check the job listings, you'll see that knowing LabVIEW can get you a very nice salary in some industries. It's the defacto standard for anything in test and measurement, and is branching out to other things now.

    --
    Berto
  21. Re:A strategy to win the geek audience? by szrachen · · Score: 2, Funny

    I'm sorry but sex slave LEGO-bots do not sound pleasurable to me... Think of all of the edges and pieces that could easily crunch together and catch something. Ouch! Maybe if they were Duplos!