As part of a school project I need to make a model of a snake electricity generator. I would like to build this with LEGO elements, and for that, I need to measure the movements of the cylinders relative to each other by mean of the piston connecting them.

I have an extensive LEGO collection, but I have difficulties imagining the best configuration so that the piston has the maximum moving range. In addition, the system needs to be floating, as the movement of the cylinders is caused by waves at the surface of the water.

  • 4
    Hi florent - as this site is English speaking, can you please translate your question. This will give you the best opportunity to have your question answered.
    – Rory Alsop
    May 25, 2013 at 23:02
  • Using Google Translate and wttching the video makes me (ever the pessimist) think it's really a poor fit for LEGO Technic. With that in mind, there are a ton of LEGO masters that do things that just boggle my brain...
    – gev
    May 26, 2013 at 6:47
  • 1
    Hi Florent, and welcome to bricks.se - you'll notice I translated your question, as the operating language for this site is English. I hope you'll get answers, but bear in mind they'll be in English as well. If you need help from French-speaking LEGO enthusiasts, I suggest you contact the French-speaking LEGO association Freelug.
    – Joubarc
    May 26, 2013 at 10:34
  • @RedDwight - I learned something today, thanks to you.
    – Joubarc
    May 30, 2013 at 6:51

1 Answer 1


It's difficult to suggest parts without knowing what sets are in your collection. Here are some thoughts to help with assembling this project.

  1. Notice that the snake consists of the following pattern:
    float tube -> pump section -> float tube
    The float tubes are the elements that keep the heavier pump sections afloat. You'll need something similar to recreate this with Legos. You could put balloons inside of the float sections instead of making the Lego portion watertight.

  2. The float tube / pump section pattern is connected at right angles for each subsequent section. This is the key in allowing the snake to flex in three dimensions (X, Y, Z). There are a number of parts that you could use attached to the outside of cylinders to create this connection.

  3. The arms driving the pistons are encased in a flex conduit that is larger than the arm itself. It's hard to see in that diagram, but the arm driving the pump never bends. Said another way, the arm only moves in one dimension - back and forth. I don't know of any Lego parts that would allow for this configuration. A technics rod plus a flex conduit would look pretty close to what you need. But the Lego pieces with holes are generally sized to allow the rod with a pretty close fit. And you need something with a sloppy fit in this case.

  4. Measuring the motion is going to be challenging. My first attempt would be to put a spring loaded slider against the piston along with a ruler next to the slider. You could then measure the motion assuming you find a solution to the fit issue from #3 above. If you wanted to convert that motion to an electrical measurement, you'll need some sort of transducer. A mindstorms motor might do the job, but I have no idea about how to program and monitor for that type of a thing.

  5. Finally, decide upon what aspect you want to measure to indicate the motion. The edges of the tubes are actually moving in two planes of motion. As the edge moves away from the piston, it rises up a little bit to accommodate the pivot point.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.