The Unofficial Guide to Lego Mindstorms 86
Clifton Tipon wrote in to tell us that O'Reilly has a book on Lego Mindstorms for all you robot junkies out there. They're definitely covering the spectrum over there.
Real programmers don't bring brown-bag lunches. If the vending machine doesn't sell it, they don't eat it. Vending machines don't sell quiche.
Re:Explains a lot about you nerds. (Score:1)
Gosh, I guess I never thought I needed a book to teach me anything about sex. I mean if there's anything that is self-documenting, sex has got to be it. :-)
Re:Only books about mediocre programming tools (Score:1)
Sure there are. And they are great too. If anyone can tell you how Windows *does* work, it's O'Reilly. Check out http://windows.oreilly.com for their series on Windows and Windows NT. Especially the one on Event Logging. Now *that's* a funny book :-)
[John]
Re:Well not to exactly downplay this but. (Score:1)
Re:Wow (Score:1)
Tell me about it. Everything is way better now than it was back then. Even the fairly tame stuff is pretty cool. And it's not jsut computers and electronic stuff. I mean, don't you wish you'd had access to Stomp Rockets? [stomprocket.com] And on and on...
Re:Slight addition to make everyone drool... (Score:2)
Build a driver bot, and have them hijack a truck to Legoland. Once they get there, its all over. The resulting army will help you take over the world. You will rule with your army of Legobots from a hollowed out volcano with giant video screens. Of course you could build a Mindstorms football team instead...
Holding, bot number 100101, ten brick penalty, repeat second down.
-BW
Re:Well not to exactly downplay this but. (Score:2)
Here's a link to one of our robots: ORCA Robotic Arm [beckmancoulter.com]
We send some of our smaller projects out to local universities for use as senior projects, and some of those teams have used Mindstorms as a tool for building prototypes. My alma mater, Rose-Hulman [rose-hulman.edu], is actually using Mindstorms as a part of their Mechatronics course.
Re:Explains a lot about you nerds. (Score:2)
The Fearless Shopper (arguably an aspect of finance/economics)
Adventure of Food (diets of other cultures)
Several books on cancer, leukemia, psychological disorders (significant aspects of hygeine)
Testosterone Planet (hehehe..sex...hehehe)
..as well as several travel books. They ARE diversifying. And they've been for a while: look at their full product index sometime. Sure, we can't live by O'Reilly's words yet. Give it a few more months.
-Chris
Re:Robotics in the workplace (Score:2)
1. Do they come with temperature, motion, pressure or any similar sensor packages?
The Robotics Invention System comes with two touch sensors and one light sensor. You can buy rotation and temperature sensors from LEGO. Beyond that, you'll have to build your own. (I have a chapter about this, including instructions for a Hall effect sensor.)
2. Does the ora book give a pinout on the connectors so custom electronics can be added?
No. Nobody's tried to open up the box to attach stuff directly to the circuitboard, as far as I know. The closest information I know about is at Kekoa Proudfoot's site: http://graphics.stanford.edu/~kekoa/rcx/
3. Are there motor specifications so that motors can be removed/ redesigned/ remounted?
There's some motor information at Dave Baum's site: http://www.enteract.com/~dbaum/lego/motors.html
umm (Score:1)
O'Reilly writes plenty on Microsoft. But they seem to be pretty objective about it, with titles like "Outlook Annoyances".
Re:Slight addition to make everyone drool... (Score:1)
~luge
"Unofficial Guide"? Interesting ... (Score:1)
Coincidence?
Re:Wow (Score:1)
Re:"Unofficial Guide"? Interesting ... (Score:3)
~luge
Re:Another example of dumbing down... (Score:1)
Nope. But then, when I was a kid, I'm fairly sure even Minsky himself was only just out of short trousers, far less getting into neurotransmitters & NN topologies
"This is exactly like the calculator argument... Sure, having calculators readily available means that kids nowadays can't calculate anything [...] But it also means they can move on more quickly to stuff like Calculus".
And still have no clue about what the numbers mean! Would you prefer to run before you could walk?
"...difficult for everyone out of "fairness" for the "old guard". I for one am happy to see that today, it is as easy building a robot as building Lego sets."
I wasn't talking about "fairness". But when a kid gets used to having it easy all the time because the knowledge base required is too low, it gets dangerous for their future development. Like how will they deal with any problems that crop up? If you already understand the nature of the beast, you're already halfway there to finding a solution. It just worries me that as soon as the learning curve is no longer spoon fed, kids with their ever decreasing attention spans will just walk away. That said, you make the entry level too hard and no kid will even get the box open!
"Like designing more complex AI, for instance."
To answer your question on OSS: what do you mean, an "equivalent" to Mindstorms? Lego Mindstorms are Open Source, because they give you the "code" (plans) and they're free, so you can expand on them!
I mean something along the lines of circuit diagrams (even kits) to build your own of this type stuff, plus the low level software to make it go - "luge" has already posted some of this - Thanks! . The only thing that keeps me away from the Lego stuff was that when I last played with it, it wasn't anywhere near robust enough & you couldn't easily attach it to anything other than Lego. I'm not an Electrical Engineer but I've waved a soldering iron about before & usually don't blow anything up / cause injury / destabilise minor political enclaves!
Re:"Unofficial Guide"? Interesting ... (Score:1)
firmware (Score:2)
--
Yes. (Score:1)
And best of all, there are plenty of Linux-related resources at http://www.crynwr.com/lego-robotics/
-russ
Re:Another example of dumbing down... (Score:1)
The AI argument is almost impossible. I have never even seen anything (well except the doctor eliza type things) that do anything really cool. Most of AI is based on complex very difficult to understand principles that almost no one can understand without the use of at least 4 years of post calculus math anyway. If it's so easy why hasn't anyone produced an opensourced AI program for communication. The day I can have a scintiliating discussion on Voltaire, Dickens, and the Existential nature of man with my computer I will believe.
Actually I'm a windows user (Score:1)
I have got linux (SUSE6.1 if anyone cares) but I don't seem to use it apart from for university projects.
Re:Is it any good? (Score:1)
while ordering JK's book, check out DB's as well (Score:1)
(Dave Baum's Definitive Guide to LEGO Mindstorms) - of NQC fame.
http://www.amazon.com/exec/obidos/ASIN/1893115097
BTW-Ordering information (Score:2)
~luge
Here's one from an actual LEGO tech... (Score:1)
Woo hoo! (Score:2)
I'm not surprised such a book is coming out. I think even Lego must be surprised at the range of applications people are thinking up for these babies. Lego Mindstorms is the sole reason why I have gotten back into Lego after many joyless years of Legoless life... It's every geek child's wet dream. It's an adult geek's wet dream. From digital cameras to scanners to Enigma machines (I'm working on that one), the possibilities are just endless. I'm glad to see some serious literature being put out on the subject.
Could someone please review this book on Slashdot?
P.S.: For fans of Star Wars and Lego Mindstorms... It's been announced that Lego will put out a AT-AT Mindstorms kit. Am I the only one drooling at this? My childhood Lego fantasy was to have a AT-AT Lego model... I spent hours trying to build one. And now... I'll have one, and it'll be controlled through my computer... *happy sigh*
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
"If their is no O'Reilly book on the subject... (Score:2)
"If their is no O'Reilly book on the subject, it isn't worth knowing."
"Everything I ever needed to know, I learned from O'Reilly books."
:P
You have to hand it to O'Reilly. They do a great job of keeping on top of the newest topics and produce great books on them. And with all of the books they have put out on various Free Software, they have proven themselves to be our ally.
(Will someone do a review on this book?)
Kudos to O'Reilly!
Delicious cookbook (Score:2)
Is it any good? (Score:1)
don't depend on lego (Score:2)
--
Online Resources (Score:4)
~luge(who is mentioned down there in ch. 10)
Well not to exactly downplay this but. (Score:1)
Wow (Score:1)
Another example of dumbing down... (Score:2)
When I was 16, I designed, built & tested (it worked, too!
That said, back in those days, you could buy the C64 Programmers' Reference Guide quite cheaply; it had almost a complete breakdown of the internals of the machine, way before OSS was even thought of.
I wish I could get something like that going on my PC these days; all analogue/digital expansion cards to plug non-standard H/W seem to cost a fortune these days (last I checked UK £100+).
Still, if this Mindstorm kit can give our up and coming under-geeks a head start and that all - important "how does it work" bug, the future of geekdom seems assured!
Anybody know of an OSS equivalent of the Mindstorm stuff?
Raise an Army! (Score:1)
Re:don't depend on lego (Score:1)
~luge
Someone in /. likes me... (Score:2)
A few days ago I bought the Droid Construction Kit, and this is the best news I could have.
Tim O'reilly, I love you. I want to have your droids.
Re:When will LEGO get a clue? (Score:2)
The kit itself, however, can easily be programmed with NQC, and that runs fine under Linux.
Take it like bying a new PC: it might come with Windows, but you just have to reformat and partition. I mean, why wouldn't Lego package their product for Windows? The majority of users have Windows, and they're selling a toy, not a piece of software. Boycotting Mindstorms for this reason is plain silly. And you're the one missing on the fun.
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Is it any good? (Score:1)
Buy the kit, it's an investment. Later, you can pass it on to your kids so they'll learn object-oriented code before they're 10 year-old. It's educative, it's thrilling, and you'll never tire of playing with it.
If you've ever been a Lego fan, pick it up. Remember the thrill of playing with Lego? Same thing here. Except that you're coupling this with the thrill of coding.
Geek heaven.
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Raise an Army! (Score:1)
Alright, help talk me into these! (Score:2)
Give me some incentive! Any personal expriences with these? Anything that scares cats is a plus!
Colophon (Score:2)
Re:"Unofficial Guide"? Interesting ... (Score:1)
Once that work was done, the information was available, and the OS's were done. However, even then TLG nearly sued to keep the OS's off the web, according to Forbes. They did stop short of that, but still aren't at all cooperating. Poor business decision on their part- like Dell and other HW folks, they should learn to be OS agnostic, knowing that variety in OS leads to more HW sales. Oh well...
~luge
Robotics in the workplace (Score:2)
This would actually mean that controls systems became thought out etc...
Some questions for you lego heads out there:
1. Do they come with temperature, motion, pressure or any similar sensor packages?
2. Does the ora book give a pinout on the connectors so custom electronics can be added?
3. Are there motor specifications so that motors can be removed/ redesigned/ remounted?
Any thoughts?
Re:Another example of dumbing down... (Score:1)
I do agree with you that basics are important, but you don't have to know every basic element that makes a system work in order to master elements of it. For instance, I don't need to know how basic circuitry works in order to program object-oriented code; yes, it will make me a more complete coder if I know my hardware inside out, but I can still master coding and only understand the basics of hardware interaction.
You argue that being able to skip the basics means that you won't have to deal with serious problem-solving, and that means you're not learning well. I disagree, and my point is, if you can go over the basics more easily and without problems, it means you can find your problems in the more advanced stuff.
I used the NN example as an example, even though I know people of our generation couldn't possibly deal with NN when we were kids. But NN are exactly what I mean: now that technology is more readily available, you can go over the basics quickly, then deal with stuff like learning algorithms. (There are people playing around with NN on Lego Mindstorms out there; I'm doing it too, since I learned NN inside out in Physics Grad.)
The argument is similar to the old coders complaining that people don't know how to program in assembler anymore... Yeah, I have no clue how to order the 0's and 1's to even create a simple OR gate. What I do know is C++, perl and Java. You can still learn and do a great deal if you take a few things for granted; the learning curve is still there as you progress further. It's just on another level.
So: whether you're building a robot out of household furniture (which is quite an exploit, I'll grant you that) or programming a shrink-wrap Lego kit with adaptive learning algorithms, I think you're just working on a different level. I'm sure it'll give you the curiosity bug, and it'll make you sweat all the same.
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Is it any good? (Score:1)
quite good news (Score:2)
Which will come first... (Score:1)
Re:Another example of dumbing down... (Score:1)
Certainly. I've seen it done. (Can't find a URL, though.) Just keep track of the robot's position, and feed the presence/absence of objects to a computer database.
Yes. [legomindstorms.com]
It can be done. One way I see of doing it is by using two bricks, and placing them at a distance from one another, then use the "echoes" of the infrared emitter via light sensors.
All you mentioned is feasible with one or two Mindstorms kits, and basic ingenuity. You might need more Lego bricks, but that's it.
Check out The Lego Mindstorms [mindstorms.com] page, and visit the Hall of Fame, Expert section. Then tell me you can't do anything with Lego Mindstorms... You can do digital cameras and scanners. I think you can do anything.
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Well not to exactly downplay this but. (Score:1)
Re:Another example of dumbing down... (Score:1)
It just does my head in (and sorely distresses me) having to explain what an Instruction Pointer is to recent graduates, and then further explain to them that "a CPU dump is not an Active X component"... I guess that's what I'm scared of here, removing curiosity at this young age.
Re:Another example of dumbing down... (Score:2)
Yep. Check out NQC or Forth(no links at the moment, sorry) or legOS [www.noga.de]. All are free (legOS is MPL) and reasonably well supported by their communities. If you want something reminiscent of the "good old days," you might do well to remember that reverse engineering is just as hard if not harder than DIY, and then take a look at kekoa's page. [stanford.edu] If he hadn't destroyed his bot, there would be no open source anything for the mindstorm. Very good geek stuff.
~luge
Re:Is it any good? (Score:2)
~luge
Re:Woo hoo! (Score:2)
Could someone please review this book on Slashdot?
Since you asked so nicely, yes. It's really interesting -- more of an overview of the different things you can do than an in-depth exploration of any one thing. It reminds me of Programming Web Graphics with Perl and GNU Utilities in that sense. The demo robots are quite interesting.
Full review coming when I finish it.
--
QDMerge [rmci.net] 0.4 just released!
Re:Another example of dumbing down... (Score:2)
It's not because technology becomes more accessible that it's being dumbed down! Ok, so people now won't know how to build a robot from scratch. However, the time you spent building robots, they're spending pushing the enveloppe on how artificial intelligence works. Did you have time to design neural networks when you were a kid? No, you were welding parts together.
This is exactly like the calculator argument... Sure, having calculators readily available means that kids nowadays can't calculate anything operations on anything above a two-figure number off the top of their heads. But it also means they can move on more quickly to stuff like Calculus.
Having strong bases is important, sure. But it doesn't mean it has to be difficult for everyone out of "fairness" for the "old guard". I for one am happy to see that today, it is as easy building a robot as building Lego sets. It means the kids can concentrate on the cooler stuff. Like designing more complex AI, for instance.
To answer your question on OSS: what do you mean, an "equivalent" to Mindstorms? Lego Mindstorms are Open Source, because they give you the "code" (plans) and they're free, so you can expand on them!
If you mean the software that comes with the Lego Mindstorms kit, then Not Quite C (NQC) is what you're looking for. Runs under Linux, too.
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Slight addition to make everyone drool... (Score:1)
A picture of 5 Mindstorms [duke.edu], which use reinforcement learning to learn to push trailers around a floor without jackknifing. I actually have access to 7, so if anyone has any suggestions on what to do with all of them...
~luge
Re:Well not to exactly downplay this but. (Score:2)
I think your definition of "useful" is pretty narrow.
D
----
Re:Explains a lot about you nerds. (Score:1)
Re:Alright, help talk me into these! (Score:1)
I've toyed with projects such as making an Enigma machine out of Lego bricks (doing the encryption mechanically, as opposed to simply running the algorithm on a computer), and the day I get a T1 connection at home, I'm programming a remote control program in Java... So I can play with my toys from work. :)
And trust me, it scares the cats witless! Mine had a holy terror of it after I used a light sensor to make it a motion detector, and start running after the cats making loud noises. After that, I made a simple robot that gives out a cat treat when they press a touch sensor, and plays with them by wagging a tail. So now my cats are neurotic!
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Alright, help talk me into these! (Score:1)
Re:Alright, help talk me into these! (Score:1)
~luge
Re:Another example of dumbing down... (Score:1)
I think that, alas, we'll also have dumb users no matter how hard we try to teach them. :)
But I don't fear for kids' curiosity with things like Lego Mindstorms. These babies make kids and grownups want to play and invent. And that's what's really needed: not something that forces you to learn, but something that makes learning fun.
I'd even say that the fun part is the reason why people are so reluctant to do mathematics or programming. They figure it has to be a chore. I've seen non-technical grownups (Sociology graduates... Heh heh) toy around with the simple Mindstorms language and make it do things, then clap their hands in wonder as the thing behaved like it should. When I explain to them they're doing simple object-oriented programming, they stare at me blankly, trying to reconcile that fact with the idea they've just had a heck of a good time.
Heck; I didn't get a job in IT before two years ago, because I figured it was illegal to have a job in something you learned easily and out of pure enjoyment. :)
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Alright, help talk me into these! (Score:1)
making loud noises.
OK, so I've got the cat scaring aspect down. Now I just need to come up with the cash, eh?
Mindstorms or memory upgrade... Hmm...
Re:Well not to exactly downplay this but. (Score:1)
Useful? "Just" a curiosity thing? Chemical spills?
This is a geek site, man! What are you talking about! Of course it's a curiosity thing. Of course it's about fun. Since when do we need something useful (and I have to disagree with your definition; what do you want to do with it, use it for space exploration?) to play with it?
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Another example of dumbing down... (Score:1)
I totally agree! I still can't believe they pay me for my job sometimes! Just don't tell my boss!
Re:quite good news (Score:1)
Cross the motors for the back right leg and the front left leg. Put them on the same motor output, one on top of the other. It means that they'll both work at the same time, though with half the power. Use plenty of gears, and voilà.
As for head, you can do with only one motor... One direction moves it left to right, the other up and down. You need a differential for that.
I'm not saying it won't be a nightmare of engineering, and if you manage it, I'll be in complete awe. :) But it's feasible, in theory, with one brick, five motors and three motor outputs.
Also, remember that you can use two bricks and make them communicate between them, so using two of them would work just as well.
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Alright, help talk me into these! (Score:1)
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Another example of dumbing down... (Score:1)
Don't tell my boss, and I won't tell yours. ;)
"There is no surer way to ruin a good discussion than to contaminate it with the facts."
Re:Wow (Score:1)
So how about a
First Geek Toys:
Meccano.
Lego.
Technix Lego.
TV remote (for the script kiddies :) ).
Had friends instead.
About Sensors (Score:3)
~luge
Cover image (Score:1)
Fetchez la vache!
Another O'Reilly classic... (Score:2)
Yeppers!!!! (Score:1)
You need a book?!?!?!
No books about hygeine.
well, when you never see the outside world anyway ;-)
No books about dieting.
You're right, but if you drink enough coffee (as any geek trying to meet a deadline is GOING to, like it or not), you'll be twitching so much you won't have a chance to gain weight!
No books about exercise.
About what?
No books about finance or economics.
Sigh. This is true. That's why we eventually turn to free software. a) we can't afford software AND hardware, and b) we can't tell if we're being ripped off by a commercial publisher or not . . . so we go free and know no one is screwing us worse than ourselves ;-)