Skip to main content

Serenity, a robotic LEGO boat

I actually started wondering about LEGO robotic boats a while back, when some threads on the NXTasy forums brought them up (as well as submarines). There were two main problems I could see for a "pure LEGO" water-craft: (1) Flotation (which could perhaps be solved by LEGO boat hulls, which re-entered the LEGO scene in a number of recent City sets, such as the Fireboat (#7906), City Harbor (#7994), and the Speedboat (#7244)), and (2) Propulsion. I did not want to deal with the risk of rotating seals for propeller shafts etc., so I figured on having all the electronics (including motors) above the waterline, with the propeller drive shafts either entering the water at an angle, or being driven by pure mechanical linkages to a completely submerged prop. But upon getting two of the Fireboat sets for the hulls, I decided to try using the stock LEGO underwater motors that come with these sets.

The result was Serenity (posted on NXTlog), a pure-LEGO robotic (not remote controlled!) boat.

Two hulls are tied together with bow and stern beams, made from studded beams locked together with studless elements, resulting in beams that can not pull apart under tension or flexing (the connection to the boat hulls is unfortunately studs-only). The NXT and two NXT motors sit along the midline, not powering the vehicle but in this case only steering the stock underwater motors attached below. To make the vehicle float level in the water, the NXT is on two long axles and can be slide fore and aft to trim the vessel (no port-starboard trim was needed in this case). Mounting the underwater motors firmly to a mounting frame was one problem, but was solved with some half-stud offsets.

The program uses a Hitechnic compass, trimming the rear motor like a rudder to keep the nose pointed along the initial heading. After a specified time (configured at the start of the program), Serenity makes a 180° turn "in place" by steering both the bow and stern motors, and then again tries to maintain a new heading opposite the initial heading, returning to the shore.

The scary part was testing this. I tested first in a small tub of water on my back deck, but then it was time for a more realistic "sea trial", and lacking a swimming pool my only option was a small local pond, with weeds, swampy shores, and an active fountain in the center. I didn't want to use a tether, as that would really be unfair (not to mention the drag of the tether would likely cause problems with the autonomous navigation routine), so the first "live" test (yes, as seen in the video) was more than a bit nerve wracking - if it didn't turn around, I'd just have to hope it would hold it's heading long enough to get to the far side before wandering under the fountain. And if there was any more serious programming or mechanical issue, there was a good chance I'd get to watch a LEGO-version of the Titanic disaster. Hitting the button and letting go was... tense. But careful pre-testing held - it worked almost flawlessly, through four trials until the underwater motors completely fouled on weeds near the end of the last trial (thankfully, close enough to drift in towards the shore). Even when bumped off course, the NXT faithfully corrected the heading, and it always executed a beautiful 180° turnaround at the midpoint.



Not too bad for a proof on concept (I'd not known of JP's amazing craft at the time, nor thought to use the dirigibles like that... not that I had any handy). It clearly needs a more reliable (non-fouling) propulsion (sidewheels splash a lot, I've tried, but I've got other ideas), and for larger lakes and rivers it probably needs to be bigger (if you are smaller than the local waves, there's going to be problems). But I'm curious how far I can take this... that is, how far I can take this project before turning it into an unplanned submarine.

--
Brian Davis

Popular posts from this blog

MINDSTORMS Retires!

2023 is the 25th Anniversary of the MINDSTORMS brand. For 25 years, MINDSTORMS has educated and inspired a generation of robot builders, both children and adults. Unfortunately, the LEGO Group decided to end the line on December 2022. Many ROBOTMAK3RS have been passionately involved with the development of MINDSTORMS through the MUP and MCP programs. Even with the newest Robot Inventor line, several ROBOTMAK3RS were invited to submit additional bonus models that were included in the official app. Regardless of the retirement of a major LEGO robotics product line, ROBOTMAK3RS continue to MAKE-SHARE-INSPIRE using all LEGO robotics platforms available to us. Here is the official statement from LEGO. Since its launch in September 1998, LEGO MINDSTORMS has been one of the core ‘Build & Code’ experiences in the company’s portfolio, carrying with it significant brand equity and becoming a stand-out experience for the early days of consumer robotics and leading to current Build & Code

Celebrating MINDSTORMS with a Remix Part 1

In honor of the 25th Anniversary of MINDSTORMS, we asked ROBOTMAK3RS to combine a LEGO set of their choice with a MINDSTORMS set. Here is what these five ROBOTMAK3RS came up with.  MINDSTORMS Chess Assistant by Arvind Seshan Overview: When you are new to chess, it can be a challenge to remember which pieces go where. Now, you can use machine learning and LEGO MINDSTORMS Robot Inventor to build a tool to help you learn where all the chess pieces go on the chess board. Sets used: LEGO® Iconic Chess Set (40174) and MINDSTORMS Robot Inventor (51515) Review: I really like how the chess set base can store all the pieces underneath and that the board neatly splits in half for handy storage. The chess pieces themselves are very sturdy and well built. My only criticism is the building of the box itself. It was quite difficult to see what pieces to use and since the entire box is made mostly of thin plates, it took a lot of time and patience. I would have liked the storage area to be sliding dra

Celebrating 25 Years of MINDSTORMS

In celebration of the 25th Anniversary of MINDSTORMS, we take a trip through history. Please also visit ROBOTMAK3RS Community every week as we highlight different projects all through 2023 in celebration of the anniversary. Some of the early history is based on the content shared by  Coder Shah  in our  MINDSTORMS EV3 Community Group . Some of the text and links may have been edited from his original posts for consistency and clarity.  1984 - Kjeld Kirk Kristiansen watched a TV program called "Talking Turtle," where MIT professor Seymour Papert demonstrated how children could control robot "turtles" using LOGO, a programming language he developed. 1988 - The collaboration between MIT and LEGO resulted in LEGO TC Logo in 1988, which allowed students to control LEGO models using computer commands. The video shows Papert demonstrating TC Logo. 1990 - LEGO TC Logo was hampered since the robots you built had to be tethered to a personal computer. LEGO and MIT