Lego Segway
Jeff Lalo writes "This Guy has built a Lego version of Dean Kamens Segway Human Transporter. This thing was constructed using only Legos, two cheap (~$40) custom sensors and some smart programing using the open source BrickOS for the Lego RCX. The LegWay, as the creator calls it, can balance itself on two wheels and follow a line. Pretty cool for few lego blocks!"
Now, if they could only make a Lego Lobbyist for Open Source down in Washington. Seems like the Lego AI would be a whole lot smarter than any politician we have in there at present...
Blog Prophyts - Right On, Man
Url, anyone? I sadly never bookmarked it (shame on me). It'll be good for me, good for your karma, good for everyone.
Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
Once again back on topic, I've heard about simmiler projects, the first one that comes to mind is the guy who made a copy machine out of legos here. (He now works for them.) Has anyone else seen any other insanly cool projects?
Only intense boredom could drive one to undertake such an endeavor. Before I started using Linux, and before I got into IT, my system (Windows 95) went down with some VXD BSOD and would not boot. I was a web junkie (IRC, Ultima Online, pr0n), and without my poison, my fix, I develop a state of boredom that I have not reached sine. I found my nephew's enormous Lego collection and built myself a big PC, complete with monitor and keyboard, in the two days it took for my pal to get around to reinstalling Windows for me.
Looks like someone gave the guy pre-warning, his page only has links to some mirrors, e.g. Here or here or even here .
Steve's Leg-Way
This LEGO robot was built to stand on two wheels and balance, follow a black line, and/or spin in place.
LegWay Program
The program for LegWay was written in BrickOS (LegOS) and uses EOPDs to maintain a constant distance to the ground. As the distance decreases, LegWay moves forward. As the distance increases, LegWay moves backward.
Every 50 ms, LegWay attempts to re-calculate the balance point by measuring the current distance and motor speed.
To move forward (for line following) LegWay actually sets the motors to run backward, causing a tilt, which it automaticly corrects, by moving forward. When one sensor is over the line, it stops that motor, and LegWay balances using only the other motor, causing it to turn.
To spin in place, both motors are shifted "off center" in opposite directions, the same amount, but they still correct for tilting.
In the pictures, you may notice the second sensor is disconnected. The main LegWay program will follow a line if two sensors are attached (always moving forward) or attempt to stand still, if only one sensor is attached.
If the motors are set at full power (either direction) for more than 1 second, LegWay assumes it has fallen over and the program ends.
LegWay EOPD SENSORS
LegWay uses two EOPDs (Electro-Optical Proximity Detector) from HiTechnic Sensors to balance and detect lines.
The EOPDs are based on the IRPD (Infrared Proximity Detector) circuit, but use visible light to determine distance by checking the detector, sending a pulse of light, and checking the detector again to calculate the amount of light reflected. The value returned will change based on the distance to an object AND the color of the object. IRPDs can be used in place of the EOPDs, but they will not work as well for detecting/following lines ** I'm told these sensors will cost the same as the IRPD sensors, and will be available in a couple weeks (November 1)
For this application, a small change in the value will usually indicate a change in the distance to the surface, while a large change will represent a change in the surface color (white to black) The EOPDs usually do not return a usable distance to a black surface, because the light is absorbed.
LegWay VIDEOS
Here are a couple videos, and some more pictures. The videos were taken with my LEGO Vision Command camera, so they're not really the best quality. I don't know my bandwidth limit, so if the videos don't work, try back later.
Brickshelf Pictures
LegWay Following a Line
LegWay Spinning This video really doesn't show how fast it's going. The motors are at full speed (almost) and in this video, it doesn't change direction.
Legway Building instructions
LegWay Past
I attempted to build LegWay using an accelerometer to detect tilt, but soon realized the acceleration due to gravity would not change as the robot tilts, because the robot is accelerating at 9.8 ft/sec?(physics was a long time ago). So the reading will be zero, until it smashes into the floor.
Several people have said they tried (without success) to build something like this with standard LEGO light sensors, but I don't believe they have the resolution required. (not even close)
LegWay Future
My next project will be to make LegWay work with a remote control. I have a couple ideas, which include using a SpyBot remote to drive LegWay around, or use a regular LEGO remote to run some pre-programmed moves.
Another idea is to make LegWay stand up (from a lying position) on it's own. It can't do that right now, because the center of mass is below the axle when it on it's side.
Thanks for checking it out. Feel free to tell me what you think.
Steve
e-mail:hassenplug@mail.com
Get Firefox!
I don't know how he got the impression that he's going to get some major slashdotting... but the list of mirrors is a good idea.
Anyway... IF the Geocities mirror list get's slashdotted, here are the list of mirrors:
http://perso.freelug.org/legway/LegWay.html
http://legway.armorica.biz
http://home1.gte.net/res1g289/StevesLegWay.htm
Welley Corporation - SLM Scammers
"Another idea is to make LegWay stand up (from a lying position) on it's own. It can't do that right now, because the center of mass is below the axle when it on it's side."
Until or unless it's articulated, this will always be true. Segway can't right itself from this position either...?
I give him about 2 days before being slapped with a lawsuit for patent infringement. And then Lego towns all across the Midwest will pass laws preventing them from riding on sidewalks (at the behest of Ford, GM, and Daimler-Chrysler).
$40 maybe for the needed senors, but the RCX brick (the big ass thing everything is connected to / and what controls it), is at least $120. You're actually better of just buying the whole Lego Mindstorms set and getting a whole bunch of other sensors, parts, etc. . . For $195 online.
Are you serious? You put a link to a Geocities site on the front page of Slashdot during primetime?
SLASHDOT.
FRONT PAGE.
Hahahahahahahahaha!
Seriously. I bet no more than 150 people got to actually see that site.
El Karma: excelente(principalmente la suma de moderación hecha a los comentarios de los usuarios)
i can actually get one of these :\
"Sic Semper Tyrannosaurus Rex."
Lego Segway accidents on the freeways, Lego gridlock (sounds like a product?:P), Lego getaway cars...
And I thought I was proud of my lego castle greyskull all those years ago!
"It's not stealing if you don't get caught!"
This guy used BrickOS (which is on sourceforge) to build it. Maybe when I get a few extra bucks I'll buy those Lego Mindstorms, they are quite expensive.
Karma: Bizzare (mostly affected by varying internal caffeine levels.)
Check it out here...he just went over his data transfer on Yahoo =P.
Mike
Yeah...he knew that the server he made out of Legos would be no match for a good ol' slashdotting.
....keeps on ticking.... oh wait, that's the Timex slogan, not Geocities...
Veni, vidi, vici.
posting a geocities url on slashdot. previewing the site would've sucked up half it's bandwidth alone...
--- Why are you wearing that stupid bunny suit? | Why are you wearing that stupid man suit?
Was I the only one expecting to see a life-sized segway? I thought this guy was riding around in one!
Amazon.com
customerservice@amazon.com
Dear Sir/Madam:
I regret to inform you that I must cancel my current reservation for the Segway, currently listed at $7999.95 (US).
I would like to place another order for the following items now:
- Three MindStorms Lego Robot Kits, version 2.0, at $24.95 each
- One copy of How To Build a Segway Human Transporter for only Fifty Dollars (O'Reilly Press) at $69.95
- One Flux Capacitor at $499.95
I trust that a credit to my account will be arranged.Thank you in advance for your prompt action in this matter.
Sincerely,
Saint Aardvark the Carpeted
Carousel is a lie!
It would be a useful addition to Slashcode to autoreject any posts containing links to a user-configurable set of sites, and tell the user why his story was rejected.
geocities *always* hits data limits.
May we never see th
I'm impressed. I've worked on control of legged running, and a friend built a self-balancing unicycle in the 1980s. This new thing is the simplest self-balancer I've ever seen, and it does a good job. The video shows that it's quite stable.
Oh so *that's* why Fraunhofer called the successor of MP3 "mp3pro" and not MP4, MP5...
Bullshit. It only operates in 2D it ain't going to fly.
Not so.. there are plenty of devices able to move themselves around in 3D space autonomously, with only two sensors.
In fact, I think there are about six billion of 'em... and you're one of them.
That's ludicrous. A bump or a slope is just a distortion of the 2D surface that the wheels are riding along. It doesn't CLAIM to navigate 3D space anyway. (And the video of it following a line is pretty impressive).
7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
I always have a mirror with me. People used to say I was vain, so I explained I just carry it in case I get slashdotted... now they say I'm insane.
RMN
~~~
obviously, both the lego and the original versions do pretty much the same thing. however, legway cannot guarantee that you do not fall. the segway, OTOH, pretty much does. it has to work with much higher precision sensors and much shorter update intervals. balancing on two wheels was never really difficult, it is basic robotics. making it practical and safe, however, is quite another story
BSD is for people who love UNIX. Linux is for those who hate Microsoft.
That's so smart. Split a vital post into two parts and get double the karma!
> Two sensors? For an object to maneuver itself in 3D space it would need 3 sensors
Counter-proof: You only have 2 eyes, yet you can.
"Robert Metcalfe, the co-inventor of the Ethernet office networking standard, who is a friend of Mr. Kamen, told me via e- mail: 'Some months ago when speculation was running high, I said that Kamen's It was more important than the Internet, but not as important as cold fusion, had cold fusion worked out. The It I was talking about, which I did not disclose, was NOT Segway. That's all I can say.'"
There are 0x40000000 types of people: those who understand 32-bit IEEE 754 floating point, and those who don't.
Back when I was in 2nd year Uni, We had to do a similar thing. However we had to make it follow figure 8 line instead of just a track. The obvious problem here is how to make the robot cross the middle section of the figure 8. Most robots made in my year simply went bizerk when the got the cross over, started spinning, just left the track or stopped. This is an interesting problem I never found a solution to. Anyone got any idea's? Of course the materials available were only 2 optical sensors 2 motors and a bunch of lego. Anyone except this challange?
Could one of you lil' PERL monkies do us all a favor?
In the article submissions form, put a little check box titled "Slashdot can mirror locally" or some other phraseology.
Then provide the original link like you normally would, but on the last line where it says "Read More | XX of YY comments" add another link that says "Slashdot Article Mirror"
It relates directly to the link *in the article* to Geocities.
May we never see th
"Lego was meant for the rumpus room, not the sidewalk!", complained an unidentified senior.
Another protested, "Hey! The sidewalks are already dangerous enough what with those dang newfangled bicycles! If you add Lego Segways, I could get killed!"
Among the signs noted at the protest was one proclaiming, "Lego Segways at 11 MPH will injure me!"
mmm... yeah... You see, we're putting the cover sheets on all TPS reports now before they go out...
A third leg, however minor, makes it a different device. Try again :)
don't give the credit to the creators for design here! the whole point was to show that the segway really isn't that complicated and a simplified version can be built by amateurs.
BSD is for people who love UNIX. Linux is for those who hate Microsoft.
Lower the water...don't raise the bridge.
Wherever there is an intersection, replace the cross with a circle (diameter same or less than path-mark width), and program in a delay that allows the device to continue straight whenever it sees a circle, still looking for an unbroken path that will override the temporary step.
Another method is to mount the sensors front to rear, scanning for the path itself (inside edge)...not left to right, looking for the outside edge of the path as the legway does.
Here's an artist who made a full-size playable Lego harpsichord (complete with an mp3 file).
A hill is still two-dimensional. It's just an extension of the current plane. So the only limitation really...is gravity.
If all you have is a hammer, everything looks like a nail.
Might as well correct "it's" as well while you're at it.
-----
For great justice!
You didn't pay attention Johnny. Please wait for the entire question before answering...legway's owner said that the problem is how to right it, if it falls on it's side....with the device on it's side, one wheel will be in the air.
:)
===
-| -
===
Versus:
|---|
Read the article, then this thread, then take a breath and try again
Really? You actually think you can navigate with just your two eyes? Well come and vist me and I'll disable/remove your entire inner ear and then we'll see how well you navigate.
Or for a less destructive method just try walking around with you eyes close and notice that you actually don't need them to move. They do help on collision advoidance but beyond that they are basically useless.
Seeing how it is designed to operate in the XZ plane (much like most everything else, save for insects, birds, and CowboyNeal), I don't really see how it would need to maneuver itself in 3D space. Unless it has a Lego Jetpack...
1p}{ 1 sp34k |33+ +|-|e|\| p30p13 \/\/il| 8e i/\/\pr3553|)
It actually only needs one sensor. The second allows it to follow the line.
Steve Hassenplug
"....can't do that right now, because the center of mass is below the axle when it on it's side."
The full power routine is designed in as a safety. This routine is meant to prohibit falling over. That's all. The assumption is simplistic by nature. It can fall in two axis...fore/aft....and/or sideways. Recovering from either is a different thing to deal with and solve. He's trying to figure out how to recover from a sideways fall.
Given the ease at which GeoCities bandwidth limits are exceeded, maybe Slashdot could host a mirror to link to from here. This would be in case the person in question needs his site for the rest of the month.
I really think this is starting to become a problem for people doing really cool stuff who don't have the money for a really good webserver. If slashdot thinks that a 20MB site is cool enough to post, surely Slashdot has that 20 MB of space on the its webserver to donate for a limited time. This would ensure that people like me can get to the site and people who do the cool shit aren't punished for doing cool shit.
SetupWeasel
... Im suprized someone hasnt posted a page of a server case that they made. That would be pretty cool.
Im not here now... Im out KILLING pepperoni
I took one look at the host domain and didnt try for that very reason. Theres no sense in me clickin on a geocities link thats on my slashdot homepage. The mere fact that a site hosted by geocities actually made it to the site is a little silly. C'Mon ppl, use a little common sense. Consider how much b/w you guys use per month. Lets say that only 5% of readers actually go to(or try) to go to the site. Now, I have no idea how much b/w u guys use or how much geocities allows, but im sure 5% of what you guys PAY for far exceeds what geocities gives away. My Point: make the term /.ed obsolete
Just MHO.
-D
I really think that Slashdot should mirror a page if there is no copyright information disclaimer on it. I am sure that most people who get /. ed would like that better then have their site brought down. /.ers . This could raise the subscriptions.
Another idea is to have subscribers access to the story an hour before the nonpaying
While you probably meant that as a joke, youe might want to take a look at the Slashdot article about TCP/IP for LegOS. The TCP/IP stack used already includes a simple scriptable web server...
That's patent infringement, right there. Someone's gotta have patented the two-wheel-balance, right?
Either a bug, or something slipped.
Dunno why I moderated your post as off topic.
Oh well, time to undo ALL moderation.
You actually think you can navigate with just your two eyes?
Yes, and I can prove it.
I sail with a friend who's inner ears were damaged by an ear infection in childhood, leaving him with no inate sense of balance. So his entire balance is now done visually.
Does it slow him up? Well he's my dads age, is an ex British Olympic Fin Class sailor, and is now blue water cruising and is an Ocean Yachmaster / Instructor.
I guess if you can cope with the heaving deck of a yacht, you can cope with anything.
The advantage of course is that motion sickness is generally caused by a conflict of 'ear' balance and 'visual' balance (for want of better terms) so he doesn't get seasick. Thats the only way I actually found out, when I mentioned in conversation that he never got sick in rough seas, you'd never ever be able to tell otherwise.
Actually the reason you get motion sickness, and those panaromic cinemas fool you into thinking you are on a roller coaster is because your eyes are very important to navigation and balance.
Of course having the two systems (ear/visual) is a very good idea evolutionary, because one compensates for the weakness in the other.
But knowing that a blind colleuge of mine doesn't fall over in a heap, and my sailing companion doesn't either, I think I can justify in saying humans can operate with only one system perfectly well
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
Nor does anyone seem to be threatening to sue www.archive.org
You mean like this? It's not exactly a lawsuit, but it is a takedown order.
Will I retire or break 10K?
My grandfather is in the same boat (sorry, couldn't resist), but he only has one eye (WWII injuries). He says that the pressure on the bottom of his feet is also important to his sense of balance.
I believe you are only liable for patent infringement if you sell / distribute your replica. This is why Eli Whitney never made any money off of the cottin gin. It was so simple everyone went home and built their own, and there was notihing Eli could do about it. If they sold their home-made cottin gins or helped ohers with the process of making their own in some way, they may have been liable.
IANAPL..
- Sig
Admins....save ppl time and put the mirrors in the text of the original article.
Oh, come on!
:-P
Rock > Scissors > Paper > Rock
Does this mean that Rock = Scissors = Paper = Rock?
Put that in your pipe and smoke it.
- In Capitalist America, law violates YOU!
I have to admit that is incredibly cool, especially given that he's done it with a couple of cheap optical rangers. I considered something like this with a small piezo gyro (made for model helicopter usage) -- but it hadn't occured to me that this might be workable with optical rangers. Some of the Sharp units only run around $12.00 apiece. I smell a new project coming on...
Roving Web-Teleoperated Robot
Two sensors? For an object to maneuver itself in 3D space it would need 3 sensors
Before we draw too many conclusions we must ask what type of sensor we are dealing with. If it is a sophisticated radar, then perhaps one is sufficient. If it is a proximity sensor, that only gives you the distance of the closest object directly ahead, then numerous sensors are preferable. And, if it is something more like a camera with processing equipment then (as uncountable other posts have pointed out) 2 sensors will do, as can be seen on almost all animals on the planet.
Tor
I am looking for plans for a Lego Yugo
Table-ized A.I.
Also his assumption that the acceleration would be 9.8m/s^2 on the gyro is wrong. If the thing pivits, the center of mass would accelerate at 9.8 m/s^2, everywhere else would be different.
-twb
this could to a large extent to handled in the software, especially with the addition of a third sensor to add more data.
Amazing magic tricks