Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Lego Segway

Posted by michael on Thu Oct 17, 2002 09:35 PM
from the balancing-act dept.
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!"
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • 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...
  • Not as cool as... (Score:3, Interesting)

    by GreyWolf3000 (468618) on Thursday October 17 2002, @09:39PM (#4475600) Journal
    ...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.

  • Boredom (Score:3, Funny)

    by mao che minh (611166) on Thursday October 17 2002, @09:40PM (#4475617) Journal
    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.
  • by OzPixel (559736) on Thursday October 17 2002, @09:40PM (#4475619) Journal
    Looks like someone gave the guy pre-warning, his page only has links to some mirrors, e.g. Here [armorica.biz] or here [gte.net] or even here [freelug.org].
  • Smart man... (Score:5, Informative)

    by MoThugz (560556) on Thursday October 17 2002, @09:41PM (#4475628) Homepage
    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 [freelug.org]
    http://legway.armorica.biz [armorica.biz]
    http://home1.gte.net/res1g289/StevesLegWay.htm [gte.net]
  • by djupedal (584558) on Thursday October 17 2002, @09:43PM (#4475645)
    "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...?
    • by utahjazz (177190) on Thursday October 17 2002, @10:24PM (#4475869)
      "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
            • Re:slow down (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
  • by nsample (261457) <nsample@st[ ]ord.edu ['anf' in gap]> on Thursday October 17 2002, @09:43PM (#4475646) Homepage


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

  • by gvonk (107719) <slashdot@@@garrettvonk...com> on Thursday October 17 2002, @09:44PM (#4475657) Homepage
    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.
  • by Cyno01 (573917) <Cyno01@hotmail.com> on Thursday October 17 2002, @09:45PM (#4475661) Homepage
    i can actually get one of these :\
  • by HackHackBoom (198866) on Thursday October 17 2002, @09:47PM (#4475681) Journal
    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!
  • Mirror (Score:4, Informative)

    by i22y (10479) <mike@islerphoTOKYOto.com minus city> on Thursday October 17 2002, @09:50PM (#4475696) Homepage
    Check it out here [gte.net]...he just went over his data transfer on Yahoo =P.
  • by v8interceptor (586130) on Thursday October 17 2002, @09:53PM (#4475718)
    posting a geocities url on slashdot. previewing the site would've sucked up half it's bandwidth alone...
  • 8 inches tall? (Score:5, Insightful)

    by Rader (40041) on Thursday October 17 2002, @09:55PM (#4475728) Homepage
    Was I the only one expecting to see a life-sized segway? I thought this guy was riding around in one!
  • by Saint Aardvark (159009) on Thursday October 17 2002, @09:55PM (#4475730) Homepage Journal
    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 [amazon.com], 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

  • Geocities links (Score:3, Interesting)

    by 0x0d0a (568518) on Thursday October 17 2002, @09:56PM (#4475731) Journal
    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.
  • That's good work (Score:5, Interesting)

    by Animats (122034) on Thursday October 17 2002, @10:01PM (#4475754) Homepage
    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.
    • woooaa (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.

  • The Mailing list (Score:3, Informative)

    by Anonymous Coward on Thursday October 17 2002, @10:05PM (#4475776)
    This has been on the mailing list for about two days I think. You can subscribe to it by sending a blank email to lego-robotics-subscribe@crynwr.com. It's a good way to find out all the cool things people are making with lego mindstorms.
  • segway vs. legway (Score:5, Interesting)

    by dollargonzo (519030) on Thursday October 17 2002, @10:25PM (#4475874) Homepage
    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

    • by gad_zuki! (70830) on Thursday October 17 2002, @11:25PM (#4476185)
      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.
  • by mypalmike (454265) on Thursday October 17 2002, @10:34PM (#4475923) Homepage
    From a NYT article [nytimes.com]:

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

  • To the /. editors (Score:4, Interesting)

    by VFVTHUNTER (66253) on Thursday October 17 2002, @10:36PM (#4475938) Homepage
    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"
    • Except that it's not the submitter who is the one that can give the permission. It's the site's owner.
      • 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. :)
      • by gleam (19528) on Friday October 18 2002, @12:21AM (#4476391) Homepage
        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
  • by Corporate Drone (316880) on Thursday October 17 2002, @10:53PM (#4476017)
    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!"

  • by SetupWeasel (54062) on Friday October 18 2002, @12:05AM (#4476327) Homepage
    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
    • 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
    • by SimplexO (537908) on Thursday October 17 2002, @09:41PM (#4475627) Homepage
      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
    • 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.
    • Re:Impossible (Score:5, Informative)

      by elmegil (12001) on Thursday October 17 2002, @10:21PM (#4475854) Homepage Journal
      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).
    • Re:Impossible (Score:4, Insightful)

      by UnknownSoldier (67820) on Thursday October 17 2002, @10:30PM (#4475900)
      > 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.
      • 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.
        • Re:Impossible (Score:5, Interesting)

          by CharlieO (572028) on Friday October 18 2002, @06:28AM (#4477316)
          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
    • by djupedal (584558) on Thursday October 17 2002, @11:07PM (#4476078)
      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.
    • 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...