A complex arrangement of LEGO gears

Analog Computer Made From LEGO Predicts Tides

Although the tides in the ocean are caused by the motion of the Sun and the Moon, both of which are easy to observe, accurately predicting the tide more than a few days in advance turns out to be rather difficult. The math behind the tidal movement is so complex that some of the earliest analog computers were built specifically to perform tide calculations. Sir William Thomson (better known as Lord Kelvin) designed one such “tide-predicting machine”, an impressive arrangement of gears and pulleys, back in the late 19th century.

[Pepijn de Vos] built a modern interpretation of Thomson’s machine out of LEGO parts, and it’s no less impressive than the original. A total of 96 LEGO gears move perfectly in sync to the ocean’s natural rhythms, while a set of pulleys connect four banks of gears together to create the sum of the constituent frequencies. An ultrasonic sensor reads the output value and sends the result back to a PC.

One interesting problem that [Pepijn] ran into, and which he explains in great detail on his blog, is that LEGO gears can only provide a very limited set of gear ratios. In order to match the tide calculations to any kind of precision, he needed to connect many gears in series without creating too much friction and backlash in the mechanism. Optimizing this setup was a non-trivial task that required a significant amount of computing power by itself.

As you can see in the video embedded below, the machine makes beautifully smooth movements, which correspond quite accurately to the actual motion of tides. If you’re interested in the science behind analog tide predictors, we’ve got an in-depth article about just that.

Continue reading “Analog Computer Made From LEGO Predicts Tides”

Lego Orrery

LEGOpunk Orrery Knows Just The Right Technics

Is the unmistakable sound of the shuffling of LEGO pieces being dug through burned into your psyche? Did the catalog of ever more complex Technic pieces send your imagination soaring into the stratosphere and beyond? Judging by the artful contraption in the video below the break, we are fairly certain that [Marian] can relate to these things.

No doubt inspired by classic orreries driven by clockwork, [Marian]’s LEGO Sun-Earth-Moon orrery is instead driven by either hand cranks or by electric motors. The orrery aims to be astronomically correct. To that end, a full revolution of a hand crank produces a full day’s worth of movement.

Solar and lunar eclipses can be demonstrated, along with numerous other principals such as the tilt of the earth, moon phases, tidal locking, and more, which can be found at the project page.

While classical orreries predate the Victorian era, there seems to be an almost inexplicable link between orreries and the Steampunk aesthetic. But [Marian]’s orrery brought the term “LEGOpunk” to mind. Could it be? Given that there are 2305 pieces and 264 pages of instructions with 436 steps, we think so!

We’ve covered just a few orreries in the past, from this somewhat simple laser cut orrery to this horrifically complex and beautiful thing hereContinue reading “LEGOpunk Orrery Knows Just The Right Technics”

A Lego cup holder with a glass of water and electronics on a breadboard

LEGO Cup Holder Helps You To Stay Hydrated

Eat more fruit, exercise more, drink more fluids; early January is traditionally the time to implement New Year’s resolutions. Most of the common ones simply require willpower, but if it’s staying hydrated that you’re targeting, then some help is available. [Pepijn de Vos] designed a LEGO cup holder and an accompanying desktop app that tell you exactly how much water you’ve had so far, making it easier to get to those eight glasses a day.

The basic idea is simple: the cup holder contains a load cell that senses the weight of your drinking vessel. If the weight decreases, then a message is sent to your PC detailing the amount lost. If the weight increases, then the glass must have been refilled and the previous weight is disregarded. This way, the app simply needs to add up all the amounts reported, without having to compensate for the weight of the empty glass.

The tricky bit was integrating a load cell into the LEGO structure. It required some fiddling with Flex System hoses to ensure the platform’s weight rested only on the load cell, while still being stable enough to safely hold a full glass of water. The load cell is read out through an amplifier and A/D converter, while the USB communication is handled by a Teensy 3.

[Pepijn] modified an existing GNOME desktop widget to display a cup icon and the total volume consumed, which seems to work pretty smoothly judging from the video embedded below. All the code and even a complete set of LEGO build instructions are available on the project’s Github page. If simply monitoring your fluid intake isn’t enough of a nudge for you, then check out this device that floods your desk if you don’t drink enough.

Continue reading “LEGO Cup Holder Helps You To Stay Hydrated”

The Cucumber House That LEGO Built

How far are you prepared to go to build a novelty seasonal ornament? Maybe a gingerbread house, or perhaps a bit of 3D printed glitter to hang on your Christmas tree. For [The Brick Wall], none of this was enough. Instead what was needed was a complete LEGO automated factory that builds a log cabin, from the unlikely raw material of cucumbers.

What has been created is the LEGO equivalent of a timber mill, with the various machines served by an overhead gantry crane. The cucumbers are trimmed to square, before being transferred to a saw which cuts out the notches for the interlocking corners. Another saw line chops the sections around door and windows to length, and finally the roof planks are cut in a vertical saw. The video below is reported as taking 83 days to complete from planning to filming, and 18 cucumbers to build the house. We’re not sure the cucumber will become a regular building material, but we salute the effort involved here.

Though this may be one of the biggest we’ve seen, we’ve featured many LEGO machines making things before.

Continue reading “The Cucumber House That LEGO Built”

You Can Build A Lego Rubik’s Cube

Rubik’s cubes are a popular puzzle — one found exciting or infuriating depending on your personal bent. [PuzzLEGO] has designed a LEGO Rubik’s cube, with the latest revision improving on flimsy earlier designs.

The first step was to design a core that would allow the cube to rotate freely without being too loose. This involved a lot of trial and error until [PuzzLEGO] found just the right combination of parts to do the job. From there, it was a matter of introducing the edge pieces and corner pieces without jamming everything up.

It took some experimenting to get everything moving together smoothly, but the end result is pretty impressive. It’s certainly not a build you’d use for speedcubing; the fragility meant that it took 20 minutes to solve just one face. [PuzzLEGO] hopes to make further improvements to increase playability.

If you want to replicate the feat, you’ll need plenty of little Lego bits and pieces, but it’s definitely a replicable build. Alternatively, consider using Lego to build a Rubik’s Solver, instead. Video after the break.

Continue reading “You Can Build A Lego Rubik’s Cube”

New Part Day: Raspberry Pi LEGO HAT

The Raspberry Pi Foundation have been busy little bees for the last couple of years producing their own silicon, new boards and now in collaboration with the LEGO Education team a new HAT to connect to the LEGO SPIKE education platform. This new HAT board will work with every Raspberry Pi board with a 40-pin GPIO header.

Based on the RPI2040 microcontroller, it makes an interesting detour away from dumb slave boards, although it looks like the firmware is closed (for now) so you’ll have to make do with the pre-baked capabilities and talk to it with the supplied python library.

According to the documentation, the communication between the Pi and the RPI2040 nestled beneath the HAT PCB is plaintext-over-serial, freeing up the majority of the GPIO pins for other uses. The board uses a surface mount pass-through type header which allows pins from the Pi to protrude through the PCB, allowing stacking more HATs on top. Curiously they decided to mount the PCB with active parts facing down, giving a flat rear surface to park things on. We suspect that decision was made to improve access to the LPF2 connectors, especially if they were surface mount parts.

Continue reading “New Part Day: Raspberry Pi LEGO HAT”

Wild Lego-Bot Pronks About Your Patio

Legged robots span all sorts of shapes and sizes. From the paradigm-setting quadrupeds built from a pit-crew of grad students to the Kickstarter canines that are sure to entertain your junior hackers, the entry point is far and wide. Not one to simply watch from the sidelines, though, [Oracid] wanted to get in on the quadruped-building fun and take us all with him. The result is 5BQE2, a spry budget quadruped that can pronk around the patio at a proper 1 meter-per-second clip.

Without a tether, weight becomes a premium for getting such a creature to move around at a respectable rate. Part of what makes that possible is [Oracid’s] lightweight legs. Designing the legs around a five-bar linkage tucks the otherwise-heavy actuators out of the leg and into the body, resulting in a limb that’s capable of faster movement. What’s more, 5BQE2 is made from the LEGO plastic building bricks of our heydays. And with a full bill-of-materials, we’re just about ready to head over to our parents’ garage and dust off those parts for a second life.

For some action shots of 5BQE2, have a look at the video after the break. And since no set would be complete without the building instructions, stay tuned through the full video to walk through the assembly process step-by-step.

Here at Hackaday, we’re certainly no stranger to walking automatons, but not all robots use their legs for walking. For a trip down memory lane, have a look at [Carl Bugeja’s] buzzing Vibro-bots and UC Berkeley’s leaping Salto.

Continue reading “Wild Lego-Bot Pronks About Your Patio”