Slashdot Mirror


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!"

54 of 259 comments (clear)

  1. Ahh, the joys of Lego. by E-Rock-23 · · Score: 5, Funny

    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
  2. Not as cool as... by GreyWolf3000 · · Score: 3, Interesting
    ...that working gun that one guy made.

    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.
    1. Re:Not as cool as... by Defender2000 · · Score: 5, Interesting

      I don't know if you were thinking of this one, but this guy made an MP5 and a Beretta out of Legos. Awesome stuff.

      --
      ...I'll procrastinate tomorrow...
    2. Re:Not as cool as... by tunabomber · · Score: 5, Funny

      Judging by the indirect slashdotting, I'm also deducing that he built his web server out of legos. Apache for LegOS, anyone?

      --

      pi = 3.141592653589793helpimtrappedinauniversefactory71 ...
    3. Re:Not as cool as... by President+Chimp+Toe · · Score: 3, Funny

      Yeah, I think the british army are thinking about using these as a replacement for the SA-80

  3. Boredom by mao+che+minh · · Score: 3, Funny

    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.

  4. First post?, and he's prepared for slashdotting by OzPixel · · Score: 5, Informative

    Looks like someone gave the guy pre-warning, his page only has links to some mirrors, e.g. Here or here or even here .

  5. Re:Because it will get /.ed [formatted] by SimplexO · · Score: 4, Informative

    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

  6. Smart man... by MoThugz · · Score: 5, Informative

    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

  7. And I can't get up!!! by djupedal · · Score: 5, Interesting

    "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...?

    1. Re:And I can't get up!!! by utahjazz · · Score: 5, Interesting

      "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."

      IANAPH, but I think it is possible.

      It might seem that because the center of mass is below the axles, that you could not lift the chassis by taking off in one direction, then reversing.

      But, if the wheels are big enough, the angular momentum built up could do it.

      You could even do it without lateral movement. Imagine this:

      Segway thingy is lying down:
      O--

      Segway thingy pops up a little kickstand:
      Q--

      Segway thingy starts whirring its wheels counter-clockwise:
      Q-- (imagine the whirring part)

      Segway thingy reverses it's engine, causing the -- part to react and rotate counter-clockwise.
      |
      |
      Q

      Drop the kickstand (quickly), and off you go..

      -These are not the sig your looking for...

      Se
      Imagine a little

  8. Sad But True by nsample · · Score: 5, Funny



    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).

  9. A geocities link? by gvonk · · Score: 3, Funny

    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)
  10. Better in a few ways... by Cyno01 · · Score: 3, Funny

    i can actually get one of these :\

    --
    "Sic Semper Tyrannosaurus Rex."
  11. Just what we need by HackHackBoom · · Score: 5, Funny

    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!"

    1. Re:Just what we need by evilviper · · Score: 3, Funny

      Just wait until you have a fender-bender, and you need help pulling the two apart...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  12. Mirror by i22y · · Score: 4, Informative

    Check it out here...he just went over his data transfer on Yahoo =P.

    --
    Mike
  13. Re:wait by dotgod · · Score: 3, Funny

    Yeah...he knew that the server he made out of Legos would be no match for a good ol' slashdotting.

  14. now that's ambitious... by v8interceptor · · Score: 3, Funny

    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?
  15. 8 inches tall? by Rader · · Score: 5, Insightful

    Was I the only one expecting to see a life-sized segway? I thought this guy was riding around in one!

  16. Oh sure, I find out NOW... by Saint+Aardvark · · Score: 5, Funny
    Cust. Service Dept.
    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:

    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

    1. Re:Oh sure, I find out NOW... by Cyno01 · · Score: 5, Funny

      they're always outa flux capacitors at radio shack, i call and they say they'll be getting some in in about two weeks, but they never come

      --
      "Sic Semper Tyrannosaurus Rex."
    2. Re:Oh sure, I find out NOW... by shrikel · · Score: 4, Informative
      Three MindStorms Lego Robot Kits [amazon.com], version 2.0, at $24.95 each

      ?!?!???!?!

      They're actually $200 each.

      --
      Any sufficiently simple magic can be passed off as mere advanced technology.
    3. Re:Oh sure, I find out NOW... by blair1q · · Score: 5, Funny

      You're going to need an Oscillation Overthruster.

      My buddy John can get one for you.

    4. Re:Oh sure, I find out NOW... by a_n_d_e_r_s · · Score: 5, Funny

      Am i the only one wondering how one can build a Segway for $50 when a copy of "How To Build a Segway Human Transporter for only Fifty Dollars" costs $69.95 ?

      --
      Just saying it like it are.
  17. Geocities links by 0x0d0a · · Score: 3, Interesting

    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.

  18. That's good work by Animats · · Score: 5, Interesting

    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.

  19. MP5 is a gun? by Anonymous Coward · · Score: 3, Funny

    Oh so *that's* why Fraunhofer called the successor of MP3 "mp3pro" and not MP4, MP5...

  20. Re:Impossible by AbyssDragon · · Score: 3, Insightful

    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.

  21. Re:Impossible by elmegil · · Score: 5, Informative

    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
  22. He's a wise man by Rui+del-Negro · · Score: 5, Funny

    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
    ~~~

  23. segway vs. legway by dollargonzo · · Score: 5, Interesting

    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.
    1. Re:segway vs. legway by gad_zuki! · · Score: 4, Insightful

      Funny, the only video I've seen of the segway involves a guy falling off it (it was linked to boingboing.net a while ago). You can cram it all you like with gyroscopes and the best software to predict what a person might be doing and how to correct it and still get crummy results. This is one of the many reasons the segway will be an industrial only toy. Its far cheaper to use a working inner-ear mixed with simple but effective technology like a bicycle or a scooter to fulfill urban transportation needs. I wouldn't be surprised to see if the learning curve to ride the segway properly is somewhere around learning to ride a bike properly.

      The segway is a great gee-whiz high-tech toy, but that doesn't necessarily make it practical for more than a couple different applications and it certainly isn't the fix-all DeKa would have the public believe.

  24. Re:Impossible by UnknownSoldier · · Score: 4, Insightful

    > 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.

  25. Interesting OT: Segway is not IT by mypalmike · · Score: 5, Interesting
    From a NYT article:

    "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.
  26. To the /. editors by VFVTHUNTER · · Score: 4, Interesting

    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"

    1. Re:To the /. editors by ParisTG · · Score: 3, Insightful

      Except that it's not the submitter who is the one that can give the permission. It's the site's owner.

    2. Re:To the /. editors by lux55 · · Score: 3, Insightful

      Could we instead check for the existence of a Google cached copy and link to that? Then there's no permission issue with the mirroring, at least with us because we're not doing the mirroring. :)

    3. Re:To the /. editors by gleam · · Score: 4, Insightful

      why not set up something like google's cache? they don't seem to need permission to archive previous copies of websites. Nor does anyone seem to be threatening to sue www.archive.org.

      Perhaps make the "cache" portion of the submission perl script check robots.txt, so site admins can forbid slashdot to archive an article..

      -gleam

      --
      this .sig is not a .sig.
  27. Meantime, from AARP... by Corporate+Drone · · Score: 5, Funny
    in other news, AARP met the creator of the Lego Segway as he was walking to work, carrying signs and protesting his creation.

    "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...
  28. woooaa by dollargonzo · · Score: 3, Interesting

    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.
  29. no, but if you sling a few bars by djupedal · · Score: 4, Interesting

    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.

  30. Re:Impressive but can you do this? by vinsci · · Score: 3, Interesting

    Buffer the optical sensor readings, then use the buffer as a look ahead for detecting the crossing. Presumably a processor and some memory was also part of your robot materials list...

    --

    Trusted Computing FAQ | Free Dawit Isaak!
  31. Re:Not as cool as... a Playable Harpsichord! by johnpipe · · Score: 5, Interesting

    Here's an artist who made a full-size playable Lego harpsichord (complete with an mp3 file).

  32. Re:Impossible by Igmuth · · Score: 3, Insightful

    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.

  33. Suggestion for Slashdot Admins by SetupWeasel · · Score: 5, Insightful

    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

    1. Re:Suggestion for Slashdot Admins by microsost · · Score: 5, Informative

      20mb you say.. ok theres over half a million slashdot users. Now say just 1% of users visit the slashdot cache - 5000 users. Now say they download just 5% of that site - 1mb. That's 5gb of traffic from just 1% of /. users - 1% of registered users. Now say that happens on one site a day - 30x5gb=150gb/month.. That's one whole lot of bandwidth.. at a lot of $$. Now imagine of 5% of registered users looked at these sites.. 750gb.. 10% and you're up to 1.5tb

  34. Re:slow down by GoRK · · Score: 3, Interesting

    All he needs to do is ensure that upon a sideways fall, it will roll to where a wheel has grip. Then, running the wheel at full power can flip it onto its back (or front) where it can right itself again using quick reflexes and a little angular momentum.

    The easy idea would be to place some sort of hemisphere on the outside rims of the wheels so that an unattached wheel would roll to its side. You'd also have to place some extension to the left and right at the top to prevent the unit from lying flat. As long as only one edge of the tire gripped the ground, rotating the tire at high speed in one direction or another should (messily) jerk/flip the unit in a position from which it can recover. (It should be less force than a fall at any rate)

    The final piece of the puzzle would be to add some type of sensor that allows you to discern your angular orientation with respect to the ground. One or more accelerometers would be sufficient for this.

    ~GoRK

  35. Re:Impossible by CharlieO · · Score: 5, Interesting

    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

  36. Wrong by p3d0 · · Score: 3, Insightful
    Ok, smart guy, then how could this be true?
    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.
    With your interpretation of "on it's [sic] side", the center of mass is not below the axle.
    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  37. Nah by chainsaw1 · · Score: 3, Interesting

    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
  38. PUT MIRRORS IN ORIGINAL ARTICLE by halr9000 · · Score: 3, Insightful

    Admins....save ppl time and put the mirrors in the text of the original article.

  39. Overcomes my anti-lego prejudice by Hayzeus · · Score: 3, Interesting
    in a big way.

    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...

  40. Re:Impossible by f97tosc · · Score: 3, Insightful

    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