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

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

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

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

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

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

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

  9. Mirror by i22y · · Score: 4, Informative

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

    --
    Mike
  10. 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!

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

  13. 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
  14. 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
    ~~~

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

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

  17. 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.
  18. 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 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.
  19. 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 ...
  20. 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...
  21. 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.

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

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

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