TCP/IP Enabled Lego Brick 266
An anonymous reader submits: "Yesterday, Olaf Christ announced that he has the world's first TCP/IP-enabled Lego brick that can be used as a web server. Imagine the possibilities of connecting your collection of Lego Mindstorms to the Internet! He has ported the extremely small uIP TCP/IP stack to the Lego Mindstorms platform. uIP has also been used to run a Commodore 64 as a web server, and is ported to the 8-bit Ataris and laptop keyboard microcontrollers."
I don't know what's got into my Mindstorms (TM) (Score:3, Troll)
Im really groovin' on this Open Sources Technology (Score:2, Funny)
I know what you mean, I'm really groovin' on this Open Sources Technology!! I mean, I've been installing Linux 7.0 at work and It's really cool. With Open Sources I like to have the C+ code right on my home machine. I can look at it and pretend I am programming it. I sent some patches to to Linux, but he forget to get back to me.
I ask you kindly (Score:3, Funny)
Too... (Score:1)
uIP has also been used to run a Commodore 64 as a web server
I suggest he upgrade that server.
Re:I ask you kindly (Score:2, Informative)
From: "Olaf" Olaf Christ
Newsgroups: lugnet.robotics.rcx.legos
Date: Mon, 28 Jan 2002 20:16:29 GMT
I ve got the very first and only tcp/ip enabled
RCX in my room, cool, eh ?
I will make a webpage at the end of the week to
make the very first (rudimentary, but working)
version available to the public.
Right now, the tcp/ip stack is compiled into the kernel and the stack calls the usercode itself.
The code to pass the incoming packets to the stack
and to send packets to the pc is currently running as a simple userprogram. (*.lx).
On the pc the lnpd runs a program that acts as a gateway between the tower and the pc.
This gateway passes the packets coming from the tower to e.g. 192.168.0.1 and sends packets from 192.168.0.1 to the rcx.
Right now the only thing you can do is pinging the RCX.
But writing e.g. a very small webserver shouldnt be that big a deal
Because, lnp is still alive i had to disable the
sound support to free some RAM. Right now i got approx. 3 KB RAM left, still enough to do a lot of useful stuff. I think, the best way to fully integrate the tcp/ip-stack into the Legos-kernel would be replacing lnp by a tiny slip-driver. On the pc we could get rid of the lnpd.
Olaf Christ
Very Cool (Score:1, Offtopic)
Great...we need another self-mobile http server (Score:3, Funny)
Webstack (Score:3, Informative)
Re:Webstack (Score:3, Funny)
Proof? (Score:1)
I thought someone validated these stories before posting them.
Re:Proof? (Score:1)
Actually, I did this once. Years ago, I posted to comp.os.minix about how I created a completely "free" operating system. Anyone could download it, and change it to their heart's content.
I also predicted that it would one day replace windows, because after all, who would use an OS they had to pay for?'
Of course, no one believed me.
Re:Proof? (Score:1)
First Slashdotted lego block too (Score:5, Funny)
Please try again in a few minutes.
We killed it. The first lego block to take a step into the grand open world of the web, and its slashdotted beyond any sense of hope.
"Its worse than that, he's dead Jim!"
Re:First Slashdotted lego block too (Score:2, Funny)
Re:First Slashdotted lego block too (Score:2)
I'm not impressed... (Score:1, Funny)
I'm not impressed.
Yesterday, Olaf Christ announced that he has the world's first TCP/IP-enabled Lego brick that can be used as a web server. Imagine the possibilities of connecting your collection of Lego Mindstorms to the Internet!
I would tend to think that if Christ's as powerful as everyone says he is, he would've done this years ago.
Re:I'm not impressed... (Score:2)
Not the Christ. Just His pesky little brother.
Re:I'm not impressed... [OT] your sig (Score:1)
Next efforts? (Score:5, Funny)
Re:Next efforts? (Score:1)
imagine... (Score:1)
Cruel, cruel timothy... (Score:5, Funny)
Have you no shame?
Re:Cruel, cruel timothy... (Score:2, Insightful)
Slashdotting a poor defenseless Commodore 64...
Have you no shame?
Kinda like sandblasting a soup cracker, isn't it?
Re:Cruel, cruel timothy... (Score:5, Funny)
Re:Cruel, cruel timothy... (Score:3, Funny)
Won't someone think of the children? (Score:5, Funny)
What happens when one of the bricks gets the Slashdot Effect? I forsee smoldering Lego structures and very frightened toddlers.
Novelty... (Score:1, Interesting)
Re:Novelty... (Score:2)
Well actually it's a "Let's do something completely pointless and then boast about it" culture.
Talk about clusters of webservers! (Score:5, Funny)
Maybe there should also be little sysadmin lego-people?
Sig: What Happened To The Censorware Project (censorware.org) [sethf.com]
Re:Talk about clusters of webservers! (Score:3, Funny)
Re:Talk about clusters of webservers! (Score:2, Funny)
IPv6 (Score:1)
Proxy firewalls and DMZ have more effect (Score:2)
slashdotted already (Score:5, Informative)
Here's the text for those of you who reach a "server overload" message.
Subject:
true tcp/ip on the RCX
From:
"Olaf"
Olaf Christ
Newsgroups:
lugnet.robotics.rcx.legos
Date:
Mon, 28 Jan 2002 20:16:29 GMT
View Raw
Message
I ve got the very first and only tcp/ip enabled RCX in my room, cool, eh ?
I will make a webpage at the end of the week to make the very first
(rudimentary, but working) version available to the public.
Right now, the tcp/ip stack is compiled into the kernel and the stack calls
the usercode itself.
The code to pass the incoming packets to the stack and to send packets to the
pc is currently running as a simple userprogram. (*.lx).
On the pc the lnpd runs a program that acts as a gateway between the tower
and the pc.
This gateway passes the packets coming from the tower to e.g. 192.168.0.1
and sends packets from 192.168.0.1 to the rcx.
Right now the only thing you can do is pinging the RCX.
But writing e.g. a very small webserver shouldnt be that big a deal
Because, lnp is still alive i had to disable the sound support to free some
RAM.
Right now i got approx. 3 KB RAM left, still enough to do a lot of useful
stuff.
I think, the best way to fully integrate the tcp/ip-stack into the
Legos-kernel would be replacing lnp by a tiny slip-driver.
On the pc we could get rid of the lnpd.
Olaf Christ
damn private IPs... (Score:1)
Uh Oh... (Score:2, Funny)
Well (Score:1)
In my day.. (Score:2, Funny)
Astounding! (Score:1, Funny)
That would be awesome! You could be the Biggest... Dork... EVER!
--
You're reading Managed Agreement [slashdot.org].
Whats next? (Score:1)
Just don't try to finger it.
A nasty
Firewall ... (Score:1, Offtopic)
but why? (Score:1)
Here's an idea: (Score:5, Funny)
Hook your Lego Mindstorm box up to the internet, attach a small LCD screen, and program it to check autopr0n [autopr0n.com] periodically. Then it could drive around and find you to alert you to freshly-posted pr0n! YES!
Re: (Score:1)
Imagine your company's server room! (Score:2, Funny)
John: "uh... it's a big lego model of natalie portman"
Oh well (Score:5, Insightful)
Oh well.
Re:Oh well (Score:1)
Re:Oh well (Score:1)
Sun's Jini? (Score:5, Interesting)
Re:Sun's Jini? (Score:2)
It also sounds a lot like the Borg!
T
Re:Oh well (Score:2)
Re:Oh well (Score:2)
Ah, at least until Office 2010 comes out, heh. Who wants to bet that that little piss ant paper clip will be using real time ray tracing to draw his annoying arsed self on the screen by then? Eh?
Programming by building lego ? (Score:2)
Wouldn't building your programm by putting together some lego bricks, be something that could make programming understandable for many people ?
Re:Programming by building lego ? (Score:2)
Imagine... (Score:1, Offtopic)
Re:Imagine... (Score:1)
Time to add some more legos ;) (Score:1, Funny)
Please try again in a few minutes.
Server (Score:4, Funny)
Bill, son, that's very nice, but why do all of your lego blocks spell out 1 0WNZ J00?
Now they've done it... (Score:5, Funny)
Sure, it starts with cute rocketships, next thing you know there'll be Hunter-Killer 'bots the size of houses, made entirely of lego.
To think that the end of humanity (until John Connor of course) should come out of Denmark...
Imagine a ... oh, nevermind (Score:1)
Practical application of a Lego webserver (Score:1)
http://www.applefritter.com/compubrick/compubrick
Just great... (Score:1)
Ut Oh! (Score:2, Funny)
Re:Ut Oh! (Score:2, Funny)
Good idea... (Score:2)
c64 (Score:1, Funny)
Come on folks, if we can't slashdot this, we aren't really trying.
Watch out... (Score:1)
TCP Mindstorm (Score:1)
because it's necessary (Score:1)
Imagine a beowulf cluster of these things. It would be like the cities I built...
and then my mom vacuumed up.
Waitaminute... (Score:2)
The things these people do amaze me. (Score:1)
I also love the fact that I'll be able to sell my DreamCast Broadband adapter to some dude who wants to run a DC server.
This is sooo cool (Score:1)
Ciryon
Re:This is sooo cool (Score:3, Funny)
mlk (will have to dig out his mindstorms set)
Idea! (Score:1)
mmm...smart plastic! (Score:1)
Reminds me of something:
DMCA or no DMCA ? (Score:4, Funny)
Re:DMCA or no DMCA ? (Score:2)
And your sig is wrong. It is an action, not a noun.
Lego is WAY COOL on RCX-hacking... (Score:2)
There was an incident with the LegOS alternate operating system recently where Lego requested that the fellow change the name so as to not dilute Lego's trademark (see
As concerns DMCA, there's NO issue there, 'cause there's no attempt to prevent or control access to the brick's brains. Lego are the complete opposite of Sony in this regard.
RAM HOG! (Score:3, Insightful)
Right now i got approx. 3 KB RAM left, still enough to do a lot of useful
stuff.
Oh, lordie, if every programmer had that kind of attitude...
obligatory cluster post!! (Score:1)
Sony ... (Score:1)
And discover the excitement of something like this brings and the desire for people to go out and buy the product.
And in turn read up on how people feel very negative towards lawsuits and threats for even thinking of making modifications to there products.
We're on the right path (Score:2, Funny)
Look what I found! (Score:3, Funny)
Scalability (Score:2, Funny)
-Our system is designed with scalability in mind, we use multitier software. Once the software is pushed to the limit, the scalability problems will be resolved in the hardware level. We will simply add more of these Lego blocks to our servers and there will be no problem.
In related news, a large army of Robots build from lego pieces is taking over Manhatten. These robots are looting every toy store in the area and are using more Lego systems to build more robots.
Toddler network admins... (Score:1)
New ways to communicate. New ways to be creative! (Score:5, Insightful)
Now with the ability to pass TCP/IP traffic back and forth, that opens up even greater avenues of possibility for device communication. Not only can you create software that will allow you (or someone over the web) to interact with the devices directly, it's now easier to get the RCX's to interact with other devices. One great example would be to have a brick as a part of a security system. How about intergrating it with an X10 system? Turn your robot on with the flick of a wall switch.
This just isn't a case of "let's port Apache to a Lego RCX brick!" The fact that these things are the brains of such a flexible system, with a wide variety of sensors, really opens up a great deal of possibility. More importantly, it allows for even more creativity and learning. After all, that's what these devices were made for, right?
Re:New ways to communicate. New ways to be creativ (Score:2, Informative)
It's already possible thanks to IR. Of course you need PC to read signals from RCX.
How about a Bluetooth brick? (Score:2)
I also think this is great, but thinking about connecting to other devices, the IR builtin in RCX isn't that well suited for a robot running around without boundaries, is it?
How about Bluetooth support? If they make a Bluetooth brick that can communicate with RCX on the robot, wouldn't that be better?
No more expensive Racks (Score:2)
and in recent news (Score:5, Funny)
It's estimated reatil price is going to be $688.95 and will be available q3 of this year.
Inside sources at Microsoft reveailed a new "bumb" schema for "MSLego(tm)" that adds new "features," but may make it incompatable with industry standard Lego "bumps."
Comment removed (Score:5, Funny)
Idea. (Score:2)
My brother has a small cd-r label, and so does a lot of burning. I've been contemplating how I could make a cd-changer to automate the most boring part of it all, changing cd's, one at a time.
So far I've gotton it mostly figured out, except how to load a new cd from a spindle.
It's either figure out the spindle issue, or find some way to preload cd's for easy swapping.
Now, maybe I can have the cd-changer interact with the burning process. woot! "Hey, do I put in a cd now? NO, we're stuck!" at which point I activate some little lego man to wave his arms. heh.
Nostalgic (Score:2)
This was used in Lord of the Rings (Score:2, Interesting)
I haven't touched uIP myself, but we're using lwIP (its big brother) in KallistiOS [allusion.net], the DC hobbyist OS project. Adam sent this to me pretty recently and I thought it kicked ass beyond belief:
lwIP will be used in the post-production of Lord of the Rings 2 and 3 [www.sics.se]
-Dan Potter
Imagine... (Score:2)
Poor Slashdotted Bricks (Score:2)
horror.jpg.html [peeron.com]
lego webserver.. (Score:2)
and don't anyone bother with the "...imagine a
Additional information (Score:2)
The "brain" in the Lego Mindstorms product family is the RCX; essentially a small microcontroller with an LCD display built into a Lego brick. It has connectors for sensors and motors as well as an infra-red port. The microcontroller is an Hitachi H8/3292 from the H8S/300 family. It has 32k RAM and a 16k ROM which hosts Lego firmware code.
The microcontroller can be entirely reprogrammed, which turns the RCX into a small but powerful embedded computer. With 32k RAM, this is enough to run the open-source legOS [sourceforge.net] operating system - an operating system written for the RCX Lego bricks. Olaf Christ has taken the uIP TCP/IP stack (which was originally written for this project) and incorporated it into the legOS system.
IP packets are sent to and from the RCX over the IR link. The LNP protocol is used as a link layer protocol to deal with collision detection and link layer checksums.
The main problem with the TCP/IP-enabled Lego bricks is that the IR port on the RCX only is capable of running 4800 bit/sec. Since that's even slower than most really old modems, a Lego web server is easily slashdotted by one user alone...
While the uIP TCP/IP stack was originally written for this project it has since taken a life of its own and has not only been used to power good old C64s, but is also used in several embedded systems such as card-readers and other point-of-sale-type applications.
I have personally been running Olaf Christ's TCP/IP code on an RCX and can confirm that it works. In fact, I have one sitting here and serving web pages right now. Sorry, I won't give out the IP address due to the slashdot effect...
An Idea (Score:2)
It's a TCP/IP/UDP trigger/switch. However the concept relies on being tiny, simple and cheap to produce, pence rather like the 555 timers we played with in school electronics. It needs to be a mass produced chip with a [very] low price point.
The chip(s) must operate in two modes. Switch and Trigger.
The trigger operates by producing a [multicast]packet contanining a unique GUID, when a specific input line is triggered dragged high(low).
The switch operates the opposite way by dragging a line high(low) when it receives specific GUID, within a [multicast] packet.
I'm thinking PIC(s) Would it be possible to implement a TCP/IP stack in PIC logic ?
I'm thinking multicast packets with TTL:1, to keep everything withing the subnet.
I'm thinking the IP equivalent of mecrcury/magnetic switches, relays etc for burglar/fire alarms, door switches, light switches, thermostatic switches, infact massive automation. It would then be possible to control just about any device via pretty much any IP enabled/connected computing device.
Consider some applications.
Switching Night Lights.
Burglar/Fire Alarm switches.
Light switches
Thermostats
See the potential ?
What do you think ?
Martin
Re:Absurd possibility (Score:2, Funny)
-Legion (watch this get modded down as a troll because some moderator can't read)